/* Born That Year — site styles. Warm editorial: aged paper, ink, a confident red, a little gold. */
:root {
  --paper: #f4ecdc;
  --paper-2: #ebe0c9;
  --card: #fbf7ee;
  --ink: #1d1a16;
  --ink-2: #4a433a;
  --muted: #7a6f60;
  --line: rgba(29, 26, 22, 0.14);
  --red: #b3352a;
  --red-2: #d4493b;
  --gold: #c39a4b;
  --teal: #1f3b4d;
  --radius: 18px;
  --shadow-poster: 0 2px 0 rgba(0,0,0,.04), 0 30px 60px -20px rgba(60, 40, 15, .45), 0 60px 120px -40px rgba(60, 40, 15, .35);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --news: "Playfair Display", Georgia, serif;
  --label: "Oswald", "DM Sans", sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .35 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, header, footer { position: relative; z-index: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin: 0; font-variation-settings: "opsz" 144; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.25; font-variation-settings: "opsz" 36; }
p { margin: 0; }
em { font-style: italic; font-weight: 400; }
.kicker { font: 600 13px/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 58ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font: 600 16px/1 var(--sans); transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff8ee; box-shadow: 0 10px 30px -10px rgba(179, 53, 42, .7); }
.btn-primary:hover { background: var(--red-2); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: rgba(29,26,22,.05); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(244, 236, 220, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { font: 700 italic 26px/1 var(--serif); letter-spacing: -.03em; text-decoration: none; display: inline-flex; align-items: baseline; gap: 2px; }
.brand i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); display: inline-block; transform: translateY(-1px); }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav ul a:hover { color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(60px, 8vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 em { color: var(--red); }
.hero .lede { margin: 22px 0 30px; }
.maker { background: var(--card); border-radius: 22px; padding: 24px; box-shadow: 0 1px 0 var(--line), 0 20px 50px -30px rgba(60,40,15,.5); display: grid; gap: 16px; }
.maker-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font: 600 12px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { font: 500 18px/1.2 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 14px; width: 100%; appearance: none; -webkit-appearance: none; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1a16' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 14px; font: 500 14.5px/1 var(--sans); cursor: pointer; color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.style-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.style-switch button { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 8px; cursor: pointer; font: 600 14px/1.1 var(--sans); color: var(--ink-2); display: grid; gap: 4px; justify-items: center; }
.style-switch button small { font-weight: 400; font-size: 12px; color: var(--muted); }
.style-switch button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.maker-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.maker-cta small { color: var(--muted); font-size: 13.5px; }

.stage { position: relative; display: grid; place-items: center; }
.stage-frame { position: relative; width: min(100%, 560px); padding: 22px; background: linear-gradient(145deg, #3a2a1a, #1f160d); border-radius: 6px; box-shadow: var(--shadow-poster); transform: rotate(1.2deg); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.stage-frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.08); pointer-events: none; }
.stage:hover .stage-frame { transform: rotate(0deg) scale(1.01); }
.poster { background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); aspect-ratio: 4 / 5; overflow: hidden; }
.poster svg { width: 100%; height: 100%; }
.poster.updating { animation: ink .45s ease; }
@keyframes ink { 0% { filter: blur(1.5px) saturate(.6); opacity: .65; } 100% { filter: none; opacity: 1; } }
.stamp { position: absolute; z-index: 2; right: -14px; top: 30px; width: 124px; height: 124px; border-radius: 50%; background: var(--red); color: #fff8ee; display: grid; place-items: center; text-align: center; font: 700 12px/1.1 var(--label); letter-spacing: .14em; transform: rotate(12deg); padding: 10px; box-shadow: 0 12px 30px -10px rgba(179,53,42,.8); border: 3px dashed rgba(255,248,238,.6); outline: 6px solid var(--red); }
.stamp b { display: block; font: 800 34px/1 var(--serif); letter-spacing: -.02em; margin: 2px 0; }
.wall-note { margin-top: 18px; font: 500 13px/1.4 var(--sans); color: var(--muted); text-align: center; }

/* proof strip */
.strip { border-block: 1px solid var(--line); background: var(--paper-2); }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 22px 0; gap: 20px; }
.strip li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 15px; }
.strip svg { width: 26px; height: 26px; color: var(--red); flex: none; }

/* sections */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.head.center { text-align: center; margin-inline: auto; justify-items: center; }

/* comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(60,40,15,.5); }
.compare > div { padding: clamp(24px, 4vw, 40px); }
.compare .them { background: var(--paper-2); color: var(--ink-2); }
.compare .us { background: var(--ink); color: var(--paper); }
.compare h3 { margin-bottom: 20px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.compare li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.compare .them svg { color: var(--muted); }
.compare .us svg { color: var(--gold); }
.compare .us b { color: #fff; }

/* styles gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 34px); }
.g-item { display: grid; gap: 16px; }
.g-item .poster { box-shadow: var(--shadow-poster); border-radius: 3px; transition: transform .4s; }
.g-item:hover .poster { transform: translateY(-6px) rotate(-.6deg); }
.g-item h3 { font-size: 1.4rem; }
.g-item p { color: var(--ink-2); font-size: 15.5px; }

/* then & now */
.tn { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.tn-card { background: var(--ink); color: var(--paper); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 80px -40px rgba(29,26,22,.8); }
.tn-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.tn-top select { font: 700 28px/1 var(--serif); background: transparent; color: var(--gold); border: 0; border-bottom: 2px solid var(--gold); padding: 2px 26px 6px 0; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23c39a4b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 4px center; }
.tn-top select option { color: var(--ink); }
.tn-row { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 10px; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(244,236,220,.14); }
.tn-row span { color: rgba(244,236,220,.75); font-size: 15px; }
.tn-row b { font: 700 26px/1 var(--serif); }
.tn-row em { font: 500 15px/1 var(--sans); color: var(--gold); font-style: normal; text-align: right; }
.tn-foot { margin-top: 16px; font-size: 12.5px; color: rgba(244,236,220,.55); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--card); border-radius: 20px; padding: 28px; box-shadow: 0 1px 0 var(--line); counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff8ee; font: 700 22px/1 var(--serif); margin-bottom: 18px; }
.steps p { color: var(--ink-2); margin-top: 8px; font-size: 15.5px; }

/* occasions */
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.occ { border-radius: 20px; padding: 26px 22px; background: var(--card); box-shadow: 0 1px 0 var(--line); display: grid; gap: 8px; text-decoration: none; transition: transform .25s; }
.occ:hover { transform: translateY(-4px); }
.occ .n { font: 800 44px/1 var(--serif); color: var(--red); letter-spacing: -.03em; }
.occ p { color: var(--ink-2); font-size: 15px; }

/* faq */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
details { background: var(--card); border-radius: 16px; box-shadow: 0 1px 0 var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 24px; font: 700 18px/1.3 var(--serif); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--red); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details .a { padding: 0 24px 22px; color: var(--ink-2); }

/* final */
.final { text-align: center; background: var(--ink); color: var(--paper); border-radius: 30px; padding: clamp(44px, 7vw, 90px) clamp(22px, 5vw, 60px); position: relative; overflow: hidden; }
.final h2 { max-width: 18ch; margin: 14px auto 16px; }
.final h2 em { color: var(--gold); }
.final .lede { color: rgba(244,236,220,.8); margin: 0 auto 30px; }
.final .kicker { color: var(--gold); }

footer { padding: 60px 0 40px; color: var(--ink-2); font-size: 14.5px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 30px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }

.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .tn { grid-template-columns: 1fr; }
  .stage { order: -1; }
  .stage-frame { width: min(100%, 460px); }
  .gallery { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .occasions { grid-template-columns: repeat(2, 1fr); }
  .strip ul { grid-template-columns: repeat(2, 1fr); }
  .nav ul { display: none; }
}
@media (max-width: 640px) {
  .compare { grid-template-columns: 1fr; }
  .maker-row { grid-template-columns: 1fr; }
  .stamp { width: 96px; height: 96px; right: -6px; top: 10px; font-size: 11px; }
  .stamp b { font-size: 26px; }
  .strip ul { grid-template-columns: 1fr; }
  .maker-cta .btn { width: 100%; }
  .tn-row b { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .js .reveal { opacity: 1; transform: none; } }
