/* DN Designs — personalised creations for every occasion
   Built by Atlantic Motion Studio. One system: warm paper, ink, their gold, Bodoni + Sacramento + Manrope. */

:root {
  --paper: #FBF8F3;
  --paper-2: #F3ECE1;
  --card: #FFFFFF;
  --ink: #1B1A19;
  --ink-2: #4B453F;
  --muted: #847A70;
  --line: rgba(27, 26, 25, .12);
  --gold: #CA912C;
  --gold-hi: #E9C46F;
  --gold-text: #8E5F12;
  --green: #1E4A3B;
  --green-2: #275B49;
  --cream: #F7F1E6;
  --blush: #F4D9D4;

  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --script: 'Sacramento', 'Snell Roundhand', cursive;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-s: 8px;
  --r-m: 16px;
  --r-l: 28px;
  --gutter: clamp(18px, 4vw, 48px);
  --pad: clamp(84px, 11vw, 150px);
  --max: 1320px;
  --hdr: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --gold-grad: linear-gradient(135deg, #F4D88E 0%, #D9A542 38%, #C08624 62%, #E7C36E 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-s); text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
svg use { pointer-events: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; font-optical-sizing: none; font-variation-settings: 'opsz' 30; }
.h2 { font-size: clamp(36px, 4.7vw, 70px); line-height: 1.02; text-wrap: balance; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.script { font-family: var(--script); font-style: normal; font-weight: 400; color: var(--gold); letter-spacing: 0;
  font-size: 1.32em; line-height: .6; display: inline-block; padding: 0 .08em; white-space: nowrap; }
.eyebrow { font: 600 12px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.eyebrow > span::before { content: ''; display: inline-block; width: 22px; height: 1px; background: currentColor; vertical-align: middle; margin: -2px 12px 0 0; }
.eyebrow b { font-weight: 700; letter-spacing: .08em; margin-right: 10px; color: var(--gold); }
.eyebrow--light { color: #F3DDAA; }
.link { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--sans); color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 1.5px solid var(--gold); }
.link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 24px;
  border-radius: 999px; font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--sm svg { width: 18px; height: 18px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(140, 95, 18, .65), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--gold:hover { box-shadow: 0 16px 30px -14px rgba(140, 95, 18, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .22); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.no-intro .intro { display: none; }
.intro__half { position: absolute; inset: 0; background: var(--paper); will-change: transform; }
.intro__half--bot { visibility: hidden; }
.intro__logo { position: absolute; left: 50%; top: 50%; width: min(84vw, 860px); transform: translate(-50%, -52%); }
.il { width: 100%; height: auto; overflow: visible; }
.il-pen path { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.il-sweep { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.il-dots circle { transform: scale(0); }
.il-lockup { opacity: 0; }
.il-heart { transform: scale(0); }
.intro__seam { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.intro__seam polyline { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(255, 190, 80, .9)); }
.intro__skip { position: absolute; right: var(--gutter); bottom: 22px; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); pointer-events: auto; padding: 10px; opacity: 0; animation: fadeIn .4s 1.2s forwards; }
.intro.is-open .intro__skip { display: none; }
/* failsafe: never trap the page behind the intro */
.intro { animation: introFailsafe .6s 9s forwards; }
@keyframes introFailsafe { to { opacity: 0; visibility: hidden; } }
@keyframes fadeIn { to { opacity: 1; } }

/* ---------- header ---------- */
.hdr { position: fixed; z-index: 120; left: 0; right: 0; top: 0; height: var(--hdr); display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter); color: var(--ink); --lg-ink: var(--ink); --lg-gold: var(--gold);
  transition: background-color .4s, box-shadow .4s, color .4s, transform .5s var(--ease); }
.hdr[data-theme="light"] { color: #fff; --lg-ink: #fff; }
.hdr.is-solid { background: rgba(251, 248, 243, .86); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.hdr__mark { height: 46px; width: auto; overflow: visible; }
.hdr__mark use { transition: fill .4s; }
.hdr__word { height: 13px; width: auto; }
.hdr__nav { display: flex; gap: 30px; }
.hdr__nav a { font: 500 14.5px/1 var(--sans); text-decoration: none; padding: 8px 0; position: relative; opacity: .92; }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.hdr__nav a:hover::after { transform: scaleX(1); }
.hdr__menu { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; border: 1px solid currentColor; }
.hdr__menu svg { width: 22px; height: 22px; }

.sheet { position: fixed; inset: 0; z-index: 110; background: var(--paper); padding: calc(var(--hdr) + 28px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 28px; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { font: 500 34px/1.15 var(--serif); color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sheet__tag { font: 400 34px/1 var(--script); color: var(--gold); margin-top: auto; }
body.is-sheet { overflow: hidden; }

/* ---------- stage (hero -> cut -> clock -> occasions) ---------- */
.stage { position: relative; height: 760vh; background: var(--paper); }
.anchor { position: absolute; left: 0; top: 0; }
.stage__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.stage__paper { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 60% at 30% 52%, #FFFDF8 0%, rgba(255, 253, 248, 0) 70%), var(--paper); }
.disc-shadow { position: absolute; left: 0; top: 0; z-index: 1; width: 200px; height: 200px; border-radius: 50%; opacity: 0;
  box-shadow: 0 34px 70px -24px rgba(70, 45, 10, .5), 0 10px 22px -6px rgba(40, 25, 5, .22); }
.face { position: absolute; inset: 0; z-index: 2; background: #EDE5D9; }
.face__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.face__shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 14, 8, .36) 0%, rgba(20, 14, 8, 0) 20%),
    radial-gradient(85% 78% at 0% 100%, rgba(20, 14, 8, .66) 0%, rgba(20, 14, 8, .38) 48%, rgba(20, 14, 8, 0) 78%),
    linear-gradient(0deg, rgba(20, 14, 8, .4) 0%, rgba(20, 14, 8, 0) 50%); }
.hero-copy .eyebrow, .hero-copy__lede { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.face__disc { position: absolute; left: 0; top: 0; width: 200px; height: 200px; border-radius: 50%; overflow: hidden; pointer-events: none; }
.face__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.face__art svg { width: 100%; height: 100%; }
.art-script { font: 400 34px/1 var(--script); fill: var(--ink); }
.art-caps { font: 600 7px/1 var(--sans); letter-spacing: .32em; fill: #5C5A52; }
.offcut { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; visibility: hidden; transform-origin: 50% 100%; }
.cut { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; overflow: visible; }
.cut__guide { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 1.2; stroke-dasharray: 3 7; opacity: 0; }
.cut__line { fill: none; stroke: #FFD27A; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.cut__head { opacity: 0; }
.cut__sparks line { stroke: #FFE7A8; stroke-width: 1.4; stroke-linecap: round; }
.rim { position: absolute; left: 0; top: 0; z-index: 5; width: 300px; height: 300px; pointer-events: none; }
.rim svg { width: 100%; height: 100%; overflow: visible; }
.rim__sketch { fill: var(--gold); }
.rim__sweep { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.rim__acrylic, .rim__hands { opacity: 0; }
.rim__marks text { font-family: var(--serif); font-weight: 600; fill: url(#g-gold); }
.rim__marks .is-hit { fill: #B3312C; }

.hero-copy { position: absolute; z-index: 6; left: var(--gutter); right: var(--gutter); bottom: clamp(70px, 10vh, 110px); max-width: 820px; color: #fff; }
.hero-copy__title { font-variation-settings: 'opsz' 40; color: #fff; font-size: clamp(50px, 7.6vw, 122px); line-height: .94; letter-spacing: -.025em; margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0, 0, 0, .18); }
.hero-copy__title .ln { display: inline-block; }
.hero-copy__title .script { color: var(--gold-hi); font-size: 1.22em; line-height: .5; padding-right: .12em; text-shadow: 0 1px 2px rgba(40, 24, 4, .45), 0 2px 18px rgba(20, 12, 2, .35); }
.hero-copy__lede { font-size: clamp(17px, 1.4vw, 20px); max-width: 30em; color: rgba(255, 255, 255, .92); margin-bottom: 30px; }
.hero-copy__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { position: absolute; z-index: 6; right: var(--gutter); bottom: clamp(70px, 10vh, 110px); display: flex; flex-direction: column; align-items: flex-end; gap: 18px; color: rgba(255, 255, 255, .9); }
.hero-meta__bar { display: flex; gap: 6px; }
.hero-meta__bar i { position: relative; width: 26px; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; border-radius: 2px; }
.hero-meta__bar i::after { content: ''; position: absolute; inset: 0; background: var(--gold-hi); transform: scaleX(var(--p, 0)); transform-origin: left; }
.hero-meta__cue { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.hero-meta__cue svg { width: 16px; height: 16px; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

.chapters { position: absolute; z-index: 6; display: grid; opacity: 0; pointer-events: none;
  left: 56%; right: var(--gutter); top: 50%; transform: translateY(-50%); max-width: 540px; }
.chapters.is-live { pointer-events: auto; }
.ch { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .16s, transform .16s, visibility 0s .16s; }
.ch.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .18s, transform .6s .18s var(--ease), visibility 0s .18s; }
.ch__title { font-size: clamp(34px, 3.9vw, 58px); line-height: 1.04; margin-bottom: 20px; text-wrap: balance; }
.ch__text { font-size: clamp(16.5px, 1.25vw, 18.5px); margin-bottom: 22px; max-width: 30em; }
.ch__sign { font: 400 40px/1 var(--script); color: var(--gold); }
.tags { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font: 600 13px/1 var(--sans); padding: 9px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.ch-dots { position: absolute; z-index: 6; left: 56%; bottom: clamp(26px, 6vh, 56px); display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; opacity: 0; }
.ch-dots li { width: 28px; height: 3px; border-radius: 3px; background: rgba(27, 26, 25, .14); transition: background-color .4s; }
.ch-dots li.is-on { background: var(--gold); }

/* ---------- sections ---------- */
.sec { position: relative; padding: var(--pad) 0; isolation: isolate; }
.sec--tint { background: var(--paper-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head .lead { justify-self: end; }
.sec--tile { border-radius: var(--r-l) var(--r-l) 0 0; margin-top: calc(-1 * var(--r-l)); }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* challenge */
.challenge { padding-bottom: 0; overflow: hidden; }
.challenge__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px 80px; align-items: center; }
.challenge .h2 { margin-bottom: 24px; }
.challenge .lead { margin-bottom: 32px; }
.challenge .lead strong { color: var(--ink); font-weight: 700; }
.challenge__art { margin: 0; text-align: center; }
.tilt { width: min(100%, 460px); margin: 0 auto; perspective: 900px; }
.tilt .clock-svg { transition: transform .6s var(--ease); filter: drop-shadow(0 30px 34px rgba(70, 45, 10, .22)); }
.challenge__art figcaption { margin-top: 18px; font: 500 14px/1.4 var(--sans); color: var(--muted); }
.marquee { margin-top: clamp(60px, 8vw, 110px); padding: 26px 0; border-top: 1px solid var(--line); overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: italic 500 clamp(28px, 3.4vw, 48px)/1 var(--serif); color: var(--ink); white-space: nowrap; }
.marquee i { width: 16px; height: 16px; flex: none; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.3s-7.6-4.6-9.2-9.3C1.7 7.6 3.9 4.4 7.2 4.4c2 0 3.6 1.1 4.8 2.8 1.2-1.7 2.8-2.8 4.8-2.8 3.3 0 5.5 3.2 4.4 6.6-1.6 4.7-9.2 9.3-9.2 9.3Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.3s-7.6-4.6-9.2-9.3C1.7 7.6 3.9 4.4 7.2 4.4c2 0 3.6 1.1 4.8 2.8 1.2-1.7 2.8-2.8 4.8-2.8 3.3 0 5.5 3.2 4.4 6.6-1.6 4.7-9.2 9.3-9.2 9.3Z'/%3E%3C/svg%3E") center/contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* designer */
.designer { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); background: var(--card); border-radius: var(--r-l); box-shadow: 0 1px 0 var(--line), 0 40px 80px -50px rgba(70, 45, 10, .35); overflow: hidden; overflow: clip; }
.designer__wall { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: clamp(28px, 5vw, 70px);
  background: radial-gradient(70% 70% at 50% 40%, #FFFFFF 0%, #F1E9DD 100%); }
.designer__wall::before { content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(140, 110, 70, .07) 1px, transparent 1.2px); background-size: 6px 6px; }
.designer__hang { position: relative; width: min(100%, 520px); transform-origin: 50% 0; }
.designer__hang .clock-svg { width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(70, 45, 10, .22)) drop-shadow(0 4px 6px rgba(70, 45, 10, .12)); }
.designer__hang.is-swing { animation: swing .9s var(--ease); }
@keyframes swing { 0% { transform: rotate(0); } 25% { transform: rotate(1.6deg); } 55% { transform: rotate(-.9deg); } 80% { transform: rotate(.35deg); } 100% { transform: rotate(0); } }
.designer__note { position: relative; font: 500 13px/1.4 var(--sans); color: var(--muted); text-align: center; }
.designer__panel { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 22px; border-left: 1px solid var(--line); }
.designer__panel fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.designer__panel legend { font: 700 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; padding: 0; display: flex; gap: 10px; width: 100%; }
.designer__panel legend .val { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); font-size: 13px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; font: 600 13.5px/1 var(--sans); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s, background-color .25s, color .25s; }
.opts button:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.opts button.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }
.opts--text button { font-family: var(--serif); font-size: 15px; font-weight: 600; }
.sh { width: 15px; height: 15px; border: 1.6px solid currentColor; flex: none; }
.sh--round { border-radius: 50%; }
.sh--square { border-radius: 3px; }
.sh--hex { border: 0; background: currentColor; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sh--arch { border-radius: 8px 8px 2px 2px; height: 16px; width: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button { width: 36px; height: 36px; border-radius: 50%; background-color: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); position: relative; transition: transform .25s var(--ease); }
.swatches button:hover { transform: scale(1.08); }
.swatches button.is-on::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--ink); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields label { display: flex; flex-direction: column; gap: 8px; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.fields em { font-style: normal; font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.fields input { height: 48px; border: 0; border-radius: var(--r-s); padding: 0 14px; font: 500 16px/1 var(--sans); color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-transform: none; letter-spacing: 0; width: 100%; }
.fields input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--gold); }
.designer__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.designer__small { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* kits */
.kits { background: radial-gradient(80% 60% at 20% 0%, #2A5E4B 0%, rgba(42, 94, 75, 0) 70%), var(--green); color: rgba(247, 241, 230, .86); }
.kits .h2 { color: var(--cream); }
.kits .lead { color: rgba(247, 241, 230, .82); }
.kits .script { color: var(--gold-hi); }
.kits__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.kitbox { border-radius: var(--r-l); background: #C9A06A; padding: clamp(14px, 2vw, 22px); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .15); }
.kitbox__tray { border-radius: var(--r-m); background: #B98D55; box-shadow: inset 0 8px 22px rgba(80, 50, 15, .45); overflow: hidden; }
.kitbox__svg { width: 100%; height: auto; touch-action: manipulation; }
.kitbox__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 6px 4px; color: #3B2812; }
.kitbox__hint { display: flex; align-items: center; gap: 10px; font: 600 14px/1.3 var(--sans); margin-right: auto; }
.kitbox__hint svg { width: 20px; height: 20px; }
.pots { display: flex; gap: 10px; }
.pots button { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .18), 0 2px 0 rgba(60, 35, 10, .35); position: relative; transition: transform .25s var(--ease); }
.pots button.is-on { transform: translateY(-4px); }
.pots button.is-on::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #3B2812; }
.kitbox__reset { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--sans); padding: 8px 2px; }
.kitbox__reset svg { width: 18px; height: 18px; }
.piece { cursor: pointer; }
.piece__paint { transition: fill .35s; }
.order { background: var(--cream); color: var(--ink-2); border-radius: var(--r-l); padding: clamp(22px, 2.6vw, 32px); }
.order__price { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.order__price b { font: 600 52px/1 var(--serif); color: var(--ink); }
.order__price span { font: 600 13px/1.35 var(--sans); color: var(--muted); }
.order__intro { font: 700 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.order__list { list-style: none; margin: 0 0 16px; padding: 0; }
.order__list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed rgba(27, 26, 25, .12); font: 500 15px/1.3 var(--sans); color: var(--ink); }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.qty button:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.qty button svg { width: 15px; height: 15px; }
.qty output { min-width: 22px; text-align: center; font-weight: 700; }
.order__list li.has-qty { color: var(--ink); }
.order__list li.has-qty output { color: var(--gold-text); }
.order__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.order__total b { font: 600 30px/1 var(--serif); letter-spacing: 0; }
.order__small { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 12px 0 18px; }
.order__poster { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px; border-radius: var(--r-m); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: left; font: 600 14px/1.3 var(--sans); color: var(--ink); }
.order__poster img { width: 54px; height: 64px; object-fit: cover; border-radius: 6px; }

/* how */
.how { background: var(--paper); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; position: relative; }
.steps::before { content: ''; position: absolute; z-index: 0; left: 12.5%; right: 12.5%; top: 36px; border-top: 1.5px dashed rgba(202, 145, 44, .55); }
.steps li { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.steps__ic { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold-text); }
.steps__ic svg { width: 28px; height: 28px; }
.steps b { display: block; font: 600 12px/1 var(--sans); letter-spacing: .2em; color: var(--gold-text); margin-bottom: 10px; }
.steps h3 { font-size: clamp(22px, 1.8vw, 27px); margin-bottom: 10px; }
.steps p { font-size: 15.5px; line-height: 1.6; max-width: 22em; margin: 0 auto; }

/* work */
.work__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.42fr) minmax(0, 1fr); grid-template-areas: "a b c" "a d c"; gap: 22px; align-items: start; }
.work__grid > :nth-child(1) { grid-area: a; }
.work__grid > :nth-child(2) { grid-area: b; }
.work__grid > :nth-child(3) { grid-area: c; }
.work__grid > :nth-child(4) { grid-area: d; }
.card { margin: 0; }
.card__img { display: block; width: 100%; border-radius: var(--r-m); overflow: hidden; background: var(--card); cursor: zoom-in; }
.card__img img { width: 100%; transition: transform 1.2s var(--ease); color: transparent; }
.card__img:hover img { transform: scale(1.03); }
.card figcaption { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.card figcaption b { font: 600 19px/1.25 var(--serif); color: var(--ink); }
.card figcaption span { font-size: 15px; line-height: 1.5; }
.card--fb { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px; border-radius: var(--r-m); background: var(--card); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.card--fb:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.card__mark { width: 74px; height: auto; margin-bottom: 8px; }
.card--fb b { font: 600 22px/1.2 var(--serif); color: var(--ink); }
.card--fb .link { margin-top: 10px; }

/* contact + footer */
.contact { position: relative; isolation: isolate; background: var(--ink); color: rgba(251, 248, 243, .8); padding: var(--pad) 0 clamp(60px, 7vw, 90px); border-radius: var(--r-l) var(--r-l) 0 0; margin-top: calc(-1 * var(--r-l)); }
.contact .h2 { color: var(--paper); margin-bottom: 20px; }
.contact .lead { color: rgba(251, 248, 243, .76); }
.contact .script { color: var(--gold-hi); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 80px; align-items: end; }
.contact__cards { display: flex; flex-direction: column; gap: 12px; }
.ccard { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--r-m); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); text-decoration: none; color: var(--paper); transition: background-color .3s, transform .35s var(--ease); }
.ccard:hover { background: rgba(255, 255, 255, .09); transform: translateX(4px); }
.ccard > svg:first-child { width: 28px; height: 28px; color: var(--gold-hi); flex: none; }
.ccard span { display: flex; flex-direction: column; gap: 4px; font: 500 15px/1.2 var(--sans); color: rgba(251, 248, 243, .7); }
.ccard b { font: 600 21px/1.1 var(--serif); color: var(--paper); }
.ccard__go { width: 20px; height: 20px; margin-left: auto; color: var(--gold-hi); }
.ccard--wa { background: var(--gold-grad); color: var(--ink); box-shadow: none; }
.ccard--wa > svg:first-child, .ccard--wa .ccard__go { color: var(--ink); }
.ccard--wa b { color: var(--ink); }
.ccard--wa span { color: rgba(27, 26, 25, .78); }
.ccard--wa:hover { background: var(--gold-grad); }
.ftr { background: var(--ink); color: rgba(251, 248, 243, .62); padding: clamp(40px, 6vw, 70px) 0 28px; --lg-ink: var(--paper); --lg-gold: var(--gold); }
.ftr__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 30px 60px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr__logo svg { width: clamp(220px, 22vw, 300px); height: auto; }
.ftr__cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; font: 600 12px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(251, 248, 243, .78); }
.ftr__cats li + li::before { content: '♥'; color: var(--gold); margin-right: 14px; letter-spacing: 0; }
.ftr__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 32px; }
.ftr__nav a { text-decoration: none; font-size: 15px; color: rgba(251, 248, 243, .82); }
.ftr__nav a:hover { color: var(--gold-hi); }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; font-size: 13.5px; }
.ftr__base a { color: rgba(251, 248, 243, .85); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(27, 26, 25, .9); display: grid; place-items: center; padding: 60px var(--gutter) 30px; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; border-radius: var(--r-s); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__x { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); }
.lightbox__x svg { width: 22px; height: 22px; }

/* clock renderer text */
.clock-svg { width: 100%; height: auto; overflow: visible; }
.clock-svg .ck-script { font-family: var(--script); }
.clock-svg .ck-serif { font-family: var(--serif); font-weight: 600; }
.clock-svg .ck-sans { font-family: var(--sans); font-weight: 700; }

/* ---------- static / reduced motion ---------- */
.is-static .stage { height: auto; }
.is-static .stage__pin { position: relative; height: auto; overflow: visible; padding-top: 100vh; padding-top: 100svh; }
.is-static .face { bottom: auto; height: 100vh; height: 100svh; }
.is-static .face__disc, .is-static .rim, .is-static .cut, .is-static .offcut, .is-static .disc-shadow, .is-static .ch-dots, .is-static .hero-meta__bar { display: none; }
.is-static .hero-copy { bottom: auto; top: calc(100svh - 70px); transform: translateY(-100%); }
.is-static .chapters { position: relative; inset: auto; left: auto; transform: none; opacity: 1; max-width: var(--max); margin: 0 auto; padding: var(--pad) var(--gutter); pointer-events: auto;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.is-static .ch { grid-area: auto; opacity: 1; visibility: visible; transform: none; }
.is-static [data-reveal] { opacity: 1; transform: none; }
.is-static .marquee__track { animation: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hdr__nav { gap: 20px; }
  .hdr__nav a:nth-child(5) { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 22px; }
  .steps::before { display: none; }
}
@media (max-width: 900px) {
  :root { --hdr: 66px; }
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-flex; }
  .hdr__cta { --h: 44px; padding: 0 14px; }
  .hdr__cta span { display: none; }
  .hdr__cta svg { width: 20px; height: 20px; }
  .hdr__mark { height: 40px; }
  .hdr__word { height: 11px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head .lead { justify-self: start; }
  .challenge__grid, .kits__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .designer { grid-template-columns: minmax(0, 1fr); }
  .designer__panel { border-left: 0; border-top: 1px solid var(--line); }
  /* keep the preview in view while the options scroll underneath (overflow:clip keeps sticky working) */
  .designer__wall { position: sticky; top: var(--hdr); z-index: 2; padding: 16px 16px 10px; gap: 8px; box-shadow: 0 10px 20px -16px rgba(70, 45, 10, .4); }
  .designer__hang { width: min(62vw, 300px); }
  .designer__note { font-size: 11.5px; }
  .work__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "b b" "a c" "d d"; }
  .ftr__grid { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .ftr__cats { justify-content: flex-start; }

  .chapters { left: var(--gutter); right: var(--gutter); top: auto; bottom: calc(env(safe-area-inset-bottom) + 58px); transform: none; max-width: none; }
  .ch__title { font-size: clamp(28px, 7.4vw, 40px); margin-bottom: 12px; }
  .ch__text { font-size: 15.5px; line-height: 1.55; margin-bottom: 14px; }
  .ch__sign { font-size: 32px; }
  .tags { margin-bottom: 16px; gap: 6px; }
  .tags li { font-size: 12px; padding: 7px 11px; }
  .ch-dots { left: var(--gutter); bottom: calc(env(safe-area-inset-bottom) + 26px); }
  .hero-meta__bar { display: none; }
  .hero-meta { left: var(--gutter); right: auto; bottom: 26px; align-items: flex-start; }
  .hero-copy { bottom: 76px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .intro__logo { width: 150vw; }
  .hero-copy .eyebrow .hide-sm { display: none; }
  .hdr__word { display: none; }
  .hero-copy__title { font-size: clamp(46px, 13.5vw, 64px); }
  .hero-copy__lede { margin-bottom: 24px; }
  .hero-copy__cta .btn { flex: 1 1 auto; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .work__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .work__grid::-webkit-scrollbar { display: none; }
  .work__grid > * { flex: 0 0 78%; scroll-snap-align: start; }
  .work__grid > .card--wide { flex-basis: 88%; }
  .ch-dots li { width: 22px; }
  .order__price b { font-size: 44px; }
  .designer__actions .btn { flex: 1 1 auto; }
}
