/* Sebenza Online — Lynx dark design system */

/* ─── Shimmer @property ─────────────────────────────────────────────────── */
@property --sb-shimmer-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes sebenza-btn-shimmer-lap {
  0%   { --sb-shimmer-angle: 0deg;   opacity: 0; }
  5%   { opacity: 1; }
  62%  { --sb-shimmer-angle: 233deg; opacity: 1; }
  90%  { --sb-shimmer-angle: 360deg; opacity: 0; }
  100% { --sb-shimmer-angle: 360deg; opacity: 0; }
}

/* ─── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --color-bg:          #0a0a0a;
  --color-surface:     #111114;
  --color-surface-2:   #18181c;
  --color-border:      rgba(255, 255, 255, 0.10);
  --color-border-soft: rgba(255, 255, 255, 0.06);

  --color-text:   #ffffff;
  --color-text-2: rgba(255, 255, 255, 0.60);
  --color-text-3: rgba(255, 255, 255, 0.40);

  /* Brand accent palette */
  --brand-indigo: #7500F9;
  --brand-orange: #F18F01;
  --brand-green:  #00FF48;

  /* Electric indigo ramp */
  --sb-300: #b985ff;
  --sb-400: #9b4dff;
  --sb-500: var(--brand-indigo);
  --sb-600: #5b00c2;

  /* Layout */
  --max-width:     1600px;
  --header-height: 68px;
  --radius:        0.5rem;
  --radius-lg:     0.875rem;
  --radius-full:   9999px;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;

  --font:        "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.40), 0 4px 16px rgba(0, 0, 0, 0.32);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sb-400); text-decoration: none; }
a:hover { color: var(--sb-300); }

main { flex: 1; }

/* ─── Aurora mesh — 7 blurred ellipses, bottom-left ────────────────────── */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.aurora__layer { position: absolute; will-change: filter; }

.aurora__l1 {
  bottom: 0; left: 0;
  width: clamp(560px, 62vw, 960px); height: clamp(300px, 38vh, 580px);
  transform: translate(-38%, 52%);
  background: radial-gradient(ellipse at center,
    rgba(30, 64, 255, 1.00) 0%, rgba(30, 64, 255, 0.90) 26%,
    rgba(37, 99, 235, 0.52) 42%, rgba(37, 99, 235, 0) 58%);
  filter: blur(38px);
}
.aurora__l2 {
  bottom: 0; left: clamp(100px, 11vw, 210px);
  width: clamp(560px, 60vw, 940px); height: clamp(110px, 12vh, 170px);
  transform: translateY(62%);
  background: radial-gradient(ellipse at center,
    rgba(0, 163, 255, 0.86) 0%, rgba(0, 118, 255, 0.70) 28%,
    rgba(0, 118, 255, 0.34) 42%, rgba(0, 118, 255, 0) 56%);
  filter: blur(34px);
}
.aurora__l3 {
  bottom: clamp(0px, 1vh, 24px); left: 0;
  width: clamp(150px, 16vw, 250px); height: clamp(460px, 58vh, 780px);
  transform: translate(-48%, 12%);
  background: radial-gradient(ellipse at center,
    rgba(0, 118, 255, 0.96) 0%, rgba(37, 99, 235, 0.82) 30%,
    rgba(59, 130, 246, 0.44) 48%, rgba(59, 130, 246, 0) 64%);
  filter: blur(34px);
}
.aurora__l4 {
  bottom: 0; left: 0;
  width: clamp(360px, 42vw, 680px); height: clamp(170px, 24vh, 360px);
  transform: translate(-28%, 48%);
  background: radial-gradient(ellipse at center,
    rgba(255, 38, 170, 0.98) 0%, rgba(236, 72, 153, 0.88) 28%,
    rgba(217, 70, 239, 0.46) 40%, rgba(217, 70, 239, 0) 54%);
  filter: blur(28px);
}
.aurora__l5 {
  bottom: clamp(0px, 1vh, 28px); left: 0;
  width: clamp(150px, 18vw, 270px); height: clamp(220px, 30vh, 420px);
  transform: translate(-36%, 12%);
  background: radial-gradient(ellipse at center,
    rgba(244, 63, 94, 0.92) 0%, rgba(236, 72, 153, 0.78) 30%,
    rgba(236, 72, 153, 0.34) 42%, rgba(236, 72, 153, 0) 54%);
  filter: blur(26px);
}
.aurora__l6 {
  bottom: 0; left: clamp(16px, 3vw, 72px);
  width: clamp(480px, 54vw, 860px); height: clamp(130px, 17vh, 250px);
  transform: translateY(56%);
  background: radial-gradient(ellipse at center,
    rgba(0, 183, 255, 0.88) 0%, rgba(37, 99, 235, 0.72) 34%,
    rgba(124, 58, 237, 0.34) 48%, rgba(124, 58, 237, 0) 62%);
  filter: blur(32px);
}
.aurora__l7 {
  bottom: 0; left: 0;
  width: clamp(220px, 26vw, 390px); height: clamp(220px, 26vw, 390px);
  transform: translate(-34%, 48%);
  background: radial-gradient(circle at center,
    rgba(255, 0, 153, 1.00) 0%, rgba(236, 72, 153, 0.94) 30%,
    rgba(168, 85, 247, 0.48) 40%, rgba(168, 85, 247, 0) 52%);
  filter: blur(24px);
}

/* ─── Site header — glass morphism ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible; /* allow notch to drop below header edge */
  isolation: isolate;
}

/* Frosted layer — one consistent fade from top to bottom */
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100% + 44px);
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(6, 6, 10, 0.52) 0%,
    rgba(6, 6, 10, 0) 100%
  );
  backdrop-filter: blur(28px) saturate(1.8) brightness(1.06);
  -webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.06);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

/* ── Mobile header layout ── */
.site-header__mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 0 var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Mobile logo — white pill wrapping the off-black wordmark image */
.site-logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 0.28rem 0.9rem;
  text-decoration: none;
  flex-shrink: 0;
  /* Subtle shadow so it lifts off the glass header */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.40);
  transition: box-shadow 0.2s ease;
}
.site-logo-pill:hover {
  text-decoration: none;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.52);
}
.site-logo-pill img {
  height: 20px;
  width: auto;
  display: block;
}

/* Light-mode override: dark pill + light logo */
[data-theme="light"] .site-logo-pill {
  background: #111114;
}

/* ── Legacy text logo (unused, kept for reference) */
.site-logo-text {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.025em;
  color: #fff;
  text-decoration: none;
}
.site-logo-text:hover { color: #fff; text-decoration: none; }
.site-logo-text .logo-dot { color: var(--sb-500); font-style: normal; }

/* Hamburger */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: #fff;
  position: relative;
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after  { top:  6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { top: 0; transform: rotate( 45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after  { top: 0; transform: rotate(-45deg); }

/* Mobile dropdown */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) var(--space-md) var(--space-md);
  z-index: 99;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav a {
  display: block;
  padding: var(--space-sm) 0;
  color: var(--color-text-2);
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--color-border-soft);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] { color: #fff; }

/* ── Desktop header layout ── */
.site-header__desktop {
  display: none;
}

@media (min-width: 768px) {
  .site-header__mobile { display: none; }

  .site-header__desktop {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    height: 100%;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    overflow: visible; /* allow notch curves to bleed outside grid cell */
  }

  /* Left nav */
  .site-nav--left {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: var(--space-lg);
  }

  /* Right nav */
  .site-nav--right {
    display: flex;
    align-items: center;
    padding-left: var(--space-lg);
  }

  .site-nav--left ul,
  .site-nav--right ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }

  .site-nav--left a,
  .site-nav--right a {
    color: var(--color-text-2);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
  }
  .site-nav--left a:hover,
  .site-nav--right a:hover,
  .site-nav--left a[aria-current="page"],
  .site-nav--right a[aria-current="page"] { color: #fff; }

  /* ── The notch ── */
  .site-logo-notch-wrap {
    display: flex;
    justify-content: center;
    /* align-items: flex-start lets the notch hang from the top without
       stretching to the full header height */
    align-items: flex-start;
    overflow: visible;
  }

  /*
    Dark mode (default): white notch → dark logo image
    Light mode toggle: add [data-theme="light"] on <html> to invert
  */
  .site-logo-notch {
    --notch-bg: #ffffff;
    --notch-curve: 18px; /* radius of the outward corner curves */

    position: relative;      /* anchor for the ::before / ::after curves */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--notch-bg);
    text-decoration: none;
    /* Vertical padding controls notch height — tighter than full header */
    padding: 0.35rem 1.25rem 0.55rem;
    border-radius: 0 0 18px 18px;   /* flat top, rounded bottom only */
    box-shadow:
      0 6px 28px rgba(0, 0, 0, 0.50),
      0 2px 8px  rgba(0, 0, 0, 0.30);
    transition: box-shadow 0.2s ease;
  }
  .site-logo-notch:hover {
    text-decoration: none;
    box-shadow:
      0 8px 36px rgba(0, 0, 0, 0.60),
      0 2px 10px rgba(0, 0, 0, 0.35);
  }

  /*
    iPhone notch wings — SVG paths in HTML (see site-logo-notch__wing).
    Each wing is a white square with an evenodd SVG cut-out at the inner
    top corner, so the curve removes white instead of bulging outward.
  */
  .site-logo-notch__wing {
    position: absolute;
    top: 0;
    width: var(--notch-curve);
    height: var(--notch-curve);
    pointer-events: none;
    color: var(--notch-bg);
    display: block;
    transform: rotate(180deg);
    transform-origin: center;
  }
  .site-logo-notch__wing--left  { right: 100%; }
  .site-logo-notch__wing--right { left: 100%; }

  /* Logo image inside the notch */
  .site-logo-notch__img {
    height: 32px;
    width: auto;
    display: block;
  }

  /* Light-mode: invert notch to dark, swap to off-white logo */
  [data-theme="light"] .site-logo-notch {
    --notch-bg: #111114;
  }
  [data-theme="light"] .site-logo-notch__img {
    /* Swapped via JS when theme toggles; CSS fallback uses filter */
    filter: brightness(0) invert(1);
  }
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  border: none;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
              background 0.2s ease, border-color 0.2s ease, color 0.15s ease;
}

/* Purple/pink neon ring rectangle — primary CTA */
.btn--ring {
  position: relative;
  padding: 1rem 2.5rem;
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    radial-gradient(120% 160% at 50% 100%, rgba(232, 121, 249, 0.14), transparent 54%),
    rgba(10, 8, 14, 0.88);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -18px 38px rgba(232, 121, 249, 0.08),
    0 0 22px -8px rgba(232, 121, 249, 0.86),
    0 0 48px -20px rgba(117, 0, 249, 0.9);
  transform: scale(1);
  isolation: isolate;
}
.btn--ring:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand-indigo) 70%, #fff);
  outline-offset: 3px;
}
/* Gradient ring — mask technique */
.btn--ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    135deg,
    #ff4fd8 0%,
    #b985ff 38%,
    var(--brand-indigo) 62%,
    #ff4fd8 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
/* Outer halo */
.btn--ring::after {
  content: "";
  position: absolute;
  inset: -0.75rem;
  border-radius: inherit;
  background: radial-gradient(
    60% 60% at 50% 50%,
    rgba(255, 79, 216, 0.42) 0%,
    rgba(117, 0, 249, 0.28) 45%,
    transparent 75%
  );
  filter: blur(8px);
  opacity: 0.9;
  z-index: -1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.btn--ring:hover              { transform: scale(1.02); color: #fff; text-decoration: none; }
.btn--ring:hover::after       { opacity: 1; }
.btn--ring:active             { transform: scale(0.99); }

/* Comet shimmer */
.btn--ring .btn__shimmer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
}
.btn--ring:hover .btn__shimmer,
.btn--ring:focus-visible .btn__shimmer {
  background: conic-gradient(
    from var(--sb-shimmer-angle) at 50% 50%,
    transparent 0deg, transparent 285deg,
    rgba(255,255,255,0.15) 310deg, rgba(255,255,255,0.55) 330deg,
    rgba(255,255,255,0.85) 350deg, rgba(255,255,255,0.55) 355deg,
    rgba(255,255,255,0.15) 358deg, transparent 360deg
  );
  animation: sebenza-btn-shimmer-lap 3s linear forwards;
}

/* Ghost secondary */
.btn--ghost {
  padding: 1rem 2.25rem;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-2);
  border: 1px solid var(--color-border);
  font-size: 1rem;
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.30); color: #fff; text-decoration: none; }
.btn--ghost:focus-visible { outline: 2px solid rgba(232,121,249,0.6); outline-offset: 2px; }

/* Small ghost for forms */
.btn--sm { padding: 0.75rem 1.5rem; font-size: 0.9375rem; }

@media (prefers-reduced-motion: reduce) {
  .btn--ring .btn__shimmer { display: none; }
  .btn--ring,
  .btn--ghost { transition: none; }
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
@media (min-width: 768px) { .container { padding: 0 var(--space-lg); } }

/* ─── Hero (home page) ───────────────────────────────────────────────────── */

/*
  Sticky-scroll pattern:
  .hero        = tall outer container that creates the scroll distance
  .hero__pin   = position:sticky inner that stays in view while .hero scrolls
  GSAP scrubs  = only animates values, zero layout involvement
*/
.hero {
  position: relative;
  isolation: isolate;
}

@media (min-width: 768px) {
  /* 350vh = 250vh of real scroll distance (hero.height - 100vh).
     Snap point 0.3 hits at ~75vh → video revealed quickly.
     Snap point 1 hits at ~250vh → user must intentionally scroll out. */
  .hero { height: 350vh; }
}

.hero__pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100svh;
  overflow: hidden;
  padding:
    calc(var(--header-height) + clamp(2.75rem, 10vh, 6rem))
    var(--space-md)
    var(--space-lg);
}

@media (min-width: 768px) {
  .hero__pin {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: unset;
  }
}

/* Content layer — always on top */
.hero__content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  width: 100%;
  padding: 0 var(--space-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .hero__content {
    padding: 0 var(--space-lg);
  }
}

.hero__heading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.625rem, 2vw, 2rem);
  width: 100%;
}

.hero__icon {
  width: clamp(40px, 6.5vw, 96px);
  height: auto;
  flex-shrink: 0;
  display: block;
}
.hero__icon--right { transform: scaleX(-1); }

.hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw + 0.75rem, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  text-wrap: balance;
  flex: 1 1 auto;
  min-width: 0;
}

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

/* Video stage — mobile: below content in normal flow */
.hero__video-stage {
  position: relative;
  z-index: 9;
  width: 100%;
  margin-top: var(--space-xl);
  display: flex;
  justify-content: center;
}

.hero__video-frame {
  width: 100%;
  max-width: clamp(280px, 88vw, 720px);
}

/* Desktop: absolutely centred, hidden until GSAP animates it in */
@media (min-width: 768px) {
  .hero__video-stage {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    width: calc(100% - var(--space-xl));
    max-width: clamp(680px, 80vw, 1060px);
    /* GSAP sets xPercent/yPercent/scale/autoAlpha from JS */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .hero__video-stage .hero__video-frame {
    max-width: 100%;
  }
  /* Once video is visible, restore pointer events so it can be clicked */
  .hero__video-stage.is-visible {
    pointer-events: auto;
    z-index: 20;
  }
}

/* Reduced motion — skip everything, show statically */
@media (prefers-reduced-motion: reduce) {
  .hero       { height: auto; }
  .hero__pin  { position: relative; height: auto; min-height: auto; padding-bottom: var(--space-xl); }
  .hero__video-stage {
    position: relative !important;
    top: auto !important; left: auto !important;
    transform: none !important;
    opacity: 1 !important; visibility: visible !important;
    pointer-events: auto !important;
    max-width: clamp(640px, 88vw, 900px);
    margin-top: var(--space-xl);
  }
}

/* ─── Custom play / pause button ─────────────────────────────────────────── */
.hero__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  z-index: 5;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.3s ease;
}

.hero__play-overlay:hover {
  background: rgba(0, 0, 0, 0.18);
}

.hero__play-overlay:focus-visible {
  outline: 2px solid rgba(232, 121, 249, 0.7);
  outline-offset: -3px;
}

.hero__play-button {
  width:  clamp(64px, 7.5vw, 92px);
  height: clamp(64px, 7.5vw, 92px);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.55),
    0 0 0 8px rgba(255, 255, 255, 0.10);
  transition:
    transform 0.25s ease,
    opacity   0.3s  ease,
    box-shadow 0.3s ease;
}

.hero__play-overlay:hover .hero__play-button {
  transform: scale(1.06);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.6),
    0 0 0 10px rgba(255, 255, 255, 0.15);
}

.hero__play-button svg {
  width: 38%;
  height: 38%;
  display: block;
}
.hero__play-icon  { margin-left: 8%; }   /* visually centre the triangle */
.hero__pause-icon { display: none; }

/* Playing state — button auto-hides, returns on hover for pausing */
.hero__play-overlay.is-playing .hero__play-icon  { display: none; }
.hero__play-overlay.is-playing .hero__pause-icon { display: block; }

.hero__play-overlay.is-playing .hero__play-button {
  opacity: 0;
  transform: scale(0.85);
}
.hero__play-overlay.is-playing:hover .hero__play-button,
.hero__play-overlay.is-playing:focus-visible .hero__play-button {
  opacity: 1;
  transform: scale(1);
}

.hero__mute-button {
  position: absolute;
  top: calc(50% + clamp(48px, 5.8vw, 68px));
  left: 50%;
  z-index: 6;
  transform: translate(-50%, 0.5rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-full);
  background: rgba(10, 10, 10, 0.58);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  color: #fff;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.hero__play-overlay.is-playing + .hero__mute-button {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.hero__mute-button:hover,
.hero__mute-button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
  outline: none;
}

.hero__mute-button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.92);
  color: #0a0a0a;
}

/* Card / value icons */
.card__icon,
.value-card__icon {
  width: clamp(44px, 5vw, 56px);
  height: auto;
  display: block;
  margin-bottom: var(--space-sm);
}

/* ─── Page hero (inner pages) ────────────────────────────────────────────── */
.page-hero {
  position: relative;
  z-index: 10;
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-lg);
  border-bottom: 1px solid var(--color-border-soft);
  text-align: center;
}
.page-hero h1 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(2rem, 3.5vw + 0.75rem, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  text-wrap: balance;
}
.page-hero p {
  margin: 0 auto;
  color: var(--color-text-2);
  max-width: 52ch;
  font-size: 1.0625rem;
}

/* ─── Video frame (Vimeo / YouTube embeds) ──────────────────────────────── */
.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(192, 132, 252, 0.45) 0%,
    rgba(168,  85, 247, 0.30) 28%,
    rgba(236,  72, 153, 0.30) 60%,
    rgba(244,  63,  94, 0.45) 100%
  );
  box-shadow:
    0 0 36px  -6px rgba(217,  70, 239, 0.30),
    0 0 64px -16px rgba(124,  58, 237, 0.30),
    0 18px 50px -20px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}
.video-frame__inner {
  position: relative;
  border-radius: calc(var(--radius-lg) - 1px);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-frame__inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 10;
  padding: var(--space-xl) 0;
}
.section__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sb-400);
  margin: 0 0 var(--space-sm);
}
.section__title {
  margin: 0 0 var(--space-xs);
  font-size: clamp(1.5rem, 2vw + 0.75rem, 2.125rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
}
.section__intro {
  margin: 0 0 var(--space-lg);
  color: var(--color-text-2);
  max-width: 52ch;
  font-size: 1rem;
}

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

/* ─── Client logos ──────────────────────────────────────────────────────── */
.client-logos {
  position: relative;
  z-index: 10;
  padding: 0 0 var(--space-xl);
}

.client-logos .section__label {
  text-align: center;
  margin-bottom: var(--space-md);
}

.client-logos__marquee {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.client-logos__rail {
  display: flex;
  width: max-content;
  animation: client-logo-marquee 34s linear infinite;
}

.client-logos__marquee:hover .client-logos__rail {
  animation-play-state: paused;
}

.client-logos__set {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 1.5rem);
  padding-right: clamp(0.5rem, 1.6vw, 1.5rem);
}

.client-logo {
  min-width: clamp(17rem, 30vw, 26rem);
  min-height: clamp(7rem, 11vw, 10rem);
  display: grid;
  place-items: center;
  padding: 0.5rem 0;
  opacity: 0.68;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    filter 0.22s ease;
}

.client-logo:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 0 18px rgba(124, 58, 237, 0.18));
}

.client-logo__img {
  display: block;
  max-width: min(28rem, 100%);
  max-height: 7.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-logo__img--dark { display: none; }

[data-theme="light"] .client-logo__img--light { display: none; }
[data-theme="light"] .client-logo__img--dark  { display: block; }

@keyframes client-logo-marquee {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@media (max-width: 640px) {
  .client-logos__marquee {
    padding: 0.25rem 0;
    mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  }

  .client-logo {
    min-width: 16rem;
    min-height: 6.5rem;
    padding: 0.25rem 0;
  }

  .client-logo__img {
    max-width: 16rem;
    max-height: 5.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-logos__rail {
    animation: none;
    transform: none;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
  }

  .client-logos__rail::-webkit-scrollbar {
    display: none;
  }
}

/* ─── Homepage service cards ────────────────────────────────────────────── */
.service-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  perspective: 1200px;
}

@media (min-width: 960px) {
  .service-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg);
  }
}

.service-card {
  --card-accent: var(--sb-500);
  --card-accent-2: var(--brand-orange);

  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: calc(var(--radius-lg) + 0.25rem);
  padding: clamp(1.15rem, 2vw, 1.55rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.028) 46%, rgba(255, 255, 255, 0.05)),
    rgba(7, 7, 11, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 18px 54px -34px rgba(0, 0, 0, 0.86);
  transform-style: preserve-3d;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 0%, color-mix(in srgb, var(--card-accent) 72%, transparent) 42%, color-mix(in srgb, var(--card-accent-2) 70%, transparent) 72%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 46%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--card-accent) 24%, transparent) 0%, transparent 70%);
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 26px 70px -36px color-mix(in srgb, var(--card-accent) 34%, #000);
}

.service-card:hover::before { opacity: 1; }

.service-card--web {
  --card-accent: var(--brand-indigo);
  --card-accent-2: var(--brand-indigo);
}

.service-card--paid {
  --card-accent: var(--brand-orange);
  --card-accent-2: var(--brand-orange);
}

.service-card--social {
  --card-accent: var(--brand-green);
  --card-accent-2: var(--brand-green);
}

.service-card__media,
.service-card__body,
.service-card__cta {
  position: relative;
  z-index: 1;
}

.service-card__media {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.service-card__index {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.11);
}

.service-card__icon {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  opacity: 0;
  transform: translateY(0.35rem) scale(0.82);
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--card-accent) 34%, transparent));
  transition:
    opacity 0.24s ease,
    transform 0.24s ease,
    filter 0.24s ease;
}

.service-card:hover .service-card__icon,
.service-card:focus-within .service-card__icon {
  opacity: 0.95;
  transform: translateY(0) scale(1);
}

.service-card__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--card-accent) 68%, #fff);
}

.service-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 1.3vw + 0.9rem, 1.75rem);
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.service-card__hook {
  margin: 1rem 0 1.15rem;
  color: var(--color-text-2);
  font-size: 0.96rem;
  line-height: 1.58;
}

.service-card__list {
  display: grid;
  gap: 0.62rem;
  margin: 0 0 var(--space-md);
  padding: 0;
  list-style: none;
  color: var(--color-text-3);
  font-size: 0.9rem;
  line-height: 1.35;
}

.service-card__list li {
  position: relative;
  padding-left: 1.2rem;
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--card-accent), var(--card-accent-2));
  box-shadow: 0 0 14px color-mix(in srgb, var(--card-accent) 44%, transparent);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-top: auto;
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 650;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.045);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.service-card__cta::after {
  content: "➜";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--card-accent), var(--card-accent-2));
  color: #fff;
  font-size: 0.78rem;
  line-height: 0;
  text-indent: 0.02em;
  transition: transform 0.2s ease;
}

.service-card__cta:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.service-card__cta:hover::after {
  transform: translateX(2px);
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .card-grid           { gap: var(--space-lg); }
  .card-grid--3        { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}
.card:hover { border-color: var(--color-border); }

.card h3 {
  margin: 0 0 var(--space-sm);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}
.card p {
  margin: 0 0 var(--space-sm);
  font-size: 0.9375rem;
  color: var(--color-text-2);
  flex-grow: 1;
}
.card ul {
  margin: 0 0 var(--space-sm);
  padding-left: 1.125rem;
  font-size: 0.9375rem;
  color: var(--color-text-3);
}
.card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sb-400);
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
}
.card__link::after { content: " →"; }
.card__link:hover  { color: var(--sb-300); }

/* Tags */
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}
.tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 0.25rem;
  color: var(--sb-400);
}

/* ─── CTA banner ─────────────────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  z-index: 10;
  margin: var(--space-lg) 0 0;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 120px;
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.18) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.cta-banner h2 {
  position: relative;
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
}
.cta-banner p {
  position: relative;
  margin: 0 0 var(--space-md);
  color: var(--color-text-2);
  font-size: 0.9375rem;
}
.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* ─── Services section ───────────────────────────────────────────────────── */
.services-section {
  position: relative;
  z-index: 10;
  padding: var(--space-lg) 0 var(--space-xl);
}

.services-hub {
  --services-fade-gutter: clamp(1.75rem, 5vw, 4rem);
  --services-hover-room: 1rem;
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--services-fade-gutter);
  padding: var(--services-hover-room) clamp(2.75rem, 6vw, 5rem) calc(var(--space-sm) + var(--services-hover-room)) var(--services-fade-gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 84%, transparent 100%);
}

.services-hub::-webkit-scrollbar {
  display: none;
}

.service-row-card {
  --row-accent: var(--brand-indigo);
  --row-accent-2: var(--brand-indigo);
  --mx: 50%;
  --my: 20%;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 min(78vw, 24rem);
  gap: var(--space-md);
  overflow: hidden;
  scroll-snap-align: start;
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(17, 17, 20, 0.72);
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.service-row-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx) var(--my), color-mix(in srgb, var(--row-accent) 14%, transparent), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.service-row-card:hover,
.service-row-card:focus-within {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    var(--shadow-card),
    0 20px 64px -44px color-mix(in srgb, var(--row-accent) 42%, #000);
}

.service-row-card:hover::after,
.service-row-card:focus-within::after {
  opacity: 1;
}

.service-row-card--indigo {
  --row-accent: var(--brand-indigo);
  --row-accent-2: var(--brand-indigo);
}

.service-row-card--orange {
  --row-accent: var(--brand-orange);
  --row-accent-2: var(--brand-orange);
}

.service-row-card--green {
  --row-accent: var(--brand-green);
  --row-accent-2: var(--brand-green);
}

@media (min-width: 900px) {
  .service-row-card {
    flex-basis: clamp(21rem, 33vw, 25rem);
  }
}

@media (min-width: 1100px) {
  .service-row-card {
    flex-basis: max(21rem, calc((100% - (3.35 * var(--space-md))) / 3.35));
  }
}

@media (min-width: 1450px) {
  .service-row-card {
    flex-basis: max(21rem, calc((100% - (4.25 * var(--space-md))) / 4.25));
  }
}

.service-row-card h2,
.service-row-card h3,
.pricing-card h2,
.pricing-card h3 {
  color: #fff;
  letter-spacing: -0.025em;
}

.service-row-card > * {
  position: relative;
  z-index: 1;
}

.service-row-card > div:first-of-type {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.service-row-card h2 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.3rem, 1.5vw + 1rem, 2rem);
  font-weight: 550;
  line-height: 1.08;
}

.service-row-card p,
.pricing-card p,
.service-detail__intro {
  color: var(--color-text-2);
}

.service-row-card p {
  margin: 0 0 var(--space-md);
  max-width: 68ch;
}

.service-feature-list,
.pricing-feature-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-feature-list li,
.pricing-feature-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--color-text-2);
  font-size: 0.94rem;
}

.service-feature-list li::before,
.pricing-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--row-accent, var(--brand-indigo)), var(--row-accent-2, var(--brand-orange)));
  box-shadow: 0 0 14px color-mix(in srgb, var(--row-accent, var(--brand-indigo)) 36%, transparent);
}

.service-row-card__aside {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.875rem;
  min-height: 9.25rem;
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  align-content: space-between;
}

.service-row-card .btn--ring {
  width: 100%;
  min-height: 3.35rem;
  padding-inline: 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.035);
  box-shadow: none;
  color: rgba(255, 255, 255, 0.88);
}

.service-row-card .btn--ring::before,
.service-row-card .btn--ring::after {
  opacity: 0;
  transition: opacity 0.28s ease;
}

.service-row-card .btn--ring:hover,
.service-row-card .btn--ring:focus-visible {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    radial-gradient(120% 160% at 50% 100%, rgba(232, 121, 249, 0.14), transparent 54%),
    rgba(10, 8, 14, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -18px 38px rgba(232, 121, 249, 0.08),
    0 0 22px -8px rgba(232, 121, 249, 0.86),
    0 0 48px -20px rgba(117, 0, 249, 0.9);
  color: #fff;
}

.service-row-card .btn--ring:hover::before,
.service-row-card .btn--ring:hover::after,
.service-row-card .btn--ring:focus-visible::before,
.service-row-card .btn--ring:focus-visible::after {
  opacity: 1;
}

.service-price {
  margin: 0;
  color: #fff;
  min-height: 3.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: clamp(1rem, 0.65vw + 0.9rem, 1.25rem);
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.service-price__note {
  display: block;
  margin-top: 0.28rem;
  color: var(--color-text-3);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
}

[data-region-content][hidden] { display: none !important; }

.service-detail {
  position: relative;
  z-index: 10;
  padding: var(--space-lg) 0 var(--space-xl);
}

.service-detail__intro {
  max-width: 78ch;
  margin: 0 0 var(--space-lg);
  font-size: 1rem;
}

.service-detail__intro-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: var(--space-lg);
  align-items: center;
  margin: 0 0 var(--space-lg);
}

.service-detail__intro-row .service-detail__intro {
  margin-bottom: 0;
}

.tech-logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.75rem 0;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}

.tech-logo-rail {
  display: flex;
  width: max-content;
  animation: tech-logo-marquee 32s linear infinite;
}

.tech-logo-set {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-right: 0.85rem;
}

.tech-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.75rem;
  min-height: 3.75rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.52);
  filter: grayscale(1);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

@keyframes tech-logo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .service-detail__intro-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-logo-rail {
    animation: none;
    overflow-x: auto;
    transform: none;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 860px) {
  .pricing-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(17, 17, 20, 0.76);
  box-shadow: var(--shadow-card);
}

.pricing-card--featured {
  border-color: rgba(139, 92, 246, 0.34);
  box-shadow:
    var(--shadow-card),
    0 0 44px -24px rgba(139, 92, 246, 0.85);
}

.pricing-card__label {
  margin: 0 0 0.5rem;
  color: var(--sb-400);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pricing-card h2,
.pricing-card h3 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.7rem);
  font-weight: 550;
}

.pricing-card .service-price {
  margin-bottom: var(--space-md);
}

.pricing-feature-list {
  margin-bottom: var(--space-md);
}

.pricing-card__footnote {
  margin: auto 0 0;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-soft);
  color: var(--color-text-3);
  font-size: 0.88rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (min-width: 760px) {
  .approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.approach-card {
  padding: var(--space-md);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022)),
    rgba(17, 17, 20, 0.72);
  box-shadow: var(--shadow-card);
}

.approach-card h2,
.approach-card h3 {
  margin: 0 0 var(--space-xs);
  color: #fff;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.approach-card p {
  margin: 0;
  color: var(--color-text-2);
  font-size: 0.95rem;
}

/* ─── About page ─────────────────────────────────────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .about-intro { grid-template-columns: 1fr 1fr; align-items: start; }
}
.about-intro__heading {
  font-size: clamp(1.375rem, 2vw + 0.5rem, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}
.about-intro p {
  margin: 0 0 var(--space-sm);
  color: var(--color-text-2);
  font-size: 1rem;
}
.about-intro p:last-child { margin-bottom: 0; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 600px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
}
.value-card__number {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sb-500);
  margin: 0 0 var(--space-sm);
}
.value-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 var(--space-xs);
  letter-spacing: -0.015em;
}
.value-card p {
  font-size: 0.9375rem;
  color: var(--color-text-2);
  margin: 0;
}

/* ─── Contact / booking ─────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
    gap: var(--space-xl);
  }
}

.contact-info h2 {
  font-size: clamp(1.375rem, 2vw + 0.5rem, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 var(--space-sm);
}
.contact-info__kicker {
  margin: 0 0 0.5rem;
  color: var(--sb-400);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.contact-info p {
  color: var(--color-text-2);
  font-size: 0.9375rem;
  margin: 0 0 var(--space-md);
}
.contact-points {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 var(--space-md);
  padding: 0;
  list-style: none;
}
.contact-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--color-text-2);
  font-size: 0.9375rem;
}
.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-indigo), var(--brand-green));
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.38);
}
.contact-info__link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-text-2);
  font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.contact-info__link:hover { color: #fff; }
.contact-info__link:last-child { border-bottom: none; }
.contact-info__link[hidden] { display: none; }
.contact-info__link--region {
  color: #fff;
}
.contact-info__icon {
  width: 1.25rem;
  flex-shrink: 0;
  opacity: 0.5;
}

.booking-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
@media (min-width: 480px) {
  .booking-panel { padding: var(--space-md); }
}

.booking-panel__intro {
  padding: var(--space-sm) var(--space-sm) var(--space-md);
}
.booking-panel__intro .section__label {
  margin-bottom: 0.5rem;
}
.booking-panel__intro h2 {
  margin: 0 0 0.375rem;
  color: #fff;
  font-size: clamp(1.25rem, 1.6vw + 0.8rem, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.booking-panel__intro p {
  margin: 0;
  color: var(--color-text-2);
  font-size: 0.9375rem;
}

.booking-skeleton {
  min-height: 400px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.85rem;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.035) 8%,
      rgba(255, 255, 255, 0.075) 18%,
      rgba(255, 255, 255, 0.035) 33%
    ),
    rgba(255, 255, 255, 0.025);
  background-size: 220% 100%;
  color: var(--color-text-2);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  animation: calendar-skeleton-shimmer 1.4s linear infinite;
}

.booking-skeleton[hidden] {
  display: none;
}

.booking-skeleton__spinner {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--brand-indigo);
  animation: calendar-spinner 0.8s linear infinite;
}

@keyframes calendar-spinner {
  to { transform: rotate(360deg); }
}

@keyframes calendar-skeleton-shimmer {
  to { background-position-x: -220%; }
}

.booking-panel iframe {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 480px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: var(--space-sm);
}
.field:last-of-type { margin-bottom: var(--space-md); }

.field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-2);
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  font-family: var(--font);
  font-size: 0.9375rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--color-text-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(255, 255, 255, 0.07);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field select option { background: #18181c; color: #fff; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--color-border-soft);
  background: rgba(5, 5, 5, 0.80);
  padding: var(--space-lg) 0 var(--space-md);
}
.footer__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}
@media (min-width: 768px) {
  .footer__inner {
    padding: 0 var(--space-lg);
    grid-template-columns: 1fr auto 1fr;
  }
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.footer__links a {
  color: var(--color-text-3);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer__links a:hover {
  color: var(--color-text-2);
}

@media (min-width: 768px) {
  .footer__links {
    justify-content: flex-start;
  }
}

/* Region switcher — two pill buttons inside a capsule track */
.footer__region-switcher {
  display: inline-flex;
  gap: 0.125rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-full);
  padding: 0.1875rem;
}

.footer__region-btn {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-3);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.footer__region-btn:hover {
  color: var(--color-text-2);
}
.footer__region-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.footer__meta {
  font-size: 0.8125rem;
  color: var(--color-text-3);
  text-align: center;
}
.footer__meta a { color: var(--color-text-3); }
.footer__meta a:hover { color: var(--color-text-2); }
.footer__meta p { margin: 0 0 0.375rem; }
.footer__meta p:last-child { margin: 0; }

@media (min-width: 768px) {
  .footer__meta {
    text-align: right;
  }
}
