/* Top Cure — site styles
   A night-to-dawn journey. Archivo (the logo's wide sans) carries the voice;
   Cormorant italic is the single accent word in each headline. */
:root {
  --night: #050f13;
  --deep: #0a2630;
  --canvas: #f6f2ed;
  --pearl: #eef2f1;
  --white: #ffffff;
  --ink: #16202a;
  --slate: #3d4452;
  --muted: #5d6671;
  --line: rgba(22, 32, 42, .12);
  --aqua: #9fe6ec;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --wrap: 1360px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
.page-home body { background: var(--night); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 8px; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.12em; line-height: .9; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow { font-size: .9rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.lede { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.5; max-width: 36ch; color: var(--muted); }
sup.up { font-size: .5em; vertical-align: .85em; margin-left: .05em; font-weight: 500; color: var(--tint, currentColor); }
.reg { font-size: .36em; vertical-align: 1.5em; margin-left: .12em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 10px 10px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; text-decoration: none;
  font: 500 .95rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  transition: background .35s, color .35s;
}
.btn::after {
  content: "›"; content: "›" / ""; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.14); font-size: 1.3rem; letter-spacing: 0; transition: transform .35s var(--ease);
}
.btn:hover::after { transform: translateX(4px); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost::after { background: rgba(127,127,127,.15); }

/* ---------- header ---------- */
.masthead {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 22px var(--gutter); color: var(--ink);
  transition: color .6s ease;
}
.page-inner .masthead { position: absolute; }
[data-theme="dark"] .masthead { color: #fff; }
.brand img { width: 150px; transition: filter .6s ease; }
[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
.nav-left, .nav-right { display: flex; gap: 10px; align-items: center; }
.nav-right { justify-content: flex-end; }
.pill-link {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 30%, transparent);
  transition: background .3s, color .3s, box-shadow .3s;
}
.pill-link:hover, .pill-link[aria-current="page"] { box-shadow: inset 0 0 0 1px currentColor; }
.pill-link--solid { background: var(--ink); color: #fff; box-shadow: none; }
[data-theme="dark"] .pill-link--solid { background: #fff; color: var(--ink); }
.sound {
  display: inline-flex; align-items: center; gap: 3px; height: 46px; padding: 0 16px; border: 0; background: none; color: inherit; cursor: pointer;
}
.sound span { width: 2px; height: 6px; background: currentColor; border-radius: 2px; transition: height .3s; }
.sound em { font: 500 .9rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-left: 10px; }
.sound[aria-pressed="true"] span { animation: eq 1s ease-in-out infinite alternate; }
.sound[aria-pressed="true"] span:nth-child(2) { animation-delay: -.3s; }
.sound[aria-pressed="true"] span:nth-child(3) { animation-delay: -.6s; }
.sound[aria-pressed="true"] span:nth-child(4) { animation-delay: -.8s; }
@keyframes eq { from { height: 4px; } to { height: 16px; } }
@media (max-width: 760px) {
  .masthead { grid-template-columns: auto 1fr auto; padding: 14px 16px; gap: 8px; }
  .brand { order: -1; }
  .brand img { width: 104px; }
  .nav-left { justify-self: end; gap: 6px; }
  .nav-left a + a { display: none; }
  .nav-right { gap: 6px; }
  .sound, .loader-hint { display: none; }
  .pill-link { min-height: 42px; padding: 0 15px; font-size: .85rem; letter-spacing: .1em; }
}

/* ---------- loader ---------- */
html:not(.js) .loader, html:not(.js) .sound { display: none; }
.loader {
  position: fixed; inset: 0; z-index: 90; background: var(--night); color: #fff;
  display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: center;
  padding: 26px 20px 32px; cursor: pointer;
  transition: opacity 1.2s ease .2s, visibility 0s 1.4s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-logo { width: 150px; filter: brightness(0) invert(1); opacity: .9; }
.loader .shield-lines { width: 120px; margin-top: 12vh; align-self: end; }
.loader-count {
  position: relative; width: 60px; height: 60px; display: grid; place-items: center; align-self: start; margin-top: 30px;
  font-size: .85rem; letter-spacing: .06em; font-variant-numeric: tabular-nums;
}
.loader-count svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.loader-count circle { fill: none; stroke: var(--aqua); stroke-width: 1; stroke-dasharray: 176; stroke-dashoffset: calc(176 * (1 - var(--p, 0))); }
.loader-hint { font-size: .95rem; color: rgba(255,255,255,.5); }
.shield-lines { fill: none; stroke: var(--aqua); stroke-width: .8; }
.shield-lines path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; }
.loader .shield-lines path { stroke-dashoffset: calc(1 - clamp(0, var(--p, 0) * 1.6 - var(--d) * .09, 1)); }
.is-loading, .is-loading body { overflow: hidden; }

/* ---------- home: canvas + journey ---------- */
#scene { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
.journey { position: relative; z-index: 1; }
.stop { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; }
.stop-in { width: 100%; }
.stop[data-theme="dark"] { color: #fff; }
.stop[data-theme="light"] { color: var(--ink); }
.stop-h {
  font-weight: 250; font-variation-settings: "wdth" 125; letter-spacing: -.035em; line-height: 1;
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
}
.stop-h--xl { font-size: clamp(2.8rem, 6.6vw, 6.4rem); }
.stop-p { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; max-width: 38ch; margin-top: 34px; opacity: .82; }

.stop--hero { align-items: flex-end; padding-bottom: clamp(48px, 9vh, 96px); }
.hero-h {
  font-weight: 250; font-variation-settings: "wdth" 125; letter-spacing: -.04em; line-height: .95;
  font-size: clamp(3.2rem, 8.2vw, 8.4rem);
  text-shadow: 0 2px 40px rgba(0,0,0,.25);
}
.hero-eyebrow { display: flex; align-items: center; gap: 12px; }
.hero-eyebrow > span:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); margin-right: 12px; vertical-align: 2px; box-shadow: 0 0 12px var(--aqua); }
.ring { padding: 7px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.scroll-cue { display: flex; align-items: center; gap: 14px; margin-top: 44px; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.scroll-cue span { position: relative; width: 1px; height: 44px; background: rgba(255,255,255,.25); overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.is-ready .stop--hero .stop-in > * { animation: rise 1.4s var(--ease) both; }
.is-ready .stop--hero .hero-h { animation-delay: .15s; }
.is-ready .stop--hero .scroll-cue { animation-delay: .35s; }

.stop--intro .stop-in { max-width: var(--wrap); }
.stop--area .stop-copy { max-width: 560px; }
.stop-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.stop-list a { display: grid; grid-template-columns: 14px 1fr auto; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.stop-list .dot { width: 10px; height: 13px; border-radius: 0 0 99px 99px; background: var(--tint); align-self: center; }
.stop-name { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-variation-settings: "wdth" 115; font-weight: 400; }
.stop-spec { font-size: 1rem; color: var(--muted); }
.stop-list a:hover .stop-name { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.fallback-packs { display: none; }

.stop--trust .stop-in, .stop--end .stop-in { text-align: center; display: grid; justify-items: center; }
.stop--end { align-items: flex-start; padding-top: clamp(140px, 22vh, 220px); }
.badges { list-style: none; margin: 56px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.badges li {
  display: grid; gap: 4px; justify-items: center; text-align: center;
  padding: 26px 30px; min-width: 230px; border-radius: 28px 28px 999px 999px;
  background: rgba(255,255,255,.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(22,32,42,.1), 0 20px 50px -20px rgba(22,50,60,.25);
}
.badges strong { font-size: 1.35rem; font-weight: 500; font-variation-settings: "wdth" 115; }
.badges span { font-size: 1rem; color: var(--muted); max-width: 18ch; padding-bottom: 18px; }
.end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 48px; }

.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s ease, transform 1.2s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .stop { align-items: flex-start; padding-top: 104px; }
  .stop--hero { align-items: flex-end; }
  .stop--area .stop-copy { max-width: none; }
  .stop-list { margin-top: 26px; }
  .stop-list a { padding: 13px 0; }
  .stop-spec { display: none; }
}

/* WebGL unavailable: a painted dawn and the pack photos instead */
.no-webgl #scene { display: none; }
.no-webgl .journey { background: linear-gradient(180deg, #050f13 0%, #0a2630 14%, #5b979c 22%, #eef1ef 30%, #f6f2ed 100%); }
.no-webgl .fallback-packs { display: flex; gap: 12px; margin-top: 32px; }
.no-webgl .fallback-packs img { width: 140px; border-radius: 20px; mix-blend-mode: multiply; }

/* ---------- inner pages ---------- */
.sky-head {
  position: relative; overflow: hidden;
  padding: clamp(150px, 22vh, 220px) 0 clamp(64px, 9vh, 110px);
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(159,230,236,.35), transparent 60%),
    linear-gradient(180deg, #d5e5e7 0%, #eef1ef 55%, var(--canvas) 100%);
}
.sky-head--tall { padding-bottom: clamp(96px, 14vh, 160px); }
.sky-head .shield-lines { position: absolute; right: -40px; top: 90px; width: clamp(220px, 30vw, 420px); stroke: rgba(22,60,70,.22); }
.sky-head .shield-lines path { stroke-dashoffset: 0; }
.page-h {
  font-weight: 250; font-variation-settings: "wdth" 125; letter-spacing: -.04em; line-height: .98;
  font-size: clamp(3rem, 8vw, 7.6rem);
}
.page-h--md { font-size: clamp(2.2rem, 4.8vw, 4.6rem); }
.page-h + .lede { margin-top: 30px; }

.filter-bar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--canvas) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.chips { display: flex; gap: 10px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.chip {
  flex: none; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; color: var(--slate); cursor: pointer;
  font: 500 .9rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--line);
  transition: background .3s, color .3s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--slate); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.range { padding-bottom: clamp(64px, 8vw, 120px); }
.group { padding-top: clamp(64px, 8vw, 110px); }
.group[hidden] { display: none; }
.group-h { font-weight: 250; font-variation-settings: "wdth" 125; letter-spacing: -.03em; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; margin-bottom: 40px; }
.group-h span { display: block; font: 500 .9rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(20px, 2.5vw, 36px); }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; gap: 32px 14px; } }

.card { display: grid; gap: 6px; text-decoration: none; }
.card-fig {
  display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 18px;
  border-radius: 28px 28px 999px 999px;
  background: radial-gradient(80% 60% at 50% 42%, #fff 0%, transparent 72%), color-mix(in srgb, var(--tint) 16%, #f4f1ec);
  transition: background .6s ease;
}
.card-fig img { width: 112%; max-width: none; mix-blend-mode: multiply; transition: transform 1s var(--ease); }
.card:hover .card-fig img { transform: translateY(-3%) scale(1.05); }
.card-name { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-variation-settings: "wdth" 118; font-weight: 400; letter-spacing: -.01em; line-height: 1.15; }
.card-spec { font-size: 1rem; color: var(--muted); }
@media (max-width: 560px) { .card-name { font-size: 1.1rem; } .card-spec { font-size: .95rem; } }

.disclaimer { padding-top: 48px; padding-bottom: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); }
.disclaimer p { max-width: 80ch; font-size: .95rem; line-height: 1.65; color: var(--muted); }
.disclaimer p + p { margin-top: 12px; }

/* ---------- product ---------- */
.product-hero {
  padding: clamp(110px, 16vh, 150px) 0 clamp(56px, 8vh, 96px);
  background:
    radial-gradient(50% 70% at 28% 45%, rgba(255,255,255,.9), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--tint) 26%, #dfe9ea) 0%, color-mix(in srgb, var(--tint) 8%, var(--canvas)) 70%, var(--canvas) 100%);
}
.product-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.viewer { position: relative; aspect-ratio: 1; max-height: 78vh; width: 100%; }
.viewer-photo { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .8s ease; }
.viewer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; cursor: grab; touch-action: pan-y; }
.viewer.is-3d .viewer-canvas { opacity: 1; }
.viewer.is-3d .viewer-photo { opacity: 0; }
.viewer.is-dragging .viewer-canvas { cursor: grabbing; }
.viewer-hint { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity .6s; }
.viewer.is-3d .viewer-hint { opacity: 1; }
.back { display: inline-block; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-bottom: 26px; }
.back::before { content: "← "; }
.back:hover { color: var(--ink); }
.product-name { font-weight: 250; font-variation-settings: "wdth" 125; letter-spacing: -.04em; line-height: .98; font-size: clamp(3rem, 6.4vw, 6.2rem); }
.product-spec { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.product-spec span { padding: 10px 18px; border-radius: 999px; font-size: 1rem; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255,255,255,.5); }
.product-spec span:first-child { background: var(--tint); color: #fff; box-shadow: none; }
.product-copy .lede { color: var(--ink); margin-bottom: 40px; }
@media (max-width: 900px) {
  .product-in { grid-template-columns: 1fr; }
  .viewer { max-width: 520px; margin: 0 auto; }
}

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px); }
.detail-h { font-weight: 250; font-variation-settings: "wdth" 125; letter-spacing: -.03em; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; margin-bottom: 30px; }
.detail-copy p { color: var(--muted); max-width: 56ch; margin-bottom: 18px; }
.dose { display: flex; flex-wrap: wrap; gap: 20px 56px; margin: 0 0 30px; }
.dose dt { font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dose dd { margin: 6px 0 0; font-size: 1.3rem; }
.ingredients { list-style: none; margin: 0; padding: 0; }
.ingredients--cols { columns: 2; column-gap: 40px; }
.ingredients li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; display: flex; justify-content: space-between; gap: 12px; }
.amt { color: var(--muted); }
.more-ing summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
}
.more-ing summary::-webkit-details-marker { display: none; }
.more-ing summary::after { content: "+"; font-size: 1.3rem; transition: transform .3s var(--ease); }
.more-ing[open] summary { margin-bottom: 22px; }
.more-ing[open] summary::after { transform: rotate(45deg); }
.note { font-size: .95rem; color: var(--muted); margin-top: 18px; }
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ingredients--cols { columns: 1; } }

.more { padding: clamp(80px, 10vw, 130px) 0; background: var(--pearl); }
.more-h { font-weight: 250; font-variation-settings: "wdth" 125; letter-spacing: -.03em; font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: 44px; }

/* ---------- about ---------- */
.beliefs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.beliefs .eyebrow { color: var(--muted); }
.belief { font-size: clamp(1.6rem, 2.8vw, 2.5rem); font-weight: 300; font-variation-settings: "wdth" 110; line-height: 1.25; letter-spacing: -.02em; }
@media (max-width: 860px) { .beliefs { grid-template-columns: 1fr; } }
.standards {
  padding: clamp(96px, 12vw, 170px) 0; color: #fff;
  background: radial-gradient(70% 60% at 80% 0%, rgba(159,230,236,.25), transparent 60%), linear-gradient(180deg, var(--night), var(--deep));
}
.badges--detail { justify-content: flex-start; margin-top: 64px; }
.badges--detail li { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); flex: 1 1 260px; max-width: 400px; padding: 34px 34px 40px; }
.badges--detail span { color: rgba(255,255,255,.72); max-width: 28ch; }

/* ---------- contact ---------- */
.contact-head { min-height: 100vh; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); align-items: start; }
.contact .lede { margin: 26px 0 44px; }
.contact-mail { display: inline-block; font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 300; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; margin-bottom: 30px; }
.contact address { color: var(--muted); line-height: 1.7; }
.form { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: 32px; background: rgba(255,255,255,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field span { font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.field input, .field textarea { font: inherit; color: var(--ink); width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 4px rgba(61,68,82,.1); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form .btn { justify-self: start; }
.form-msg { font-size: 1rem; color: #b3261e; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--slate); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 2; background: var(--canvas); padding: clamp(96px, 12vw, 160px) 0 40px; }
.foot-big { font-weight: 250; font-variation-settings: "wdth" 125; letter-spacing: -.04em; line-height: 1; font-size: clamp(2.6rem, 6vw, 5.6rem); margin-bottom: 40px; }
.foot-mail { display: inline-block; font-size: clamp(1.3rem, 2.6vw, 2.2rem); font-weight: 300; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px; overflow-wrap: anywhere; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 48px; margin-top: clamp(64px, 8vw, 110px); padding: 30px 0; border-top: 1px solid var(--line); font-size: 1rem; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot-links a { text-decoration: none; color: var(--slate); }
.foot-links a:hover { color: var(--ink); }
.foot-legal { font-size: .95rem; color: var(--muted); max-width: 90ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
