/* ============================================================
   AFFILITY — Modern layered front-end
   Brand: Scale Orange #F65D2D · Clarity Grey #EFEEF3 · Integrity Black #232222
   Type:  Manrope (display) · Inter (body)
   ============================================================ */

:root {
  --orange: #F65D2D;
  --orange-dark: #E54D1D;
  --orange-soft: rgba(246, 93, 45, 0.10);
  --orange-line: rgba(246, 93, 45, 0.25);
  --black: #232222;
  --black-2: #2A2929;
  --black-3: #1A1919;
  --grey: #6B6B6B;
  --clarity: #EFEEF3;
  --light: #F8F8F9;
  --fafafa: #FAFAFA;
  --white: #FFFFFF;
  --border: #E5E5E7;

  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 80rem;
  --nav-h: 5rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 20px 60px -24px rgba(35, 34, 34, 0.18);
  --shadow-soft: 0 8px 30px -12px rgba(35, 34, 34, 0.14);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.accent { color: var(--orange); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 64rem; }
.container--prose { max-width: 56rem; }

.section { position: relative; padding: 6rem 0; overflow: hidden; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }

.section--dark { background: var(--black); color: var(--white); }
.section--grey { background: var(--fafafa); }
.section--clarity { background: var(--clarity); }

/* ============================================================
   Luxe design language (site-wide)
   - .dots renders a fine film grain for a tactile, premium finish
   - the aurora gradient glow is reserved for the homepage hero only
   ============================================================ */
.dots::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.04'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dots > * { position: relative; z-index: 1; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--orange); }
.eyebrow--center::before { display: none; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--orange-line);
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s;
  will-change: transform;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.3s var(--ease-out); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 30px -10px rgba(246, 93, 45, 0.55);
}
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover { border-color: var(--black); transform: translateY(-2px); }
.section--dark .btn--ghost, .page-hero .btn--ghost, .btn--ghost.btn--on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.section--dark .btn--ghost:hover, .page-hero .btn--ghost:hover, .btn--ghost.btn--on-dark:hover { border-color: var(--white); }

.btn--lg { padding: 1.1rem 2.3rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: rgba(229, 229, 231, 0.7); box-shadow: 0 6px 30px -18px rgba(35, 34, 34, 0.25); }
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__logo img { height: 3.25rem; width: auto; transition: transform 0.3s var(--ease-out); }
.nav__logo:hover img { transform: scale(1.05); }

.nav__links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { .nav__links { display: flex; } }

.nav__link {
  position: relative;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--grey);
  transition: color 0.25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.2rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav__link:hover { color: var(--black); }
.nav__link:hover::after { transform: scaleX(1); }

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

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
}
@media (min-width: 768px) { .nav__burger { display: none; } }
.nav__burger span { width: 22px; height: 2px; background: var(--black); transition: transform 0.3s, opacity 0.3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 99;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
  pointer-events: none;
}
.nav__mobile.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav__mobile a { font-size: 1.1rem; font-weight: 500; }
.nav__mobile .btn { margin-top: 0.5rem; }

/* Spacer so content starts below fixed nav on light pages */
main { display: block; }

/* ---------- HERO (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__canvas canvas { width: 100%; height: 100%; display: block; }
.hero__fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.45) 55%, rgba(255,255,255,0) 100%);
}
.hero__content { position: relative; z-index: 2; text-align: center; }

.hero__title {
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 1.6rem 0 1.4rem;
}
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--grey);
  font-weight: 300;
  max-width: 46rem;
  margin: 0 auto;
}
.hero__sub strong { color: var(--black); font-weight: 600; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  margin: 2.6rem 0;
}
.hero__stat { text-align: center; }
.hero__stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}
.hero__stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

.hero__scroll {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--grey);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 2.4rem;
  background: linear-gradient(var(--orange), transparent);
  animation: scrollPulse 2s var(--ease-out) infinite;
}
@keyframes scrollPulse { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-height: 860px) { .hero__scroll { display: none; } }

/* ---------- Page hero (dark, inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: calc(var(--nav-h) + 5rem) 0 6rem;
  overflow: hidden;
}
.page-hero--tall { min-height: 88svh; display: flex; align-items: center; }
.page-hero__canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.55; }
.page-hero__canvas canvas { width: 100%; height: 100%; display: block; }
.page-hero > .container { position: relative; z-index: 2; width: 100%; }

.page-hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin: 1.2rem 0; }
.page-hero__desc { color: rgba(255,255,255,0.8); max-width: 36rem; font-size: 1.05rem; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

/* Stat cards (glass) */
.glass-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.45rem;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, background 0.3s;
}
.glass-card:hover { transform: translateY(-4px); border-color: var(--orange-line); background: rgba(255,255,255,0.08); }
.glass-card__icon {
  width: 2.65rem; height: 2.65rem;
  border-radius: 10px;
  background: rgba(246, 93, 45, 0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.95rem;
  color: var(--orange);
}
.glass-card__icon svg { width: 1.25rem; height: 1.25rem; }
.glass-card__value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--orange); }
.glass-card__title { font-size: 0.98rem; font-weight: 600; color: var(--white); margin: 0.25rem 0; }
.glass-card__desc { font-size: 0.94rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ---------- Section headers ---------- */
.section-head { text-align: center; max-width: 50rem; margin: 0 auto 4rem; }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 1.1rem 0 1.2rem; }
.section-head p { color: var(--grey); font-size: 1.1rem; }
.section--dark .section-head p { color: rgba(255,255,255,0.8); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; position: relative; padding: 0.6rem 0; }
.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  align-items: center;
  animation: marqueeLeft 42s linear infinite;
}
.marquee--reverse .marquee__track { animation-name: marqueeRight; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marqueeLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.logo-chip {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  min-width: 9rem; height: 4.2rem;
  padding: 0 1.6rem;
  background: var(--white);
  border: 1px solid rgba(229, 229, 231, 0.6);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s;
}
.logo-chip:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-soft); border-color: var(--orange-line); }
/* grayscale (not brightness-0) so plate-style logos — white text on a coloured
   block, e.g. The Sun / Mirror / talkSPORT — keep their internal contrast */
.logo-chip img { height: 1.5rem; max-width: 7.5rem; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: opacity 0.3s, filter 0.3s; }
.logo-chip:hover img { opacity: 0.85; }

/* Core channel chips under marquee */
.channel-row { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 640px) { .channel-row { grid-template-columns: repeat(3, 1fr); } }
.channel-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--fafafa);
  border: 1px solid rgba(229,229,231,0.7);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s;
}
.channel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--orange-line); }
.channel-card__icon {
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.channel-card:hover .channel-card__icon { background: rgba(246,93,45,0.2); }
.channel-card__icon svg { width: 1.2rem; height: 1.2rem; }
.channel-card h4 { font-size: 0.92rem; font-family: var(--font-body); font-weight: 600; transition: color 0.25s; }
.channel-card:hover h4 { color: var(--orange); }
.channel-card p { font-size: 0.8rem; color: var(--grey); }
.channel-card .arrow { margin-left: auto; color: var(--orange); opacity: 0; transition: opacity 0.3s, transform 0.3s; transform: translateX(-4px); }
.channel-card:hover .arrow { opacity: 1; transform: translateX(0); }

/* ---------- Two-column split ---------- */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.split--start { align-items: start; }

/* Grid children may shrink below their content's intrinsic width — prevents
   nowrap headlines / wide inner grids from blowing out columns on small screens */
.split > *, .luxe-grid > *, .page-hero__grid > *, .prose-cols > *,
.cards-grid > *, .channel-row > *, .glass-grid > *, .cta-features > *,
.form-grid > * { min-width: 0; }

.split h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 1rem 0 1.2rem; }
.split .lede { color: var(--grey); font-size: 1.08rem; margin-bottom: 1.8rem; }

/* Problem / solution cards */
.ps-card {
  background: var(--white);
  border: 1px solid rgba(229,229,231,0.8);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s;
}
.ps-card + .ps-card { margin-top: 1rem; }
.ps-card:hover { transform: translateX(6px); border-color: var(--orange-line); box-shadow: var(--shadow-soft); }
.ps-card__problem { display: flex; gap: 0.7rem; font-size: 0.92rem; color: var(--grey); margin-bottom: 0.55rem; }
.ps-card__problem::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grey); flex-shrink: 0; margin-top: 0.5rem; }
.ps-card__solution { display: flex; gap: 0.7rem; font-size: 0.95rem; font-weight: 600; padding-left: 1.05rem; }
.ps-card__solution svg { width: 1.05rem; height: 1.05rem; color: var(--orange); flex-shrink: 0; margin-top: 0.22rem; }

/* ---------- Service cards ---------- */
.cards-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid rgba(229, 229, 231, 0.8);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s;
  height: 100%;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--orange-line); }

.service-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.4rem; }
.service-card__icon {
  width: 3.4rem; height: 3.4rem;
  border-radius: 16px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.service-card:hover .service-card__icon { background: rgba(246,93,45,0.2); }
.service-card__icon svg { width: 1.55rem; height: 1.55rem; }
.service-card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(246, 93, 45, 0.12);
  transition: color 0.3s;
  line-height: 1;
}
.service-card:hover .service-card__num { color: rgba(246, 93, 45, 0.28); }
.service-card h3 { font-size: 1.35rem; margin-bottom: 0.7rem; transition: color 0.25s; }
.service-card:hover h3 { color: var(--orange); }
.service-card p { color: var(--grey); }

/* Feature cards (icon + title + desc + bullet list) */
.feature-card {
  background: var(--white);
  border: 1px solid rgba(229,229,231,0.8);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  height: 100%;
}
.section--grey .feature-card { background: var(--white); }
.feature-card--tinted { background: var(--fafafa); }

.feature-card__icon {
  width: 3.4rem; height: 3.4rem;
  border-radius: 16px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.feature-card__icon svg { width: 1.55rem; height: 1.55rem; }
.feature-card h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.feature-card > p { color: var(--grey); margin-bottom: 1.3rem; }
.feature-card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.feature-card li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.9rem; font-weight: 500; }
.feature-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; margin-top: 0.5rem; }
.feature-card .learn-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.3rem;
  color: var(--orange); font-weight: 600; font-size: 0.9rem;
}
.feature-card .learn-more .arrow { transition: transform 0.3s var(--ease-out); }
.feature-card:hover .learn-more .arrow { transform: translateX(4px); }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 500; }
.checklist svg { width: 1.25rem; height: 1.25rem; color: var(--orange); flex-shrink: 0; margin-top: 0.18rem; }

/* Highlight card (right column of splits) */
.highlight-card {
  background: var(--white);
  border: 1px solid rgba(229,229,231,0.8);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.highlight-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.highlight-card h3 { font-size: 1.45rem; margin-bottom: 0.8rem; }
.highlight-card p { color: var(--grey); }

/* ---------- Featured case study ---------- */
.case-card {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(229,229,231,0.8);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.case-card__title h3 { font-size: 2rem; }
.case-card__title p { color: var(--orange); font-weight: 600; margin-top: 0.3rem; }

.psr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.psr__cell { background: var(--fafafa); border-radius: var(--radius); padding: 1rem 0.8rem; text-align: center; }
.psr__cell span { display: block; }
.psr__label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.45rem; }
.psr__text { font-size: 0.85rem; line-height: 1.4; }

.stat-rows { display: flex; flex-direction: column; gap: 0.8rem; }
.stat-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--fafafa);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
}
.stat-row span:first-child { color: var(--grey); font-weight: 500; }
.stat-row span:last-child { font-family: var(--font-display); font-weight: 700; color: var(--orange); font-size: 1.3rem; }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-line);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
}

.case-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.case-img img { width: 100%; height: 15rem; object-fit: cover; object-position: bottom; transition: transform 0.6s var(--ease-out); }
.case-img:hover img { transform: scale(1.04); }

.accent-bar { width: 6rem; height: 4px; border-radius: 99px; background: var(--orange); margin-bottom: 2rem; }

/* ---------- FAQ ---------- */
.faq-cat { margin-bottom: 3rem; }
.faq-cat__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem; }
.faq-cat__icon {
  width: 2.6rem; height: 2.6rem;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.faq-cat__icon svg { width: 1.25rem; height: 1.25rem; }
.faq-cat__head h3 { font-size: 1.5rem; }

.faq-item {
  border: 1px solid rgba(229,229,231,0.85);
  border-radius: var(--radius-lg);
  background: var(--white);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover { border-color: var(--orange-line); box-shadow: var(--shadow-soft); }
.faq-item.is-open { border-color: var(--orange-line); box-shadow: var(--shadow-soft); }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.4rem 1.6rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--black);
  transition: color 0.25s;
}
.faq-item__q:hover { color: var(--orange); }
.faq-item__q .chev { flex-shrink: 0; transition: transform 0.35s var(--ease-out); color: var(--grey); }
.faq-item.is-open .faq-item__q .chev { transform: rotate(180deg); color: var(--orange); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}
.faq-item__a p { padding: 0 1.6rem 1.5rem; color: var(--grey); }

/* ---------- CTA (dark) ---------- */
.cta-features { display: grid; gap: 1.4rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .cta-features { grid-template-columns: repeat(3, 1fr); } }
.cta-feature {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, background 0.3s;
}
.cta-feature:hover { transform: translateY(-5px); border-color: var(--orange-line); background: rgba(255,255,255,0.08); }
.cta-feature__icon {
  width: 3rem; height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: rgba(246,93,45,0.2);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.cta-feature__icon svg { width: 1.4rem; height: 1.4rem; }
.cta-feature h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.4rem; }
.cta-feature p { font-size: 0.88rem; color: rgba(255,255,255,0.7); }

.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta-footnotes { text-align: center; margin-top: 2.2rem; display: flex; flex-direction: column; gap: 0.45rem; }
.cta-footnotes p { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.cta-footnotes a { color: var(--orange); }
.cta-footnotes a:hover { text-decoration: underline; }

/* ---------- Pinned editorial article (scrollytelling) ----------
   The section occupies exactly one desktop viewport; the prose scrolls
   inside the pinned frame (driven by GSAP ScrollTrigger via [data-article-pin]).
   Below 1024px it degrades to a normal flowing section. */
.article-frame { padding: 0; }
.article-frame__inner { padding: 6rem 0; }

@media (min-width: 1024px) {
  .article-frame { height: 100svh; overflow: hidden; }
  .article-frame__inner { padding: calc(var(--nav-h) + 4rem) 0 4rem; will-change: transform; }
}

.article-progress {
  display: none;
  position: absolute;
  right: 2.2rem; top: 22%; bottom: 22%;
  width: 2px;
  background: rgba(35, 34, 34, 0.08);
  border-radius: 99px;
  z-index: 2;
}
.article-progress span {
  display: block;
  width: 100%; height: 100%;
  background: var(--orange);
  border-radius: 99px;
  transform: scaleY(0);
  transform-origin: top;
}
@media (min-width: 1024px) { .article-progress { display: block; } }

/* editorial prose detailing */
.article-prose { position: relative; }
@media (min-width: 768px) {
  .article-prose::before {
    content: "";
    position: absolute;
    left: 50%; top: 0.4rem; bottom: 0.4rem;
    width: 1px;
    background: rgba(35, 34, 34, 0.09);
  }
}
.article-prose p { font-size: 1.02rem; line-height: 1.85; }
.article-prose p + p { margin-top: 1.35rem; }
.article-prose > div:first-child > p:first-child::first-letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.6em;
  line-height: 0.82;
  float: left;
  padding: 0.06em 0.14em 0 0;
  color: var(--orange);
}

/* ---------- Prose (story / legal / long copy) ---------- */
.prose-cols { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .prose-cols { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.prose-cols p, .prose-stack p { color: var(--grey); font-size: 1.1rem; line-height: 1.75; }
.prose-cols p + p, .prose-stack p + p { margin-top: 1.5rem; }
.prose-cols .strong-line { color: var(--black); font-weight: 600; }
.prose-cols .accent-line { color: var(--orange); font-weight: 600; }

.legal h2 { font-size: 1.55rem; margin: 2.6rem 0 1rem; }
.legal h3 { font-size: 1.2rem; margin: 1.8rem 0 0.8rem; }
.legal p { color: var(--grey); margin-bottom: 1.2rem; line-height: 1.75; }
.legal ul { list-style: disc; padding-left: 1.6rem; color: var(--grey); margin-bottom: 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.legal strong { color: var(--black); }
.legal a { color: var(--orange); }
.legal a:hover { text-decoration: underline; }

/* ---------- Forms (dark) ---------- */
.form-card {
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}
.form-card h2 { color: var(--white); font-size: 1.35rem; }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { color: rgba(255,255,255,0.8); font-size: 0.88rem; font-weight: 500; }
.field label .req { color: var(--orange); }
.field input, .field textarea, .field select {
  background: var(--black-3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--white);
  padding: 0.75rem 0.95rem;
  font: inherit;
  font-size: 0.93rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
  -webkit-appearance: none;
          appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23999' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(246,93,45,0.18);
}
.field textarea { resize: none; min-height: 7rem; }
.field .error { color: #f87171; font-size: 0.78rem; display: none; }
.field.has-error .error { display: block; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #f87171; }

/* Contact info cards (dark) */
.info-card {
  display: flex; align-items: center; gap: 0.9rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  transition: background 0.3s, transform 0.35s var(--ease-out);
}
a.info-card:hover, .info-card--link:hover { background: rgba(255,255,255,0.1); transform: translateX(4px); }
.info-card__icon {
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(246,93,45,0.2);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
}
.info-card__icon svg { width: 1.2rem; height: 1.2rem; }
.info-card h3 { font-size: 0.92rem; color: var(--white); font-family: var(--font-body); font-weight: 600; }
.info-card p { font-size: 0.86rem; color: rgba(255,255,255,0.6); }

/* Work-differently rows */
.work-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
}
.work-row + .work-row { margin-top: 0.8rem; }
.work-row span:first-child { color: var(--white); font-weight: 500; }
.work-row .pill {
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  letter-spacing: 0.03em;
}

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); }
.footer__main {
  padding: 5rem 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 1024px) { .footer__main { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer__brand { max-width: 26rem; display: flex; flex-direction: column; gap: 1.4rem; }
.footer__brand img { height: 2.5rem; width: auto; align-self: flex-start; transition: transform 0.3s var(--ease-out); }
.footer__brand a:hover img { transform: scale(1.03); }
.footer__brand p { color: rgba(255,255,255,0.6); }

.footer__cols { display: flex; flex-wrap: wrap; gap: 3rem 4.5rem; }
.footer__col h4 {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer__col a { color: rgba(255,255,255,0.7); transition: color 0.25s; display: inline-flex; align-items: center; gap: 0.5rem; }
.footer__col a:hover { color: var(--white); }
.footer__col a svg { width: 1rem; height: 1rem; }

.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.6rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) { .footer__bar { flex-direction: row; } }
.footer__bar p { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.footer__bar nav { display: flex; gap: 1.5rem; }
.footer__bar nav a { font-size: 0.85rem; color: rgba(255,255,255,0.4); transition: color 0.25s; }
.footer__bar nav a:hover { color: rgba(255,255,255,0.75); }

/* ---------- 404 ---------- */
.notfound {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 2rem;
}
.notfound h1 { font-size: clamp(4rem, 14vw, 9rem); color: var(--orange); line-height: 1; }

/* ---------- Reveal animations (GSAP adds .is-inview) ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); }
[data-reveal="left"] { transform: translateX(-40px) translateY(0); }
[data-reveal="right"] { transform: translateX(40px) translateY(0); }
[data-reveal="none"] { transform: none; }
.no-js [data-reveal], .reduced-motion [data-reveal] { opacity: 1; transform: none; }

/* Split headline line masks — bottom padding (offset by negative margin) keeps
   descenders like g/y/p from being clipped by the overflow mask */
[data-split] .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
[data-split] .line > span { display: block; will-change: transform; }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--orange); }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(246, 93, 45, 0.5);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
.cursor-ring.is-active { width: 56px; height: 56px; border-color: rgba(246,93,45,0.9); background: rgba(246,93,45,0.08); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Toast (form feedback) ---------- */
.toast {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 10000;
  max-width: 22rem;
  background: var(--black-2);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast__title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.toast__desc { font-size: 0.86rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
@media (max-width: 640px) {
  .toast { left: 1rem; right: 1rem; max-width: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; } .mt-8 { margin-top: 4rem; }
.mb-2 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 2rem; } .mb-6 { margin-bottom: 3rem; }
.text-center { text-align: center; }
.muted { color: var(--grey); }
.on-dark-muted { color: rgba(255,255,255,0.6); }
