/* ─────────────────────────────────────────────
   Estederma — "Atelier"
   Porcelain grounds, ink type, products lit like jewels on silk.
   Boska (display) + Switzer (UI/body). No boxes, no pills.
   ───────────────────────────────────────────── */

:root {
  --porcelain: #FFFFFF;
  --paper: #F8F6F2;
  --bone: #E8E3D9;
  --bone-2: #DED7CA;
  --ink: #1B1915;
  --ink-2: #5C554C;
  --ink-3: #978E82;
  --gold: #A8884F;
  --night: #16130F;

  --display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --sand: #F4EFE8;
  --espresso: #241C16;

  --pad: clamp(20px, 4.2vw, 72px);
  --head-h: 100px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --soft: cubic-bezier(.65, 0, .35, 1);

  --acc: var(--gold);
  --deep: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; font-optical-sizing: none; font-variation-settings: "opsz" 28; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--ink); color: var(--porcelain); }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }

/* ── type ── */
.caps { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1.6; }
.small { font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.body { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 34em; }

.prose-lg { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.2vw, 36px); line-height: 1.3; letter-spacing: -.01em; }

/* the lockup: caps + italic, staggered lines (Cartier-style) */
.lock { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; font-size: clamp(42px, 5.6vw, 100px); }
.lock .ln { display: block; overflow: hidden; padding: .1em 0 .16em; margin-bottom: -.08em; }
.lock .lni { display: inline-block; }
.lock i { font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.lock .ln + .ln { padding-left: .55em; }
.lock.center { text-align: center; }
.lock.center .ln + .ln { padding-left: 0; }
.lock.md { font-size: clamp(40px, 5.2vw, 92px); }
.lock.sm { font-size: clamp(34px, 3.8vw, 64px); }
.lock.xs { font-size: clamp(30px, 2.8vw, 46px); }

.chapter { display: flex; align-items: baseline; gap: 14px; }
.chapter .num { font-family: var(--display); font-style: italic; font-weight: 300; font-size: 20px; letter-spacing: 0; }
.chapter.center { justify-content: center; }

/* links & buttons */
.tlink { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; padding: 6px 0; position: relative; }
.tlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: 0 50%; transform: scaleX(.35); opacity: .5; transition: transform .8s var(--ease), opacity .6s; }
.tlink:hover::after { transform: scaleX(1); opacity: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 30px; background: var(--ink); color: var(--porcelain); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; transition: background-color .5s var(--ease), color .5s var(--ease); }
.btn:hover { background: #3A352E; }
.btn.light { background: var(--porcelain); color: var(--ink); }
.btn.light:hover { background: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

/* brand masks */
.mask-emblem, .mask-word, .mask-lockup {
  display: block; background: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
}
.mask-emblem { -webkit-mask-image: url(assets/brand/emblem.png); mask-image: url(assets/brand/emblem.png); aspect-ratio: 522 / 486; }
.mask-word { -webkit-mask-image: url(assets/brand/wordmark.png); mask-image: url(assets/brand/wordmark.png); aspect-ratio: 937 / 109; }

.mask-lockup { -webkit-mask-image: url(assets/brand/lockup.png); mask-image: url(assets/brand/lockup.png); aspect-ratio: 937 / 750; }

/* layout */
.wrap { width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 980px; margin: 0 auto; }
.sec { padding: clamp(80px, 9vw, 140px) 0; position: relative; }
.sec.tight { padding: clamp(60px, 7vw, 110px) 0; }
.bone { background: var(--bone); }
.paper { background: var(--paper); }
.center { text-align: center; }
.mt-s { margin-top: 28px; } .mt-m { margin-top: 56px; } .mt-l { margin-top: clamp(72px, 8vw, 128px); }

/* media frames (no radius — editorial) */
.frame { position: relative; overflow: hidden; background: var(--bone); }
.frame > img, .frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame .par { inset: -8% 0; height: 116%; }

/* jewel: silk backdrop + pack object */
.jewel { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.jewel .obj { position: absolute; left: 50%; top: 50%; width: 62%; transform: translate(-50%, -50%); filter: drop-shadow(0 40px 50px rgba(40, 25, 10, .24)); }

/* ── curtain ── */
.curtain { position: fixed; inset: 0; z-index: 1000; background: var(--porcelain); display: grid; place-items: center; color: var(--gold); clip-path: inset(0 0 0 0); animation: curtain-failsafe 0s 3s forwards; }
.curtain-mark { width: 64px; display: block; background: currentColor; aspect-ratio: 522 / 486; -webkit-mask: url(assets/brand/emblem.png) center / contain no-repeat; mask: url(assets/brand/emblem.png) center / contain no-repeat; }
@keyframes curtain-failsafe { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
.is-qa .curtain { display: none; }

/* ── header ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--head-h); color: var(--ink); transition: transform .9s var(--ease), color .5s; }
.site-header::before { content: ""; position: absolute; inset: 0; background: var(--porcelain); opacity: 0; transition: opacity .6s var(--ease); }
.site-header.is-scrolled::before { opacity: .96; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header[data-tone="dark"]:not(.is-scrolled):not(.menu-open) { color: var(--porcelain); }
.head-in { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.menu-btn { justify-self: start; display: inline-flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; height: 44px; }
.burger { width: 22px; height: 8px; position: relative; }
.burger i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .6s var(--ease), top .6s var(--ease); }
.burger i:first-child { top: 0; } .burger i:last-child { top: 7px; }
.menu-open .burger i:first-child { top: 4px; transform: rotate(18deg); }
.menu-open .burger i:last-child { top: 4px; transform: rotate(-18deg); }
.brand { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.brand .mask-emblem { width: 64px; color: var(--gold); }
.site-header .brand { color: var(--ink); }
.menu-btn, .head-r { transform: translateY(6px); }

.head-r { justify-self: end; display: flex; align-items: center; gap: 34px; }
.head-r .hl { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; position: relative; padding: 6px 0; }
.head-r .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.head-r .hl:hover::after, .head-r .hl.is-active::after { transform: scaleX(1); }
.lang { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; letter-spacing: .2em; }
.lang button { opacity: .4; padding: 6px 0; letter-spacing: .2em; transition: opacity .3s; }
.lang button.is-on, .lang button:hover { opacity: 1; }
.lang span { opacity: .3; }

/* menu overlay */
.mnav { position: fixed; inset: 0; z-index: 99; background: var(--porcelain); color: var(--ink); visibility: hidden; clip-path: inset(0 0 100% 0); display: grid; grid-template-rows: 1fr auto; padding: calc(var(--head-h) + 3vh) var(--pad) 34px; }
.mnav-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: center; }
.mlink { display: flex; align-items: baseline; gap: 22px; padding: .08em 0; }
.mlink .mn { font-family: var(--display); font-style: italic; font-size: 18px; width: 34px; color: var(--ink-3); }
.mlink .mt { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5.6vw, 92px); line-height: 1.04; letter-spacing: -.01em; transition: transform .8s var(--ease), color .5s; }
.mlink:hover .mt { transform: translateX(18px); }
.mnav-links:hover .mlink:not(:hover) .mt { color: var(--ink-3); }
.mnav-img { aspect-ratio: 4 / 5; max-height: 62vh; justify-self: end; width: min(100%, 460px); }
.mnav-img img { transition: opacity .6s var(--ease); }
.mnav-foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--ink-2); }

/* chapter index (home) */

/* ── HOME: hero ── */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: var(--ink); }
.hero-frame { position: absolute; inset: 0; overflow: hidden; background: var(--bone); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-in { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--head-h) var(--pad) 0; }
.hero .lock { font-size: clamp(40px, 7.2vw, 132px); }
.hero-sub { position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; color: var(--ink-2); }
.hero-sub .r { justify-self: end; }

@keyframes cue { to { top: 100%; } }

/* ── HOME: maison ── */

/* ── HOME: collection (pinned silks) ── */
.coll { position: relative; height: 100svh; overflow: hidden; color: var(--ink); }

/* ── HOME/PRODUCTS: science index ── */
.idx { margin-top: clamp(64px, 7vw, 110px); }
.idx-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: baseline; padding: 24px 0; position: relative; transition: opacity .5s var(--ease); }
.idx:hover .idx-row:not(:hover) { opacity: .38; }
.idx-row h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 40px); line-height: 1.05; letter-spacing: -.015em; }
.idx-row p { color: var(--ink-2); }
.idx-row .in { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; }
.idx-row .in a { font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); transition: color .3s; }
.idx-row .in a:hover { color: var(--ink); }
.follow { position: fixed; left: 0; top: 0; width: 220px; aspect-ratio: 4 / 5; pointer-events: none; z-index: 80; opacity: 0; transform: translate(-50%, -50%) scale(.9); overflow: hidden; }
.follow .jewel { position: absolute; inset: 0; }

/* ── HOME: encounters ── */

/* ── footer ── */
.f-cta { padding: clamp(90px, 10vw, 150px) 0; text-align: center; }
.f-cta .actions { justify-content: center; margin-top: 56px; }
.f-main { background: var(--bone); padding: 90px 0 30px; }

.f-bottom { margin-top: 90px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); }
.f-bottom a:hover { color: var(--ink); }

/* ── inner page head ── */
.phead { padding: calc(var(--head-h) + clamp(56px, 7vw, 110px)) 0 clamp(48px, 5vw, 80px); text-align: center; }
.phead .chapter { justify-content: center; margin-bottom: 44px; }
.phead .lock { display: inline-block; text-align: left; }
.phead .body { margin: 44px auto 0; text-align: center; }

/* ── about ── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 140px); align-items: start; }
.vlist { margin-top: 64px; }
.vrow { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px; align-items: baseline; padding: 34px 0; }
.vrow .n { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--ink-3); }
.vrow h3 { font-family: var(--display); font-weight: 200; font-size: clamp(30px, 3vw, 48px); line-height: 1.02; }
.vrow p { color: var(--ink-2); }
.maker { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.maker .frame { aspect-ratio: 16 / 10; background: #EBE8E3; }
.maker .frame img { object-fit: contain; }
.founder { text-align: center; }
.founder .mask-emblem { width: 70px; color: var(--gold); margin: 0 auto 52px; }
.founder blockquote { max-width: 30em; margin: 56px auto 0; }
.founder blockquote p { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 2vw, 30px); line-height: 1.42; color: var(--ink-2); }
.founder blockquote p:first-child { font-size: clamp(30px, 3.2vw, 50px); line-height: 1.16; color: var(--ink); margin-bottom: .7em; }
.founder blockquote p + p { margin-top: 1em; }
.sign { margin-top: 56px; }
.sign b { display: block; font-family: var(--display); font-style: italic; font-weight: 300; font-size: 30px; }

/* ── products overview ── */
.line { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.line.flip { grid-template-columns: 5fr 7fr; }
.line.flip .line-media { order: 2; }
.line-media { aspect-ratio: 5 / 4; }
.line-copy .chapter { margin-bottom: 34px; }
.line-copy .body { margin: 34px 0 26px; }
.line-copy .ing { color: var(--ink-3); margin-bottom: 40px; }
.objects { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px) clamp(16px, 2vw, 32px); margin-top: clamp(72px, 8vw, 120px); }
.object { display: block; }
.object .jewel { aspect-ratio: 4 / 5; }
.object .jewel .obj { width: 70%; transition: transform 1.4s var(--ease); }
.object:hover .jewel .obj { transform: translate(-50%, -53%); }
.object .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; }
.object h3 { font-family: var(--display); font-weight: 300; font-size: 30px; line-height: 1; }
.object .no { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--ink-3); }
.object .cx { color: var(--ink-3); margin-top: 8px; display: block; }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; }
.phase .n { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--ink-3); }
.phase h3 { font-family: var(--display); font-weight: 200; font-size: clamp(40px, 4vw, 64px); line-height: 1; margin: 18px 0 14px; }
.phase .s { color: var(--ink-2); }
.cmp { margin-top: 72px; }
.cmp-row { display: grid; grid-template-columns: 1fr .7fr 2fr 1.4fr; gap: 28px; align-items: baseline; padding: 22px 0; font-size: 13.5px; color: var(--ink-2); }
.cmp-row.head { color: var(--ink-3); }
.cmp-row .nm { font-family: var(--display); font-size: 26px; font-weight: 300; color: var(--ink); line-height: 1; }
.cmp-row:not(.head):hover .nm { font-style: italic; }

/* ── product page ── */
.p-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100svh; }
.p-hero .jewel { min-height: 100svh; position: sticky; top: 0; }
.p-hero-copy { padding: calc(var(--head-h) + 60px) var(--pad) 70px clamp(40px, 6vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.crumbs { display: flex; gap: 14px; color: var(--ink-3); margin-bottom: 60px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.p-hero .lock { font-size: clamp(50px, 6vw, 108px); }
.p-hero .lead { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.3; margin-top: 40px; max-width: 18em; }
.p-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 44px; margin: 44px 0 52px; }
.p-facts dt { color: var(--ink-3); margin-bottom: 4px; }
.p-facts dd { font-size: 14px; }
.p-sec-head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: clamp(40px, 4vw, 64px); align-items: baseline; }
.ing-list .idx-row { grid-template-columns: 60px minmax(0, 1.1fr) minmax(0, 1.3fr); }
.ing-list .n { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--deep); }
.ing-list .dose { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--deep); margin-left: 14px; vertical-align: .6em; }
.cx-list .idx-row { grid-template-columns: 60px minmax(0, 1.1fr) minmax(0, 1.3fr); }
.cx-list .ing { display: block; margin-top: 14px; color: var(--deep); }
.cx-list small { display: block; margin-top: 12px; font-size: 11.5px; color: var(--ink-3); font-style: italic; }
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 140px); }
.plist li { font-family: var(--display); font-weight: 300; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.3; padding: 12px 0; display: flex; gap: 18px; align-items: baseline; }
.plist li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); flex: none; transform: translateY(-.25em); }
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 48px; }
.step .k { color: var(--ink-3); }
.step .v { font-family: var(--display); font-weight: 200; font-size: clamp(32px, 3.2vw, 52px); line-height: 1.06; margin-top: 20px; }
.step .bar { height: 1px; background: var(--ink); margin-top: 26px; transform-origin: 0 50%; opacity: .25; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; }
.results b { display: block; font-family: var(--display); font-style: italic; font-weight: 300; font-size: 30px; }
.results span { color: var(--ink-2); }
.claim { font-family: var(--display); font-weight: 200; font-style: italic; font-size: clamp(30px, 3.4vw, 56px); line-height: 1.16; max-width: 20em; margin: 0 auto; text-align: center; }
.claim-cite { margin-top: 34px; color: var(--ink-3); text-align: center; display: block; }
.care li { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 22px 0; color: var(--ink-2); }
.care li .n { font-family: var(--display); font-style: italic; color: var(--ink-3); font-size: 19px; }
.specs { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.specs .jewel { aspect-ratio: 1; }
.spec-row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 16px 0; align-items: baseline; }
.spec-row dt { color: var(--ink-3); }
.spec-row dd { font-size: 14.5px; }

/* HCP gate */
.gate { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 20px; background: rgba(255, 255, 255, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gate-card { width: min(560px, 100%); text-align: center; }
.gate-card .mask-emblem { width: 52px; color: var(--gold); margin: 0 auto 34px; }
.gate-card h2 { font-family: var(--display); font-weight: 200; font-size: clamp(34px, 3.4vw, 52px); line-height: 1.05; margin: 22px 0 22px; }
.gate-card p { color: var(--ink-2); max-width: 30em; margin: 0 auto; }
.gate-card .actions { justify-content: center; margin-top: 44px; }

/* ── events page ── */
.ev { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.ev + .ev { margin-top: clamp(110px, 12vw, 200px); }
.ev:nth-child(even) { grid-template-columns: 7fr 5fr; }
.ev:nth-child(even) .frame { order: 2; }
.ev .frame { aspect-ratio: 1; }
.ev .d { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--ink-3); }
.ev h2 { font-family: var(--display); font-weight: 200; font-size: clamp(44px, 4.8vw, 80px); line-height: .98; margin: 18px 0 28px; }

/* ── contact ── */
.contact { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 130px); align-items: start; }

.map { aspect-ratio: 4 / 3; margin-top: 10px; background: var(--bone); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.9) brightness(1.05) sepia(.08); }
.form h2 { margin-bottom: 48px; }

.toggle { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; transition: color .3s; }

.toggle[aria-pressed="true"] { color: var(--ink); }

.form.is-done form { display: none; }

/* ── responsive ── */
@media (max-width: 1100px) {
  .head-r .hl { display: none; }
  .idx-row { grid-template-columns: 1fr 1.3fr; }
  .idx-row .in { grid-column: 2; justify-content: flex-start; }
  .cmp-row { grid-template-columns: 1fr 2fr; }
  .cmp-row > :nth-child(2), .cmp-row > :nth-child(4) { display: none; }
}
@media (max-width: 900px) {
  :root { --head-h: 76px; }
  .brand .mask-emblem { width: 50px; }
  .menu-btn, .head-r { transform: none; }
  .menu-btn .lbl { display: none; }
  .mnav-in { grid-template-columns: 1fr; }
  .mnav-img { display: none; }
  
  .hero .lock .ln + .ln { padding-left: .9em; }
  .hero-sub { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .hero-sub .r, .hero-sub .l { justify-self: center; }
  
  .phases, .results, .split, .line, .line.flip, .maker, .dual, .specs, .ev, .ev:nth-child(even), .contact, .p-hero, .p-sec-head { grid-template-columns: 1fr; }
  .line.flip .line-media, .ev:nth-child(even) .frame { order: 0; }
  
  .objects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  
  .hero-sub .r { display: none; }
  
  
  
  
  
  
  .p-hero .jewel { min-height: 62svh; position: relative; }
  .p-hero-copy { padding: 56px var(--pad) 40px; }
  .steps { grid-auto-flow: row; }
  .ing-list .idx-row, .cx-list .idx-row, .idx-row { grid-template-columns: 40px 1fr; }
  .ing-list .idx-row p, .cx-list .idx-row > div:last-child, .idx-row .in { grid-column: 2; }
  .idx-row:not(.ing-list .idx-row):not(.cx-list .idx-row) { grid-template-columns: 1fr; }
  .idx-row:not(.ing-list .idx-row):not(.cx-list .idx-row) > * { grid-column: auto; }
  .vrow { grid-template-columns: 44px 1fr; }
  .vrow p { grid-column: 2; }
  
  
  
  .p-facts { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 600px) {
  .objects { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 2px; }
  .lock .ln + .ln { padding-left: .8em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}

/* legibility veil on dark silks */

/* Instagram photos: quiet editorial grade, full colour on hover */
.ev .frame img { filter: grayscale(.55) sepia(.12) contrast(.94) brightness(1.03); transition: filter 1.2s var(--ease); }
.ev:hover .frame img { filter: none; }

/* hero headline: sturdier serif, white, over a soft dark veil */
.hero .lock { font-family: var(--display); font-weight: 500; letter-spacing: -.015em; color: #fff; text-shadow: 0 2px 30px rgba(40, 24, 12, .25); }
.hero .lock i { font-weight: 400; }
.hero .lock .ln + .ln { padding-left: 1.4em; }
.hero .lock { font-variation-settings: "opsz" 22; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(40, 24, 12, .34), rgba(40, 24, 12, 0) 22%), radial-gradient(ellipse 70% 55% at 50% 56%, rgba(40, 24, 12, .3), rgba(40, 24, 12, .08) 75%, rgba(40, 24, 12, 0)); pointer-events: none; }

/* ═════════ v3 — richer modules ═════════ */

/* intro */

/* ticker */
.ticker { overflow: hidden; padding: 30px 0; background: var(--espresso); color: #F3E7D3; }

.ticker span { display: flex; align-items: center; white-space: nowrap; }
.ticker em { font-family: var(--display); font-style: italic; font-size: clamp(26px, 2.6vw, 42px); padding: 0 .55em; }
.ticker i { font-style: normal; color: var(--gold); font-size: 14px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* series mosaic */
.mosaic { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: clamp(14px, 1.6vw, 24px); }
.tile { position: relative; display: block; overflow: hidden; color: #fff; }
.tile .frame { height: 100%; }
.tile.a { grid-row: 1 / span 2; } .tile.a .frame { aspect-ratio: auto; min-height: 720px; }
.tile.b .frame { aspect-ratio: 16 / 10; } .tile.c .frame { aspect-ratio: 16 / 10; }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.6vw, 40px); background: linear-gradient(to top, rgba(20, 12, 8, .55), rgba(20, 12, 8, 0)); }
.tile-cap h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 2.8vw, 48px); line-height: 1.04; margin-top: 10px; letter-spacing: -.015em; }
.tile .frame img { transition: transform 1.6s var(--ease); }
.tile:hover .frame img { transform: scale(1.04); }

/* carousel */

/* science band (dark) */

/* events split */

/* partner band */
.partner { position: relative; overflow: hidden; color: #fff; padding: clamp(110px, 12vw, 190px) 0; }
.partner-bg { position: absolute; inset: 0; }
.partner-bg img { width: 100%; height: 120%; object-fit: cover; position: absolute; top: -10%; }
.partner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 30, 30, .78), rgba(14, 30, 30, .35)); }
.partner-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: end; }
.partner .tlink { color: #fff; }

@media (max-width: 900px) {
  .partner-in { grid-template-columns: 1fr; }
  
  .mosaic { grid-template-columns: 1fr; }
  .tile.a { grid-row: auto; } .tile.a .frame { min-height: 0; aspect-ratio: 4 / 5; }
  
  
  
}

/* richer footer */
.f-main { padding: 80px 0 30px; }
.f-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-bottom: 56px; }
.f-top .mask-lockup { width: 150px; color: var(--ink); }
.f-top p { font-family: var(--display); font-size: clamp(22px, 2vw, 30px); line-height: 1.3; max-width: 22em; justify-self: end; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 48px; }
.f-cols .caps { display: block; margin-bottom: 16px; color: var(--ink-3); }
.f-cols a:not(.btn), .f-cols p { display: block; font-size: 14.5px; color: var(--ink-2); line-height: 2; }
.f-cols a:not(.btn):hover { color: var(--ink); }
@media (max-width: 900px) { .f-top { grid-template-columns: 1fr; } .f-top p { justify-self: start; } .f-cols { grid-template-columns: 1fr 1fr; } }
.f-cols .btn { color: var(--porcelain); }
.tile.b .frame img { object-position: 50% 72%; }

/* ═════════ v4 — simple ═════════ */
.hero .lock { font-size: clamp(40px, 6.4vw, 118px); line-height: 1.04; }
.hero .lock .ln + .ln { padding-left: 0; }
.hero-in { flex-direction: column; text-align: center; }
.hero-sub { margin-top: 26px; font-family: var(--display); font-style: italic; font-size: clamp(20px, 2vw, 32px); color: #fff; text-shadow: 0 2px 24px rgba(40, 24, 12, .3); }
.hero-in { display: flex; align-items: center; justify-content: center; }
.hero-in .lock { text-align: center; }
.intro-simple .prose-lg { font-size: clamp(26px, 2.6vw, 42px); }
.partner-in.simple { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.partner-in.simple .actions { justify-content: center; }
.founder-compact .fc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.founder-compact blockquote { text-align: left; max-width: none; margin: 0; }
.founder-compact blockquote p, .founder-compact blockquote p:first-child { font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 0 0 .8em; }
.founder-compact blockquote p:first-child { font-family: var(--display); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.3; color: var(--ink); }
.founder-compact .sign { margin-top: 24px; }
.founder-compact .sign b { font-size: 24px; }
@media (max-width: 900px) { .founder-compact .fc { grid-template-columns: 1fr; } }
.hero .hero-sub { position: static; display: block; left: auto; right: auto; bottom: auto; grid-template-columns: none; }

/* ═════════ simple contact ═════════ */
.contact-simple { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: stretch; }
.cdetails { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); justify-content: center; }
.crow .caps { display: block; color: var(--ink-3); margin-bottom: 10px; }
.cbig { display: inline-block; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 46px); line-height: 1.15; letter-spacing: -.015em; overflow-wrap: anywhere; transition: color .3s; }
.cbig.addr { font-size: clamp(24px, 2.4vw, 36px); }
a.cbig:hover { font-style: italic; }
.cactions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.btn.alt { background: var(--sand); color: var(--ink); }
.btn.alt:hover { background: var(--bone); }
.contact-simple .map { margin: 0; aspect-ratio: auto; min-height: 460px; }
@media (max-width: 900px) {
  .contact-simple { grid-template-columns: minmax(0, 1fr); }
  .cdetails { min-width: 0; }
  .contact-simple .map { min-height: 320px; aspect-ratio: 4 / 3; }
  .cactions .btn { flex: 1 1 120px; padding: 0 16px; }
}
.contact-simple > * { min-width: 0; }
.contact-simple .map { width: 100%; max-width: 100%; }
@media (max-width: 900px) { .contact-simple .map { aspect-ratio: auto; height: 340px; min-height: 0; } }

/* ═════════ a11y + touch ═════════ */
.skip { position: fixed; left: 12px; top: 12px; z-index: 2000; padding: 12px 18px; background: var(--ink); color: #fff; font-size: 13px; letter-spacing: .08em; transform: translateY(-160%); transition: transform .3s; }
.skip:focus { transform: none; }
main:focus { outline: none; }
.lang button { min-width: 32px; min-height: 44px; }
.menu-btn { min-width: 44px; min-height: 44px; }
.tlink { min-height: 32px; }
.f-cols a:not(.btn) { padding: 4px 0; line-height: 1.6; }
@media (max-width: 900px) {
  .btn { height: 52px; }
  .cbig { padding: 4px 0; }
  .crumbs a { padding: 8px 0; }
}
@media (hover: none) {
  .tile:hover .frame img, .object:hover .jewel .obj { transform: none; }
}
img, video { height: auto; }
.frame > img, .frame > video, .hero-bg img, .hero-bg video { height: 100%; }
.f-bottom a { display: inline-block; padding: 12px 0; }
.idx-row .in a { display: inline-block; padding: 10px 0; }
@media (max-width: 900px) { .caps { font-size: 12px; letter-spacing: .14em; } }

.made { margin-top: 18px; text-align: center; font-size: 12px; color: var(--ink-3); }
.made a { color: var(--gold); padding: 8px 2px; display: inline-block; transition: color .3s; }
.made a:hover { color: var(--ink); }

/* semantic tags keep the same look */
address { font-style: normal; }
.f-cols nav, .f-cols address { display: block; }
.crow h2.caps { margin: 0 0 10px; }
.mosaic .tile-cap h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 2.8vw, 48px); line-height: 1.04; margin-top: 10px; letter-spacing: -.015em; }
h2.prose-lg { margin: 0; }
.benefit { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.15; margin: 14px 0 0; }
.hl[aria-current="page"]::after { transform: scaleX(1); }
