/* ============================================================
   Two Raven Labs — Premium Agency (Mobile-First)
   Brand: #f26522 (orange) · #f0efef (cream)
   Typography: Syne (display) · Inter (body) · Space Mono (data)
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* Brand */
  --orange: #f26522;
  --orange-hover: #ff7a3d;
  --orange-dark: #d44f0f;
  --orange-glow: rgba(242, 101, 34, 0.3);
  --orange-soft: rgba(242, 101, 34, 0.08);
  --cream: #f0efef;

  /* Neutrals */
  --dark: #0a0a0a;
  --dark-surface: #111111;
  --dark-card: #151515;
  --dark-card-hover: #1a1a1a;
  --dark-border: rgba(255, 255, 255, 0.06);
  --dark-border-hover: rgba(255, 255, 255, 0.12);
  --white: #ffffff;

  /* Text on dark */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);

  /* Text on light */
  --text-dark: #1a1a1a;
  --text-dark-secondary: #555555;

  /* Typography */
  --font-display: "Syne", sans-serif;
  --font-heading: "Alatsi", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "Space Mono", monospace;

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

  /* Layout */
  --container-max: 1200px;
  --section-py: 5rem;
  --gutter: 1.25rem;

  /* Effects */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Decorative line pattern (pinstripe) — subtle, well-spaced */
  --pattern-lines-light: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.04) 3px,
    rgba(0, 0, 0, 0.04) 4px
  );
  --pattern-lines-dark: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.025) 3px,
    rgba(255, 255, 255, 0.025) 4px
  );
  /* Pin line: horizontal ruled lines for right-edge strip on service cards */
  --pattern-pin-line: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 4px,
    rgba(242, 101, 34, 0.14) 4px,
    rgba(242, 101, 34, 0.14) 5px
  );
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

ul, ol {
  list-style: none;
}

/* ---------- Noise Overlay ---------- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Section Common ---------- */
.section {
  padding: var(--section-py) 0;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--space-md);
  position: relative;
  padding-left: 2rem;
}

.section-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.25rem;
  height: 1px;
  background: var(--orange);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-primary);
}

.section-header {
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

/* Text utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--orange), var(--orange-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ================================================================
   HEADER
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.35rem var(--gutter);
  background: #f0efef;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

/* Orange wipe — slides in from the left */
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
  border-radius: inherit;
}

.header.scrolled::after {
  transform: scaleX(1);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(242, 101, 34, 0.25);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* --- Logo cross-fade --- */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.header.scrolled .logo {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo-default,
.logo-scrolled {
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.logo-scrolled {
  position: absolute;
  top: 4px;
  left: 6px;
  opacity: 0;
  transform: translateY(4px);
}

.header.scrolled .logo-default {
  opacity: 0;
  transform: translateY(-4px);
}

.header.scrolled .logo-scrolled {
  opacity: 1;
  transform: translateY(0);
}

/* --- Nav links: staggered color transition --- */
.header .nav a {
  color: var(--dark);
  transition: color 0.35s var(--ease), transform 0.25s var(--ease);
}

.header .nav li:nth-child(1) a { transition-delay: 0s; }
.header .nav li:nth-child(2) a { transition-delay: 0.04s; }
.header .nav li:nth-child(3) a { transition-delay: 0.08s; }
.header .nav li:nth-child(4) a { transition-delay: 0.12s; }

.header.scrolled .nav a {
  color: var(--white);
}

.header.scrolled .nav a:hover,
.header.scrolled .nav a:focus-visible {
  color: var(--dark);
}

/* --- CTA button: scale bounce + color invert --- */
.header .nav .nav-cta {
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s var(--ease);
  transition-delay: 0.12s;
}

.header.scrolled .nav .nav-cta {
  background: var(--white);
  color: var(--orange);
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header.scrolled .nav .nav-cta:hover {
  background: var(--cream);
  color: var(--orange);
  transform: scale(1.08);
}

/* --- Hamburger lines transition --- */
.header .nav-toggle span {
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease),
              background 0.4s var(--ease) 0.1s;
}

.header.scrolled .nav-toggle span {
  background: var(--white);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* ── Language Toggle ── */
.lang-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 40px;
  padding: 3px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 1001;
  height: 34px;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, background 0.4s ease;
}

.lang-toggle:hover {
  border-color: var(--orange);
}

.lang-option {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 30px;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}

.lang-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lang-code {
  font-family: "Doto", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(10, 10, 10, 0.35);
  line-height: 1;
  transition: color 0.3s ease;
}

.lang-option.lang-active .lang-code {
  color: #fff;
}

.lang-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: 50%;
  background: var(--orange);
  border-radius: 30px;
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(242, 101, 34, 0.4);
  transition: none; /* GSAP handles this */
}

/* Scrolled header (orange bg) — active pill = brand white */
.header.scrolled .lang-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.header.scrolled .lang-toggle:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.header.scrolled .lang-slider {
  background: var(--cream);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.header.scrolled .lang-code {
  color: rgba(255, 255, 255, 0.5);
}

.header.scrolled .lang-option.lang-active .lang-code {
  color: var(--dark);
}

/* Language toggle inside nav: mobile — below Let's Talk */
.nav {
  flex-direction: column;
}

.nav .lang-toggle {
  margin-top: 1.5rem;
}

/* Desktop: nav row, toggle after Let's Talk */
@media (min-width: 768px) {
  .nav {
    flex-direction: row;
    gap: 1.5rem;
  }

  .nav .lang-toggle {
    margin-top: 0;
  }
}


/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  -webkit-tap-highlight-color: transparent;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.nav.is-open {
  opacity: 1;
  visibility: visible;
}

.nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.nav li {
  overflow: hidden;
}

.nav a {
  display: block;
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
  font-size: 2rem;
  font-weight: 500;
  color: var(--dark);
  padding: 0.75rem 1rem;
  transition: color 0.25s, transform 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--orange);
}

.nav .nav-cta,
.header .nav .nav-cta {
  margin-top: 1rem;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: background 0.25s, transform 0.25s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.nav .nav-cta:hover {
  background: var(--orange-hover);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Mobile only: restore background when menu is open --- */
@media (max-width: 767px) {
  .nav.is-open {
    background: rgba(240, 239, 239, 0.97);
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
  }
  .header.scrolled .nav.is-open {
    background: rgba(242, 101, 34, 0.97);
  }
}

.header.scrolled .nav {
  background: transparent;
}

.header.scrolled .nav a {
  color: var(--white);
}

.header.scrolled .nav a:hover,
.header.scrolled .nav a:focus-visible {
  color: var(--cream);
}

.header.scrolled .nav .nav-cta {
  background: var(--white);
  color: var(--orange);
  border-color: rgba(255, 255, 255, 0.2);
}

.header.scrolled .nav .nav-cta:hover {
  background: var(--cream);
  color: var(--orange);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  min-height: 52px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 24px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--orange-glow);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--dark-border-hover);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-arrow {
  transition: transform 0.3s var(--ease);
}

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

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 7rem var(--gutter) 1.5rem;
  overflow: hidden;
  background: var(--dark);
}

/* Animated gradient orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
}

/* Larger blur only on devices that can handle it */
@media (min-width: 768px) {
  .hero-orb {
    filter: blur(100px);
  }
}

.hero-orb--1 {
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  background: radial-gradient(circle, rgba(242, 101, 34, 0.12) 0%, transparent 70%);
  top: -25%;
  right: -20%;
}

.hero-orb--2 {
  width: min(500px, 70vw);
  height: min(500px, 70vw);
  background: radial-gradient(circle, rgba(242, 101, 34, 0.06) 0%, transparent 70%);
  bottom: -15%;
  left: -15%;
}

.hero-orb--3 {
  width: min(300px, 50vw);
  height: min(300px, 50vw);
  background: radial-gradient(circle, rgba(255, 140, 50, 0.08) 0%, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
}

/* Animated trail paths overlay — hidden on mobile for performance */
.hero-trails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: none;
}

@media (min-width: 768px) {
  .hero-trails {
    display: block;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, black 15%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, black 15%, transparent 100%);
  }
}

.trail-path {
  fill: none;
}

/* Subtle grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--dark-border);
  border-radius: 100px;
  margin-bottom: var(--space-xl);
  background: rgba(255, 255, 255, 0.02);
}

.badge-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

/* Hero title — mobile: full size; desktop reduction in @media below */
.hero-title {
  font-family: "Special Gothic Expanded One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(3.5rem, 15vw, 8rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.title-inner {
  display: block;
  will-change: transform;
}

/* Colour each word */
.title-line:nth-child(2) .title-inner {
  color: var(--orange);
}

.title-line:nth-child(3) .title-inner {
  background: linear-gradient(135deg, var(--cream) 30%, rgba(255,255,255,0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.12;
}

/* Hero description */
.hero-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto var(--space-lg);
}

/* Hero CTAs */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: stretch;
  max-width: 340px;
  margin: 0 auto;
}

/* Hero scroll indicator — mobile: in-flow at bottom of hero (original); desktop: fixed to viewport */
.hero-scroll {
  margin-top: auto;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
  align-self: center;
  flex-shrink: 0;
}

.hero-scroll.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Desktop: pin to viewport bottom; sit low enough to clear buttons on 1080p, never off-screen */
@media (min-width: 768px) {
  .hero-scroll {
    position: fixed;
    bottom: clamp(0.05rem, 0.5vh, 0.1rem); /* default number (0.75rem, 1.5vh, 1rem);*/
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    align-self: auto;
    z-index: 100;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
}

/* Hide scroll indicator on very short screens */
@media (max-height: 580px) {
  .hero-scroll {
    display: none;
  }
}

.scroll-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line-wrap {
  width: 2px;
  height: 48px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: visible;
  position: relative;
}

.scroll-line {
  width: 100%;
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
  transform-origin: top;
  box-shadow:
    0 0 6px rgba(242, 101, 34, 0.6),
    0 0 14px rgba(242, 101, 34, 0.35),
    0 0 28px rgba(242, 101, 34, 0.15);
}

/* ================================================================
   MARQUEE
   ================================================================ */
.marquee {
  position: relative;
  padding: 1.1rem 0;
  background: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  position: relative;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 120, 70, 0.95);
}

.marquee-diamond {
  color: rgba(242, 101, 34, 0.9);
  font-size: 0.55rem;
}

/* Marquee keyframes removed — GSAP handles seamless loop */

/* ================================================================
   DECORATIVE LINE PATTERN (pinstripe / ruled lines)
   Use on sections or cards for a premium, editorial look.
   ================================================================ */
.deco-lines {
  position: relative;
}

/* Strip at bottom of section/card — fine vertical lines */
.deco-lines--bottom::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--pattern-lines-dark);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Strip on right edge */
.deco-lines--right::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: var(--pattern-lines-dark);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Strip on left edge */
.deco-lines--left::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background: var(--pattern-lines-dark);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Light background variant (e.g. cream sections) */
.deco-lines--light.deco-lines--bottom::after,
.deco-lines--light.deco-lines--right::after,
.deco-lines--light.deco-lines--left::after {
  background: var(--pattern-lines-light);
}

/* ================================================================
   SERVICES (What We Do)
   ================================================================ */
.services {
  background: var(--dark);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  min-height: auto;
  display: block;
  overflow: visible;
}

.services.deco-lines::after {
  height: 140px;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-card {
  position: sticky;
  padding: var(--space-lg) var(--space-md);
  background-color: var(--dark-card);
  background-image: var(--pattern-lines-dark);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
  margin-bottom: 8vh;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
}

/* Pin line: removed (hidden on all breakpoints) */
.service-card::after {
  display: none;
}

.service-card:last-child {
  margin-bottom: 0;
}

/* Staggered top + z-index so you see the stack edges */
.service-card:nth-child(1) { top: 50px; z-index: 1; }
.service-card:nth-child(2) { top: 58px; z-index: 2; }
.service-card:nth-child(3) { top: 66px; z-index: 3; }
.service-card:nth-child(4) { top: 74px; z-index: 4; }
.service-card:nth-child(5) { top: 82px; z-index: 5; }

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-card:hover {
  border-color: var(--dark-border-hover);
  background-color: var(--dark-card-hover);
  background-image: var(--pattern-lines-dark);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(242, 101, 34, 0.06);
}

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

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--orange-soft);
  color: var(--orange);
  transition: background 0.3s, transform 0.3s var(--ease);
}

.service-card:hover .card-icon {
  background: var(--orange);
  color: var(--white);
  transform: scale(1.05);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.card-desc {
  font-size: 1.0rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.card-desc-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.card-desc-link:hover,
.card-desc-link:focus-visible {
  border-bottom-color: var(--orange);
}

/* More breathing space between description and platform band on mobile */
@media (max-width: 767px) {
  .service-card .card-desc {
    margin-bottom: var(--space-lg);
    line-height: 1.26;
  }
  /* Image at top on mobile: top, image, title, description, platforms */
  .service-card--premium .card-top {
    order: 1;
  }
  .service-card--premium .card-visual {
    order: 2;
  }
  .service-card--premium .card-title {
    order: 3;
  }
  .service-card--premium .card-desc {
    order: 4;
  }
  .service-card--premium .card-platforms {
    order: 5;
  }
}

/* Digital Strategy card: premium layout with visual */
.service-card--premium .card-visual {
  margin-left: calc(-1 * var(--space-md));
  margin-right: calc(-1 * var(--space-md));
  margin-bottom: var(--space-lg);
  border-radius: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.service-card--premium .card-visual img {
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 768px) {
  .service-card--premium .card-visual {
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
    max-height: 240px;
    border-radius: var(--radius);
  }
  .service-card--premium .card-visual img {
    max-height: 260px;
  }
  /* Tablet + desktop: same order as desktop — top, title, image, description, platforms */
  .service-card--premium {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    gap: 0;
    align-items: start;
    justify-items: start;
    overflow: visible;
  }
  .service-card--premium .card-top {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin-bottom: var(--space-sm);
  }
  .service-card--premium .card-title {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    margin-bottom: var(--space-md);
  }
  .service-card--premium .card-visual {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    margin: 0;
    margin-bottom: var(--space-lg);
    max-height: 240px;
  }
  .service-card--premium .card-visual img {
    width: 100%;
    height: auto;
    max-height: 260px;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }
  .service-card--premium .card-desc {
    grid-column: 1;
    grid-row: 4;
    width: 100%;
    margin-bottom: var(--space-lg);
  }
  .service-card--premium .card-platforms {
    grid-column: 1;
    grid-row: 5;
    width: calc(100% + 2 * var(--space-md));
    margin-left: calc(-1 * var(--space-md));
    margin-right: calc(-1 * var(--space-md));
  }
}

@media (min-width: 1280px) {
  /* Large desktop: slightly larger card image */
  .service-card--premium .card-visual {
    max-height: 320px;
  }
  .service-card--premium .card-visual img {
    max-height: 320px;
  }
}

/* Platform logos: white/cream band at bottom of every card for consistent look */
.card-platforms {
  position: relative;
  margin-top: auto;
  margin-left: calc(-1 * var(--space-md));
  margin-right: calc(-1 * var(--space-md));
  margin-bottom: calc(-1 * var(--space-lg));
  padding: var(--space-md) var(--space-md) var(--space-lg);
  background: var(--cream);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 3.5rem;
  overflow: hidden;
}

/* Subtle pinstripe pattern on cream band for premium feel */
.card-platforms::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--pattern-lines-light);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Empty band (e.g. Digital Strategy) keeps same strip height */
.card-platforms:empty {
  min-height: 3.5rem;
}

.card-platforms img {
  position: relative;
  z-index: 1;
  height: 24px;
  width: auto;
  max-width: 76px;
  object-fit: contain;
  opacity: 0.9;
  filter: none;
  transition: opacity 0.25s ease;
}

.card-platforms img.logo--lg {
  height: 48px;
  max-width: 152px;
}

.service-card:hover .card-platforms img {
  opacity: 1;
}

/* X (Twitter) logo is typically dark — invert so it’s visible on dark card */
@media (min-width: 640px) {
  .card-platforms img {
    height: 28px;
    max-width: 84px;
  }
  .card-platforms img.logo--lg {
    height: 56px;
    max-width: 168px;
  }
}

/* Tablet (1024px) and up: card uses --space-lg horizontal padding, so platform band must extend by same amount to fill edge-to-edge */
@media (min-width: 1024px) {
  .card-platforms {
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
    margin-bottom: calc(-1 * var(--space-xl));
    padding: var(--space-lg) var(--space-lg) var(--space-xl);
  }
  .service-card--premium .card-platforms {
    width: calc(100% + 2 * var(--space-lg));
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
  }
}

/* ================================================================
   HOW WE WIN
   ================================================================ */
.how-we-win {
  background: var(--cream);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  position: relative;
  color: var(--dark);
  overflow: visible;
}

.how-we-win-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* Gradient accent at top */
.how-we-win::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 80vw);
  height: 300px;
  background: radial-gradient(ellipse at center top, rgba(242, 101, 34, 0.08), transparent 70%);
  pointer-events: none;
}

/* Override section header colours inside how-we-win */
.how-we-win .section-tag {
  color: var(--orange);
  border-color: rgba(0, 0, 0, 0.12);
}

.how-we-win .section-heading {
  color: var(--dark);
}

.how-we-win > .container {
  position: relative;
  z-index: 1;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

/* Tighter spacing around leadership quote so section fits 1080p when pinned */
.how-we-win .pillars {
  margin-bottom: var(--space-lg);
}

.pillar {
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.pillar:hover {
  border-color: rgba(242, 101, 34, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(242, 101, 34, 0.1);
  color: var(--orange);
  margin-bottom: var(--space-md);
  transition: background 0.3s, color 0.3s;
}

.pillar:hover .pillar-icon {
  background: var(--orange);
  color: var(--white);
}

.pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.pillar p {
  font-size: 1rem;
  color: rgba(10, 10, 10, 0.6);
  line-height: 1.7;
}

/* Leadership quote */
.leadership-quote {
  position: relative;
  padding: var(--space-lg) var(--space-lg) var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(242, 101, 34, 0.12);
}

/* Tighter spacing below quote so section fits 1080p when pinned */
.how-we-win .leadership-quote {
  margin-bottom: var(--space-lg);
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.quote-accent {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  border-radius: 3px 0 0 3px;
}

.leadership-quote p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(10, 10, 10, 0.65);
  font-style: italic;
}

.leadership-quote strong {
  color: var(--dark);
  font-weight: 600;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.stat-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s, box-shadow 0.35s;
}

.stat-card:hover {
  border-color: rgba(242, 101, 34, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.stat-top {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
  margin-bottom: 0.35rem;
}

.stat-number {
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--orange);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat-word {
  font-family: "Lexend Deca", sans-serif;
  font-optical-sizing: auto;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--orange);
  line-height: 1.1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
}

/* Divider between stats (hidden on mobile, shown on desktop) */
.stat-divider {
  display: none;
}

/* ================================================================
   PROCESS
   ================================================================ */
.process {
  background: var(--dark);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 10%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.process-card {
  position: relative;
  padding: var(--space-lg);
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.5s var(--ease), transform 0.35s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform, opacity;
}

.process-body {
  position: relative;
  z-index: 1;
}

.process-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.process-card:hover {
  border-color: var(--dark-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.process-card:hover::after,
.process-card.is-active::after {
  transform: scaleX(1);
}

/* Active state — glow pulse when card activates */
.process-card.is-active {
  border-color: rgba(242, 101, 34, 0.2);
  box-shadow: 0 0 30px rgba(242, 101, 34, 0.06);
}

/* Gradient light sweep across card surface on activation */
.process-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(242, 101, 34, 0.08) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

.process-card.is-active::before {
  animation: processSweep 0.8s 0.1s ease-out forwards;
}

@keyframes processSweep {
  to {
    transform: translateX(100%);
  }
}

.process-number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange-soft);
  margin-bottom: var(--space-md);
  transition: background 0.3s, transform 0.3s var(--ease);
}

.process-card:hover .process-number {
  background: var(--orange);
  transform: scale(1.08);
}

.process-number span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  transition: color 0.3s;
}

.process-card:hover .process-number span {
  color: var(--white);
}

.process-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.process-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: var(--space-sm);
}

.process-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* Connecting line on mobile */
.process-line {
  display: none;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  background: var(--dark-surface);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 90vw);
  height: 400px;
  background: radial-gradient(ellipse at center bottom, rgba(242, 101, 34, 0.05), transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.contact-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.contact-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.trust-list svg {
  color: var(--orange);
  flex-shrink: 0;
}

/* Form */
.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
}

/* Honeypot: hidden from users, left in DOM for bot detection */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
}

.form-group .optional {
  color: var(--text-muted);
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
  background: rgba(255, 255, 255, 0.06);
}

.contact-form .form-group input.field-error,
.contact-form .form-group textarea.field-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.35);
}

.contact-form .form-group input.field-error:focus,
.contact-form .form-group textarea.field-error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.4);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer,
.footer-top,
.footer-brand {
  overflow: visible;
}

.footer {
  position: relative;
  padding: var(--space-2xl) 0 var(--space-lg);
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: var(--space-lg);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
  text-align: left;
}

.footer-logo .logo-img {
  height: 60px;
}

/* Tagline: align with logo left edge (.logo has padding-left 6px so match that) */
.footer-tagline {
  margin: 0;
  margin-left: 6px; /* match .logo padding so tagline lines up with logo box */
  padding: 0;
  width: max-content;
  max-width: 100%;
  text-align: left;
  align-self: flex-start;
  overflow: visible;
}

.footer-tagline-inner {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.9;
  color: var(--orange);
  padding-bottom: 14px;
  overflow: visible;
  text-align: left;
}

/* Guarantee space below text so g/y descenders are never clipped */
.footer-tagline-inner::after {
  content: "";
  display: block;
  height: 12px;
}

.footer-columns {
  display: flex;
  gap: var(--space-2xl);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col-heading,
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ---------- Footer Social Icons ---------- */
.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.social-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease),
              background 0.35s var(--ease);
}

.social-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.social-icon .social-on {
  position: absolute;
  opacity: 0;
  transform: scale(0.85);
}

@media (hover: hover) {
  .social-icon:hover {
    transform: translateY(-3px) scale(1.08);
    border-color: var(--orange);
    box-shadow: 0 4px 14px rgba(242, 101, 34, 0.25), 0 2px 6px rgba(0, 0, 0, 0.12);
    background: rgba(242, 101, 34, 0.08);
  }

  .social-icon:hover .social-off {
    opacity: 0;
    transform: scale(0.85);
  }

  .social-icon:hover .social-on {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================================================================
   STACKED PANELS — Card-stacking depth (desktop/tablet only)
   ================================================================ */
@media (min-width: 768px) {
  .hero,
  .how-we-win,
  .process,
  .contact {
    will-change: transform;
  }

  /* Sections: no rounded edges; shadow for stacking depth */
  .marquee,
  .services,
  .how-we-win,
  .process,
  .contact,
  .footer {
    border-radius: 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
  }

  .hero {
    border-radius: 0;
    box-shadow: none;
  }
}

/* ================================================================
   RESPONSIVE — Tablet (640px+)
   ================================================================ */
@media (min-width: 640px) {
  :root {
    --gutter: 2rem;
    --section-py: 6rem;
  }

  .logo-img {
    height: 34px;
  }

  /* Desktop nav */
  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
  }

  .nav ul {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .nav li {
    display: flex;
    align-items: center;
    overflow: visible;
  }

  .nav a {
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    padding: 0;
    line-height: 1.2;
  }

  .nav .nav-cta,
  .header .nav .nav-cta {
    font-size: 0.82rem;
    padding: 0.55rem 1.2rem;
    margin-top: 0;
    line-height: 1.2;
  }

  /* Hero */
  .hero-cta {
    flex-direction: row;
    max-width: none;
    width: auto;
    justify-content: center;
  }

  .hero-desc {
    font-size: 1.08rem;
  }

  /* Services — bump card height and spacing on larger screens */
  .service-card {
    margin-bottom: 10vh;
    min-height: 65vh;
  }

  .service-card:nth-child(1) { top: 50px; }
  .service-card:nth-child(2) { top: 60px; }
  .service-card:nth-child(3) { top: 70px; }
  .service-card:nth-child(4) { top: 80px; }
  .service-card:nth-child(5) { top: 90px; }

  /* How We Win: center content vertically in viewport so it isn’t pushed down on different displays */
  .how-we-win {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
  }
  .how-we-win > .container {
    width: 100%;
  }

  /* Pillars */
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Stats */
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Process */
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Form */
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

/* ================================================================
   RESPONSIVE — Desktop (1024px+)
   ================================================================ */
@media (min-width: 1024px) {
  :root {
    --section-py: 7rem;
    --space-3xl: 8rem;
  }

  .hero {
    padding-top: 8rem;
    padding-bottom: 6rem; /* space for fixed scroll indicator so it doesn’t overlap CTAs */
  }

  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-content .hero-cta {
    margin-bottom: 0; /* scroll indicator is fixed, no need for gap */
  }

  .hero-title {
    font-size: clamp(4.5rem, 8vw, 8rem);
  }

  .hero-desc {
    font-size: 1.15rem;
    max-width: 560px;
  }

  .service-card {
    padding: var(--space-xl) var(--space-lg);
  }

  .card-title {
    font-size: 2.1rem;
  }

  .card-desc {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  /* Contact grid **/
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-3xl);
    align-items: start;
  }

  .contact-form {
    padding: var(--space-xl);
  }

  /* Process cards taller/more spacious */
  .process-card {
    padding: var(--space-xl) var(--space-lg);
  }

  .stat-number {
    font-size: 3.5rem;
  }

  .stat-word {
    font-size: 1.8rem;
  }
}

/* ================================================================
   RESPONSIVE — Large Desktop (1280px+)
   ================================================================ */
@media (min-width: 1280px) {
  .hero-title {
    font-size: 8rem;
  }

  /* Services grid stays single column for sticky stacking */
}

/* ================================================================
   ANIMATIONS — initial states (GSAP handles the rest)
   ================================================================ */
[data-anim="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
}

[data-anim="reveal"] .title-inner {
  transform: translateY(105%);
}

[data-anim="card"] {
  opacity: 0;
  transform: translateY(40px);
}

[data-anim="step"] {
  opacity: 0;
  transform: translateY(40px);
}

[data-anim="section-header"] {
  opacity: 0;
  transform: translateY(25px);
}

[data-anim="stats"] {
  opacity: 0;
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track {
    animation: none;
  }

  [data-anim] {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-anim="reveal"] .title-inner {
    transform: none !important;
  }
}

/* ================================================================
   BACK TO TOP — floating button (mobile, tablet, desktop)
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  border: none;
  background: var(--dark-card);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
  -webkit-tap-highlight-color: transparent;
  /* Hidden by default — GSAP controls visibility */
  opacity: 0;
  pointer-events: none;
  transform: scale(0.6) translateY(20px);
}

.back-to-top.is-visible {
  pointer-events: auto;
}

.btt-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.btt-track,
.btt-progress {
  fill: none;
}

.btt-progress {
  stroke-dasharray: 131.95; /* 2 × π × 21 */
  stroke-dashoffset: 131.95; /* fully hidden — JS updates based on scroll progress */
  transition: stroke-dashoffset 0.15s ease-out;
}

.btt-arrow {
  color: var(--white);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

.back-to-top:hover .btt-arrow,
.back-to-top:active .btt-arrow {
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: scale(0.92);
}

/* ================================================================
   FOCUS VISIBLE
   ================================================================ */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* ================================================================
   SELECTION
   ================================================================ */
::selection {
  background: rgba(242, 101, 34, 0.25);
  color: var(--white);
}
