/* Adret (nom fictif) — design system. Dark, cinematic, one amber accent. Plain CSS, no library. */
@view-transition { navigation: auto; }

:root {
  --bg: #0f1114;
  --s1: #161a1f;
  --s2: #1d2228;
  --s3: #252b33;
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .22);
  --tx: rgba(255, 255, 255, .9);
  --tx2: rgba(255, 255, 255, .68);
  --tx3: rgba(255, 255, 255, .56);
  --amber: #f0a15a;
  --amber-ink: #1b1209;
  --amber-line: rgba(240, 161, 90, .45);
  --glacier: #93c8d4;
  --snow: #f3efe7;
  --ink: #14161a;
  --ink2: #3b4048;
  --amber-deep: #8a4710;
  --ok: #86d3a6;
  --err: #ff9a85;
  --wrap: 1240px;
  --gut: clamp(18px, 4.5vw, 48px);
  --f: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--f);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hh: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font: 400 1.0625rem/1.6 var(--f); letter-spacing: .005em;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--amber-line); text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--amber); }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 400; letter-spacing: -.005em; }
h4 { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; }
em { font-style: normal; color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--amber); color: var(--amber-ink); }

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; border-radius: 2px; text-decoration: none; font-weight: 500; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.lab { font: 500 .9rem/1.4 var(--f); letter-spacing: .01em; color: var(--tx3); }
.lab b { color: var(--amber); font-weight: 500; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--tx2); max-width: 46ch; line-height: 1.55; }
.small { font-size: .9rem; color: var(--tx2); }
.mono { font-family: var(--mono); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hh); display: flex; align-items: center; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.hd.is-solid { background: rgba(15, 17, 20, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.hd .wrap { display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; letter-spacing: .32em; font-size: .95rem; text-transform: uppercase; }
.logo svg { width: 34px; height: 22px; flex: none; }
.logo small { display: block; font: 500 .68rem/1 var(--f); letter-spacing: .04em; color: var(--tx3); margin-top: 5px; text-transform: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a { text-decoration: none; font-size: .95rem; color: var(--tx2); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--tx); border-color: var(--amber); }
.nav .btn { color: var(--amber-ink); border: 0; padding: 10px 18px; }
.alt-pill { font: 500 .72rem/1 var(--mono); letter-spacing: .08em; color: var(--amber); border: 1px solid var(--amber-line); padding: 7px 10px; border-radius: 2px; min-width: 84px; text-align: center; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); width: 44px; height: 44px; border-radius: 2px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--tx); margin: 5px auto; transition: transform .25s, opacity .25s; }
.nav-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 24px; background: var(--amber); color: var(--amber-ink); border: 1px solid var(--amber); border-radius: 2px; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:hover { background: #f5b072; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--tx); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); border-color: var(--tx2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.arrow::after { content: "→"; }

/* ---------- altimeter rail ---------- */
.rail { position: fixed; right: clamp(10px, 1.6vw, 26px); top: 50%; translate: 0 -50%; height: min(52vh, 460px); width: 70px; z-index: 40; pointer-events: none; }
.rail-line { position: absolute; right: 8px; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.rail-fill { position: absolute; right: 8px; bottom: 0; width: 1px; height: 100%; background: var(--amber); transform-origin: bottom; transform: scaleY(0); }
.rail-tick { position: absolute; right: 5px; width: 7px; height: 1px; background: var(--tx3); }
.rail-mark { position: absolute; right: 2px; bottom: 0; width: 13px; height: 13px; margin-bottom: -6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(240, 161, 90, .18); }
.rail-read { position: absolute; right: 24px; bottom: 0; margin-bottom: -9px; font: 500 .74rem/1 var(--mono); color: var(--amber); white-space: nowrap; text-align: right; text-shadow: 0 1px 6px #000; }
.rail-read small { display: block; font-size: .72rem; color: var(--tx2); letter-spacing: 0; margin-top: 4px; }
@media (max-width: 1099px) { .rail { display: none; } }
@media (min-width: 1100px) and (max-width: 1440px) { .wrap { width: auto; max-width: var(--wrap); margin-left: var(--gut); margin-right: calc(var(--gut) + 56px); } }
.rail-read small { display: none; }
@media (min-width: 1441px) { .rail-read small { display: block; } }

/* ---------- reel (hero) ---------- */
.reel { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: #000; isolation: isolate; }
.reel-slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.4s ease; margin: 0; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.slide.is-on img { animation: drift 11s linear forwards; }
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.13) translate3d(-1.4%, -1%, 0); } }
.reel::before, .reel::after { content: ""; position: absolute; left: 0; right: 0; z-index: 3; background: #000; height: clamp(34px, 8vh, 84px); }
.reel::before { top: 0; }
.reel::after { bottom: 0; }
.reel-scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(10, 12, 16, .78) 0%, rgba(10, 12, 16, .5) 38%, rgba(10, 12, 16, 0) 72%), linear-gradient(180deg, rgba(10, 12, 16, .55) 0%, rgba(10, 12, 16, 0) 28%, rgba(10, 12, 16, .2) 55%, rgba(10, 12, 16, .9) 100%); }
@media (max-width: 900px) { .reel-scrim { background: linear-gradient(180deg, rgba(10, 12, 16, .5) 0%, rgba(10, 12, 16, .45) 35%, rgba(10, 12, 16, .88) 100%); } }
.reel-copy { position: relative; z-index: 4; padding: calc(var(--hh) + 10vh) 0 clamp(70px, 13vh, 130px); }
.reel-copy h1 { max-width: 15ch; }
.reel-copy .lead { margin-top: 22px; color: rgba(255, 255, 255, .78); }
.reel-copy .btn-row { margin-top: 30px; }
.reel-ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: clamp(8px, 2.4vh, 24px); }
.reel-ui .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.reel-ui .lab { color: rgba(255, 255, 255, .72); }
.reel-ui .tc { font-variant-numeric: tabular-nums; }
.reel-cap { max-width: 56ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reel-ctl { display: flex; align-items: center; gap: 10px; }
.reel-ctl button { background: none; border: 1px solid var(--line-2); color: var(--tx); font: 500 .8rem/1 var(--f); letter-spacing: .02em; padding: 9px 12px; border-radius: 2px; cursor: pointer; min-height: 32px; }
.reel-ctl button:hover { border-color: var(--amber); }
.dots { display: flex; gap: 6px; }
.dots i { width: 22px; height: 2px; background: rgba(255, 255, 255, .3); }
.dots i.is-on { background: var(--amber); }

/* ---------- page head (inner pages) ---------- */
.ph { position: relative; padding: calc(var(--hh) + clamp(48px, 9vw, 110px)) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.ph-bg { position: absolute; inset: 0; z-index: -1; }
.ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 17, 20, .35), var(--bg) 96%); }
.ph h1 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); max-width: 18ch; }
.ph .lead { margin-top: 20px; }
.ph .lab { margin-bottom: 22px; display: block; }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 10vw, 128px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-s1 { background: var(--s1); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head .lab { grid-column: 1 / -1; }
.sec-head p { color: var(--tx2); margin: 0; max-width: 52ch; }
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--s1); border: 1px solid var(--line); border-radius: 2px; padding: clamp(20px, 2.4vw, 32px); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.sec-s1 .card { background: var(--s2); }

/* ---------- altitude strip (home) ---------- */
.strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 2px; }
.strip > div { padding: 18px 16px 20px; border-left: 1px solid var(--line); position: relative; }
.strip > div:first-child { border-left: 0; }
.strip b { display: block; font: 300 clamp(1.5rem, 2.6vw, 2.3rem)/1.1 var(--f); letter-spacing: -.01em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.strip b span { font-size: .5em; color: var(--tx3); margin-left: 3px; }
.strip small { display: block; color: var(--tx2); font-size: .85rem; line-height: 1.35; }
.strip::before { content: none; }

/* ---------- doors ---------- */
.door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(360px, 46vw, 520px); padding: clamp(22px, 3vw, 40px); border-radius: 2px; overflow: hidden; text-decoration: none; isolation: isolate; border: 1px solid var(--line); }
.door img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 12, 16, .05) 20%, rgba(10, 12, 16, .88) 100%); }
.door:hover img { transform: scale(1.05); }
.door h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 300; margin: 12px 0; }
.door p { color: rgba(255, 255, 255, .8); max-width: 42ch; }
.door .go { color: var(--amber); font-weight: 500; }

/* ---------- light comparator ---------- */
.lights { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: center; }
.lights-frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: #000; }
.lights-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(var(--lb, 1)) saturate(var(--ls, 1)) sepia(var(--lp, 0)); }
.lights-ov { position: absolute; inset: 0; background: var(--lc, transparent); mix-blend-mode: soft-light; opacity: var(--lo, 0); }
.lights-ov2 { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 22, 60, .0), rgba(14, 22, 60, 1)); opacity: var(--ld, 0); mix-blend-mode: multiply; }
.lights-tag { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; background: rgba(10, 12, 16, .72); border-radius: 2px; }
.range { width: 100%; margin: 20px 0 8px; accent-color: var(--amber); height: 32px; cursor: pointer; }
.range-lab { display: flex; justify-content: space-between; gap: 8px; }
.range-lab button { background: none; border: 0; padding: 8px 0; cursor: pointer; color: var(--tx2); font: 500 .85rem/1.3 var(--f); letter-spacing: .01em; min-height: 32px; }
.range-lab button[aria-pressed="true"] { color: var(--amber); }

/* ---------- service rows (prestations) ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(22px, 4.5vw, 72px); align-items: start; padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc:nth-of-type(even) .svc-media { order: -1; }
.svc-media { position: relative; border-radius: 2px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--s1); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.cine-frame { position: relative; aspect-ratio: 2.39 / 1; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: #000; }
.cine-frame::before, .cine-frame::after { content: ""; position: absolute; left: 0; right: 0; height: 9%; background: #000; z-index: 1; }
.cine-frame::before { top: 0; } .cine-frame::after { bottom: 0; }
.cine-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.verts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.verts figure { margin: 0; aspect-ratio: 9 / 16; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: var(--s1); }
.verts img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 12px 0 18px; }
.facts { display: grid; grid-template-columns: 1fr; margin: 24px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--tx3); font: 500 .85rem/1.7 var(--f); letter-spacing: .01em; }
.facts dd { margin: 0; }
.price { color: var(--amber); font-variant-numeric: tabular-nums; font-weight: 500; }
.tag-ex { font: 500 .72rem/1 var(--f); letter-spacing: .04em; color: var(--tx3); border: 1px solid var(--line-2); padding: 3px 6px; border-radius: 2px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
.ul { list-style: none; padding: 0; margin: 0 0 1em; }
.ul li { position: relative; padding: 6px 0 6px 22px; }
.ul li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 1px; background: var(--amber); }
.note { border-left: 2px solid var(--amber); padding: 4px 0 4px 18px; color: var(--tx2); margin: 22px 0; }
.note a { color: var(--tx); }

/* ---------- packs / tables ---------- */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.pack { display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--line); border-radius: 2px; padding: clamp(22px, 2.6vw, 34px); }
.pack.hot { border-color: var(--amber-line); background: linear-gradient(180deg, rgba(240, 161, 90, .07), var(--s1) 55%); }
.pack .pr { font: 300 clamp(2rem, 3.2vw, 2.8rem)/1 var(--f); margin: 16px 0 4px; font-variant-numeric: tabular-nums; }
.pack .pr small { font-size: .38em; color: var(--tx3); margin-left: 6px; }
.pack .ul { margin-top: 18px; flex: 1; }
.tbl { width: 100%; border-collapse: collapse; font-size: .98rem; }
.tbl th, .tbl td { text-align: left; padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font: 500 .85rem/1.4 var(--mono); letter-spacing: .01em; color: var(--tx3); }
.tbl-wrap { overflow-x: auto; }

/* ---------- steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; padding-top: 20px; border-top: 1px solid var(--line-2); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 500 .75rem/1 var(--mono); letter-spacing: .14em; color: var(--amber); margin-bottom: 14px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.steps p { color: var(--tx2); font-size: .98rem; margin: 0; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { background: transparent; border: 1px solid var(--line-2); color: var(--tx2); padding: 9px 16px; border-radius: 2px; cursor: pointer; min-height: 42px; font-size: .95rem; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--tx2); color: var(--tx); }
.chip[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); font-weight: 500; }
.chip .n { font: 500 .7rem/1 var(--mono); margin-left: 8px; opacity: .8; }
.gal { column-count: 3; column-gap: clamp(14px, 2vw, 24px); }
.shot { break-inside: avoid; margin: 0 0 clamp(14px, 2vw, 24px); display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: zoom-in; }
.shot[hidden] { display: none; }
.shot .im { position: relative; overflow: hidden; border-radius: 2px; border: 1px solid var(--line); background: var(--s1); }
.shot .l { aspect-ratio: 3 / 2; } .shot .p { aspect-ratio: 2 / 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 2px 0; }
.shot .cap strong { font-weight: 400; font-size: 1.02rem; }
.shot .cap .lab { white-space: nowrap; }
.shot .sub { padding: 2px 2px 0; color: var(--tx3); font-size: .88rem; }
.empty { padding: 40px 0; color: var(--tx2); }
dialog.lb { border: 0; padding: 0; background: transparent; color: var(--tx); width: min(96vw, 1200px); max-width: none; max-height: 96vh; margin: auto; overflow: visible; }
dialog.lb::backdrop { background: rgba(6, 7, 9, .94); }
.lb-in { display: grid; gap: 14px; }
.lb-fig { margin: 0; position: relative; background: #000; border-radius: 2px; overflow: hidden; display: grid; place-items: center; max-height: 76vh; }
.lb-fig img { max-height: 76vh; width: auto; max-width: 100%; object-fit: contain; }
.lb-bar { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.lb-bar p { margin: 0; }
.lb-btns { display: flex; gap: 8px; }
.lb-btns button { background: var(--s2); border: 1px solid var(--line-2); color: var(--tx); padding: 10px 16px; min-height: 44px; min-width: 44px; border-radius: 2px; cursor: pointer; }
.lb-btns button:hover { border-color: var(--amber); }

/* ---------- altitude chart ---------- */
.bars { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bars li { display: grid; grid-template-columns: minmax(7.5em, 12em) 1fr 5.5em; gap: 14px; align-items: center; }
.bars .bar { height: 10px; background: var(--s3); border-radius: 1px; position: relative; overflow: hidden; }
.bars .bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) / 4807 * 100%); background: linear-gradient(90deg, var(--glacier), var(--amber)); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.bars.is-in .bar i { transform: scaleX(1); }
.bars .v { text-align: right; font: 500 .85rem/1 var(--mono); color: var(--amber); font-variant-numeric: tabular-nums; }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 500; font-size: .98rem; }
.field .hint { color: var(--tx3); font-size: .88rem; margin: -2px 0 0; }
.in { width: 100%; background: var(--s1); border: 1px solid var(--line-2); border-radius: 2px; padding: 12px 14px; min-height: 48px; color: var(--tx); }
.in:hover { border-color: var(--tx3); }
.in:focus { border-color: var(--amber); outline: 2px solid var(--amber-line); outline-offset: 1px; }
textarea.in { min-height: 120px; resize: vertical; }
select.in { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--tx2) 50%), linear-gradient(135deg, var(--tx2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 2px; color: var(--tx2); transition: .2s; }
.opt input:checked + span { background: rgba(240, 161, 90, .14); border-color: var(--amber); color: var(--tx); }
.opt input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.f2 { align-items: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.err { color: var(--err); font-size: .9rem; margin: 0; }
.in[aria-invalid="true"] { border-color: var(--err); }
.err-sum { border: 1px solid var(--err); border-radius: 2px; padding: 16px 20px; color: var(--tx); }
.err-sum[hidden] { display: none; }
.err-sum ul { margin: 8px 0 0; padding-left: 20px; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--amber); flex: none; }
.est { background: var(--s1); border: 1px solid var(--line); border-radius: 2px; padding: 20px 24px; }
.est .big { font: 300 2.4rem/1.1 var(--f); color: var(--amber); font-variant-numeric: tabular-nums; }
.done { border: 1px solid var(--amber-line); background: linear-gradient(180deg, rgba(240, 161, 90, .08), transparent); border-radius: 2px; padding: clamp(24px, 4vw, 48px); }
.done[hidden] { display: none; }
.done h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 10px 0 18px; }
.done dl { display: grid; grid-template-columns: 11em 1fr; gap: 8px 16px; margin: 24px 0; }
.done dt { color: var(--tx3); font: 500 .85rem/1.9 var(--mono); letter-spacing: .01em; }
.done dd { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sticky { position: sticky; top: calc(var(--hh) + 24px); }

/* ---------- checklist ---------- */
.ring { --p: 0; width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--amber) calc(var(--p) * 1%), var(--s3) 0); display: grid; place-items: center; flex: none; transition: background .3s; }
.ring span { width: 76px; height: 76px; border-radius: 50%; background: var(--s1); display: grid; place-items: center; font: 500 .95rem/1 var(--mono); }
.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.todo label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--s1); border: 1px solid var(--line); border-radius: 2px; cursor: pointer; transition: border-color .2s; }
.todo label:hover { border-color: var(--line-2); }
.todo input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--amber); flex: none; }
.todo input:checked + span { color: var(--tx3); text-decoration: line-through; text-decoration-color: var(--amber); }
.todo strong { font-weight: 500; display: block; }
.todo small { color: var(--tx3); }

/* ---------- misc blocks ---------- */
.quote { font: 300 clamp(1.6rem, 3.2vw, 2.6rem)/1.25 var(--f); letter-spacing: -.01em; max-width: 26ch; }
.cta-band { padding: clamp(64px, 9vw, 120px) 0; text-align: left; position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 340px at 85% 120%, rgba(240, 161, 90, .22), transparent 70%), radial-gradient(700px 300px at 10% -20%, rgba(147, 200, 212, .12), transparent 70%); }
.cta-band h2 { max-width: 20ch; margin-bottom: 28px; }
.snow { background: var(--snow); color: var(--ink); }
.snow .lab, .snow .small, .snow .lead { color: var(--ink2); }
.snow em { color: var(--amber-deep); }
.snow .card { background: #fff; border-color: rgba(20, 22, 26, .12); color: var(--ink); }
.snow .btn { background: var(--ink); color: var(--snow); border-color: var(--ink); }
.snow .btn:hover { background: #262a31; }
.snow .tbl th { color: var(--ink2); } .snow .tbl th, .snow .tbl td { border-color: rgba(20, 22, 26, .14); }
.snow .ul li::before { background: var(--amber-deep); }
.snow .price { color: var(--amber-deep); }
.snow :focus-visible { outline-color: var(--amber-deep); }
.snow a { text-decoration-color: rgba(20, 22, 26, .4); }
.snow .tag-ex { color: var(--ink2); border-color: rgba(20, 22, 26, .3); }
.snow .note { border-color: var(--amber-deep); color: var(--ink2); }
.snow .note a { color: var(--ink); }
.snow .sec-head p { color: var(--ink2); }
.snow .in { background: #fff; border-color: rgba(20, 22, 26, .3); color: var(--ink); }
.pill { display: inline-block; font: 500 .85rem/1 var(--mono); letter-spacing: .01em; padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 2px; color: var(--tx2); }
.kit { columns: 2; column-gap: 40px; }
.kit li { break-inside: avoid; }
.files { font: 400 .88rem/1.9 var(--mono); background: #0a0c0f; border: 1px solid var(--line); border-radius: 2px; padding: 18px 22px; color: var(--tx2); overflow-x: auto; margin: 0; }
.files b { color: var(--amber); font-weight: 500; }
.files span { color: var(--tx3); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-size: 1.15rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; color: var(--amber); font-size: 1.6rem; font-weight: 300; transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--tx2); max-width: 64ch; padding-bottom: 20px; margin: 0; }

/* ---------- footer ---------- */
.ft { border-top: 1px solid var(--line); background: #0a0c0f; padding: clamp(48px, 7vw, 88px) 0 28px; }
.ft-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.ft h2 { font: 500 .72rem/1.4 var(--mono); letter-spacing: .01em; color: var(--tx3); margin-bottom: 14px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft a { text-decoration: none; color: var(--tx2); }
.ft a:hover { color: var(--tx); text-decoration: underline; text-decoration-color: var(--amber); }
.ft .big { font: 300 clamp(1.6rem, 2.8vw, 2.3rem)/1.15 var(--f); max-width: 18ch; margin-bottom: 20px; color: var(--tx); }
.ft-bot { margin-top: clamp(32px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; color: var(--tx3); font-size: .86rem; }
.ft-bot p { margin: 0; }

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

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip > div:nth-child(4) { border-left: 0; }
  .strip > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal { column-count: 2; }
}
@media (max-width: 900px) {
  :root { --hh: 62px; }
  .menu-btn { display: block; }
  .alt-pill { margin-left: auto; }
  .alt-pill + .menu-btn { margin-left: 0; }
  .nav { position: fixed; inset: var(--hh) 0 0 0; background: rgba(10, 12, 15, .98); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 12px var(--gut) 40px; margin: 0; overflow-y: auto; translate: 100% 0; visibility: hidden; transition: translate .35s var(--ease), visibility 0s .35s; }
  .nav-open .nav { translate: 0 0; visibility: visible; transition: translate .35s var(--ease); }
  .nav a { font-size: 1.5rem; font-weight: 300; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--tx); }
  .nav .btn { margin-top: 24px; font-size: 1.05rem; border: 1px solid var(--amber); text-align: center; justify-content: center; }
  .sec-head, .lights, .svc, .split { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) .svc-media { order: 0; }
  .sticky { position: static; }
  .g3, .packs { grid-template-columns: 1fr; }
  .reel-cap { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .g2, .f2 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip > div { border-left: 0; border-top: 1px solid var(--line); }
  .strip > div:nth-child(-n+2) { border-top: 0; }
  .strip > div:nth-child(even) { border-left: 1px solid var(--line); }
  .gal { column-count: 1; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .bars li { grid-template-columns: 1fr auto; }
  .bars .bar { grid-column: 1 / -1; order: 3; }
  .ft-top { grid-template-columns: 1fr; }
  .kit { columns: 1; }
  .done dl { grid-template-columns: 1fr; }
  .reel-ui .lab.tc-wrap { display: none; }
  .reel-ctl button { padding: 9px 10px; }
  .dots i { width: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* ---------- utilities (no inline styles) ---------- */
.db { display: block; }
.dbm20 { display: block; margin-bottom: 20px; }
.mt12 { margin-top: 12px; } .mt14 { margin-top: 14px; } .mt18 { margin-top: 18px; } .mt20 { margin-top: 20px; } .mt22 { margin-top: 22px; }
.mt24 { margin-top: 24px; } .mt28 { margin-top: 28px; } .mt36 { margin-top: 36px; } .mb24 { margin-bottom: 24px; } .my16 { margin: 16px 0 4px; }
.mh { margin: 12px 0 20px; }
.lh { font-size: 1.6rem; margin: 36px 0 12px; } .lh56 { font-size: 1.6rem; margin: 56px 0 16px; } .lh0 { font-size: 1.6rem; margin-bottom: 12px; }
.nd { text-decoration: none; }
.amb { margin-top: 16px; color: var(--amber); }
.pts { padding-top: clamp(36px, 5vw, 64px); }
.mw860 { max-width: 860px; }
.m0w { margin: 0; max-width: 24ch; }
.autofit { grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); }
.cols1 { grid-template-columns: 1fr; }
.strong { font-weight: 500; color: var(--tx); }
.fgap { display: flex; gap: 24px; align-items: center; }
.ar34 { aspect-ratio: 3 / 4; max-height: 520px; } .ar32 { aspect-ratio: 3 / 2; }
.cnt { align-self: center; margin-right: 8px; }
.card.nd { display: block; }

.ft a.btn { color: var(--amber-ink); }
.ft a.btn:hover { color: var(--amber-ink); text-decoration: none; }
.nav a.btn, .nav a.btn:hover, .nav a.btn[aria-current="page"] { color: var(--amber-ink); }
.snow .lab b { color: var(--amber-deep); }

/* ---------- balance pass (empty-space audit, 2026-10-18): no column leaves a hole beside a taller one ---------- */
.split.mid { align-items: center; }
.split.fill { align-items: stretch; }
.sec-head { align-items: center; }
.svc .svc-media { align-self: stretch; aspect-ratio: auto; min-height: 320px; }
.svc .svc-media img { position: absolute; inset: 0; }
.svc .svc-media.cine { align-self: center; display: grid; gap: 14px; min-height: 0; border: 0; background: none; overflow: visible; }

.light-notes { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.light-notes li { display: grid; gap: 4px; padding: 14px 0 14px 16px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; color: var(--tx3); transition: color .6s var(--ease), border-color .6s var(--ease); }
.light-notes li[aria-current="true"] { color: var(--tx); border-left-color: var(--amber); }
.light-notes b { font: 500 .85rem/1.3 var(--f); letter-spacing: .01em; }
.light-notes span { font-size: .95rem; }

.svc-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 3.2em minmax(0, .9fr) minmax(0, 1.5fr) auto 1.4em; gap: 6px clamp(16px, 3vw, 40px); align-items: baseline; padding: clamp(20px, 2.4vw, 30px) 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--tx); }
.svc-list h3 { font: 300 clamp(1.4rem, 2.4vw, 2rem)/1.15 var(--f); margin: 0; }
.svc-list p { margin: 0; color: var(--tx2); }
.svc-list .pr { color: var(--amber); white-space: nowrap; }
.svc-list .go { color: var(--amber); transition: translate .3s var(--ease); }
.svc-list a:hover .go { translate: 6px 0; }
.svc-list a:hover h3 { color: var(--amber); }

.calc-h { display: block; margin: 28px 0 6px; }
.todo-top { display: flex; gap: 24px; align-items: center; }
.todo-top p { margin: 0; max-width: 60ch; color: var(--tx2); }
.todo-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }

.form-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(32px, 5vw, 72px); align-items: start; }
.form-2 .err-sum { grid-column: 1 / -1; }
.form-col { display: grid; gap: 22px; align-content: start; }
.next { margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 20px; }
.next ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: n; }
.next li { counter-increment: n; color: var(--tx2); padding-top: 14px; border-top: 1px solid var(--line-2); }
.next li::before { content: counter(n, decimal-leading-zero); display: block; font: 500 .72rem/1 var(--mono); color: var(--amber); letter-spacing: .1em; margin-bottom: 10px; }

.ph-2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.ph-toc { border-top: 1px solid var(--line-2); padding-top: 18px; }
.ph-toc ol { list-style: none; margin: 14px 0 0; padding: 0; columns: 2; column-gap: 28px; }
.ph-toc li { break-inside: avoid; padding: 6px 0; }
.ph-toc a { color: var(--tx2); text-decoration: none; }
.ph-toc a:hover { color: var(--tx); text-decoration: underline; text-decoration-color: var(--amber); }

.cta-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px clamp(32px, 6vw, 96px); }
.cta-in h2 { margin: 0; max-width: 20ch; }
.cta-in .btn-row { justify-content: flex-end; }

@media (max-width: 900px) {
  .svc .svc-media { aspect-ratio: 4 / 3; min-height: 0; align-self: auto; }
  .svc .svc-media.cine { aspect-ratio: auto; }
  .form-2, .ph-2, .cta-in { grid-template-columns: 1fr; }
  .cta-in .btn-row { justify-content: flex-start; }
  .next ol { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .todo-2 { grid-template-columns: 1fr; }
  .svc-list a { grid-template-columns: 2.4em minmax(0, 1fr); }
  .svc-list p, .svc-list .pr { grid-column: 2; }
  .svc-list .go { display: none; }
}
@media (max-width: 640px) {
  .cta-in .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
  .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-top > div:first-child, .ft-top > div:last-child { grid-column: 1 / -1; }
}

.kit { columns: 1; }

/* Phones: the control and its result stay on screen together (2026-11-08) */
.est-mini, .todo-mini { display: none; }
@media (max-width: 767px) {
  .est-mini { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; position: sticky; bottom: 0; z-index: 20; margin-top: 18px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--s1); border: 1px solid var(--line-2); border-radius: 2px; }
  .est-mini { flex-wrap: wrap; row-gap: 2px; }
  .est-mini .lab { font-size: .75rem; }
  .est-mini b { font: 400 1.15rem/1.1 var(--f); color: var(--amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .todo-mini { display: flex; align-items: center; gap: 14px; position: sticky; top: var(--hh); z-index: 20; margin: 0 0 12px; padding: 10px 16px; background: var(--s1); border: 1px solid var(--line-2); border-radius: 2px; }
  .todo-mini .n { font: 500 .85rem/1 var(--mono); white-space: nowrap; }
  .todo-mini i { --p: 0%; flex: 1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--amber) var(--p), var(--s3) 0); }
}
