/* ==========================================================================
   Mojapele Productions — Broadcast Facilities
   Design system: "Trust & Authority" / Enterprise Gateway
   Palette derived from brand logo: steel blue + gold on broadcast navy.
   Token architecture: primitive → semantic → component.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Primitive: brand color scales (sampled from main logo) */
  --ink-950: #081826;
  --navy-900: #0C2234;
  --navy-800: #143349;
  --navy-700: #1D4763;
  --navy-100: #DCE6EE;
  --navy-200: #9FB3C4;

  --steel-300: #8FD0E8;
  --steel-400: #63AAC6;
  --steel-500: #3E8AAB;
  --steel-600: #23708F;
  --steel-700: #1E6382;
  --steel-800: #175068;

  --gold-300: #E3C568;
  --gold-400: #D9B64A;
  --gold-500: #C9A227;
  --gold-700: #8A6D14;

  --slate-900: #0C2234;
  --slate-700: #3D4A5C;
  --slate-500: #55657A;
  --slate-200: #DCE4EC;
  --slate-100: #EDF2F7;
  --slate-50:  #F4F7FA;

  --white: #FFFFFF;
  --red-600: #C22F2A;
  --red-400: #E4574F;

  /* Primitive: typography */
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.3125rem;
  --text-2xl: 1.625rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;

  /* Primitive: spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Primitive: radii, shadows, motion */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(8, 24, 38, 0.06);
  --shadow-md: 0 4px 10px rgba(8, 24, 38, 0.1);
  --shadow-lg: 0 12px 28px rgba(8, 24, 38, 0.14);
  --shadow-xl: 0 22px 48px rgba(8, 24, 38, 0.2);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0.05, 0.68, 0.19);
  --dur-fast: 150ms;
  --dur-base: 200ms;
  --dur-slow: 300ms;

  /* Semantic */
  --color-background: var(--white);
  --color-background-alt: var(--slate-50);
  --color-surface-dark: var(--ink-950);
  --color-surface-dark-raised: var(--navy-900);
  --color-foreground: var(--slate-900);
  --color-body: var(--slate-700);
  --color-muted-fg: var(--slate-500);
  --color-border: var(--slate-200);
  --color-primary: var(--navy-900);
  --color-on-primary: var(--white);
  --color-accent: var(--steel-700);
  --color-accent-strong: var(--steel-800);
  --color-accent-light: var(--steel-300);
  --color-gold: var(--gold-500);
  --color-gold-light: var(--gold-300);
  --color-gold-deep: var(--gold-700);
  --color-text-on-dark: var(--navy-100);
  --color-text-on-dark-muted: var(--navy-200);
  --color-destructive: var(--red-600);
  --color-ring: var(--steel-600);

  /* Component */
  --header-height: 4.5rem;
  --btn-radius: var(--radius-sm);
  --card-radius: var(--radius-lg);
  --card-border: 1px solid var(--color-border);
  --input-border: 1px solid var(--slate-200);
  --input-radius: var(--radius-sm);
  --container-max: 72.5rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-body);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 var(--space-md);
  color: var(--color-foreground);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(var(--text-3xl), 5.4vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.6vw, var(--text-4xl)); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p {
  margin: 0 0 var(--space-md);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 2px;
  border-radius: 2px;
}

.on-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--color-accent-light);
}

::selection {
  background: var(--steel-600);
  color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: var(--white);
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--dur-base) var(--ease-out);
}

.skip-link:focus {
  top: 0;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(var(--space-3xl), 9vw, var(--space-4xl));
}

.section--alt {
  background: var(--color-background-alt);
}

.section--dark {
  background: var(--color-surface-dark);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark p {
  color: var(--color-text-on-dark-muted);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(var(--space-xl), 5vw, var(--space-2xl));
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}

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

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--color-gold-light);
}

.lead {
  font-size: var(--text-lg);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--btn-radius);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  flex: none;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--color-accent-strong);
  box-shadow: var(--shadow-md);
}

.btn--ghost-dark {
  border-color: var(--navy-700);
  color: var(--color-text-on-dark);
  background: transparent;
}

.btn--ghost-dark:hover {
  border-color: var(--color-accent-light);
  color: var(--white);
  background: rgba(143, 208, 232, 0.08);
}

.btn--ghost-light {
  border-color: var(--slate-200);
  color: var(--color-foreground);
  background: transparent;
}

.btn--ghost-light:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--gold {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--ink-950);
}

.btn--gold:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-weight: 700;
  color: var(--color-accent);
}

.link-arrow svg {
  transition: transform var(--dur-fast) var(--ease-out);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 24, 38, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(143, 208, 232, 0.12);
  transition: box-shadow var(--dur-base) var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-lg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 800;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  height: 2.75rem;
  width: auto;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand__name span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(143, 208, 232, 0.25);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ink-950);
  border-bottom: 1px solid rgba(143, 208, 232, 0.15);
  box-shadow: var(--shadow-xl);
  padding: var(--space-md) clamp(1.25rem, 4vw, 2.5rem) var(--space-lg);
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.site-nav__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-on-dark);
  font-weight: 600;
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.site-nav__list a:hover {
  color: var(--white);
  background: rgba(143, 208, 232, 0.1);
  text-decoration: none;
}

.site-nav__list a[aria-current="page"] {
  color: var(--color-gold-light);
}

.site-nav__cta {
  margin-top: var(--space-md);
}

@media (min-width: 64rem) {
  .nav-toggle { display: none; }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .site-nav__list {
    flex-direction: row;
    gap: var(--space-xs);
  }

  .site-nav__list a {
    padding: 0.5rem 0.9rem;
    font-size: var(--text-sm);
  }

  .site-nav__list a[aria-current="page"] {
    position: relative;
  }

  .site-nav__list a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.1rem;
    height: 2px;
    background: var(--color-gold);
  }

  .site-nav__cta {
    margin: 0;
  }

  .site-nav__cta .btn {
    min-height: 2.75rem;
    padding: 0.6rem 1.25rem;
    font-size: var(--text-sm);
  }
}

/* --------------------------------------------------------------------------
   6. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(52rem 30rem at 82% -10%, rgba(35, 112, 143, 0.35), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(29, 71, 99, 0.5), transparent 62%),
    var(--ink-950);
  color: var(--color-text-on-dark);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 208, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 208, 232, 0.05) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: var(--space-2xl);
  padding-block: clamp(var(--space-3xl), 9vw, 6.5rem) clamp(var(--space-2xl), 7vw, var(--space-3xl));
}

.hero h1 {
  color: var(--white);
  max-width: 13em;
}

.hero h1 .u-gold {
  color: var(--color-gold-light);
}

.hero__sub {
  max-width: 34rem;
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__note {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--color-text-on-dark-muted);
}

.hero__note svg {
  color: var(--color-gold-light);
  flex: none;
}

@media (min-width: 64rem) {
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

/* Broadcast monitor frame (uses ad-logo studio image) */
.monitor {
  position: relative;
  border: 1px solid rgba(143, 208, 232, 0.28);
  border-radius: var(--radius-md);
  background: var(--navy-900);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(35, 112, 143, 0.25);
  overflow: hidden;
}

.monitor__bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid rgba(143, 208, 232, 0.18);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--color-text-on-dark-muted);
}

.monitor__tally {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #FF8B85;
  font-weight: 700;
}

.monitor__tally::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: var(--radius-full);
  background: var(--red-400);
  animation: tally-pulse 1.6s ease-in-out infinite;
}

@keyframes tally-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.monitor__timecode {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--color-accent-light);
}

.monitor__screen {
  position: relative;
  aspect-ratio: 16 / 9;
}

.monitor__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.monitor__screen::after {
  content: "";
  position: absolute;
  inset: 4.5%;
  border: 1px dashed rgba(143, 208, 232, 0.25);
  border-radius: 2px;
  pointer-events: none;
}

.monitor__label {
  position: absolute;
  right: 0.9rem;
  bottom: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  background: rgba(8, 24, 38, 0.78);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--color-gold-light);
}

/* Hero stats bar */
.stats {
  border-top: 1px solid rgba(143, 208, 232, 0.14);
  background: rgba(12, 34, 52, 0.6);
  position: relative;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  padding-block: var(--space-xl);
}

.stat {
  border-left: 2px solid var(--color-gold);
  padding-left: var(--space-md);
}

.stat__value {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat__value .u-gold {
  color: var(--color-gold-light);
}

.stat__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
}

@media (min-width: 48rem) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   7. Spec strip (capability badges)
   -------------------------------------------------------------------------- */
.spec-strip {
  border-block: 1px solid var(--color-border);
  background: var(--color-background);
  padding-block: var(--space-lg);
}

.spec-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-lg);
}

.spec-strip__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-muted-fg);
  white-space: nowrap;
}

.spec-strip__list li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  background: var(--color-gold);
  transform: rotate(45deg);
  flex: none;
}

/* --------------------------------------------------------------------------
   8. Cards — services, cases, values
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: var(--color-background);
  border: var(--card-border);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-card h3 {
  margin-bottom: var(--space-xs);
}

.service-card p {
  margin: 0;
  font-size: var(--text-sm);
}

.service-card .link-arrow {
  margin-top: auto;
  font-size: var(--text-sm);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, var(--navy-800), var(--ink-950));
  color: var(--color-accent-light);
  border: 1px solid var(--navy-700);
  flex: none;
}

.service-card--cta {
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(160deg, var(--navy-900), var(--ink-950));
  border: 1px solid var(--navy-700);
  border-top: 3px solid var(--color-gold);
}

.service-card--cta h3 {
  color: var(--white);
}

.service-card--cta p {
  color: var(--color-text-on-dark-muted);
}

/* Case study cards */
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--color-background);
  border: var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.case-card__media {
  position: relative;
  aspect-ratio: 16 / 8.5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(143, 208, 232, 0.85);
  background:
    linear-gradient(150deg, rgba(35, 112, 143, 0.55), transparent 65%),
    repeating-linear-gradient(90deg, rgba(143, 208, 232, 0.07) 0 1px, transparent 1px 1.4rem),
    var(--navy-900);
}

.case-card__media--gold {
  background:
    linear-gradient(150deg, rgba(201, 162, 39, 0.4), transparent 65%),
    repeating-linear-gradient(90deg, rgba(227, 197, 104, 0.08) 0 1px, transparent 1px 1.4rem),
    var(--navy-900);
  color: var(--color-gold-light);
}

.case-card__media svg {
  width: 3.5rem;
  height: 3.5rem;
  opacity: 0.9;
}

.case-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Camera-plan illustrations: full-bleed technical line art instead of a single icon */
.case-card__media--plan svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.case-card__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(8, 24, 38, 0.82);
  border: 1px solid rgba(143, 208, 232, 0.3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-light);
}

.case-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  flex: 1;
}

.case-card__body h3 {
  margin: 0;
  font-size: var(--text-lg);
}

.case-card__body p {
  margin: 0;
  font-size: var(--text-sm);
  flex: 1;
}

.case-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-lg);
  padding-top: var(--space-sm);
  border-top: 1px dashed var(--color-border);
}

.case-card__metrics span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--color-muted-fg);
}

.case-card__metrics strong {
  color: var(--color-foreground);
  font-weight: 700;
}

/* Value / pillar cards */
.value-card {
  padding: var(--space-xl);
  border: var(--card-border);
  border-radius: var(--card-radius);
  background: var(--color-background);
  box-shadow: var(--shadow-sm);
}

.value-card h3 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--text-lg);
}

.value-card h3 svg {
  color: var(--color-accent);
  flex: none;
}

.value-card p {
  margin: 0;
  font-size: var(--text-sm);
}

/* Numbered pillars (why us) */
.pillars {
  display: grid;
  gap: var(--space-lg);
  counter-reset: pillar;
}

.pillar {
  position: relative;
  padding-left: 3.5rem;
  counter-increment: pillar;
}

.pillar::before {
  content: counter(pillar, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-gold-light);
}

.pillar h3 {
  color: var(--white);
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.pillar p {
  margin: 0;
  font-size: var(--text-sm);
}

/* --------------------------------------------------------------------------
   9. Split sections & brand imagery
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 64rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
}

.media-frame {
  border: 1px solid var(--navy-700);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--ink-950);
}

.media-frame img {
  width: 100%;
  height: auto;
}

.media-frame figcaption {
  padding: 0.7rem 1rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
  border-top: 1px solid rgba(143, 208, 232, 0.15);
}

.logo-panel {
  display: grid;
  place-items: center;
  padding: var(--space-2xl);
  background:
    radial-gradient(24rem 16rem at 50% 40%, rgba(35, 112, 143, 0.3), transparent 70%),
    var(--ink-950);
  border-radius: var(--card-radius);
  border: 1px solid var(--navy-700);
  box-shadow: var(--shadow-lg);
}

.logo-panel img {
  max-width: min(20rem, 70%);
  height: auto;
}

.checklist {
  display: grid;
  gap: var(--space-sm);
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: var(--text-sm);
}

.checklist svg {
  color: var(--color-accent);
  flex: none;
  margin-top: 0.15rem;
}

.section--dark .checklist li {
  color: var(--color-text-on-dark-muted);
}

.section--dark .checklist svg {
  color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   10. Platform strip (streaming logos)
   -------------------------------------------------------------------------- */
.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg) var(--space-2xl);
}

.platforms li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-muted-fg);
  font-weight: 700;
  font-size: var(--text-sm);
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}

.platforms li:hover {
  filter: grayscale(0);
  opacity: 1;
}

.platforms img {
  height: 1.75rem;
  width: auto;
}

/* --------------------------------------------------------------------------
   11. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(40rem 20rem at 85% 20%, rgba(201, 162, 39, 0.16), transparent 65%),
    linear-gradient(160deg, var(--navy-900), var(--ink-950));
  border-block: 1px solid var(--navy-700);
}

.cta-band__inner {
  display: grid;
  gap: var(--space-lg);
  padding-block: clamp(var(--space-2xl), 7vw, var(--space-3xl));
  align-items: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.cta-band p {
  margin: 0;
  color: var(--color-text-on-dark-muted);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

@media (min-width: 64rem) {
  .cta-band__inner {
    grid-template-columns: 1fr auto;
  }
}

/* --------------------------------------------------------------------------
   12. Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(45rem 22rem at 90% -20%, rgba(35, 112, 143, 0.4), transparent 62%),
    var(--ink-950);
  color: var(--color-text-on-dark);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 208, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 208, 232, 0.045) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  mask-image: radial-gradient(ellipse 80% 100% at 70% 0%, black 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 70% 0%, black 25%, transparent 70%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  padding-block: clamp(var(--space-2xl), 8vw, var(--space-3xl));
  max-width: 50rem;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  margin: 0;
  font-size: var(--text-lg);
  color: var(--color-text-on-dark-muted);
  max-width: 38rem;
}

/* --------------------------------------------------------------------------
   13. Services page
   -------------------------------------------------------------------------- */
.subnav {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.subnav__list {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  padding-block: 0.6rem;
  scrollbar-width: none;
}

.subnav__list::-webkit-scrollbar { display: none; }

.subnav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-body);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.subnav__list a:hover {
  text-decoration: none;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.subnav__list a.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.service-detail {
  scroll-margin-top: calc(var(--header-height) + 4.5rem);
}

.service-detail + .service-detail {
  border-top: 1px solid var(--color-border);
}

.service-detail__head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.service-detail__head h2 {
  margin-bottom: var(--space-xs);
}

.service-detail__kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
}

.spec-panel {
  padding: var(--space-xl);
  border: var(--card-border);
  border-left: 3px solid var(--color-gold);
  border-radius: var(--card-radius);
  background: var(--color-background-alt);
}

.spec-panel h3 {
  font-size: var(--text-sm);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  margin-bottom: var(--space-md);
}

.spec-panel .checklist li {
  font-size: var(--text-sm);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-block: var(--space-md) var(--space-lg);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-background);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-body);
}

/* Featured rental kit spotlight (dark panel, product photography) */
.featured-kit {
  display: grid;
  margin-top: var(--space-2xl);
  background:
    radial-gradient(30rem 18rem at 15% 20%, rgba(35, 112, 143, 0.25), transparent 65%),
    var(--ink-950);
  border: 1px solid var(--navy-700);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.featured-kit__media {
  display: grid;
  place-items: center;
  background: #000;
  min-height: 14rem;
  border-bottom: 1px solid var(--navy-700);
}

.featured-kit__media img {
  width: 100%;
  height: 100%;
  max-height: 26rem;
  object-fit: contain;
}

/* Real photography (not product-on-black): fill and crop instead of letterbox */
.featured-kit__media--cover {
  position: relative;
  min-height: 16rem;
}

.featured-kit__media--cover img {
  position: absolute;
  inset: 0;
  max-height: none;
  object-fit: cover;
  object-position: center 30%;
}

.featured-kit__body {
  padding: clamp(var(--space-lg), 3vw, var(--space-xl));
}

.featured-kit__kicker {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-sm);
}

.featured-kit__body h3 {
  color: var(--white);
}

.featured-kit__body p {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark-muted);
}

.featured-kit .chip-row {
  margin-bottom: 0;
}

.featured-kit .chip {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--color-text-on-dark);
}

@media (min-width: 64rem) {
  .featured-kit {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .featured-kit__media {
    border-bottom: 0;
    border-right: 1px solid var(--navy-700);
  }

  .featured-kit--flip {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .featured-kit--flip .featured-kit__media {
    order: 2;
    border-right: 0;
    border-left: 1px solid var(--navy-700);
  }
}

/* Compact rental inventory cards (scales as the fleet grows) */
.kit-grid-title {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted-fg);
  text-align: center;
}

.kit-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, min(100%, 22rem));
  justify-content: center;
}

.kit-card {
  display: flex;
  flex-direction: column;
  background: var(--color-background);
  border: var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.kit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.kit-card__thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: #000;
}

.kit-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Real photography in thumbs: fill and crop instead of letterbox,
   pinned absolutely so portrait images can't stretch the 16:9 thumb */
.kit-card__thumb--photo {
  position: relative;
}

.kit-card__thumb--photo img {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.kit-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-lg);
}

.kit-card__body h4 {
  margin: 0;
  font-size: var(--text-base);
}

.kit-card__body p {
  margin: 0;
  font-size: var(--text-sm);
}

.kit-card .chip-row {
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. Work page — filters & quotes
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-background);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-body);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.filter-btn:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.filter-btn[aria-pressed="true"] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.case-card.is-hidden {
  display: none;
}

.quote-card {
  padding: var(--space-xl);
  border-radius: var(--card-radius);
  background: var(--color-surface-dark-raised);
  border: 1px solid var(--navy-700);
}

.quote-card blockquote {
  margin: 0 0 var(--space-md);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}

.quote-card blockquote::before {
  content: "\201C";
  display: block;
  font-size: var(--text-4xl);
  line-height: 0.6;
  color: var(--color-gold-light);
  margin-bottom: var(--space-sm);
}

.quote-card figcaption {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-on-dark-muted);
}

/* --------------------------------------------------------------------------
   15. Contact page & forms
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 64rem) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.contact-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  background: var(--color-background);
  box-shadow: var(--shadow-sm);
}

.contact-card + .contact-card {
  margin-top: var(--space-md);
}

.contact-card h3 {
  font-size: var(--text-base);
  margin-bottom: 0.15rem;
}

.contact-card p {
  margin: 0;
  font-size: var(--text-sm);
}

.contact-card a {
  font-weight: 700;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  font-size: var(--text-sm);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--navy-900);
  color: var(--color-gold-light);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
}

.steps strong {
  color: var(--color-foreground);
}

.quote-form {
  padding: clamp(var(--space-lg), 4vw, var(--space-xl));
  border: var(--card-border);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--card-radius);
  background: var(--color-background);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 40rem) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-field--full { grid-column: 1 / -1; }
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-foreground);
}

.form-field .req {
  color: var(--color-destructive);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: var(--input-border);
  border-radius: var(--input-radius);
  background: var(--color-background);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-foreground);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.form-field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(35, 112, 143, 0.22);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--color-destructive);
}

.form-field .field-error {
  display: none;
  margin-top: 0.35rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-destructive);
}

.form-field.has-error .field-error {
  display: block;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-muted-fg);
  margin-top: 0.35rem;
}

.form-status {
  display: none;
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
}

.form-status.is-success {
  display: block;
  background: #EAF5EC;
  border: 1px solid #BBDCC3;
  color: #1E5E2E;
}

.form-status.is-error {
  display: block;
  background: #FBECEB;
  border: 1px solid #EFC2BF;
  color: var(--color-destructive);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-950);
  color: var(--color-text-on-dark-muted);
  border-top: 1px solid var(--navy-700);
  font-size: var(--text-sm);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-2xl);
  padding-block: var(--space-3xl) var(--space-2xl);
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: var(--space-xl);
  }
}

.site-footer__brand img {
  height: 3.5rem;
  width: auto;
  margin-bottom: var(--space-md);
}

.site-footer__brand p {
  margin: 0;
  max-width: 26ch;
}

.site-footer h3 {
  color: var(--white);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.site-footer ul {
  display: grid;
  gap: 0.35rem;
}

.site-footer ul a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--color-text-on-dark-muted);
  transition: color var(--dur-fast) var(--ease-out);
}

.site-footer ul a:hover {
  color: var(--color-gold-light);
  text-decoration: none;
}

.site-footer address {
  font-style: normal;
  line-height: 1.8;
}

.site-footer address a {
  color: var(--color-text-on-dark);
  font-weight: 600;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  justify-content: space-between;
  padding-block: var(--space-lg);
  border-top: 1px solid rgba(143, 208, 232, 0.12);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
}

.onair-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(228, 87, 79, 0.5);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #FF9B95;
}

.onair-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--red-400);
  animation: tally-pulse 1.6s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   17. Motion / reveal states
   Elements are fully visible by default (no-JS and reduced-motion safe).
   js/main.js sets initial hidden states only when animation is permitted.
   -------------------------------------------------------------------------- */
[data-reveal],
[data-reveal-group] > * {
  will-change: auto;
}

/* --------------------------------------------------------------------------
   18. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
