/* =====================================================================
   Ashira – design B: "The Studio"
   Real studio photography, LED meter bridges, a 5-step session rail.
   ===================================================================== */
@font-face { font-family: 'Gloria'; font-weight: 300 400; font-display: swap;
  src: url('/app/assets/fonts/gloria-regular-aaa.woff2') format('woff2'); }
@font-face { font-family: 'Gloria'; font-weight: 500 600; font-display: swap;
  src: url('/app/assets/fonts/gloria-demibold-aaa.woff2') format('woff2'); }
@font-face { font-family: 'Gloria'; font-weight: 700 900; font-display: swap;
  src: url('/app/assets/fonts/gloria-bold-aaa.woff2') format('woff2'); }
@font-face { font-family: 'Almoni'; font-weight: 400 700; font-display: swap;
  src: url('/app/assets/fonts/almoni-neue-demibold-aaa.woff2') format('woff2'); }
@font-face { font-family: 'Heebo'; font-weight: 100 900; font-display: swap;
  src: url('/app/assets/fonts/HeeboVariableFontwght.ttf') format('truetype'); }

/* music levels (set by /js/hero-music.js); idle animation when silent */
@property --bass { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --mid  { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --high { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --lvl  { syntax: '<number>'; inherits: true; initial-value: 0; }
html:not(.music-live) { animation: idle 2.3s linear infinite; }
@keyframes idle {
  0% { --bass: .85; --lvl: .7; --mid: .4; --high: .3; } 15% { --bass: .15; --lvl: .45; --mid: .7; --high: .5; }
  30% { --bass: .8; --lvl: .72; --mid: .3; --high: .2; } 45% { --bass: .1; --lvl: .4; --mid: .55; --high: .7; }
  60% { --bass: .9; --lvl: .78; --mid: .45; --high: .35; } 75% { --bass: .2; --lvl: .5; --mid: .8; --high: .5; }
  100% { --bass: .85; --lvl: .7; --mid: .4; --high: .3; }
}
@media (prefers-reduced-motion: reduce) { html:not(.music-live) { animation: none; } }

:root {
  --black: #06080b; --panel: #0d1116; --panel-2: #141a21; --line: #222b34;
  --text: #f4f6fa; --muted: #95a1ae;
  --led: #35e0ff; --lilac: #ab9cff; --purple: #7460e6; --red: #ff3b5c; --amber: #ffc845; --green: #2fe08b;
  --display: 'Gloria', 'Heebo', system-ui, sans-serif;
  --label: 'Almoni', 'Heebo', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--text); font: 16.5px/1.6 'Heebo', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.hidden { display: none !important; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  padding: 13px 24px; border-radius: 8px; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--display); font-size: 1.2rem; color: #0a0614;
  background: linear-gradient(180deg, #c3b8ff, #9b89ff); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 10px 30px -8px rgba(116, 96, 230, .8);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 14px 40px -6px rgba(116, 96, 230, 1); }
.btn:disabled { opacity: .6; transform: none; cursor: default; }
.btn.xl { font-size: clamp(1.4rem, 2.6vw, 1.9rem); padding: 16px 34px; }
.btn.sm { font-size: 1rem; padding: 9px 16px; }
.btn.ghost { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset; backdrop-filter: blur(6px); }
.btn.wa { background: #25d366; color: #04301a; box-shadow: none; }
.row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.kicker { display: inline-block; font-family: var(--label); font-size: .82rem; letter-spacing: 3px; color: var(--led); direction: ltr; }

/* ON AIR light box */
.onair {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 6px; direction: ltr;
  font-family: var(--label); letter-spacing: 4px; font-size: .9rem; color: #ffe3e8;
  background: linear-gradient(180deg, #5a0f1d, #2a0710); border: 1px solid #ff3b5c;
  box-shadow: 0 0 calc(12px + 30px * var(--bass)) rgba(255, 59, 92, calc(.35 + .5 * var(--bass))), inset 0 0 12px rgba(255, 59, 92, .4);
  text-shadow: 0 0 8px #ff3b5c;
}
.onair i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

/* header */
.top {
  position: fixed; top: 0; inset-inline: 0; z-index: 40; height: 64px; display: flex; align-items: center; gap: 22px;
  padding: 0 clamp(16px, 4vw, 40px); background: linear-gradient(180deg, rgba(6, 8, 11, .92), rgba(6, 8, 11, .55)); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .word { font-family: var(--display); font-weight: 700; font-size: 1.9rem; letter-spacing: -1px; }
.rec { display: inline-flex; align-items: center; gap: 6px; font-family: var(--label); font-size: .7rem; letter-spacing: 3px; color: var(--muted); direction: ltr; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.top nav { display: flex; gap: 22px; margin-inline-start: auto; }
.top nav a { text-decoration: none; color: rgba(255, 255, 255, .78); font-family: var(--label); }
.top nav a:hover, .top nav a.hl { color: var(--lilac); }
@media (max-width: 820px) { .top nav { display: none; } .top .btn { margin-inline-start: auto; } }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 100px 0 0; }
.hero-bg { position: absolute; inset: 0; background: var(--img) center/cover no-repeat; transform: scale(calc(1.06 + .015 * var(--bass))); animation: kb 30s ease-in-out infinite alternate; }
@keyframes kb { from { background-position: 40% 50%; } to { background-position: 60% 45%; } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(270deg, rgba(6, 8, 11, .95) 0%, rgba(6, 8, 11, .82) 38%, rgba(6, 8, 11, .35) 70%, rgba(6, 8, 11, .55) 100%),
  linear-gradient(0deg, var(--black) 0%, transparent 35%); }
.hero-in { position: relative; z-index: 1; width: min(1200px, 100% - 32px); margin: 0 auto; padding-bottom: 40px; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1; margin: 22px 0 18px; letter-spacing: -2px; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--lilac); text-shadow: 0 0 40px rgba(171, 156, 255, .5); }
.sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c9d2dc; max-width: 46ch; margin: 0 0 30px; }
.sub b { color: #fff; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.specs { list-style: none; padding: 0; margin: 40px 0 0; display: flex; gap: 0; flex-wrap: wrap; max-width: 620px;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: rgba(13, 17, 22, .6); backdrop-filter: blur(8px); }
.specs li { flex: 1 1 25%; padding: 12px 16px; border-inline-start: 1px solid rgba(255, 255, 255, .08); }
.specs li:first-child { border-inline-start: 0; }
.specs b { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--led); text-shadow: 0 0 18px rgba(53, 224, 255, .45); }
.specs span { font-family: var(--label); font-size: .78rem; color: var(--muted); letter-spacing: .5px; }
@media (max-width: 560px) { .specs li { flex-basis: 50%; } .specs li:nth-child(3) { border-inline-start: 0; } }

/* master LED meter bridge */
.bridge { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 14px clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, #0f1418, #080b0e); border-top: 1px solid var(--line); direction: ltr;
  font-family: var(--label); font-size: .7rem; letter-spacing: 2px; color: var(--muted); }
.leds { flex: 1; display: grid; grid-template-columns: repeat(32, 1fr); gap: 3px; height: 14px; }
.leds i { border-radius: 2px; background: #1a2027; transition: background .05s, box-shadow .05s; }
.leds i.on { background: var(--green); box-shadow: 0 0 8px rgba(47, 224, 139, .7); }
.leds i.on:nth-child(n+21) { background: var(--amber); box-shadow: 0 0 8px rgba(255, 200, 69, .7); }
.leds i.on:nth-child(n+28) { background: var(--red); box-shadow: 0 0 8px rgba(255, 59, 92, .8); }
@media (max-width: 560px) { .bridge-l, .bridge-r { display: none; } }

/* session (5 steps) */
.session { padding: 100px 0 40px; }
.session-head { text-align: center; width: min(760px, 100% - 32px); margin: 0 auto 50px; }
.session-head h2, .rates h2, .faq h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; margin: 8px 0 10px; letter-spacing: -1.5px; }
.session-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.session-grid { width: min(1240px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }

.rail { position: sticky; top: 96px; list-style: none; margin: 0; padding: 18px 0; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.rail li a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; text-decoration: none; color: var(--muted); position: relative; transition: color .2s; }
.rail li a::before { content: ''; position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: transparent; transition: background .2s, box-shadow .2s; }
.rail b { font-family: var(--display); font-size: 1.5rem; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); transition: all .2s; }
.rail span { font-family: var(--display); font-size: 1.15rem; white-space: nowrap; }
.rail li.done a { color: #c9d2dc; }
.rail li.done b { border-color: var(--green); color: var(--green); }
.rail li.on a { color: #fff; }
.rail li.on a::before { background: var(--lilac); box-shadow: 0 0 12px var(--lilac); }
.rail li.on b { background: var(--lilac); color: #0a0614; border-color: var(--lilac); box-shadow: 0 0 18px rgba(171, 156, 255, .7); }

.tracks { display: grid; gap: 28px; }
.track {
  position: relative; overflow: hidden; border-radius: 18px; min-height: 520px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; padding: 40px;
  border: 1px solid var(--line); background: var(--panel);
  opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s;
}
.track.in-view { opacity: 1; transform: none; }
.track::before { content: ''; position: absolute; inset: 0; background: var(--img) center/cover no-repeat; opacity: .55; filter: saturate(1.15); }
.track::after { content: ''; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(13, 17, 22, .96) 0%, rgba(13, 17, 22, .78) 42%, rgba(13, 17, 22, .35) 100%); }
.track > * { position: relative; z-index: 1; }
.t-num { display: block; font-family: var(--display); font-weight: 700; font-size: 5.5rem; line-height: .8; color: transparent;
  -webkit-text-stroke: 1.5px rgba(171, 156, 255, .8); text-shadow: 0 0 30px rgba(171, 156, 255, .25); direction: ltr; text-align: right; }
.track h3 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.05; margin: 14px 0 12px; letter-spacing: -1px; }
.track p { color: #c9d2dc; margin: 0 0 14px; font-size: 1.08rem; }
.track p b { color: #fff; }
.how { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; font-size: .95rem; color: var(--muted); }
.how li::before { content: '●'; color: var(--led); font-size: .6rem; margin-inline-end: 10px; vertical-align: middle; text-shadow: 0 0 8px var(--led); }
.track .row { justify-content: flex-start; }

.t-shot { margin: 0; }
.monitor { position: relative; padding: 10px; border-radius: 14px; background: linear-gradient(180deg, #2a313a, #10151a);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06), 0 0 60px -10px rgba(116, 96, 230, .35); }
.monitor img { width: 100%; border-radius: 6px; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.monitor::after { content: ''; position: absolute; inset: 10px; border-radius: 6px; background: linear-gradient(130deg, rgba(255, 255, 255, .08), transparent 40%); pointer-events: none; }
.t-shot figcaption { margin-top: 10px; text-align: center; font-family: var(--label); font-size: .85rem; color: var(--muted); letter-spacing: .5px; }

@media (max-width: 980px) {
  .session-grid { grid-template-columns: minmax(0, 1fr); }
  .rail { position: sticky; top: 64px; z-index: 5; display: flex; overflow-x: auto; padding: 6px; border-radius: 0 0 12px 12px; scrollbar-width: none; }
  .rail li a { padding: 8px 10px; gap: 8px; white-space: nowrap; }
  .rail li a::before { display: none; }
  .rail b { width: 30px; height: 30px; font-size: 1.1rem; }
  .rail span { font-size: 1rem; }
  .track { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; min-height: 0; }
  .t-text, .t-shot { min-width: 0; }
  .track .btn { white-space: normal; max-width: 100%; text-align: center; }
  .t-num { font-size: 4rem; }
}
@media (max-width: 560px) {
  .rail span { display: none; } .rail li.on span { display: inline; } .rail { justify-content: space-between; }
  .rail li a { padding: 6px 4px; gap: 6px; }
  .rail span { font-size: .95rem; }
  .track { padding: 22px 16px; }
  .track .btn { width: 100%; font-size: 1.05rem; padding-inline: 14px; }
}
@media (max-width: 380px) { .rail b { width: 28px; height: 28px; font-size: 1rem; } .rail li.on span { font-size: .9rem; } }

/* rates */
.rates { position: relative; padding: 110px 0; overflow: hidden; text-align: center; }
.rates-bg { position: absolute; inset: 0; background: var(--img) center/cover no-repeat; opacity: .28; }
.rates::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--black), rgba(6, 8, 11, .7) 30%, rgba(6, 8, 11, .7) 70%, var(--black)); }
.in { position: relative; z-index: 1; width: min(1100px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 32px); }
.lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 40px; }
.rate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: center; }
@media (max-width: 820px) { .rate-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.rate { position: relative; padding: 30px 22px 24px; border-radius: 16px; background: rgba(13, 17, 22, .88); border: 1px solid var(--line); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.rate.in-view { opacity: 1; transform: none; }
.rate.hot { border-color: var(--lilac); box-shadow: 0 0 50px -10px rgba(171, 156, 255, .55); }
.badge { position: absolute; top: -12px; inset-inline: 0; margin: auto; width: max-content; padding: 3px 14px; border-radius: 999px; background: var(--red); font-family: var(--label); font-size: .8rem; }
.seg { display: inline-block; padding: 8px 14px; border-radius: 8px; background: #050708; border: 1px solid #1d252d;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 1.9rem; letter-spacing: 2px; color: var(--led); text-shadow: 0 0 12px rgba(53, 224, 255, .7); }
.rate h3 { font-size: 2.2rem; margin: 16px 0 2px; }
.rate p { margin: 0; color: var(--muted); font-family: var(--label); }
.price { font-family: var(--display); font-size: 1.4rem; margin: 14px 0 18px; }

/* faq */
.faq { padding: 90px 0; }
.faq .in { text-align: center; }
.faq details { text-align: start; margin-top: 12px; padding: 0 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line);
  opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s, border-color .2s; }
.faq details.in-view { opacity: 1; transform: none; }
.faq details[open] { border-color: rgba(171, 156, 255, .5); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--display); font-size: 1.3rem; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--led); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* code (LCD) */
.code { padding: 40px 16px 90px; }
.lcd-box { width: min(540px, 100%); margin: 0 auto; text-align: center; padding: 22px 26px 26px; border-radius: 18px;
  background: linear-gradient(180deg, #1a2128, #0c1014); border: 1px solid #2b3540; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06); }
.lcd-top { display: flex; justify-content: space-between; align-items: center; direction: ltr; font-family: var(--label); font-size: .7rem; letter-spacing: 3px; color: var(--muted); }
.lcd-top .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.lcd-box h2 { font-size: 2.2rem; margin: 10px 0 18px; }
.lcd-box form { display: grid; gap: 14px; }
.lcd { width: 100%; padding: 16px; border-radius: 10px; border: 1px solid #23303a; background: #041013; color: var(--led); outline: none; text-align: center; direction: ltr;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 2.2rem; letter-spacing: .6em; padding-inline-start: calc(16px + .6em);
  text-shadow: 0 0 12px rgba(53, 224, 255, .7); box-shadow: inset 0 0 20px rgba(53, 224, 255, .08); }
.lcd::placeholder { color: rgba(53, 224, 255, .25); }
.lcd:focus { border-color: var(--led); }
.msg { min-height: 1.5em; margin: 10px 0 0; }
.msg.err { color: #ff7a8f; } .msg.ok { color: var(--green); }

/* final */
.final { position: relative; padding: 130px 16px; text-align: center; overflow: hidden; }
.final-bg { position: absolute; inset: 0; background: var(--img) center/cover no-repeat; opacity: .4; transform: scale(calc(1 + .02 * var(--bass))); }
.final::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(6, 8, 11, .45), var(--black) 75%); }
.final h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; margin: 22px 0 12px; letter-spacing: -2px; }
.final p { color: #c9d2dc; font-size: 1.15rem; margin: 0 0 30px; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 30px clamp(16px, 4vw, 40px) 100px;
  border-top: 1px solid var(--line); color: var(--muted); }
.foot .word { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: #fff; }
.alt-link { color: var(--lilac); text-decoration: none; }

/* sound button + mobile bar */
.sound-btn {
  position: fixed; z-index: 41; bottom: 18px; inset-inline-start: 18px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 14px; border-radius: 8px; cursor: pointer; font-family: var(--display); font-size: 1.05rem;
  background: rgba(13, 17, 22, .92); color: #fff; border: 1px solid var(--lilac); box-shadow: 0 0 24px -4px rgba(171, 156, 255, .6); backdrop-filter: blur(8px);
}
.sound-btn[data-state="playing"] { background: var(--lilac); color: #0a0614; }
.sound-btn[data-state="idle"] { animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: scale(1.06); } }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(6, 8, 11, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-bar .btn { font-size: 1.05rem; padding: 12px 8px; }
  /* phones: no bottom bar – the music toggle is a small round button in the corner (WhatsApp is on the other side) */
  .sound-btn { bottom: calc(18px + env(safe-area-inset-bottom)); left: auto; right: 14px; inset-inline-start: auto; width: 52px; height: 52px; min-height: 0;
    padding: 0; border-radius: 50%; justify-content: center; font-size: 1.35rem; animation: none !important; }
  .hero { padding-top: 84px; }
  .hero-shade { background: linear-gradient(0deg, var(--black) 0%, rgba(6, 8, 11, .82) 45%, rgba(6, 8, 11, .6) 100%); }
}
@media (max-width: 560px) {
  .top { gap: 10px; padding: 0 12px; }
  .rec { display: none; }
  .logo .word { font-size: 1.6rem; }
  .top .btn.sm { padding: 8px 12px; font-size: .92rem; }
  .t-num { font-size: 3.4rem; }
  /* big call-to-action buttons fit the phone width */
  .btn.xl { font-size: 1.25rem; padding: 14px 20px; max-width: 100%; white-space: normal; }
  .cta { flex-wrap: wrap; }
  .cta .btn { flex: 1 1 100%; text-align: center; justify-content: center; }
}
@media (max-width: 760px) { .sound-btn { white-space: nowrap; gap: 6px; } }
@media (max-width: 760px) {  /* phones: icon only; the 🔇/🔊 icon shows the state */
  .sound-btn .tx { display: none; }
}
@media (max-width: 360px) { .mobile-bar .btn { font-size: .98rem; } }

/* brand logo (full wordmark image) */
.logo .brand-logo { height: 34px; width: auto; display: block; }
.foot .brand-logo { height: 30px; width: auto; display: block; }
@media (max-width: 560px) { .logo .brand-logo { height: 28px; } }
