/* Flutedglass site styles.
   Layout: one fixed full-screen fluted glass canvas that the whole page scrolls over.
   A pinned hero tells three beats while the ribs sharpen. Frosted panels carry the content,
   two open interludes let the glass show. Single dark look by choice.
   Fonts are self-hosted (not loaded from Google) so no visitor IP goes to a third party (GDPR). */

@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(fonts/hanken-grotesk-latin.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-latin.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-italic-latin.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format('woff2'); }

:root {
  --bg: #0b0a0d;
  --ink: #efe9e2;
  --muted: #a89f98;
  --line: rgba(239, 233, 226, .18);
  --panel: rgba(14, 12, 17, .52);
  --accent: #f2a25c;
  --accent-ink: #1a0f05;
  --display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --navh: 66px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
em { font-style: italic; }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

#glass { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: var(--bg); will-change: transform; transform-origin: 50% 50%; }
#scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(11,10,13,.88) 0%, rgba(11,10,13,.55) 38%, rgba(11,10,13,0) 70%);
}
main, footer { position: relative; z-index: 2; }

/* Nav */
.nav {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 20;
  height: 56px; margin: 10px auto 0; max-width: 1160px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 8px 0 20px;
  background: rgba(14, 12, 17, .55);
  -webkit-backdrop-filter: blur(16px) saturate(130%); backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid var(--line); border-radius: 999px;
}
.mark { font-family: var(--display); font-size: 1.6rem; font-style: italic; text-decoration: none; letter-spacing: .005em; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { font-size: .9rem; text-decoration: none; color: var(--muted); transition: color .2s; }
.nav ul a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav ul { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 .95rem var(--body); text-decoration: none; cursor: pointer;
  padding: 14px 24px; border-radius: 2px; border: 1px solid transparent;
  background: var(--accent); color: var(--accent-ink); transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.1); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); filter: none; }
.btn.sm { padding: 10px 18px; border-radius: 999px; font-size: .88rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Hero */
.hero { height: 560svh; position: relative; margin-top: calc(-1 * var(--navh)); }
.hero-pin { position: sticky; top: 0; height: 100svh; }
.hero-pin .wrap { position: relative; height: 100%; }
.beat {
  position: absolute; left: 0; right: 0; bottom: clamp(36px, 9vh, 104px);
  max-width: 760px; opacity: 0; will-change: opacity, transform;
}
.beat.b0 { opacity: 1; }
.eyebrow {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
h1, h2 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -.012em; }
h1 { font-size: clamp(3rem, 10.5vw, 8rem); line-height: .92; }
.beat h2 { font-size: clamp(2.4rem, 7.5vw, 5.4rem); line-height: .96; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: rgba(239,233,226,.88); max-width: 46ch; margin: 22px 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rail { position: absolute; right: 0; top: 14%; bottom: 56%; width: 1px; background: var(--line); }
.rail i { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: var(--accent); }
.rail span {
  position: absolute; right: 14px; transform: translateY(-50%);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); transition: color .3s;
}
.rail span.on { color: var(--accent); }
.rail span:nth-of-type(1) { top: 0; }
.rail span:nth-of-type(2) { top: 38%; }
.rail span:nth-of-type(3) { top: 75%; }
.rail span:nth-of-type(4) { top: 100%; }
@media (max-width: 720px) { .rail span { display: none; } }
.hint {
  position: absolute; left: 0; bottom: 14px; font-family: var(--mono); font-size: .66rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.tintname {
  position: absolute; left: 0; top: calc(var(--navh) + 18px); display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
}
.tintname i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); background: #efe9e2; transition: background .4s; }
.tintname b { font-weight: 400; }

/* Sections */
.sec { padding-block: clamp(56px, 10vw, 120px); scroll-margin-top: 80px; }
.panel {
  background: var(--panel);
  -webkit-backdrop-filter: blur(20px) saturate(130%); backdrop-filter: blur(20px) saturate(130%);
  border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(22px, 4.5vw, 56px);
}
h2.title { font-size: clamp(2.1rem, 5.4vw, 3.9rem); line-height: 1; }
.p { color: var(--muted); max-width: 52ch; margin: 18px 0 0; }

.why { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .why { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.feats { display: grid; gap: 0 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feat { border-top: 1px solid var(--line); padding: 20px 0 26px; }
.feat h3 { margin: 0 0 8px; font: 500 1.05rem var(--body); }
.feat p { margin: 0; color: var(--muted); font-size: .95rem; }

.interlude { min-height: 78svh; display: flex; align-items: center; padding-block: 40px; }
.big {
  font-family: var(--display); font-size: clamp(2.4rem, 8vw, 6.4rem); line-height: .98; margin: 0;
  max-width: 14ch; text-wrap: balance; text-shadow: 0 2px 40px rgba(0,0,0,.45); letter-spacing: -.012em;
}

/* Compare */
.cmp { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .cmp { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); } }
.ctl { display: grid; gap: 22px; margin-top: 26px; }
.ctl h3 { margin: 0 0 10px; font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  font: 500 .86rem var(--body); color: var(--ink); background: transparent;
  border: 1px solid var(--line); padding: 9px 14px; border-radius: 2px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.seg button:hover { border-color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.stage { position: relative; }
#pick { width: 100%; aspect-ratio: 4 / 3; display: block; touch-action: pan-y; cursor: ew-resize; border-radius: 3px; background: #15101f; }
.chip {
  position: absolute; top: 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: rgba(11,10,13,.6); border: 1px solid var(--line); pointer-events: none;
}
.chip.l { left: 12px; } .chip.r { right: 12px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 10px 0 0; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--line); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); margin-top: -9px; border: 0; }
input[type=range]::-moz-range-track { height: 2px; background: var(--line); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 0; }

/* Steps */
.steps { display: grid; gap: 0 36px; grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { border-top: 1px solid var(--line); padding: 20px 0 26px; }
.step-n { font-family: var(--display); font-size: 3.6rem; line-height: 1; color: var(--accent); }
.step h3 { margin: 10px 0 8px; font: 500 1.1rem var(--body); }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.specs { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .specs { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.specs h3 { margin: 0; font: 500 1.1rem var(--body); }
.specs p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
dl { margin: 0; display: grid; gap: 0; }
dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
dt { color: var(--muted); }
dd { margin: 0; font-family: var(--mono); font-size: .8rem; color: var(--accent); text-align: right; }

/* Rooms */
.rooms { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
@media (min-width: 860px) { .rooms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { margin: 0; }
.tile canvas { width: 100%; aspect-ratio: 4 / 5; display: block; border-radius: 3px; background: #15101f; }
.tile figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 10px; font-size: .95rem; }
.tile figcaption span:last-child { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Order / CTA */
.cta { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 900px) { .cta { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 26px; }
.price b { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; }
.price span { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.products { display: grid; gap: 12px; }
.product { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.product h3 { margin: 0; font: 500 1.05rem var(--body); }
.product p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
form { display: grid; gap: 12px; }
label { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
input[type=email] {
  width: 100%; font: 400 1rem var(--body); color: var(--ink); background: rgba(239,233,226,.06);
  border: 1px solid var(--line); border-radius: 2px; padding: 15px 16px;
}
input[type=email]::placeholder { color: rgba(239,233,226,.4); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { margin: 0; font-size: .82rem; color: var(--muted); }
.msg { min-height: 1.4em; margin: 0; font-size: .9rem; color: var(--accent); }

/* Footer with the legally required shop details */
footer { padding-block: 36px 56px; }
footer .wrap { display: grid; gap: 18px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; text-transform: uppercase; letter-spacing: .1em; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--ink); }
footer address { font-style: normal; line-height: 1.8; }

/* Coming-soon page: the artifact's pinned glass hero on its own, with an inline
   launch-list form in the first and last beat. Shorter scroll than the full page. */
.soon .hero { height: 420svh; }
.nav .soon-chip {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); padding: 0 14px;
}
.beat-form { max-width: 520px; gap: 8px; }
.beat-form .row { display: flex; flex-wrap: wrap; gap: 10px; }
.beat-form input[type=email] { flex: 1 1 220px; width: auto; }
.beat-form .btn { flex: 0 0 auto; }
.beat-form .msg { min-height: 1.4em; }
.soon footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.soon footer a { text-decoration: none; }
.soon footer a:hover { color: var(--ink); }

/* Plain content pages: terms, returns, privacy, contact, 404 */
body.doc { background: var(--bg); }
.doc .nav { position: static; margin-bottom: 0; }
.doc main { padding-block: clamp(40px, 8vw, 96px); }
.doc article { max-width: 72ch; margin-inline: auto; }
.doc h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); line-height: 1; margin-bottom: 12px; }
.doc h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 44px 0 10px; }
.doc h3 { font: 500 1.05rem var(--body); margin: 26px 0 6px; }
.doc p, .doc li { color: rgba(239,233,226,.86); }
.doc .updated { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.doc .draft { border: 1px dashed var(--accent); color: var(--accent); padding: 12px 16px; border-radius: 3px; font-size: .9rem; }
.doc .form-box { border: 1px solid var(--line); padding: 18px 20px; border-radius: 3px; white-space: pre-line; font-size: .95rem; }
.doc footer { padding-top: 0; }
