/* ONDES-1 — "Nocturne" */
:root {
  --ink: #0a0807;
  --ink-2: #13100d;
  --ink-3: #1c1714;
  --bone: #ede5d7;
  --smoke: #8e837a;
  --copper: #c27a4e;
  --amber: #ffb15c;
  --line: rgba(237, 229, 215, 0.12);
  --line-2: rgba(237, 229, 215, 0.22);

  --display: 'Boska', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --pad: clamp(1.25rem, 4vw, 4rem);
  --ease: cubic-bezier(0.19, 1, 0.22, 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; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-loading { overflow: hidden; }

body {
  margin: 0;
  background:
    radial-gradient(120vw 80vh at 50% 62%, rgba(84, 46, 24, 0.28), transparent 60%),
    var(--ink);
  background-attachment: fixed;
  color: var(--bone);
  font: 400 1.0625rem/1.62 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--amber); color: var(--ink); }
a { color: inherit; }
img, svg { display: block; }
button, input, select { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; }
.dim { color: var(--smoke); }
.h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); line-height: 1.02; margin: 0 0 0.55em; text-wrap: balance; }
.eyebrow { color: var(--copper); margin: 0 0 1.4rem; display: flex; align-items: center; gap: 0.9em; }
.eyebrow .legend {
  font-family: var(--sans); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.22em;
  color: var(--ink); background: #bdb5a8; padding: 0.35em 0.7em 0.3em; border-radius: 2px;
}
em { font-style: italic; }
kbd {
  font-family: var(--mono); font-size: 0.72em; padding: 0.12em 0.45em; border: 1px solid var(--line-2);
  border-bottom-width: 2px; border-radius: 4px; color: var(--bone); background: rgba(237, 229, 215, 0.04);
}

:focus-visible { outline: 1.5px solid var(--amber); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 300; padding: 0.7rem 1rem;
  background: var(--amber); color: var(--ink); border-radius: 4px; text-decoration: none; transition: top 0.3s;
}
.skip:focus { top: 1rem; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: grid; place-items: center;
}
.loader__inner { width: min(560px, 80vw); }
.loader__label { color: var(--smoke); margin: 0 0 1.4rem; }
.loader__wave { width: 100%; height: 80px; overflow: visible; }
.loader__path { fill: none; stroke: var(--amber); stroke-width: 1.4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255, 177, 92, 0.6)); }
.loader__row { display: flex; justify-content: space-between; margin-top: 1.2rem; color: var(--bone); }
.loader__count { font-variant-numeric: tabular-nums; }
html:not(.is-loading) .loader { pointer-events: none; }

/* ---------- stage ---------- */
.stage { position: fixed; inset: 0; z-index: 1; pointer-events: none; transition: opacity 0.2s linear; }
.stage__canvas { width: 100%; height: 100%; display: block; transition: opacity 0.35s ease; }
.stage__fallback { display: none; }
.no-webgl .stage__canvas { display: none; }
.no-webgl .stage__fallback {
  display: grid; place-items: center; position: absolute; inset: 0; padding: 0 6vw;
  opacity: 0.85;
}
.no-webgl .stage__fallback svg { width: min(900px, 90vw); filter: drop-shadow(0 40px 60px rgba(0,0,0,.7)); }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: 0.075; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.has-cursor .cursor.is-visible { opacity: 1; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input[type="text"], .has-cursor input[type="email"] { cursor: text !important; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--amber); box-shadow: 0 0 10px rgba(255, 177, 92, 0.8); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(237, 229, 215, 0.45);
  display: grid; place-items: center;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background-color 0.3s, border-color 0.3s;
}
.cursor__label { font: 500 0.6rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity 0.2s; }
.cursor.is-link .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--amber); }
.cursor.is-label .cursor__ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: var(--amber); border-color: var(--amber); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform: scale(0.85); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.35rem var(--pad);
  background: linear-gradient(to bottom, rgba(10, 8, 7, 0.75), rgba(10, 8, 7, 0));
}
.nav__brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; font: 500 1.15rem/1 var(--display); letter-spacing: 0.01em; }
.nav__brand svg { width: 32px; color: var(--amber); }
.nav__links { display: flex; gap: 2.2rem; font-size: 0.88rem; }
.nav__links a { text-decoration: none; color: var(--smoke); transition: color 0.3s; position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--bone); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 0.9rem; text-decoration: none; font-size: 0.88rem;
  padding: 0.6rem 0.65rem 0.6rem 1.1rem; border: 1px solid var(--line-2); border-radius: 999px;
  transition: border-color 0.3s, background-color 0.3s;
}
.nav__price { padding: 0.35rem 0.6rem; border-radius: 999px; background: rgba(255, 177, 92, 0.12); color: var(--amber); font-size: 0.66rem; }
.nav__cta:hover { border-color: var(--amber); background: rgba(255, 177, 92, 0.06); }

/* ---------- layout layers ---------- */
main { position: relative; }
main > section, main > .features, .footer { position: relative; z-index: 2; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: 6.5rem var(--pad) 2rem;
}
main > .hero { z-index: auto; }         /* no stacking context: the headline can sit *behind* the instrument */
.hero__top { display: flex; justify-content: space-between; color: var(--smoke); position: relative; z-index: 3; }
.hero__title {
  margin: 0; align-self: center; position: relative; z-index: 0;
  font-size: clamp(4.2rem, 13.2vw, 15.5rem); line-height: 0.84; letter-spacing: -0.035em;
  display: grid; transform: translateY(-4vh);
}
.hero__title .line { display: block; overflow: hidden; padding: 0.1em 0.14em 0.16em; margin: -0.1em -0.14em -0.16em; }
.hero__title .line__in { display: block; }
.hero__title .line:nth-child(2) { padding-left: 18vw; }
.hero__title .line:nth-child(3) { text-align: right; }
.hero__title em { color: var(--amber); font-style: italic; letter-spacing: -0.02em; padding-right: 0.06em; }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; position: relative; z-index: 3; }
.hero__lede { max-width: 25rem; margin: 0; color: rgba(237, 229, 215, 0.82); font-size: 0.98rem; }
.hero__facts { display: flex; gap: 2.4rem; margin: 0; }
.hero__facts div { display: grid; gap: 0.35rem; }
.hero__facts dt { color: var(--smoke); }
.hero__facts dd { margin: 0; color: var(--bone); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); z-index: 3;
  text-decoration: none; color: var(--smoke); display: none; align-items: center; gap: 0.8rem;
}
.hero__scroll-line { width: 1px; height: 36px; background: linear-gradient(var(--amber), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }


/* ---------- story ---------- */
.story { min-height: 130vh; padding: 40vh var(--pad) 20vh; display: flex; }
.story__col { max-width: 34rem; position: relative; isolation: isolate; }
.story__col::before { content: ''; position: absolute; z-index: -1; inset: -10% -25%; background: radial-gradient(closest-side, rgba(10, 8, 7, 0.7), rgba(10, 8, 7, 0)); pointer-events: none; }
.story__body p { color: rgba(237, 229, 215, 0.8); }
.story__body p:first-child::first-letter { font-family: var(--display); font-size: 3.4em; float: left; line-height: 0.85; padding: 0.06em 0.1em 0 0; color: var(--amber); }
.team { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.team li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: 0.2rem; }
.team li:nth-child(odd) { padding-right: 1rem; }
.team__name { font-family: var(--display); font-size: 1.3rem; }
.team__role { color: var(--smoke); font-size: 0.64rem; }

/* ---------- features ---------- */
.feature { min-height: 165vh; padding: 0 var(--pad); display: flex; }
.feature--right { justify-content: flex-end; }
.feature__card { width: min(31rem, 40vw); position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 5rem 0 2rem; }
.feature__card > p:not(.eyebrow) { color: rgba(237, 229, 215, 0.84); }
.feature__card { isolation: isolate; }
.feature__card::before {
  content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; pointer-events: none;
}
.feature--right .feature__card::before { left: -16vw; right: calc(var(--pad) * -1); background: linear-gradient(to left, rgba(10, 8, 7, 0.9) 55%, rgba(10, 8, 7, 0)); }
.feature--left .feature__card::before { right: -16vw; left: calc(var(--pad) * -1); background: linear-gradient(to right, rgba(10, 8, 7, 0.9) 55%, rgba(10, 8, 7, 0)); }
.specs { margin: 1.8rem 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.62rem 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--smoke); }
.specs dd { margin: 0; color: var(--bone); text-transform: none; letter-spacing: 0.01em; }

/* ---------- spec sheet ---------- */
.sheet {
  min-height: 100vh; padding: 22vh var(--pad) 18vh;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.sheet__head { margin-bottom: 2.5rem; }
.sheet__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: rgba(10, 8, 7, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 6px;
}
.sheet__col { padding: 1.5rem 1.5rem 1rem; border-left: 1px solid var(--line); }
.sheet__col:first-child { border-left: 0; }
.sheet__group { font: 600 0.66rem/1 var(--mono); letter-spacing: 0.18em; color: var(--copper); margin: 0 0 1rem; }
.sheet__grid dl { margin: 0; }
.sheet__grid dl div { padding: 0.7rem 0; border-top: 1px solid var(--line); display: grid; gap: 0.25rem; }
.sheet__grid dt { color: var(--smoke); }
.sheet__grid dd { margin: 0; text-transform: none; letter-spacing: 0.01em; font-size: 0.78rem; color: var(--bone); }

/* ---------- play ---------- */
.play {
  min-height: 100vh; min-height: 100svh;
  padding: 6rem var(--pad) 1.6rem;
  display: grid; grid-template-rows: auto 1fr auto; gap: 1rem;
}
.play__head { display: grid; grid-template-columns: auto 1fr; column-gap: 4rem; align-items: end; }
.play__head .eyebrow { grid-column: 1 / -1; }
.play__head .h2 { margin: 0; }
.play__how { margin: 0; max-width: 36rem; justify-self: end; color: rgba(237, 229, 215, 0.72); font-size: 0.92rem; }
.play__surface { min-height: 30vh; }

.console {
  border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem 1.1rem;
  background: linear-gradient(180deg, rgba(28, 23, 20, 0.78), rgba(14, 11, 9, 0.88));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; gap: 0.9rem;
}
.console__row--top { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }

.power {
  display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1.1rem 0.7rem 0.9rem;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font-size: 0.86rem; cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}
.power__led { width: 9px; height: 9px; border-radius: 50%; background: #3a2414; box-shadow: inset 0 0 0 1px rgba(0,0,0,.4); transition: background-color 0.3s, box-shadow 0.3s; }
.power[aria-pressed="true"] { border-color: rgba(255, 177, 92, 0.5); }
.power[aria-pressed="true"] .power__led { background: var(--amber); box-shadow: 0 0 10px 2px rgba(255, 177, 92, 0.7); }
.power:hover { border-color: var(--amber); }

.wave { border: 0; padding: 0; margin: 0; display: flex; align-items: center; gap: 0.25rem; }
.wave legend { float: left; color: var(--smoke); margin-right: 0.7rem; font-size: 0.64rem; }
.wave label { position: relative; }
.wave input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wave span { display: block; padding: 0.45rem 0.8rem; border-radius: 999px; font-size: 0.82rem; color: var(--smoke); border: 1px solid transparent; transition: all 0.25s; }
.wave input:checked + span { color: var(--ink); background: var(--bone); }
.wave input:focus-visible + span { outline: 1.5px solid var(--amber); outline-offset: 2px; }
.wave label:hover span { color: var(--bone); }
.wave input:checked:hover + span { color: var(--ink); }

.knobs { display: flex; gap: 1.3rem; }
.knob { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 0.65rem; align-items: center; }
.knob__dial {
  grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; position: relative; cursor: ns-resize; touch-action: none;
  background: radial-gradient(circle at 50% 35%, #3a312b, #16120f 70%);
  box-shadow: 0 0 0 1px rgba(237, 229, 215, 0.14), 0 6px 14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.knob__dial::before {   /* value arc */
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(from 225deg, var(--amber) calc(var(--v, 0.5) * 270deg), rgba(237,229,215,0.1) 0 270deg, transparent 0);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
          mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}
.knob__tick { position: absolute; left: 50%; top: 5px; width: 2px; height: 11px; margin-left: -1px; background: var(--bone); border-radius: 2px; transform-origin: 50% 15px; transform: rotate(calc(-135deg + var(--v, 0.5) * 270deg)); }
.knob__name { color: var(--smoke); font-size: 0.6rem; }
.knob__val { color: var(--bone); font-size: 0.7rem; text-transform: none; min-width: 4.5em; }

.octave { display: flex; align-items: center; gap: 0.6rem; margin-left: auto; color: var(--smoke); font-size: 0.64rem; }
.octave b { color: var(--bone); font-weight: 500; }
.octave__btn { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 1rem; line-height: 1; transition: border-color 0.3s; }
.octave__btn:hover { border-color: var(--amber); }

.ribbon {
  position: relative; height: 46px; border-radius: 6px; touch-action: none; cursor: ew-resize;
  background: linear-gradient(180deg, #0b0908, #17120f); box-shadow: inset 0 1px 0 rgba(0,0,0,.6), 0 0 0 1px var(--line);
  user-select: none; -webkit-user-select: none;
}
.ribbon__marks { position: absolute; inset: 0 1.5%; }
.ribbon__marks i { position: absolute; bottom: 6px; width: 1px; height: 6px; background: rgba(237, 229, 215, 0.25); }
.ribbon__marks i.c { height: 12px; background: rgba(216, 168, 94, 0.8); }
.ribbon__marks b { position: absolute; bottom: 20px; transform: translateX(-50%); font: 500 0.55rem/1 var(--mono); color: var(--smoke); }
.ribbon__wire { position: absolute; left: 1.5%; right: 1.5%; top: 50%; height: 1.5px; margin-top: -1px; background: var(--amber); box-shadow: 0 0 calc(6px + var(--lvl, 0) * 40px) rgba(255, 160, 74, calc(0.5 + var(--lvl, 0) * 4)); opacity: 0.75; }
.ribbon__ring {
  position: absolute; top: 50%; left: calc(1.5% + var(--pos, 0.5) * 97%); width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; border: 3px solid #d8a85e; background: transparent; box-shadow: 0 0 0 1px rgba(0,0,0,.6);
  transition: box-shadow 0.2s;
}
.ribbon.is-active .ribbon__ring { box-shadow: 0 0 18px 4px rgba(255, 177, 92, 0.65); }
.ribbon__hint { position: absolute; right: 1rem; top: 6px; color: var(--smoke); font-size: 0.56rem; pointer-events: none; transition: opacity 0.4s; }
.ribbon.is-used .ribbon__hint { opacity: 0; }

.keys { position: relative; height: 92px; display: flex; user-select: none; -webkit-user-select: none; touch-action: none; overflow: hidden; border-radius: 0 0 6px 6px; }
.key-w {
  flex: 1; position: relative; border: 0; margin: 0 1px 0 0; padding: 0 0 0.5rem; border-radius: 0 0 5px 5px; cursor: pointer;
  background: linear-gradient(180deg, #d9d0c1, #ece4d6 70%, #f4ede1); color: #6b625a;
  display: flex; align-items: flex-end; justify-content: center; font: 500 0.6rem/1 var(--mono);
  transition: background 0.08s, transform 0.08s; transform-origin: top;
}
.key-b {
  position: absolute; top: 0; height: 58%; z-index: 2; border: 0; padding: 0 0 0.4rem; border-radius: 0 0 4px 4px; cursor: pointer;
  background: linear-gradient(180deg, #050403, #221c18); color: #8e837a; box-shadow: 0 3px 6px rgba(0,0,0,.5);
  display: flex; align-items: flex-end; justify-content: center; font: 500 0.55rem/1 var(--mono);
  transition: background 0.08s;
}
.key-w.is-down { background: linear-gradient(180deg, #c9bca8, #e0b98c 85%, #ffb15c); transform: scaleY(0.985); }
.key-b.is-down { background: linear-gradient(180deg, #050403, #6b3d1e 90%, #c27a4e); }
.key-w:focus-visible, .key-b:focus-visible { outline-offset: -3px; }

/* ---------- reserve ---------- */
.reserve {
  min-height: 100vh; padding: 22vh var(--pad) 16vh;
  display: grid; grid-template-columns: 1fr minmax(0, 30rem); gap: 6vw; align-items: center;
}
.reserve__intro { max-width: 32rem; }
.reserve__intro > p:not(.eyebrow):not(.reserve__count) { color: rgba(237, 229, 215, 0.8); }
.reserve__count { display: flex; align-items: center; gap: 1rem; color: var(--smoke); margin-top: 2rem; }
.reserve__bar { width: 10rem; height: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.reserve__bar span { position: absolute; inset: 0 auto 0 0; background: var(--amber); }

.form {
  position: relative; padding: 2rem; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(14, 11, 9, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.form__fields { display: grid; gap: 1.2rem; }
.field { display: grid; gap: 0.45rem; }
.field__label { color: var(--smoke); font-size: 0.62rem; padding: 0; }
.field input, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 0.55rem 0 0.6rem; font-size: 1.05rem; transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--smoke) 50%), linear-gradient(-45deg, transparent 50%, var(--smoke) 50%); background-size: 5px 5px; background-position: right 6px center, right 1px center; background-repeat: no-repeat; cursor: pointer; }
.field select option { background: var(--ink-2); color: var(--bone); }
.field input::placeholder { color: rgba(142, 131, 122, 0.55); }
.field input:focus, .field select:focus { outline: none; border-color: var(--amber); }
.field.is-invalid input, .field.is-invalid select { border-color: #e2734f; }
.field__error { color: #f08a64; min-height: 0; font-size: 0.6rem; text-transform: none; letter-spacing: 0.02em; }
.field__error:empty { display: none; }
.choice { border: 0; margin: 0.3rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.choice legend { margin-bottom: 0.6rem; }
.choice__opt { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.85rem 0.9rem; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; transition: border-color 0.3s, background-color 0.3s; }
.choice__opt:hover { border-color: var(--line-2); }
.choice__opt:has(input:checked) { border-color: rgba(255, 177, 92, 0.55); background: rgba(255, 177, 92, 0.05); }
.choice__opt input { accent-color: var(--amber); margin: 0.3rem 0 0; }
.choice__opt b { display: block; font-weight: 500; font-size: 0.95rem; }
.choice__opt small { display: block; color: var(--smoke); font-size: 0.8rem; }

.btn {
  margin-top: 1.6rem; width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.3rem; border: 0; border-radius: 999px; background: var(--amber); color: var(--ink);
  font-size: 1rem; font-weight: 500; cursor: pointer; overflow: hidden; position: relative;
  transition: background-color 0.3s;
}
.btn__arrow { transition: transform 0.5s var(--ease); }
.btn:hover { background: #ffc47f; }
.btn:hover .btn__arrow { transform: translateX(6px); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.form__note { color: var(--smoke); font-size: 0.58rem; margin: 0.9rem 0 0; text-align: center; }
.form__done { position: absolute; inset: 0; padding: 2rem; display: flex; flex-direction: column; justify-content: center; background: rgba(14, 11, 9, 0.96); border-radius: 10px; }
.form__done[hidden] { display: none; }
.form__done-title { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; margin: 0 0 1rem; }
.form__serial { color: var(--amber); font-style: italic; }
.form__done-body { color: rgba(237, 229, 215, 0.78); }
.form__done-body b { font-weight: 500; color: var(--bone); word-break: break-all; }

/* ---------- footer ---------- */
.footer { background: var(--ink); padding: 8rem var(--pad) 2rem; border-top: 1px solid var(--line); }
.footer__mark { font-size: clamp(5rem, 21vw, 22rem); line-height: 0.8; letter-spacing: -0.05em; margin: 0 0 4rem -0.04em; color: var(--bone); }
.footer__mark span { color: var(--amber); font-style: italic; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 4vw; padding-bottom: 4rem; border-bottom: 1px solid var(--line); }
.footer h3 { color: var(--copper); margin: 0 0 1.2rem; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 0.75rem 0; border-top: 1px solid var(--line); color: rgba(237, 229, 215, 0.8); font-size: 0.95rem; }
.footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.footer a { text-decoration-color: var(--copper); text-underline-offset: 4px; }
.footer a:hover { color: var(--amber); }
.footer p { font-size: 0.95rem; }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; color: var(--smoke); flex-wrap: wrap; }
.footer__base a { text-decoration: none; }

/* ---------- responsive ---------- */
@media (min-width: 900px) and (min-height: 600px) { .hero__scroll { display: flex; } }

@media (max-width: 1100px) {
  .nav__links { display: none; }
  .sheet__grid { grid-template-columns: 1fr 1fr; }
  .sheet__col:nth-child(3) { border-left: 0; }
  .sheet__col:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .knobs { gap: 1rem; }
  .octave { margin-left: 0; }
}

@media (max-width: 860px) {
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .hero__facts { gap: 1.4rem; flex-wrap: wrap; }
  .feature { min-height: 0; display: block; padding: 0; }
  .feature__card {
    position: relative; width: 100%; height: auto; display: block; padding: 75vh var(--pad) 5rem;
    background: linear-gradient(to bottom, rgba(10, 8, 7, 0) 0, rgba(10, 8, 7, 0) 50vh, rgba(10, 8, 7, 0.9) 72vh, rgba(10, 8, 7, 0.94));
  }
  .feature__card::before { display: none; }
  .story { min-height: auto; padding: 60vh var(--pad) 18vh; }
  .story__col { position: relative; top: 0; background: linear-gradient(to bottom, transparent, rgba(10,8,7,.9) 12rem); padding-top: 4rem; margin-top: -4rem; }
  .play__head { grid-template-columns: 1fr; row-gap: 1rem; }
  .play__how { justify-self: start; }
  .reserve { grid-template-columns: 1fr; padding-top: 16vh; }
  .footer__grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .nav { padding: 1rem var(--pad); }
  .nav__brand span { display: none; }
  .hero { padding-top: 5.5rem; }
  .hero__top span:last-child { display: none; }
  .hero__title { font-size: clamp(4rem, 21vw, 7rem); transform: translateY(-8vh); }
  .hero__title .line:nth-child(2) { padding-left: 10vw; }
  .hero__facts { gap: 1rem 1.6rem; }
  .specs div { grid-template-columns: 6.5rem 1fr; }
  .sheet__grid { grid-template-columns: 1fr; }
  .sheet__col { border-left: 0 !important; border-top: 1px solid var(--line); }
  .sheet__col:first-child { border-top: 0; }
  .play { padding-top: 5rem; }
  .play__surface { min-height: 26vh; }
  .console { padding: 0.8rem; }
  .console__row--top { gap: 1rem 1.2rem; }
  .knobs { flex-wrap: wrap; gap: 0.9rem 1.2rem; width: 100%; }
  .knob { width: calc(50% - 0.6rem); }
  .wave legend { display: none; }
  .keys { height: 84px; }
  .form { padding: 1.4rem; }
  .team { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .hero__scroll-line { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
