/* ============================================================================
   AetherWave Professional Services — design system
   ----------------------------------------------------------------------------
   The canonical skin for every /services/* lane and /partners.

   WHERE THIS CAME FROM. /services/brands was redesigned first and Andrew named
   it the design for the lane on 2026-09-16. This file is that page's system,
   extracted verbatim so the other lanes inherit it instead of each carrying a
   private copy that drifts. The brands page itself is the reference
   implementation: if this file and that page ever disagree, the page is right
   and this file has a bug.

   ⚠️ WHY A SHARED FILE AND NOT INLINE. Each lane previously inlined its own
   tokens, and the comment at the top of services-artists.html explains why the
   app shell is not loaded here: recipients arrive from email, logged out, and
   the shell runtime-locks body height and renders a side-nav gutter that means
   nothing to a stranger. That reasoning is about the SHELL, not about external
   CSS. One cached stylesheet across five pages is strictly better than five
   copies, and it is what makes a re-brand a re-brand rather than five edits.

   ⚠️ LEGACY TOKEN ALIASES ARE LOAD-BEARING — DO NOT DELETE. The older lanes
   were built on --dark/--panel/--panel2/--line/--text/--mut and their
   page-specific CSS still references them. Those names are aliased to the new
   values below, so page-unique rules keep working AND pick up the new palette.
   Deleting them silently reverts those pages to unstyled defaults.
   ========================================================================== */

:root {
  /* --- brand palette (matches static/brand/BRAND.md) --- */
  --pink: #ff2ea6;
  --cyan: #06b6d4;
  --gold: #f59e0b;
  --img: #ec4899;

  /* --- surfaces --- */
  --dark-bg: #0a0a0f;
  --card-bg: #0f0f14;
  --card-bg-2: #13131a;

  /* --- type --- */
  --text-primary: #e9ebf2;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  /* --- lines --- */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* --- the display face. Orbitron carries the whole re-brand: it is what
         separates this lane from the platform UI at a glance. --- */
  --title: 'Orbitron', 'Inter', system-ui, sans-serif;

  /* --- LEGACY ALIASES (see warning above) --- */
  --dark: var(--dark-bg);
  --panel: var(--card-bg);
  --panel2: var(--card-bg-2);
  --line: var(--border);
  --text: var(--text-primary);
  --mut: var(--text-secondary);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--dark-bg); }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--pink); }
code, pre, .mono { font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.pink { color: var(--pink); }

/* ---------------------------------------------------------------- topbar -- */
.topbar, header.site, body > header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
/* The legacy pages wrap their header contents in .wrap; the flex belongs on
   that row, not on the <header> itself, or the max-width is lost. */
body > header { display: block; padding: 0; }
body > header > .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text-primary); font-weight: 800; }
/* Pinned brand rule, carried over: landing pages use the 3-colour landscape
   brandmark, not the icon + wordmark lockup. */
.brand img { height: 26px; width: auto; display: block; }
.topbar nav { display: flex; gap: 22px; font-size: 13px; font-weight: 600; align-items: center; }
.topbar nav a, .nav-back {
  color: var(--text-secondary); font-family: var(--title);
  text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; font-weight: 600;
}
.topbar nav a:hover, .nav-back:hover { color: var(--text-primary); }
.topbar nav a.navcta { color: var(--pink); }
@media (max-width: 640px) { .topbar nav a:not(.navcta) { display: none; } }

/* ------------------------------------------------------ title block (.tb) --
   Accent bar + Orbitron uppercase + subtitle, with a scroll entrance.
   This is the signature of the lane. Use it for every section heading. */
/* ⚠️ THE HIDDEN STATE IS GATED BEHIND html.js — DO NOT MOVE IT BACK TO .tb.
   The entrance animates from opacity:0 to .in. The reference page put that 0
   on .tb unconditionally, which is fine right up until the script does not run
   at all — a parse error earlier in the file, a blocked script, JS off — and
   then EVERY HEADING ON THE PAGE IS INVISIBLE and the page reads as empty.
   (The page's own `if (!('IntersectionObserver' in window))` branch does not
   help: it is inside the script that did not run.)
   Gating on a class an inline <head> script sets means the default is VISIBLE
   and the animation is the enhancement. Each page must carry:
     <script>document.documentElement.className += ' js';</script>
   as the first thing in <head>. No script, no hidden state, no blank page. */
.tb { display: flex; gap: 20px; align-items: stretch; }
html.js .tb { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
html.js .tb.in { opacity: 1; transform: none; }
.tb .bar { flex: 0 0 auto; width: 5px; border-radius: 3px; background: var(--pink); box-shadow: 0 0 18px rgba(255, 46, 166, 0.55); }
html.js .tb .bar { transform: scaleY(0); transform-origin: top; transition: transform .55s cubic-bezier(.2,.8,.2,1) .08s; }
html.js .tb.in .bar { transform: scaleY(1); }
.tb .kicker { font-family: var(--title); font-weight: 700; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.tb h1, .tb h2 { font-family: var(--title); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; line-height: 1.03; color: var(--text-primary); }
.tb h1 { font-size: clamp(2.3rem, 6.4vw, 4.6rem); }
.tb h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.tb .sub { font-family: 'Inter', sans-serif; text-transform: none; letter-spacing: 0; color: var(--text-secondary); font-size: clamp(1rem, 1.7vw, 1.22rem); margin-top: 16px; max-width: 720px; line-height: 1.5; font-weight: 400; }
.tb .sub strong { color: var(--text-primary); font-weight: 600; }
.tb-body { min-width: 0; }

@media (prefers-reduced-motion: reduce) {
  html.js .tb, html.js .tb.in { opacity: 1; transform: none; transition: none; }
  html.js .tb .bar, html.js .tb.in .bar { transform: scaleY(1); transition: none; }
}

/* --------------------------------------------------------- legacy headings --
   The older lanes use bare h1/h2 with .lede/.sec-sub rather than .tb. These
   rules give that markup the new voice without a rewrite; convert a page to
   .tb when its copy is next touched. */
h1 { font-family: var(--title); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; line-height: 1.05; font-size: clamp(2.1rem, 5.6vw, 3.9rem); margin: 0 0 18px; }
h2 { font-family: var(--title); font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.1; font-size: clamp(1.5rem, 3.2vw, 2.3rem); margin: 0 0 10px; }
h3, h4 { font-family: var(--title); text-transform: uppercase; letter-spacing: 0.02em; font-weight: 700; }
/* The old gradient-text accent is retired: Orbitron caps carry the emphasis
   now, and gradient text on a display face reads as muddy at large sizes. */
h1 .accent { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--pink); }
.lede, .sec-sub {
  font-family: 'Inter', sans-serif; text-transform: none; letter-spacing: 0;
  color: var(--text-secondary); font-size: clamp(1rem, 1.7vw, 1.22rem);
  max-width: 720px; line-height: 1.5; font-weight: 400;
}
.lede { margin: 0 0 26px; }
.sec-sub { margin: 0 0 26px; font-size: clamp(0.95rem, 1.5vw, 1.08rem); }
.lede strong, .sec-sub strong { color: var(--text-primary); font-weight: 600; }

/* --------------------------------------------------------------- buttons -- */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 28px; border-radius: 10px; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--title); border: 1px solid transparent; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s; text-decoration: none; }
.btn-primary { background: var(--pink); color: #10040c; box-shadow: 0 8px 30px rgba(255, 46, 166, 0.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 38px rgba(255, 46, 166, 0.42); color: #10040c; }
.btn-secondary { background: transparent; color: var(--cyan); border: 1px solid rgba(6, 182, 212, 0.5); }
.btn-secondary:hover { background: rgba(6, 182, 212, 0.08); border-color: var(--cyan); color: var(--cyan); }

/* -------------------------------------------------------------- sections -- */
.hero { padding: 70px 0 20px; }
.hero .cta-row { margin-top: 32px; margin-left: 25px; }
section, .sec { padding: 60px 0; border-top: 1px solid var(--border); }
.hero { border-top: 0; }
.sec-body { margin-top: 40px; }

/* ----------------------------------------------------------------- steps -- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.step { background: var(--card-bg); border: 1px solid var(--border); border-left: 3px solid var(--pink); border-radius: 14px; padding: 24px; }
.step .no { font-family: var(--title); font-weight: 700; font-size: 13px; color: var(--cyan); letter-spacing: 0.1em; margin-bottom: 12px; }
.step h3 { font-size: 0.98rem; letter-spacing: 0.03em; margin-bottom: 10px; }
.step p { color: var(--text-secondary); font-size: 14px; }

/* -------------------------------------------------------------- features -- */
.stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.feat { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 22px; transition: border-color 0.15s, transform 0.15s; }
.feat:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feat .top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.feat .ic { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; font-size: 19px; }
.feat h3 { font-size: 0.95rem; color: var(--text-primary); line-height: 1.25; }
.feat p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.55; }
.feat.t-pink { border-color: rgba(255, 46, 166, 0.22); }
.feat.t-pink .ic { background: rgba(255, 46, 166, 0.12); color: var(--pink); }
.feat.t-gold .ic { background: rgba(245, 158, 11, 0.12); color: var(--gold); }
.feat.t-cyan .ic { background: rgba(6, 182, 212, 0.12); color: var(--cyan); }
.feat.hero-feat { grid-column: 1 / -1; border-color: rgba(255, 46, 166, 0.3); border-left: 3px solid var(--pink); }
.feat.hero-feat .ic { width: 48px; height: 48px; font-size: 24px; }
.feat.hero-feat h3 { font-size: 1.1rem; }

/* -------------------------------------------------------------- packages -- */
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: stretch; }
.pkg { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; }
.pkg.featured { border-color: rgba(255, 46, 166, 0.45); border-top: 3px solid var(--pink); }
.pkg .tag { font-family: var(--title); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.pkg h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.pkg .price { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.9rem; color: var(--pink); margin-bottom: 2px; }
.pkg .price small { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--text-muted); font-weight: 600; }
.pkg ul { list-style: none; margin: 18px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pkg li { font-size: 13.5px; color: var(--text-secondary); padding-left: 22px; position: relative; }
.pkg li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--cyan); font-weight: 800; }
.pkg .pkg-cta { margin-top: auto; }
.pkg .pkg-cta a { display: block; text-align: center; padding: 12px; border-radius: 10px; font-family: var(--title); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; font-size: 12px; border: 1px solid rgba(6, 182, 212, 0.45); color: var(--cyan); }
.pkg.featured .pkg-cta a { background: var(--pink); color: #10040c; border-color: transparent; }
.pkg .pkg-cta a:hover { border-color: var(--cyan); }
.pkg-note { color: var(--text-muted); font-size: 13px; margin-top: 24px; padding-left: 25px; }
.pkg-note strong { color: var(--text-secondary); }

/* ------------------------------------------------------------------- who -- */
.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.who-grid .who { background: var(--card-bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.who-grid .who h4 { font-size: 0.92rem; margin-bottom: 6px; color: var(--gold); }
.who-grid .who p { color: var(--text-secondary); font-size: 13.5px; }

/* ------------------------------------------------------------------ form -- */
.form-wrap { max-width: 640px; margin: 40px 0 0 25px; background: var(--card-bg); border: 1px solid var(--border-strong); border-left: 3px solid var(--pink); border-radius: 16px; padding: 32px; }
.form-row { margin-bottom: 16px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form-row.two { grid-template-columns: 1fr; } .form-wrap { margin-left: 0; } .hero .cta-row, .pkg-note { margin-left: 0; padding-left: 0; } }
.form-wrap label { display: block; font-family: var(--title); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 7px; }
.form-wrap input, .form-wrap select, .form-wrap textarea { width: 100%; background: var(--dark-bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text-primary); padding: 12px 14px; font-family: inherit; font-size: 15px; }
.form-wrap textarea { min-height: 92px; resize: vertical; }
.form-wrap input:focus, .form-wrap select:focus, .form-wrap textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 46, 166, 0.14); }
.form-wrap .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-status { margin-top: 14px; text-align: center; font-size: 14px; min-height: 20px; }
.form-status.err { color: #ff6b8a; }
.form-status.ok { color: #5be5a0; }
.form-success { text-align: center; padding: 20px 0; }
.form-success .big { font-family: var(--title); text-transform: uppercase; font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.form-success p { color: var(--text-secondary); }

/* ---------------------------------------------------------------- footer -- */
footer.site { padding: 36px 0 56px; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 13px; }
footer.site .links { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; margin-bottom: 18px; }
footer.site .links a { color: var(--text-secondary); font-weight: 600; font-family: var(--title); text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; }
footer.site .links a:hover { color: var(--cyan); }
footer.site .copy { font-size: 12px; }

/* ------------------------------------------------------------ slots pill -- */
.slots { display: inline-flex; align-items: center; gap: 9px; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .4); color: var(--gold); border-radius: 999px; padding: 7px 15px; font-size: 12px; font-weight: 700; font-family: var(--title); text-transform: uppercase; letter-spacing: 0.06em; }
.slots .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

@media (max-width: 640px) {
  .hero { padding: 44px 0 16px; }
  section, .sec { padding: 46px 0; }
  .btn { width: 100%; justify-content: center; }
  .cta-row { width: 100%; }
  .form-wrap { padding: 24px; }
}

/* ------------------------------------------------------- proof mosaic (.mo) --
   Justified mosaic: every tile keeps close to its NATIVE aspect ratio and rows
   normalise to fill the width, the way a photo gallery packs. flex-basis is
   ratio x row-height and flex-grow is the ratio, so wider tiles absorb more of
   the leftover.

   ⚠️ Media is position:absolute;inset:0 at 100%/100% on purpose. That makes a
   whole bug class impossible: width/height HTML attributes are presentational
   hints, and a surviving height hint makes the browser ignore aspect-ratio
   entirely. Filling the box beats declaring a ratio. (Same failure cost us the
   band-logo tiles on 2026-09-15.) */
.mo { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; --h: 190px; }
@media (max-width: 900px) { .mo { --h: 150px; } }
@media (max-width: 600px) { .mo { --h: 120px; gap: 8px; } }
.mo .t { position: relative; height: var(--h); flex: var(--r) 1 calc(var(--r) * var(--h)); min-width: 0; border-radius: 12px; overflow: hidden; background: #07070c; border: 1px solid var(--border); }
.mo .t > img, .mo .t > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* The print file is the one asset whose whole argument is its dimensions.
   Never crop it. */
.mo .t.fit > img { object-fit: contain; background: #07070c; }
.mo .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 11px 9px; background: linear-gradient(transparent, rgba(0,0,0,.88)); font-size: 11.5px; line-height: 1.35; color: #cfcfdd; pointer-events: none; }
.mo .cap b { display: block; color: #fff; font-size: 12.5px; font-weight: 700; margin-bottom: 1px; }
.mo .cap i { font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--cyan); }
/* Video controls live at the BOTTOM, so its label goes to the top or the scrim
   sits on top of the play button. */
.mo .t.vid .cap { bottom: auto; top: 0; padding: 9px 11px 24px; background: linear-gradient(rgba(0,0,0,.88), transparent); }
.pf-cap { padding: 11px 13px; font-size: 12.5px; line-height: 1.45; color: var(--text-muted); }
.pf-cap b { color: var(--text-primary); display: block; font-size: 13px; margin-bottom: 2px; font-weight: 700; }
.pf-spec { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--cyan); }
.pf-audio { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 16px; }
.pf-a { background: rgba(0,0,0,.28); border: 1px solid var(--border); border-radius: 10px; padding: 13px; }
.pf-a b { display: block; font-size: 13px; margin-bottom: 3px; }
.pf-a span { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--cyan); display: block; margin-bottom: 9px; }
.pf-a audio { width: 100%; height: 34px; }
