/* ==========================================================================
   Shade Studios — design system
   Turnkey music studio · AI music mastering · mixing · production
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  /* Brand */
  --red: #e30613;
  --red-bright: #ff2a22;
  --red-deep: #9e040d;
  --ink: #0a0a0b;
  --ink-1: #0f0f12;
  --ink-2: #151519;
  --ink-3: #1e1e24;

  /* Text */
  --fg: #f4f4f2;
  --fg-2: #b9b9bd;
  --fg-3: #85858c;

  /* Lines + surfaces */
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.05);
  --card: rgba(255, 255, 255, 0.035);
  --card-2: rgba(255, 255, 255, 0.06);

  /* Type */
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Space + shape */
  --wrap: 1220px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 74px;

  /* Tell the OS the site is dark, so native widgets, scrollbars and any
     browser-painted popup default to a dark palette instead of a light one. */
  color-scheme: dark;
}

/* --- 2. Reset ----------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  background: var(--ink);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1, "cv11" 1;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--red); color: #fff; }

/* --- 3. Typography ------------------------------------------------------ */
h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(1.95rem, 4.2vw, 3.35rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.025em; }
h4 { font-size: 1.05rem; letter-spacing: -0.015em; }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}

.muted { color: var(--fg-2); }
.small { font-size: 0.9rem; }
.tiny { font-size: 0.8rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--red);
  flex: none;
}

.eyebrow--plain::before { display: none; }

.accent { color: var(--red-bright); }

.gradient-text {
  background: linear-gradient(100deg, #fff 30%, #ff8a7d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- 4. Layout ---------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.wrap--narrow { max-width: 860px; }

.section {
  position: relative;
  padding-block: clamp(3.75rem, 8vw, 7.5rem);
}

.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }

.section--alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
  border-block: 1px solid var(--line-2);
}

.section-head { max-width: 720px; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head h2 { margin-top: 0.85rem; }
.section-head .lead { margin-top: 1.1rem; }

.stack > * + * { margin-top: var(--gap, 1rem); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* --- 5. Buttons --------------------------------------------------------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.5);
}

.btn:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -12px rgba(227, 6, 19, 0.85);
}
.btn:active { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.btn--white { --btn-bg: #fff; --btn-fg: #0a0a0b; }
.btn--white:hover { background: #fff; box-shadow: 0 12px 32px -14px rgba(255, 255, 255, 0.5); }

.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.875rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.link-arrow:hover { color: var(--red-bright); gap: 0.8rem; }
.link-arrow svg { width: 16px; height: 16px; }

/* --- 6. Logo ------------------------------------------------------------ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}
.logo__mark {
  width: 38px;
  height: 38px;
  flex: none;
  transition: transform 0.5s var(--ease-out);
}
.logo:hover .logo__mark { transform: rotate(22deg); }
.logo__word {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.32rem;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
  color: #fff;
}
.logo__word span { color: var(--red-bright); }

.logo--lg .logo__mark { width: 54px; height: 54px; }
.logo--lg .logo__word { font-size: 1.9rem; }

.logo--stack {
  flex-direction: column;
  gap: 0.9rem;
  text-align: center;
}
.logo--stack .logo__word { font-size: clamp(1.8rem, 5vw, 2.9rem); }
.logo--stack .logo__mark { width: 66px; height: 66px; }

/* --- 7. Header ---------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-2);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav { display: none; margin-left: auto; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 0.35rem; }
}

.nav__link {
  position: relative;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--fg-2);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transform: translateX(-50%);
}

.header__cta { display: none; }
@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
}

.burger {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
@media (min-width: 1024px) { .burger { display: none; } }

.burger span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: rgba(10, 10, 11, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 1.75rem var(--pad) 2.5rem;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.drawer a.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.drawer a.drawer__link[aria-current="page"] { color: var(--red-bright); }
.drawer .btn { margin-top: 1.5rem; }

body.nav-open { overflow: hidden; }

/* --- 8. Hero ------------------------------------------------------------ */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: -30% -10% auto;
  height: 110%;
  z-index: -1;
  background:
    radial-gradient(48% 46% at 22% 28%, rgba(227, 6, 19, 0.30), transparent 70%),
    radial-gradient(44% 44% at 82% 14%, rgba(227, 6, 19, 0.16), transparent 72%),
    radial-gradient(60% 60% at 50% 100%, rgba(255, 42, 34, 0.08), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, var(--line-2) 1px, transparent 1px);
  background-size: 92px 100%;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem 0.42rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg-2);
}
.hero__pill b {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}
.hero__pill:hover { border-color: rgba(255, 255, 255, 0.28); color: #fff; }

.hero h1 { margin-top: 1.5rem; }

.hero .lead { max-width: 620px; margin-top: 1.5rem; }

.hero__actions { margin-top: 2.25rem; }

.hero__trust {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
}
.hero__trust div { min-width: 0; }
.hero__trust dt {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero__trust dd {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero waveform */
.wave {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.09), transparent);
  transform: translateX(-100%);
  animation: sweep 5.5s var(--ease) infinite;
  pointer-events: none;
}
@keyframes sweep { to { transform: translateX(100%); } }

.wave__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-family: var(--display);
  font-weight: 700;
}
.wave__tag { display: inline-flex; align-items: center; gap: 0.45rem; }
.wave__tag i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.22);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(227, 6, 19, 0); } }

.wave__bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 120px;
}
.wave__bars i {
  flex: 1;
  min-width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--red-bright), rgba(227, 6, 19, 0.28));
  transform-origin: center;
  animation: bob 2.6s var(--ease) infinite alternate;
}
@keyframes bob { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }

.wave__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-2);
  font-size: 0.8rem;
  color: var(--fg-3);
}
.wave__foot b { color: #fff; font-family: var(--display); font-weight: 700; }

/* --- 9. Marquee --------------------------------------------------------- */
.marquee-bar { position: relative; }
.marquee {
  border-block: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
  padding-block: 1.1rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
/* Visible pause control. WCAG 2.2.2 requires a way to stop motion that runs
   for more than five seconds; this is that control, and it also means the
   ticker scrolls even on a device whose owner has "reduce motion" enabled. */
.marquee__toggle {
  position: absolute;
  top: 50%;
  right: 0;
  translate: 0 -50%;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.8);
  color: var(--fg-2);
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.marquee__toggle:hover { color: #fff; border-color: var(--red); background: rgba(227, 6, 19, 0.85); }
.marquee__toggle svg { width: 13px; height: 13px; grid-area: 1 / 1; }
.marquee__icon-play { display: none; }
.marquee__toggle[aria-pressed="true"] .marquee__icon-pause { display: none; }
.marquee__toggle[aria-pressed="true"] .marquee__icon-play { display: block; }
@media (max-width: 560px) {
  .marquee__toggle { right: 0.4rem; width: 26px; height: 26px; }
}
/* The spacing lives INSIDE each item, not as a flex gap on the track.
   With `gap`, the track is items + (2n-1) gaps wide, so translateX(-50%)
   lands half a gap short of the true period and the loop jumps ~24px on every
   wrap. Padding on each item makes both halves identical, so -50% is exactly
   one period and the wrap is invisible. */
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track,
.marquee-bar.is-paused .marquee__track { animation-play-state: paused; }
.marquee__track > span {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding-right: 3rem;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg-3);
  white-space: nowrap;
}
.marquee__track > span b {
  color: var(--red-bright);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.marquee__track > span::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
  /* centre the dot inside the item's trailing padding */
  margin-right: calc(1.5rem - 2.5px);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- 10. Cards ---------------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.3s var(--ease);
}
.card--hover:hover {
  border-color: rgba(227, 6, 19, 0.5);
  background: var(--card-2);
  transform: translateY(-4px);
}
.card__num {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--red-bright);
}
.card h3 { margin-top: 0.85rem; }
.card p { margin-top: 0.75rem; color: var(--fg-2); font-size: 0.97rem; }

.card__list { margin-top: 1.1rem; display: grid; gap: 0.5rem; }
.card__list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--fg-2);
}
.card__list li::before {
  content: "";
  flex: none;
  width: 15px; height: 15px;
  margin-top: 0.28rem;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.16);
  border: 1px solid rgba(227, 6, 19, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a5c' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-content: center;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(227, 6, 19, 0.3), rgba(227, 6, 19, 0.08));
  border: 1px solid rgba(227, 6, 19, 0.32);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 22px; height: 22px; stroke: #ff8a7d; }

/* --- 11. Feature list (ticks) ------------------------------------------- */
.ticks { display: grid; gap: 0.75rem; }
.ticks li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--fg-2); }
.ticks li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
.ticks li b { color: #fff; font-weight: 600; }

/* --- 12. Process steps -------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1.25rem;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background: var(--ink);
  transition: background 0.3s var(--ease);
}
.step:hover { background: var(--ink-1); }
.step::before {
  content: "0" counter(step);
  grid-row: span 3;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(227, 6, 19, 0.65);
  letter-spacing: -0.04em;
}
.step h3 { font-size: 1.15rem; }
.step p { margin-top: 0.5rem; color: var(--fg-2); font-size: 0.96rem; }

/* Explicit states (used on the confirmation page) */
.step.is-done { background: rgba(46, 204, 113, 0.05); }
.step.is-done::before {
  content: "\2713";
  -webkit-text-stroke: 0;
  color: #2ecc71;
  font-size: 1.5rem;
}
.step.is-done h3 { color: #fff; }
.step.is-active { background: rgba(227, 6, 19, 0.09); }
.step.is-active::before {
  color: var(--red-bright);
  -webkit-text-stroke: 0;
}

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step:nth-child(n + 3) { }
}

/* --- 13. Spec / data tables --------------------------------------------- */
.spec {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.spec__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1.15rem;
  border-top: 1px solid var(--line-2);
  font-size: 0.94rem;
}
.spec__row:first-child { border-top: 0; }
.spec__row:nth-child(odd) { background: rgba(255, 255, 255, 0.018); }
.spec__row dt { color: var(--fg-2); }
.spec__row dd { margin: 0; font-family: var(--display); font-weight: 700; color: #fff; }
.spec__head {
  background: rgba(227, 6, 19, 0.1);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

/* Loudness bars */
.meter { display: grid; gap: 1.1rem; }
.meter__item { display: grid; gap: 0.45rem; }
.meter__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.88rem;
}
.meter__top b { font-family: var(--display); color: #fff; }
.meter__val { font-family: var(--display); font-weight: 800; color: var(--red-bright); font-variant-numeric: tabular-nums; }
.meter__track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.meter__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-bright));
  width: 0;
  transition: width 1.4s var(--ease-out);
}

/* --- 14. Pricing -------------------------------------------------------- */
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.price--featured {
  border-color: rgba(227, 6, 19, 0.55);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(227, 6, 19, 0.22), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 70px -40px rgba(227, 6, 19, 0.9);
}
.price__flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  background: var(--red);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price__name { font-family: var(--display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.price__for { margin-top: 0.35rem; font-size: 0.9rem; color: var(--fg-2); min-height: 3.1em; }
.price__amt {
  margin-top: 1.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price__amt b { font-size: clamp(2.3rem, 5vw, 3rem); }
.price__amt span { font-size: 0.9rem; font-weight: 700; color: var(--fg-3); letter-spacing: 0; }
.price__list { margin: 1.5rem 0 1.75rem; display: grid; gap: 0.6rem; flex: 1; }
.price__list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--fg-2);
}
.price__list li::before {
  content: "";
  flex: none;
  width: 15px; height: 15px;
  margin-top: 0.3rem;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.18);
  border: 1px solid rgba(227, 6, 19, 0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a5c' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 9px;
  background-position: center;
  background-repeat: no-repeat;
}
.price__list li.off { color: var(--fg-3); opacity: 0.55; }
.price__list li.off::before {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='4' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E");
}

.price-note {
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  font-size: 0.92rem;
  color: var(--fg-2);
}

/* --- 15. A/B audio player ----------------------------------------------- */
.ab {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  padding: clamp(1.25rem, 3vw, 2rem);
}
.ab__tabs {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}
.ab__tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--fg-2);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.ab__tab[aria-selected="true"] { background: var(--red); color: #fff; }

.ab__scope { margin-top: 1.5rem; }
.ab__canvas { width: 100%; height: 140px; display: block; }

.ab__controls {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.ab__play {
  width: 54px; height: 54px;
  flex: none;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.ab__play:hover { background: var(--red-bright); transform: scale(1.06); }
.ab__play svg { width: 20px; height: 20px; }

.ab__time { font-family: var(--display); font-size: 0.85rem; font-variant-numeric: tabular-nums; color: var(--fg-3); min-width: 88px; }

.ab__slider { flex: 1; min-width: 160px; display: flex; align-items: center; gap: 0.75rem; }
.ab__slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.ab__slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.ab__slider input[type="range"]::-moz-range-thumb {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 0;
}

.ab__caption { margin-top: 1.25rem; color: var(--fg-2); font-size: 0.95rem; min-height: 3.2em; }
.ab__caption b { color: #fff; }

/* --- 16. Accordion (FAQ) ------------------------------------------------ */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.faq details[open] { border-color: rgba(227, 6, 19, 0.4); background: var(--card-2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.03rem;
  letter-spacing: -0.015em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px; height: 11px;
  border-right: 2px solid var(--red-bright);
  border-bottom: 2px solid var(--red-bright);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-4px, -4px); }
.faq__body { padding: 0 1.35rem 1.35rem; color: var(--fg-2); }

/* --- 17. Forms ---------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
}

.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--fg-2); letter-spacing: 0.01em; }
.field .req { color: var(--red-bright); }

.input, .select, .textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font-size: 0.97rem;
}
.input::placeholder, .textarea::placeholder { color: var(--fg-3); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.18);
}
.textarea { min-height: 130px; resize: vertical; }

/* Native popup lists (select options) are painted by the browser once
   appearance:none is set — they do NOT inherit the page background, and they
   inherit the near-white foreground from the select. Without an explicit
   background the options render white-on-white and become unreadable.
   Always pair color with background here. */
.select option {
  background-color: var(--ink-2);
  color: var(--fg);
}
.select option:hover,
.select option:focus {
  background-color: var(--red-deep);
  color: #fff;
}
.select option:checked {
  background-color: var(--red);
  color: #fff;
  font-weight: 600;
}
/* optgroup inside a select, if one is ever added */
.select optgroup {
  background-color: var(--ink-3);
  color: var(--fg-3);
  font-weight: 700;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2385858c' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 15px;
  padding-right: 2.6rem;
}
.field__hint { font-size: 0.8rem; color: var(--fg-3); }
.field__err { font-size: 0.8rem; color: #ff8a7d; min-height: 1em; }
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea { border-color: #ff5a4a; }

/* Dropzone */
.drop {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 2rem 1.25rem;
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.drop:hover, .drop.is-over { border-color: var(--red); background: rgba(227, 6, 19, 0.09); }
.drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 28px; height: 28px; stroke: var(--red-bright); }
.drop__title { font-family: var(--display); font-weight: 700; font-size: 1.02rem; }
.drop__files { margin-top: 0.4rem; display: grid; gap: 0.3rem; font-size: 0.84rem; color: var(--fg-2); }
.drop__files span { display: flex; align-items: center; gap: 0.45rem; justify-content: center; }

/* Package chooser */
.choices { display: grid; gap: 0.6rem; }
@media (min-width: 640px) { .choices--3 { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s var(--ease);
  cursor: pointer;
}
.choice input:checked + span {
  border-color: var(--red);
  background: rgba(227, 6, 19, 0.16);
  color: #fff;
}
.choice input:focus-visible + span { outline: 2px solid var(--red-bright); outline-offset: 2px; }

.form__note { font-size: 0.84rem; color: var(--fg-3); }
.form__status {
  padding: 1rem 1.25rem;
  border-radius: var(--r-sm);
  font-size: 0.94rem;
  border: 1px solid var(--line);
}
.form__status[hidden] { display: none; }
.form__status.is-ok { border-color: rgba(46, 204, 113, 0.5); background: rgba(46, 204, 113, 0.1); }
.form__status.is-err { border-color: rgba(227, 6, 19, 0.55); background: rgba(227, 6, 19, 0.12); }

/* --- 18. Steps tracker (submit page) ------------------------------------ */
.tracker { display: grid; gap: 0.5rem; }
.tracker__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: 0.94rem;
  color: var(--fg-2);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.tracker__item.is-active {
  border-color: rgba(227, 6, 19, 0.55);
  background: rgba(227, 6, 19, 0.08);
  color: #fff;
}
.tracker__item.is-done { color: var(--fg-3); }
.tracker__num {
  flex: none;
  width: 26px; height: 26px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--fg-3);
}
.tracker__item.is-active .tracker__num { background: var(--red); border-color: var(--red); color: #fff; }
.tracker__item.is-done .tracker__num { border-color: rgba(46, 204, 113, 0.6); color: #2ecc71; }

/* --- 18b. Studio photography ------------------------------------------ */
.photo {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 30px 70px -50px rgba(0, 0, 0, 0.9);
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* the photographs are dark and red-lit; nudge them up so they read on screen */
  filter: saturate(1.05) contrast(1.04) brightness(1.06);
  transition: transform 0.7s var(--ease-out), filter 0.5s var(--ease);
}
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--16x9 { aspect-ratio: 16 / 9; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--2x1 { aspect-ratio: 2 / 1; }
.photo--21x9 { aspect-ratio: 21 / 9; }

/* Never let a small photograph be stretched far past its own resolution.
   These caps are set to the display width each image's file supports at
   roughly 1:1 - see tools/prepare-images.py. Displayed wider than this, a
   387px source becomes visibly pixelated. */
.photo--cap-774 { max-width: 774px; margin-inline: auto; }

.photo:hover img { transform: scale(1.035); filter: saturate(1.12) contrast(1.05) brightness(1.1); }

/* soft red glow along the base, echoing the brand */
.photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(227, 6, 19, 0.22), transparent);
  opacity: 0.85;
  transition: opacity 0.4s var(--ease);
}
.photo:hover::after { opacity: 1; }

.photo figcaption,
.photo__cap {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  max-width: calc(100% - 1.8rem);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

/* a <picture> must fill its figure */
.photo picture,
.photo picture img { display: block; width: 100%; height: 100%; }

/* --- 19. Work / portfolio ----------------------------------------------- */
.work {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.work:hover { border-color: rgba(227, 6, 19, 0.45); transform: translateY(-4px); background: var(--card-2); }

/* a portfolio card showing a photograph instead of the abstract icon */
.work__viz--photo { aspect-ratio: 16 / 10; padding: 0; background: var(--ink-2); }
.work__viz--photo picture,
.work__viz--photo picture img { display: block; width: 100%; height: 100%; }
.work__viz--photo img {
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04) brightness(1.06);
  transition: transform 0.7s var(--ease-out), filter 0.5s var(--ease);
}
.work:hover .work__viz--photo img {
  transform: scale(1.04);
  filter: saturate(1.12) contrast(1.05) brightness(1.1);
}
.work__viz--photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(227, 6, 19, 0.2), transparent);
}

.work__viz svg { width: 54px; height: 54px; stroke: rgba(255, 255, 255, 0.55); margin-inline: auto; }
.work__viz {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r);
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(227, 6, 19, 0.3), transparent 60%),
    linear-gradient(150deg, var(--ink-3), var(--ink-1));
  border: 1px solid var(--line-2);
  display: grid;
  place-content: center;
  gap: 0.5rem;
}
.work__tag {
  position: absolute;
  top: 0.7rem; left: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.75);
  border: 1px solid var(--line);
  font-family: var(--display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(6px);
}
.work h3 { font-size: 1.12rem; }
.work p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--fg-2); }

/* --- 20. Quote / testimonial -------------------------------------------- */
.quote {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--card);
}
.quote p { font-size: 1.05rem; line-height: 1.6; color: var(--fg); }
.quote footer { margin-top: 0.9rem; font-size: 0.85rem; color: var(--fg-3); }

/* --- 21. CTA band ------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid rgba(227, 6, 19, 0.35);
  background:
    radial-gradient(90% 130% at 12% 0%, rgba(227, 6, 19, 0.38), transparent 62%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  padding: clamp(1.75rem, 5vw, 3.5rem);
  text-align: center;
}
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { max-width: 56ch; margin: 1rem auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* --- 22. Breadcrumb ----------------------------------------------------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.83rem;
  color: var(--fg-3);
  padding-top: calc(var(--header-h) + 1.5rem);
}
.crumbs a:hover { color: var(--red-bright); }
.crumbs li { display: flex; gap: 0.5rem; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--fg-3); opacity: 0.5; }
.crumbs li[aria-current="page"] { color: var(--fg-2); }

/* --- 23. Page hero (inner pages) ---------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4.25rem));
  padding-bottom: clamp(2.25rem, 4.5vw, 3.75rem);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -60% -20% auto;
  height: 130%;
  z-index: -1;
  background: radial-gradient(45% 50% at 25% 40%, rgba(227, 6, 19, 0.24), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-top: 1rem; font-size: clamp(2.2rem, 5.2vw, 4rem); }
.page-hero .lead { max-width: 62ch; margin-top: 1.25rem; }

/* --- 24. Footer --------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  padding-block: clamp(2.75rem, 5vw, 4rem) 1.5rem;
  margin-top: auto;
}
.footer__grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.footer__brand { max-width: 34ch; }
.footer__brand p { margin-top: 1rem; font-size: 0.92rem; color: var(--fg-2); }
.footer h4 {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a { font-size: 0.92rem; color: var(--fg-2); transition: color 0.2s var(--ease); }
.footer__links a:hover { color: var(--red-bright); }

.footer__contact { display: grid; gap: 0.7rem; font-size: 0.92rem; color: var(--fg-2); }
.footer__contact a:hover { color: var(--red-bright); }
.footer__contact span { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 0.28rem; stroke: var(--red-bright); }

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--fg-3);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__bottom a:hover { color: var(--red-bright); }

/* --- 25. Floating WhatsApp --------------------------------------------- */
.fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 14px 36px -12px rgba(227, 6, 19, 0.85);
  transform: translateY(120%);
  transition: transform 0.45s var(--ease-out), background 0.2s var(--ease);
}
.fab.is-in { transform: none; }
.fab:hover { background: var(--red-bright); }
.fab svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .fab span { display: none; } .fab { padding: 0.85rem; } }

/* --- 26. Reveal animation ---------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .wave__bars i { animation: none; transform: scaleY(0.7); }

  /* The scrolling platform ticker is deliberately NOT frozen here. Freezing it
     stops it mid-item and hides half the list, which reads as broken. Motion
     preference is respected everywhere else on this site; this one element is
     exempt because it ships with a visible pause control (WCAG 2.2.2).
     Both declarations need !important to beat the universal rule above,
     which also carries !important. */
  .marquee__track {
    animation-duration: 42s !important;
    animation-iteration-count: infinite !important;
  }

/* --- 27. Utilities ------------------------------------------------------ */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1.5rem; }
.max-60 { max-width: 60ch; }
.max-52 { max-width: 52ch; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: initial; } }
.nowrap { white-space: nowrap; }