/* palette from renovon.ch, refined */
:root {
  --night: #0B1912;       /* hero / panels */
  --night-2: #12251B;
  --ink: #1D4331;         /* deep green */
  --green: #2F5F48;       /* forest green */
  --sage: #779584;
  --sage-2: #BFCBBF;
  --mint: #E5F2D2;
  --paper: #FDF9F2;       /* cream */
  --stone: #F1EFE8;       /* card grey */
  --stone-2: #E8EAE1;
  --text: #13261C;
  --text-2: #56685E;
  --text-3: #8A988F;
  --line: rgba(19, 38, 28, .10);
  --line-dark: rgba(229, 242, 210, .12);
  --gutter: clamp(16px, 4vw, 48px);
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
svg { flex: none; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

/* mono micro-label */
.label {
  font: 400 11.5px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-3);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 18px; border-radius: 8px;
  font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: #fff; }
.btn--glass { background: rgba(229,242,210,.06); color: var(--mint); border-color: var(--line-dark); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(229,242,210,.14); }
.btn--block { width: 100%; height: 48px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1040px, calc(100% - 2 * var(--gutter)));
  display: flex; align-items: center; gap: 24px;
  height: 56px; padding: 0 8px 0 18px; border-radius: 12px;
  background: rgba(18, 37, 27, .55);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--line-dark);
  transition: background .35s, border-color .35s;
}
.nav__logo { position: relative; display: block; height: 30px; }
.nav__logo img { height: 30px; width: auto; transition: opacity .35s; }
.nav__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { padding: 8px 12px; font-size: 14px; color: rgba(229,242,210,.75); transition: color .2s; }
.nav__links a:hover { color: #fff; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line-dark); color: var(--mint); transition: background .2s; }
.nav__icon:hover { background: rgba(229,242,210,.1); }
.nav__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.nav__mobile-cta, .nav__burger { display: none; }

/* light mode once past the hero */
.nav.is-light { background: rgba(253, 249, 242, .78); border-color: var(--line); }
.nav.is-light .logo-light { opacity: 0; }
.nav.is-light .logo-dark { opacity: 1; }
.nav.is-light .nav__links a { color: var(--text-2); }
.nav.is-light .nav__links a:hover { color: var(--text); }
.nav.is-light .nav__icon { border-color: var(--line); color: var(--ink); }
.nav.is-light .btn--mint { background: var(--ink); color: var(--mint); }
.nav.is-light .btn--mint:hover { background: var(--green); }

/* ---------- 3D story (dark) ---------- */
.story { position: relative; height: 700vh; background: var(--night); color: var(--mint); }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(120% 90% at 65% 40%, #183223 0%, var(--night) 60%, #07110C 100%);
}
.stage__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: center;
  mask-image: radial-gradient(70% 70% at 50% 50%, transparent 30%, #000 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, transparent 30%, #000 100%);
}
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.stage .label { color: var(--sage); }
.hero {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 6vh, 64px);
  max-width: 1280px; margin: 0 auto;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.hero.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.hero .label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,242,210,.5); } 80%, 100% { box-shadow: 0 0 0 10px rgba(229,242,210,0); } }
h1 {
  font-weight: 400; font-size: clamp(44px, 6.4vw, 96px); line-height: .96; letter-spacing: -.045em;
  color: #F4F8EE; max-width: 12ch;
}
.hero__foot { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.lead { font-size: 16px; color: rgba(229,242,210,.68); max-width: 34em; font-weight: 300; }
.hero__ctas { display: flex; gap: 8px; flex: none; }

.step {
  position: absolute; left: var(--gutter); top: 50%; width: min(420px, 34vw);
  opacity: 0; transform: translateY(-46%); pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.step.is-active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.step h2 { margin: 16px 0 14px; font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -.035em; color: #F4F8EE; }
.step p:not(.label) { color: rgba(229,242,210,.66); font-weight: 300; }
.step .btn { margin-top: 24px; }

.hud {
  position: absolute; right: var(--gutter); bottom: clamp(32px, 6vh, 64px); width: 260px;
  font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--sage);
  opacity: 0; transition: opacity .5s;
}
.hud.is-visible { opacity: 1; }
.hud__row { display: flex; justify-content: space-between; margin-bottom: 12px; }
.hud__row span:last-child { color: var(--mint); }
.hud__bar { height: 1px; background: var(--line-dark); position: relative; }
.hud__bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--mint); }
.hud__ticks { list-style: none; display: grid; gap: 9px; margin-top: 16px; }
.hud__ticks li { display: flex; align-items: center; gap: 10px; transition: color .3s; }
.hud__ticks li::before { content: ""; width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 1px; transition: background .3s; }
.hud__ticks li.is-done { color: var(--mint); }
.hud__ticks li.is-done::before { background: var(--mint); }

.scroll-hint { display: none; position: absolute; right: var(--gutter); bottom: clamp(32px, 6vh, 64px); display: flex; align-items: center; gap: 14px; transition: opacity .4s; }
.scroll-hint.is-hidden { opacity: 0; }
.scroll-hint__line { width: 1px; height: 40px; background: linear-gradient(var(--mint), transparent); animation: drip 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- crosshair grid ---------- */
.xgrid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.xgrid > * { position: relative; padding: 28px 24px; }
.xgrid > * + * { border-left: 1px solid var(--line); }
.xgrid > *::before, .xgrid > *::after {
  content: "+"; position: absolute; left: -5px; font: 300 14px/1 var(--mono); color: var(--text-3); background: var(--paper); width: 10px; text-align: center;
}
.xgrid > *::before { top: -8px; }
.xgrid > *::after { bottom: -8px; }
.xgrid > *:first-child::before, .xgrid > *:first-child::after { display: none; }

.facts .xgrid { border-top: 0; }
.fact { display: grid; gap: 10px; }
.fact strong { font-weight: 400; font-size: 17px; letter-spacing: -.01em; }

/* ---------- sections ---------- */
.section { padding: clamp(96px, 12vw, 168px) 0; }
.section--tight { padding-top: clamp(40px, 6vw, 80px); }
.head { text-align: center; max-width: 820px; margin: 0 auto clamp(48px, 6vw, 80px); }
.head .label { margin-bottom: 20px; }
.head h2, .contact h2 { font-weight: 400; font-size: clamp(38px, 5.2vw, 72px); line-height: 1; letter-spacing: -.045em; color: var(--text); }
.sub { margin: 24px auto 0; max-width: 36em; color: var(--text-2); font-size: 17px; font-weight: 300; }

.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.card { grid-column: span 2; background: var(--stone); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; transition: background .3s; }
.card--half { grid-column: span 3; }
.card:hover { background: var(--stone-2); }
.card h3 { margin: 40px 0 10px; font-weight: 400; font-size: 24px; line-height: 1.15; letter-spacing: -.025em; }
.card > p:not(.label) { color: var(--text-2); font-size: 15px; }
.card ul { list-style: none; margin-top: auto; padding-top: 28px; }
.card li { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }

/* dark rounded panels */
.panel { padding: 0 12px; }
.panel__inner {
  background: var(--night); color: var(--mint); border-radius: 28px; padding: clamp(80px, 10vw, 140px) 0;
  position: relative; overflow: hidden;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 96px 96px; background-position: center top;
}
.panel__inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 0%, transparent, var(--night) 75%); pointer-events: none; }
.panel__inner > * { position: relative; }
.panel .label { color: var(--sage); }
.head--light h2 { color: #F4F8EE; }
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.process li { padding: 28px 28px 0 0; }
.process li + li { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.process h3 { margin: 64px 0 10px; font-weight: 400; font-size: 22px; letter-spacing: -.02em; color: #F4F8EE; }
.process p:not(.label) { color: rgba(229,242,210,.6); font-size: 15px; font-weight: 300; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 12px; }
.tile--big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.tile__img { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--stone); }
.tile--big .tile__img { aspect-ratio: auto; flex: 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; font-size: 15px; }

blockquote { font-weight: 400; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -.03em; color: var(--text); }
.xgrid--values .value { padding: 32px 24px 8px; }
.value h3 { margin: 48px 0 8px; font-weight: 400; font-size: 20px; letter-spacing: -.02em; }
.value p:not(.label) { color: var(--text-2); font-size: 15px; }

.panel--contact { margin-top: clamp(40px, 6vw, 80px); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); }
.contact h2 { color: #F4F8EE; margin-top: 20px; }
.contact .sub { margin-left: 0; color: rgba(229,242,210,.62); }
.contact dl { margin-top: 48px; border-top: 1px solid var(--line-dark); }
.contact dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.contact dd { color: #F4F8EE; text-align: right; }
.contact dd a:hover { color: var(--mint); text-decoration: underline; text-underline-offset: 4px; }
.form { display: grid; gap: 28px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form label { display: grid; gap: 10px; }
.form input:not([type=checkbox]), .form textarea {
  font: 300 17px/1.4 var(--sans); color: #F4F8EE; background: transparent;
  border: 0; border-bottom: 1px solid rgba(229,242,210,.22); border-radius: 0; padding: 6px 0 12px; width: 100%;
  resize: vertical; transition: border-color .25s;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(229,242,210,.3); }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--mint); }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips legend { margin-bottom: 12px; }
.chips label { display: block; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 8px; border: 1px solid var(--line-dark); font: 400 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: rgba(229,242,210,.75); cursor: pointer; transition: .2s; }
.chips span:hover { border-color: rgba(229,242,210,.35); }
.chips input:checked + span { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.chips input:focus-visible + span { outline: 1px solid var(--mint); outline-offset: 2px; }

.footer { padding: clamp(72px, 9vw, 120px) 0 28px; }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 64px; }
.footer__tag { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; line-height: 1.15; }
.footer nav { display: grid; gap: 8px; align-content: start; color: var(--text-2); }
.footer address { font-style: normal; color: var(--text-2); line-height: 1.75; }
.footer a:hover { color: var(--text); }
.footer__logo { width: 100%; height: auto; }
.footer__legal { display: flex; justify-content: space-between; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card, .card--half { grid-column: span 1; }
  .card:first-child { grid-column: 1 / -1; }
  .hud { display: none; }
}
@media (max-width: 860px) {
  .nav { top: 10px; height: 54px; padding: 0 6px 0 14px; gap: 10px; }
  .nav__logo, .nav__logo img { height: 26px; }
  .nav__actions .btn { display: none; }
  .nav__burger { display: grid; place-content: center; gap: 5px; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line-dark); background: transparent; cursor: pointer; }
  .nav__burger span { width: 16px; height: 1.5px; background: var(--mint); transition: .25s; }
  .nav.is-light .nav__burger { border-color: var(--line); }
  .nav.is-light .nav__burger span { background: var(--ink); }
  .nav.is-open .nav__burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav__links { position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; padding: 8px; background: var(--night-2); border: 1px solid var(--line-dark); border-radius: 12px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .25s; }
  .nav.is-light .nav__links { background: #fff; border-color: var(--line); }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 14px; font-size: 16px; }
  .nav__mobile-cta { display: block; }

  .hero__foot { flex-direction: column; align-items: start; gap: 20px; margin-top: 20px; padding-top: 18px; }
  .lead { font-size: 15px; }
  .step { left: var(--gutter); right: var(--gutter); top: auto; bottom: 28px; width: auto; transform: translateY(12px); }
  .step.is-active { transform: none; }
  .step h2 { font-size: 28px; margin: 12px 0 10px; }
  .step p:not(.label) { font-size: 15px; }
  .scroll-hint { display: none; }

  .xgrid { grid-template-columns: 1fr 1fr; }
  .xgrid > *:nth-child(3) { border-left: 0; }
  .xgrid > *:nth-child(n+3) { border-top: 1px solid var(--line); }
  .xgrid > *:nth-child(3)::before, .xgrid > *:nth-child(3)::after { display: none; }
  .process { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process li:nth-child(3) { border-left: 0; padding-left: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .tile--big { grid-column: 1 / -1; grid-row: auto; }
  .tile--big .tile__img { flex: none; aspect-ratio: 16 / 10; }
  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__tag { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .cards, .gallery, .process { grid-template-columns: 1fr; }
  .card:first-child { grid-column: auto; }
  .process li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); }
  .process h3 { margin-top: 28px; }
  .xgrid { grid-template-columns: 1fr; }
  .xgrid > * + * { border-left: 0; border-top: 1px solid var(--line); }
  .xgrid > *::before, .xgrid > *::after { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .tile figcaption { flex-direction: column; gap: 4px; }
  .footer__legal { flex-direction: column; gap: 8px; }
  .panel { padding: 0 8px; }
  .panel__inner { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .pulse, .scroll-hint__line { animation: none; }
}
.scroll-hint { display: none !important; }

/* legibility vignette over the 3D scene */
.stage__vignette { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,17,12,.78) 0%, rgba(7,17,12,.35) 34%, transparent 58%),
              linear-gradient(0deg, rgba(7,17,12,.85) 0%, transparent 38%); }
@media (max-width: 860px) { .stage__vignette { background: linear-gradient(0deg, rgba(7,17,12,.92) 0%, rgba(7,17,12,.4) 45%, transparent 70%); } }

/* ===== daylight stage ===== */
.story { background: var(--paper); color: var(--text); }
.stage { background: linear-gradient(#b4c9d3, #ece9df); }
.stage .label { color: var(--text-3); }
.stage__grid { opacity: .5; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); }
.stage__vignette {
  background: linear-gradient(90deg, rgba(253,249,242,.92) 0%, rgba(253,249,242,.55) 30%, transparent 55%),
              linear-gradient(0deg, rgba(253,249,242,.9) 0%, rgba(253,249,242,.25) 18%, transparent 30%);
}
@media (max-width: 860px) { .stage__vignette { background: linear-gradient(0deg, rgba(253,249,242,.97) 0%, rgba(253,249,242,.6) 42%, transparent 66%); } }
h1, .step h2 { color: var(--text); }
.lead, .step p:not(.label) { color: var(--text-2); }
.hero__foot { border-top-color: var(--line); }
.pulse { background: var(--green); animation-name: pulse-g; }
@keyframes pulse-g { 0% { box-shadow: 0 0 0 0 rgba(47,95,72,.45); } 80%, 100% { box-shadow: 0 0 0 10px rgba(47,95,72,0); } }
.stage .btn--mint { background: var(--ink); color: var(--mint); }
.stage .btn--mint:hover { background: var(--green); }
.stage .btn--glass { background: rgba(255,255,255,.55); color: var(--ink); border-color: var(--line); }
.stage .btn--glass:hover { background: #fff; }
.hud { color: var(--text-3); }
.hud__row span:last-child, .hud__ticks li.is-done { color: var(--ink); }
.hud__ticks li.is-done::before { background: var(--ink); }
.hud__bar { background: var(--line); }
.hud__bar span { background: var(--ink); }

@media (max-width: 860px) {
  .hero, .step { max-width: calc(100vw - 2 * var(--gutter)); }
  .hero__foot > * { max-width: 100%; }
  .hero .label { display: block; line-height: 1.6; }
  .hero .pulse { display: inline-block; vertical-align: middle; margin: -2px 10px 0 0; }
  .hero__ctas { flex-wrap: wrap; }
}

/* ===== clean break between the 3D stage and the page ===== */
.story { background: var(--paper); }
.stage { border-radius: 0 0 28px 28px; }
.stage__vignette { background: linear-gradient(90deg, rgba(253,249,242,.85) 0%, rgba(253,249,242,.4) 28%, transparent 50%); }
.stage__foot {
  position: absolute; inset: auto 0 0; height: 46%; pointer-events: none;
  background: linear-gradient(0deg, rgba(253,249,242,.92), rgba(253,249,242,0));
  transition: opacity .6s var(--ease);
}
.stage__foot.is-hidden { opacity: 0; }
.facts { padding-top: 8px; }
@media (max-width: 860px) {
  .stage { border-radius: 0 0 20px 20px; }
  .stage__vignette { background: none; }
  .stage__foot, .stage__foot.is-hidden { opacity: 1; height: 55%; }
}

/* the left wash is only for the opening headline */
.stage__vignette { transition: opacity .6s var(--ease); }
.stage__vignette.is-hidden { opacity: 0; }

/* step text and phase tracker sit on crisp frosted cards instead of a fade */
.step, .hud {
  background: rgba(253, 249, 242, .82);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 50px -30px rgba(19, 38, 28, .35);
}
.step { padding: 28px 30px 30px; }
.hud { padding: 18px 20px; }
@media (max-width: 860px) {
  .step { left: 12px; right: 12px; bottom: 12px; padding: 22px; }
}

/* no washes over the 3D scene at all */
.stage__vignette, .stage__foot, .stage__foot.is-hidden { display: none; }

/* hero: small text on frosted surfaces so it reads without any wash */
.hero .label, .hero__foot {
  background: rgba(253, 249, 242, .82);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -30px rgba(19, 38, 28, .35);
}
.hero .label { padding: 8px 14px; border-radius: 999px; color: var(--text-2); }
.hero__foot { border-radius: 16px; padding: 18px 18px 18px 24px; align-items: center; }
@media (max-width: 860px) {
  .hero .label { border-radius: 12px; }
  .hero__foot { padding: 18px; }
}

/* drag-to-orbit hint */
.drag-hint {
  position: absolute; top: 96px; right: var(--gutter); display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; pointer-events: none;
  background: rgba(253,249,242,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--text-2);
  transition: opacity .5s;
}
.drag-hint svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.drag-hint.is-hidden { opacity: 0; }
@media (max-width: 860px) { .drag-hint { top: 76px; right: 12px; } }

/* ===== QA fixes ===== */
/* menu links land below the floating nav */
html { scroll-padding-top: 96px; }
/* gallery: big tile + 5 photos in a clean 3-column grid (no orphan) */
.gallery { grid-template-columns: repeat(3, 1fr); }
.tile--big { grid-column: span 2; grid-row: span 2; }
/* captions: title over label, never squeezed side by side */
.tile figcaption { flex-direction: column; align-items: flex-start; gap: 4px; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .tile--big { grid-column: 1 / -1; grid-row: auto; }
  .gallery .tile:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* form note + legal links */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14px; line-height: 1.5; min-height: 1.5em; margin-top: -12px; }
.form__status[data-kind="ok"] { color: var(--mint); }
.form__status[data-kind="error"] { color: #F2A38E; }
.form__status[data-kind="busy"] { color: rgba(229,242,210,.7); }
.form button:disabled { opacity: .6; cursor: progress; }
.form__note { font-size: 13px; line-height: 1.5; color: rgba(229,242,210,.55); }
.form__note a, .footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.form__note a:hover { color: var(--mint); }

/* ===== legal page ===== */
.legal-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gutter); background: rgba(253,249,242,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.legal-nav img { height: 30px; width: auto; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 40px; }
.legal h1 { font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -.04em; color: var(--text); margin: 18px 0 16px; max-width: none; }
.legal .intro { color: var(--text-2); font-size: 17px; font-weight: 300; }
.legal h2 { font-weight: 500; font-size: 21px; letter-spacing: -.02em; margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 20px; display: grid; gap: 6px; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.legal address { font-style: normal; color: var(--text); line-height: 1.7; margin-top: 8px; }
.legal .updated { margin-top: 56px; }

/* ===== multi-page ===== */
.head h1, .contact h1 { font-weight: 400; font-size: clamp(38px, 5.2vw, 72px); line-height: 1; letter-spacing: -.045em; color: var(--text); max-width: none; margin: 0; }
.head--light h1, .contact h1 { color: #F4F8EE; }
.contact h1 { margin-top: 20px; }
.subpage main > .section:first-child { padding-top: clamp(140px, 14vw, 192px); }
.subpage main > .panel:first-child { padding-top: 96px; }
.subpage .legal { padding-top: clamp(120px, 12vw, 160px); }
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after { content: ""; display: block; height: 1px; margin-top: 2px; background: currentColor; opacity: .5; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.linkcard { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 220px; padding: 28px; border-radius: 18px; background: var(--stone); transition: background .3s; }
.linkcard:hover { background: var(--stone-2); }
.linkcard h3 { font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -.03em; color: var(--text); max-width: 16em; }
.linkcard p:not(.label) { color: var(--text-2); }
.linkcard__go { margin-top: auto; align-self: flex-end; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: background .25s, color .25s, transform .25s; }
.linkcard:hover .linkcard__go { background: var(--ink); color: var(--mint); transform: translateX(4px); }

.cta-band__inner { text-align: center; padding: clamp(48px, 7vw, 88px) 24px; border-radius: 24px; background: var(--stone); }
.cta-band h2 { font-weight: 400; font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -.04em; color: var(--text); }
.cta-band__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.cta-band .btn--mint { background: var(--ink); color: var(--mint); }
.cta-band .btn--mint:hover { background: var(--green); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--line:hover { background: rgba(29,67,49,.06); }
@media (max-width: 720px) { .links { grid-template-columns: 1fr; } .linkcard { min-height: 0; } }

/* mobile polish */
.form__status:empty { display: none; }
@media (max-width: 860px) {
  .hero .label { display: inline-block; }
  .hero .label__place { display: block; padding-left: 16px; }
  .hero .label__dash { display: none; }
  .footer nav a { padding: 6px 0; }
  .footer__top address a { display: inline-block; padding: 4px 0; }
}
