/* ==========================================================================
   LENI AUDIO — leniaudio.com
   Dark, cinematic, studio-hardware inspired identity.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #0c0c0d;
  --bg-2: #121214;
  --panel: #17171a;
  --panel-2: #1d1d20;
  --line: #242427;
  --line-2: #303034;
  --paper: #ffffff;
  --paper-2: #f3f2ef;
  --paper-line: #e3e1dc;

  /* Type */
  --text: #f6f4ef;
  --text-2: #b8b5ad;
  --text-3: #7c7a75;
  --ink: #0c0c0d;
  --ink-2: #4d4b47;
  --ink-3: #8a8780;

  /* Metal accent */
  --silver: #b9babd;
  --silver-hi: #ececec;
  --silver-lo: #85868b;
  --metal: linear-gradient(180deg, #f2f2f2 0%, #c9cacd 42%, #a3a4a8 50%, #d8d9db 58%, #9c9da1 100%);
  --metal-text: linear-gradient(180deg, #ffffff 0%, #d9dadc 38%, #8f9095 52%, #e6e6e7 70%, #a9aaae 100%);

  /* Type families */
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 44px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--silver-hi); color: var(--ink); }

/* Film grain for a cinematic finish */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--paper); color: var(--ink); padding: 10px 16px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 1px solid var(--silver-hi); outline-offset: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 12vw, 168px) 0; }
.section--tight { padding: clamp(72px, 9vw, 120px) 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--paper { background: var(--paper-2); color: var(--ink); }
.section--panel { background: var(--bg-2); }
.border-top { border-top: 1px solid var(--line); }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-sans);
  font-stretch: 68%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.005em;
}
.h1 { font-size: clamp(56px, 10.4vw, 172px); }
.h2 { font-size: clamp(42px, 5.8vw, 88px); }
.h3 { font-size: clamp(30px, 3.6vw, 48px); line-height: .95; }
.metal-text {
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--text-2); max-width: 40ch; }
.section--light .lead, .section--paper .lead { color: var(--ink-2); }
.muted { color: var(--text-2); }
.section--light .muted, .section--paper .muted { color: var(--ink-2); }

.mono, .eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--text-3); }
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--silver-hi);
  box-shadow: 0 0 10px rgba(255, 255, 255, .7);
}
.section--light .eyebrow, .section--paper .eyebrow { color: var(--ink-3); }
.section--light .eyebrow::before, .section--paper .eyebrow::before { background: var(--ink); box-shadow: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--metal {
  background: var(--metal); color: var(--ink); border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 30px -12px rgba(0,0,0,.6);
}
.btn--metal:hover { filter: brightness(1.08); }
.btn--ghost:hover { border-color: var(--silver); background: rgba(255,255,255,.04); }
.btn--dark { background: var(--ink); color: var(--text); border-color: var(--ink); }
.btn--dark:hover { background: #222225; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.text-link svg { width: 12px; height: 12px; transition: transform .35s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(12, 12, 13, .82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand__mark { width: 30px; height: 30px; color: var(--silver-hi); }
.brand__word {
  font-stretch: 125%; font-size: 14px; letter-spacing: .3em; text-transform: uppercase; line-height: 1;
}
.brand__word b { font-weight: 700; }
.brand__word span { font-weight: 300; color: var(--text-2); }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav__links { display: flex; gap: clamp(20px, 2.6vw, 36px); }
.nav__links a {
  position: relative;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2);
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--silver-hi); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 42px; padding: 0 18px; white-space: nowrap; }
.brand__word { white-space: nowrap; }
.nav__social {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--line-2); color: var(--text-2);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.nav__social svg { width: 18px; height: 18px; }
.nav__social span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav__social:hover { color: var(--text); border-color: var(--silver); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1px; background: var(--text);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px;
    padding: var(--header-h) var(--gutter) 40px;
    background: var(--bg);
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__links { flex-direction: column; gap: 6px; }
  .nav__links a {
    font-stretch: 68%; font-weight: 800; font-size: clamp(44px, 13vw, 72px); letter-spacing: 0; line-height: 1.05; color: var(--text);
  }
  .nav__links a::after { display: none; }
  .nav__links a[aria-current="page"] { color: var(--text-3); }
  .nav .btn { min-height: 52px; }
  .nav__social { width: auto; height: auto; border: 0; display: inline-flex; gap: 12px; align-items: center; font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
  .nav__social span { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .brand { position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 64px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 70% at 70% 0%, #1d1d20 0%, rgba(12,12,13,0) 60%),
    radial-gradient(80% 60% at 0% 100%, #151517 0%, rgba(12,12,13,0) 70%),
    var(--bg);
}
/* Console grid guides */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__spectrum {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: -1;
  width: 100%; height: 62%;
  opacity: .6;
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
}
.hero__inner { position: relative; padding-bottom: clamp(40px, 6vw, 72px); }
.hero__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.hero__status { white-space: nowrap; display: inline-flex; gap: 10px; align-items: center; color: var(--text-3); }
.hero__status i {
  width: 8px; height: 8px; border-radius: 50%; background: #e8e8e8;
  box-shadow: 0 0 12px rgba(255,255,255,.8);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; box-shadow: none; } }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero__foot {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px);
  align-items: end; margin-top: clamp(32px, 4vw, 56px);
}
.hero__foot .lead { max-width: 46ch; }

.readouts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.readouts {
  position: relative;
  border-top: 1px solid var(--line);
  background: rgba(12,12,13,.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.readouts a {
  display: flex; flex-direction: column; gap: 6px;
  padding: 22px var(--gutter) 24px 0;
  border-right: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.readouts a + a { padding-left: 22px; }
.readouts a:last-child { border-right: 0; }
.readouts a:hover { background: rgba(255,255,255,.03); }
.readouts .mono { color: var(--text-3); font-size: 11px; }
.readouts strong { font-weight: 500; font-size: 15px; letter-spacing: .02em; }

@media (max-width: 900px) {
  .hero__foot { grid-template-columns: 1fr; }
  .readouts__grid { grid-template-columns: repeat(2, 1fr); }
  .readouts a { padding: 18px 16px 18px 0; }
  .readouts a + a { padding-left: 16px; }
  .readouts a:nth-child(2) { border-right: 0; }
  .readouts a:nth-child(3) { padding-left: 0; }
  .readouts a:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .hero__top > span:last-child { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(80px, 12vw, 150px)) 0 clamp(64px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(90% 80% at 80% 0%, #1c1c1f 0%, rgba(12,12,13,0) 60%), var(--bg);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
}
.page-hero h1 { margin: 24px 0 32px; }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Section head ---------- */
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section-head h2 { margin-top: 22px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Rack (services) ---------- */
.rack {
  position: relative;
  padding: 14px 0;
  background: linear-gradient(180deg, #141416, #0e0e10);
  border-radius: 4px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.45);
}
/* Rack rails */
.rack::before, .rack::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 22px;
  background:
    radial-gradient(circle at 50% 50%, #050506 0 3px, transparent 3.5px) 0 0 / 22px 22px,
    linear-gradient(90deg, #2a2a2d, #3a3a3e 50%, #2a2a2d);
}
.rack::before { left: 0; border-radius: 4px 0 0 4px; }
.rack::after { right: 0; border-radius: 0 4px 4px 0; }

.unit {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 30px minmax(0, 1fr) 30px;
  margin: 0 8px;
  color: var(--ink);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 2px, rgba(0,0,0,.022) 2px 3px),
    linear-gradient(180deg, #f4f4f2 0%, #e2e2df 48%, #d4d4d1 100%);
  border-top: 1px solid #fff;
  border-bottom: 1px solid #9c9c98;
  box-shadow: 0 2px 0 #050506;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.unit + .unit { margin-top: 6px; }
.unit:hover { transform: translateY(-2px); box-shadow: 0 2px 0 #050506, 0 18px 40px -18px rgba(0,0,0,.6); }
.unit__ear { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 14px 0; }
.screw {
  width: 12px; height: 12px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 35% 30%, #ffffff, #b6b6b3 55%, #7b7b78);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), 0 1px 0 rgba(255,255,255,.8);
}
.screw::after {
  content: ""; position: absolute; left: 2px; right: 2px; top: 50%; height: 1.5px; margin-top: -.75px;
  background: rgba(0,0,0,.45); transform: rotate(var(--r, 35deg));
}
.unit__face {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 190px 64px 56px;
  align-items: center; gap: clamp(16px, 2.4vw, 36px);
  padding: clamp(24px, 2.6vw, 32px) clamp(12px, 2vw, 24px);
  border-left: 1px solid rgba(0,0,0,.08); border-right: 1px solid rgba(0,0,0,.08);
}
.unit__code { display: flex; flex-direction: column; gap: 6px; }
.unit__code .mono { font-size: 11px; color: #6c6a65; }
.unit__code strong { font-family: var(--f-mono); font-size: 22px; font-weight: 500; letter-spacing: .04em; }
.unit__body h3 { font-stretch: 72%; font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); text-transform: uppercase; line-height: .95; }
.unit__body p { margin-top: 10px; color: #4e4c48; font-size: 15.5px; line-height: 1.55; max-width: 54ch; }

.unit__display {
  background: #0b0b0c; border-radius: 3px; padding: 12px 14px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.7);
  display: grid; gap: 10px;
}
.unit__display .mono { color: #8d8e92; font-size: 10px; display: flex; justify-content: space-between; }
.ladder { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; height: 10px; }
.ladder i { background: #26262a; border-radius: 1px; transition: background .2s, box-shadow .2s; }
.unit:hover .ladder i, .unit.is-live .ladder i { background: #e6e6e6; box-shadow: 0 0 6px rgba(255,255,255,.45); }
.unit:hover .ladder i:nth-child(n+12), .unit.is-live .ladder i:nth-child(n+12) { background: #8c8c90; box-shadow: none; }
.ladder i:nth-child(1) { transition-delay: .00s } .ladder i:nth-child(2) { transition-delay: .02s }
.ladder i:nth-child(3) { transition-delay: .04s } .ladder i:nth-child(4) { transition-delay: .06s }
.ladder i:nth-child(5) { transition-delay: .08s } .ladder i:nth-child(6) { transition-delay: .10s }
.ladder i:nth-child(7) { transition-delay: .12s } .ladder i:nth-child(8) { transition-delay: .14s }
.ladder i:nth-child(9) { transition-delay: .16s } .ladder i:nth-child(10) { transition-delay: .18s }
.ladder i:nth-child(11) { transition-delay: .20s } .ladder i:nth-child(12) { transition-delay: .22s }
.ladder i:nth-child(13) { transition-delay: .24s } .ladder i:nth-child(14) { transition-delay: .26s }

.knob {
  width: 54px; height: 54px; border-radius: 50%; position: relative; justify-self: center;
  background:
    radial-gradient(circle at 50% 50%, #2c2c2f 0 52%, transparent 53%),
    conic-gradient(from 0deg, #1a1a1c, #3b3b3f, #1a1a1c, #3b3b3f, #1a1a1c);
  box-shadow: 0 6px 12px -4px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 4px rgba(0,0,0,.06);
  transform: rotate(-130deg);
  transition: transform .9s var(--ease);
}
.knob::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 12px; margin-left: -1px;
  background: #f1f1f1; border-radius: 1px;
}
.unit:hover .knob, .unit.is-live .knob { transform: rotate(40deg); }

.unit__go {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(0,0,0,.25);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.unit__go svg { width: 16px; height: 16px; }
.unit:hover .unit__go { background: var(--ink); color: var(--text); border-color: var(--ink); }
.unit__link { position: absolute; inset: 0; z-index: 2; }

@media (max-width: 1080px) {
  .unit__face { grid-template-columns: 100px minmax(0, 1fr) 64px 56px; }
  .unit__display { display: none; }
}
@media (max-width: 720px) {
  .rack::before, .rack::after { width: 14px; background-size: 14px 22px, auto; }
  .unit { grid-template-columns: 18px minmax(0, 1fr) 18px; margin: 0 4px; }
  .screw { width: 9px; height: 9px; }
  .unit__face { grid-template-columns: minmax(0, 1fr) 44px; gap: 14px 16px; padding: 22px 14px; }
  .unit__code { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; }
  .unit__code strong { font-size: 16px; }
  .knob { display: none; }
  .unit__go { width: 44px; height: 44px; align-self: end; }
}

/* ---------- Statement band ---------- */
.statement { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement .display { font-size: clamp(44px, 7.4vw, 124px); max-width: 17ch; }
.statement__meta { display: flex; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); color: var(--text-3); }
.wave { margin-top: clamp(48px, 7vw, 96px); display: flex; align-items: center; gap: 3px; height: 88px; }
.wave span { flex: 1 1 0; min-width: 1px; height: var(--h); background: var(--line-2); border-radius: 1px; transition: background .4s; }
.wave span.is-hot { background: var(--silver); }

/* ---------- Console (audiences) ---------- */
.console {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.strip {
  background: var(--bg-2);
  display: flex; flex-direction: column; gap: 24px;
  padding: 22px 22px 26px;
  transition: background .4s var(--ease);
}
.strip:hover { background: #18181b; }
.strip__top { display: flex; justify-content: space-between; align-items: center; color: var(--text-3); }
.strip__led { width: 7px; height: 7px; border-radius: 50%; background: #333336; transition: background .3s, box-shadow .3s; }
.strip:hover .strip__led, .strip.is-in .strip__led { background: #ececec; box-shadow: 0 0 10px rgba(255,255,255,.75); }
.strip__fader { position: relative; height: 190px; display: flex; justify-content: center; }
.strip__scale {
  position: absolute; inset: 0 auto 0 50%; width: 46px; margin-left: -23px;
  background: repeating-linear-gradient(180deg, var(--line-2) 0 1px, transparent 1px 19px);
  mask-image: linear-gradient(90deg, #000 0 14px, transparent 14px 32px, #000 32px);
  -webkit-mask-image: linear-gradient(90deg, #000 0 14px, transparent 14px 32px, #000 32px);
}
.strip__track { position: relative; width: 4px; height: 100%; background: #050506; border-radius: 2px; box-shadow: inset 0 0 0 1px #1f1f22; }
.strip__cap {
  position: absolute; left: 50%; width: 40px; height: 22px; margin-left: -20px;
  bottom: 0; border-radius: 2px;
  background: var(--metal);
  box-shadow: 0 6px 12px -4px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.7);
  transform: translateY(0);
  transition: transform 1.4s var(--ease);
}
.strip__cap::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 1px; background: #1a1a1c; }
.strip.is-in .strip__cap { transform: translateY(calc(var(--level, .6) * var(--travel, -168px))); }
.strip:hover .strip__cap { transform: translateY(calc((var(--level, .6) + .08) * var(--travel, -168px))); transition-duration: .6s; }
.strip__label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  background: #070708; color: var(--silver); padding: 8px 10px; border: 1px solid var(--line);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.strip h3 { font-stretch: 75%; font-weight: 700; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.strip p { color: var(--text-2); font-size: 15px; line-height: 1.55; margin-top: -12px; }

@media (max-width: 1040px) {
  .console { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip:last-child { grid-column: 1 / -1; }
  .strip__fader { height: 140px; }
  .strip { --travel: -118px; }
}
@media (max-width: 560px) {
  .console { grid-template-columns: 1fr; }
  .strip { display: grid; grid-template-columns: 56px 1fr; gap: 10px 20px; }
  .strip__top { grid-column: 1 / -1; }
  .strip__fader { grid-row: span 3; height: 150px; }
  .strip { --travel: -128px; }
  .strip p { margin-top: 0; }
}

/* ---------- Signal chain (process) ---------- */
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.chain::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px;
  background: linear-gradient(90deg, var(--ink) 0%, var(--paper-line) 100%);
}
.chain li { position: relative; padding: 44px clamp(16px, 2.4vw, 36px) 0 0; }
.chain li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--ink);
}
.chain li:first-child::before { background: var(--ink); }
.chain .mono { color: var(--ink-3); }
.chain h3 { font-stretch: 72%; font-weight: 800; font-size: clamp(28px, 3vw, 40px); text-transform: uppercase; line-height: 1; margin: 14px 0 14px; }
.chain p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) {
  .chain { grid-template-columns: 1fr; gap: 40px; padding-left: 36px; }
  .chain::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--ink), var(--paper-line)); }
  .chain li { padding: 0; }
  .chain li::before { left: -36px; }
}

/* ---------- Principles / feature grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.grid-4 > * { padding: 36px clamp(16px, 2.4vw, 32px) 8px 0; border-right: 1px solid var(--line); }
.grid-4 > * + * { padding-left: clamp(16px, 2.4vw, 32px); }
.grid-4 > *:last-child { border-right: 0; }
.grid-4 .mono { color: var(--text-3); }
.grid-4 h3 { font-stretch: 75%; font-weight: 700; font-size: 24px; text-transform: uppercase; line-height: 1.05; margin: 18px 0 12px; }
.grid-4 p { color: var(--text-2); font-size: 15.5px; }
.section--light .grid-4, .section--paper .grid-4 { border-color: var(--paper-line); }
.section--light .grid-4 > *, .section--paper .grid-4 > * { border-color: var(--paper-line); }
.section--light .grid-4 p, .section--paper .grid-4 p { color: var(--ink-2); }
.section--light .grid-4 .mono, .section--paper .grid-4 .mono { color: var(--ink-3); }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 > * { padding: 32px 20px 32px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .grid-4 > *:nth-child(even) { padding-left: 20px !important; border-left: 1px solid var(--line); }
  .section--light .grid-4 > *, .section--paper .grid-4 > * { border-color: var(--paper-line); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-4 > *:nth-child(even) { padding-left: 0 !important; border-left: 0; }
}

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: left; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.cta .display { font-size: clamp(54px, 9vw, 140px); margin-top: 24px; }
.cta__side { display: grid; gap: 28px; }
.cta__mail { font-stretch: 90%; font-size: clamp(20px, 2vw, 26px); font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 10px; width: max-content; max-width: 100%; transition: border-color .3s; }
.cta__mail:hover { border-color: var(--silver-hi); }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 96px) 0 32px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__grid h4 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.footer__grid li + li { margin-top: 10px; }
.footer__grid li { color: var(--text-3); font-size: 15px; }
.footer__grid a { color: var(--text-2); font-size: 15px; transition: color .3s; }
.footer__grid a:hover { color: var(--text); }
.footer__about p { color: var(--text-2); font-size: 15px; max-width: 34ch; margin-top: 22px; }
.footer__word {
  margin-top: clamp(56px, 8vw, 96px);
  font-stretch: 125%; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  font-size: clamp(30px, 8.6vw, 124px); line-height: .9; white-space: nowrap;
  background: linear-gradient(180deg, #2a2a2d 0%, #121214 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ---------- Services page ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); }
.svc__intro { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.svc__num { font-family: var(--f-mono); font-size: 13px; letter-spacing: .16em; color: var(--text-3); display: flex; align-items: center; gap: 14px; }
.svc__num::after { content: ""; flex: 0 0 64px; height: 1px; background: currentColor; opacity: .5; }
.section--light .svc__num, .section--paper .svc__num { color: var(--ink-3); }
.svc__intro h2 { margin: 24px 0 28px; font-size: clamp(44px, 6vw, 88px); }
.svc__body > p { font-size: 18px; color: var(--text-2); }
.section--light .svc__body > p, .section--paper .svc__body > p { color: var(--ink-2); }
.svc__body > p + p { margin-top: 18px; }
.spec { margin-top: 44px; border-top: 1px solid var(--line); }
.section--light .spec, .section--paper .spec { border-color: var(--paper-line); }
.spec li {
  display: grid; grid-template-columns: 52px 1fr; gap: 12px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.section--light .spec li, .section--paper .spec li { border-color: var(--paper-line); }
.spec li .mono { color: var(--text-3); padding-top: 3px; }
.section--light .spec li .mono, .section--paper .spec li .mono { color: var(--ink-3); }
.spec strong { display: block; font-weight: 600; font-size: 17px; }
.spec span { display: block; color: var(--text-2); font-size: 15.5px; margin-top: 2px; }
.section--light .spec span, .section--paper .spec span { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tags li {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 12px; border: 1px solid var(--line-2); color: var(--text-2);
}
.section--light .tags li, .section--paper .tags li { border-color: var(--paper-line); color: var(--ink-2); }
.svc .btn { margin-top: 40px; }
@media (max-width: 900px) { .svc { grid-template-columns: 1fr; } .svc__intro { position: static; } }

.index-list { border-top: 1px solid var(--line); }
.index-list a {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease), color .3s;
  color: var(--text-2);
}
.index-list a:hover { padding-left: 10px; color: var(--text); }
.index-list .mono { color: var(--text-3); }
.index-list strong { font-weight: 500; font-size: 17px; }
.index-list svg { width: 14px; height: 14px; }

/* ---------- About page ---------- */
.prose { display: grid; gap: 22px; font-size: 18px; color: var(--text-2); max-width: 62ch; }
.prose strong { color: var(--text); font-weight: 500; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; }
.flow__node {
  border: 1px solid var(--paper-line); padding: 28px 24px; background: var(--paper);
  display: grid; gap: 10px; align-content: start;
}
.flow__node .mono { color: var(--ink-3); }
.flow__node h3 { font-stretch: 72%; font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; }
.flow__node p { color: var(--ink-2); font-size: 15.5px; }
.flow__arrow { display: grid; place-items: center; width: 56px; color: var(--ink-3); }
.flow__arrow svg { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow__arrow { width: auto; height: 48px; transform: rotate(90deg); }
}

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

.device {
  position: relative;
  background: linear-gradient(180deg, #19191c, #131315);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 40px 80px -40px rgba(0,0,0,.8);
}
.device__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 22px; border-bottom: 1px solid var(--line); color: var(--text-3);
}
.device__bar .leds { display: flex; gap: 6px; }
.device__bar .leds i { width: 6px; height: 6px; border-radius: 50%; background: #2e2e31; }
.device__bar .leds i:first-child { background: #e8e8e8; box-shadow: 0 0 8px rgba(255,255,255,.7); }

.form { padding: clamp(22px, 3.4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; }
.field { display: grid; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.field label em { font-style: normal; color: var(--text-3); opacity: .7; }
.field input, .field select, .field textarea {
  width: 100%;
  background: #0b0b0c;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 15px 16px;
  font-size: 16px;
  color: var(--text);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.5);
  transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23b8b5ad' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field select option { background: #141416; }
.field input::placeholder, .field textarea::placeholder { color: #55534f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--silver); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #8a5a55; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 6px; }
.form__note { color: var(--text-3); font-size: 14px; max-width: 40ch; }
.form__status { grid-column: 1 / -1; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--silver-hi); min-height: 1em; }
.hp { position: absolute !important; left: -9999px !important; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.info > div { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.info .mono { color: var(--text-3); }
.info a, .info strong { font-size: 19px; font-weight: 500; }
.info a { border-bottom: 1px solid var(--line-2); width: max-content; max-width: 100%; transition: border-color .3s; }
.info a:hover { border-color: var(--silver-hi); }
.info p { color: var(--text-2); font-size: 15.5px; }
.checklist li { display: flex; gap: 12px; color: var(--text-2); font-size: 15.5px; padding: 4px 0; }
.checklist li::before { content: "—"; color: var(--text-3); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Portfolio ("Selected work") ---------- */
.portfolio { margin-top: clamp(64px, 8vw, 112px); padding-top: 28px; border-top: 1px solid var(--line); }
.portfolio[hidden] { display: none; }
.portfolio__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.portfolio__head > .mono { color: var(--text-3); }
.portfolio__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.work {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.work:hover { border-color: var(--line-2); transform: translateY(-3px); }
.work__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: #0b0b0c center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.work__media.has-cover::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.6));
}
.work__media.is-playing::after { display: none; }
.work__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #0b0b0c; }
.work__wave {
  position: absolute; left: 24px; right: 24px; top: 50%; height: 46%;
  transform: translateY(-50%); display: flex; align-items: center; gap: 3px;
}
.work__wave span { flex: 1 1 0; background: #2a2a2e; border-radius: 1px; transition: background .4s; }
.work:hover .work__wave span { background: #3a3a3f; }
.work__play {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: var(--metal); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 14px 30px -10px rgba(0,0,0,.8);
  transition: transform .4s var(--ease), filter .3s;
}
.work__play svg { width: 22px; height: 22px; margin-left: 2px; }
.work--link .work__play svg { width: 18px; height: 18px; margin: 0; }
.work__play:hover { transform: scale(1.07); filter: brightness(1.06); }
.work__badge { position: absolute; z-index: 1; left: 14px; bottom: 12px; font-size: 10px; color: var(--silver-hi); }
.work__meta { padding: 18px 20px 22px; display: grid; gap: 6px; }
.work__meta .mono { font-size: 11px; color: var(--text-3); }
.work__meta h4 { font-stretch: 80%; font-weight: 700; font-size: 20px; line-height: 1.1; text-transform: uppercase; }
.work__meta p { color: var(--text-2); font-size: 15px; }

.section--light .portfolio { border-color: var(--paper-line); }
.section--light .portfolio__head > .mono { color: var(--ink-3); }
.section--light .work { background: var(--paper-2); border-color: var(--paper-line); }
.section--light .work:hover { border-color: #cfccc5; }
.section--light .work__meta .mono { color: var(--ink-3); }
.section--light .work__meta p { color: var(--ink-2); }

@media (max-width: 960px) { .portfolio__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .portfolio__grid { grid-template-columns: 1fr; } }

/* ---------- Fee structure (Services → Church broadcast & livestream) ---------- */
.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; }
.svc__sub { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; margin-left: 4px; color: var(--text-3); transition: color .3s; }
.svc__sub:hover { color: var(--text); }
.svc__sub svg { width: 12px; height: 12px; }
.svc .btn + .svc__sub { display: flex; width: max-content; }

.fees__table { width: 100%; border-collapse: collapse; text-align: left; }
.fees__table thead th {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-3); padding: 16px 22px; border-bottom: 1px solid var(--line);
}
.fees__table thead th:last-child, .fees__price { text-align: right; }
.fees__table td, .fees__table tbody th[scope="row"] {
  padding: 22px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.fees__table tbody tr:not(.fees__group) { transition: background .3s; }
.fees__table tbody tr:not(.fees__group):hover { background: rgba(255, 255, 255, .025); }
.fees__table tbody th[scope="row"] { font-weight: 600; font-size: 17px; color: var(--text); width: 26%; }
.fees__table td { color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.fees__table .fees__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--text-3) !important; width: 64px; padding-top: 25px !important; }
.fees__table .fees__price {
  font-family: var(--f-sans); font-stretch: 80%; font-weight: 700; font-size: 24px; line-height: 1.1;
  color: var(--text) !important; white-space: nowrap; width: 1%;
}
.fees__price small { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--text-3); margin-left: 4px; }
.fees__table .fees__price--na { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3) !important; padding-top: 27px !important; }
.fees__group th {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--silver); background: rgba(255, 255, 255, .02); padding: 12px 22px; border-bottom: 1px solid var(--line);
}
.fees__table tbody:last-child tr:last-child > * { border-bottom: 0; }
.fees__note { margin-top: 24px; max-width: 60ch; font-size: 15px; }

@media (max-width: 760px) {
  .fees__table thead { display: none; }
  .fees__table, .fees__table tbody, .fees__table tr, .fees__table td, .fees__table th { display: block; width: auto; }
  .fees__table tbody tr:not(.fees__group) {
    display: grid; grid-template-columns: 40px 1fr auto; column-gap: 12px; row-gap: 8px;
    padding: 20px 18px; border-bottom: 1px solid var(--line);
  }
  .fees__table td, .fees__table tbody th[scope="row"] { padding: 0 !important; border: 0; }
  .fees__table .fees__num { grid-column: 1; grid-row: 1; padding-top: 4px !important; }
  .fees__table tbody th[scope="row"] { grid-column: 2; grid-row: 1; font-size: 16px; width: auto; }
  .fees__table .fees__price { grid-column: 3; grid-row: 1; font-size: 20px; width: auto; }
  .fees__table .fees__price--na { font-size: 10px; padding-top: 4px !important; white-space: normal; max-width: 11ch; }
  .fees__table td:not(.fees__num):not(.fees__price) { grid-column: 2 / -1; grid-row: 2; font-size: 15px; }
  .fees__group th { padding: 12px 18px; }
  .fees__table tbody:last-child tr:last-child { border-bottom: 0; }
}
