/* ============================================
   RH MEDIA — v6 Optimized
   Dark cinematic hero, massive type,
   editorial tension, hand-crafted feel
   Performance + Accessibility upgrades
   ============================================ */

:root {
  --black: #0a0a0a;
  --dark: #141414;
  --dark-mid: #1a1a1a;
  --ink: #111;
  --charcoal: #2a2a2a;
  --grey: #888;
  --grey-light: #aaa;
  --cream: #f4f1ec;
  --warm: #e8e4dd;
  --white: #fff;
  --accent: #d4b88a;
  --accent-muted: rgba(212, 184, 138, 0.15);

  /* All-sans headlines (team QA): --serif now points at the DM Sans stack so
     every headline matches the hero. Revert this one line to restore Playfair. */
  --serif: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'DM Sans', -apple-system, sans-serif;
  --mono: 'Space Grotesk', 'SF Mono', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

::selection {
  background: var(--accent);
  color: var(--black);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%; /* iOS: never auto-inflate text */
  text-size-adjust: 100%;
  overflow-x: clip; /* clip (not hidden) so position:sticky still works */
}

body {
  font-family: var(--sans);
  color: var(--white);
  background: var(--black);
  line-height: 1.6;
  overflow-x: clip;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* Custom cursor: hide system cursor only when JS activates it */
.cursor-active,
.cursor-active a,
.cursor-active button { cursor: none; }

/* Screen reader only */
.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;
}

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


/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 101;
  width: 0%;
  will-change: width;
  pointer-events: none;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483647; /* always topmost — above modals/popups (z-index 10000) */
  transform: translate(-50%, -50%);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  mix-blend-mode: difference;
  will-change: left, top;
}

.cursor.hovering {
  transform: translate(-50%, -50%) scale(2.4);
  background: rgba(212, 184, 138, 0.1);
  border-color: var(--white);
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: var(--black);
  padding: 12px 24px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 10000;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.skip-link:focus {
  top: 16px;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px clamp(24px, 4vw, 64px);
  transition: background 0.6s cubic-bezier(0.16, 1, 0.3, 1), padding 0.6s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.logo-img--footer {
  height: 22px;
  opacity: 0.7;
}

.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
  padding: 12px 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

/* Active nav indicator */
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
  padding: 12px 0;
}
.nav-cta-arrow {
  font-size: 1rem;
  transition: transform 0.3s;
}
.nav-cta:hover .nav-cta-arrow { transform: translate(2px, -2px); }

/* ============================================
   HERO — dark, cinematic, massive type
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: grayscale(1) contrast(1.2);
  will-change: transform;
}

/* Noise texture overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}

/* Gradient fade at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--black), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 clamp(24px, 4vw, 64px);
  max-width: 1600px;
  margin: 0 auto;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
}

.hero-tag {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero-h1 {
  margin-bottom: 80px;
}

.hero-line {
  display: block;
  font-family: var(--mono);
  font-size: clamp(3.5rem, 9.5vw, 9rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--white);
  opacity: 0;
  transform: translateY(60px);
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-line-1 { animation-delay: 0.15s; }
.hero-line-2 {
  animation-delay: 0.3s;
  padding-left: 6%;
}
.hero-line-3 { animation-delay: 0.45s; }

.hero-line em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  letter-spacing: -0.02em;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  animation: heroReveal 0.8s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-bottom-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero-sub {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 420px;
  text-wrap: balance;
}
/* Scroll-to-learn-more prompt under the hero copy (replaces the hero CTA button).
   Reuses the existing animated .hero-scroll-line; clicking jumps to the next section. */
.hero-scroll-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s ease;
}
.hero-scroll-cta:hover { color: var(--accent); }

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero-scroll-text {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}


/* ============================================
   LOGO STRIP — social proof
   ============================================ */
.logos {
  padding: 48px clamp(24px, 4vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

.logos-label {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
}

.logo-item.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-item img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.55);
  transition: filter 0.4s;
}

.logo-item:hover img {
  filter: brightness(0) invert(1) opacity(0.8);
}

/* ============================================
   SHOWREEL
   ============================================ */
.reel {
  padding: clamp(80px, 10vw, 140px) clamp(24px, 4vw, 64px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.reel-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.reel-video {
  position: relative;
  overflow: hidden;
  margin-bottom: 56px;
}
.cursor-active .reel-video { cursor: none; }

.reel-video img {
  width: 100%;
  height: clamp(360px, 40vw, 600px);
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.08);
  transition: filter 0.6s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reel-video:hover img {
  filter: grayscale(0) contrast(1.05);
  transform: scale(1.02);
}

.reel-coming-soon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  cursor: default;
  white-space: nowrap;
}
.reel-coming-tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(212,184,138,0.4);
  padding: 8px 20px;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.3);
}

.reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
}

.reel-play-icon {
  width: 72px;
  height: 72px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--white);
  transition: all 0.4s;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.2);
}

.reel-video:hover .reel-play-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  transform: scale(1.1);
}

.reel-play-text {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.reel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 900px;
}

.reel-stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.reel-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--dark-mid);
  padding: clamp(100px, 12vw, 180px) clamp(24px, 4vw, 64px);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.services-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: clamp(48px, 6vw, 120px);
  align-items: start;
}

.services-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 20px;
}

.services-sub {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 360px;
}

.service-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.service-num {
  font-family: var(--serif);
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 2px;
}


/* ============================================
   SHARED
   ============================================ */
.section-tag {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: inline-block;
  margin-bottom: 24px;
  position: relative;
  padding-left: 28px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--accent);
}


.section-heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
}

.section-heading em {
  font-style: italic;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   WORK
   ============================================ */
.work {
  padding: clamp(100px, 12vw, 180px) clamp(24px, 4vw, 64px) 80px;
  max-width: 1500px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: clamp(60px, 8vw, 120px);
}

/* --- Case studies --- */
.case {
  margin-bottom: clamp(80px, 10vw, 140px);
}

.case-inner {
  display: grid;
  grid-template-columns: 140px 1.2fr 0.8fr;
  gap: 0;
  align-items: start;
  position: relative;
}

.case-num {
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.1);
  letter-spacing: -0.04em;
  margin-right: -20px;
  z-index: 2;
  transition: -webkit-text-stroke-color 0.5s;
}

.case:hover .case-num {
  -webkit-text-stroke-color: var(--accent);
}

.case-img {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.case-img-wrap,
.case-small-img {
  overflow: hidden;
  transition: box-shadow 0.4s;
}

.case-img-wrap:hover,
.case-small-img:hover {
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.case-img img {
  width: 100%;
  height: clamp(320px, 30vw, 480px);
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
}

.case:hover .case-img img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.05);
}

.case-info {
  padding-left: clamp(24px, 3vw, 56px);
  padding-top: 24px;
}

.case-client {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.case-info h3 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.case-result {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 340px;
  margin-bottom: 28px;
}

.case-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-stat {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.case-tags {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.case-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s, transform 0.4s;
}

.case:hover .case-link {
  opacity: 1;
  transform: translateX(0);
}

/* Case reversed */
.case--reverse .case-inner {
  grid-template-columns: 0.8fr 1.2fr 140px;
}

.case--reverse .case-num {
  order: 3;
  margin-right: 0;
  margin-left: -20px;
  text-align: right;
}

.case--reverse .case-info {
  order: 1;
  padding-left: 0;
  padding-right: clamp(24px, 3vw, 56px);
  text-align: right;
}

.case--reverse .case-result {
  margin-left: auto;
}

.case--reverse .case-meta {
  align-items: flex-end;
}

.case--reverse .case-img {
  order: 2;
}

/* Small case pair */
/* CASES EXTRA (hidden until toggled) */
.cases-extra {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  pointer-events: none;
}
.cases-extra.open {
  max-height: 4000px;
  opacity: 1;
  pointer-events: auto;
}
.cases-toggle-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 0 80px;
}
.cases-toggle-btn {
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px 28px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s, border-color 0.3s;
}
.cases-toggle-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.cases-toggle-arrow { font-size: 1rem; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: inline-block; }
.cases-toggle-btn[aria-expanded="true"] .cases-toggle-arrow { transform: rotate(180deg); }

.case-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  margin-bottom: 80px;
}

.case-small--offset {
  margin-top: clamp(60px, 8vw, 120px);
}

.case-small-img {
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.case-small-img img {
  width: 100%;
  height: clamp(260px, 22vw, 360px);
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.04);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
}

.case-small:hover .case-small-img img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.04);
}

.case-small-info {
  position: relative;
}

.case-num-sm {
  font-family: var(--serif);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.case-small h4 {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 10px;
}

/* ============================================
   APPROACH — dark, editorial
   ============================================ */
.approach {
  background: var(--dark-mid);
  padding: clamp(48px, 6vw, 90px) clamp(24px, 4vw, 64px);
  position: relative;
  overflow: clip; /* clip (not hidden) so the sticky scrollytelling panel can pin to the viewport */
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ===== Ambient background motion (Option C: drifting blueprint grid + light sweep) ===== */
/* Sticky 100vh layer stays viewport-locked so the motion showcases continuously while the section scrolls. */
.section-bg {
  position: sticky; top: 0;
  height: 100vh;
  margin-bottom: -100vh; /* pull out of flow: sticky still occupies space, this collapses it so content isn't pushed down a full screen */
  z-index: 0;
  pointer-events: none;
  overflow: hidden; /* clip the sweep within the viewport box */
}
.sbg-grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(212,184,138,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,184,138,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 0%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 0%, transparent 80%);
  animation: sbgGrid 40s linear infinite;
  will-change: background-position;
}
.sbg-sweep {
  position: absolute; top: -50%; left: -30%;
  width: 60%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(212,184,138,0.07), transparent);
  transform: rotate(12deg);
  filter: blur(30px);
  animation: sbgSweep 14s ease-in-out infinite;
  will-change: left, opacity;
}
@keyframes sbgGrid {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 64px 64px, 64px 64px; }
}
@keyframes sbgSweep {
  0%   { left: -40%; opacity: 0; }
  25%  { opacity: 1; }
  50%  { left: 90%; opacity: 1; }
  75%  { opacity: 0; }
  100% { left: 90%; opacity: 0; }
}
/* Keep section content painting above the ambient layer */
.approach > .approach-header,
.approach > .ht-grid { position: relative; z-index: 1; }
/* Operator-team: bg nests inside the already-pinned sticky box (absolute, no margin trick — avoids shifting the sibling sticky's pin range) */
.agent-flow-sticky .section-bg { position: absolute; inset: 0; height: auto; margin: 0; }
.agent-flow-sticky > *:not(.section-bg) { position: relative; z-index: 1; }
/* Tier 1 (faint): grid only, no sweep, lighter, mask concentrated up top so it sits behind the heading and fades before any form/interactive content */
.section-bg.is-faint { position: absolute; inset: 0; height: auto; margin: 0; }
.section-bg.is-faint .sbg-sweep { display: none; }
.section-bg.is-faint .sbg-grid {
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 0%, transparent 72%);
}
.cta > .cta-inner { position: relative; z-index: 1; }
/* Operator-team orbit: bg is absolute-scoped to the section (avoids the sticky+margin flow-space trick); content lifted above it. Scoped off the scroll variant so it doesn't override .orbit-pin's sticky. */
.orbit .section-bg { position: absolute; inset: 0; height: auto; margin: 0; }
.orbit:not(.orbit-scroll) > *:not(.section-bg) { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .sbg-grid { animation: none; }
  .sbg-sweep { display: none; }
}

/* Subtle diagonal line texture */
.approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%23ffffff' stroke-width='0.3' stroke-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.approach-header {
  max-width: 1400px;
  margin: 0 auto clamp(60px, 8vw, 120px);
}

.approach-heading {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.01em;
}

.approach-heading em {
  font-style: italic;
  color: var(--accent);
}

.approach-sub {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin-top: 28px;
}


/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  background: var(--dark-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: clamp(80px, 10vw, 160px) clamp(24px, 4vw, 64px);
}

.testimonial-mark {
  font-family: var(--serif);
  font-size: clamp(6rem, 14vw, 12rem);
  color: rgba(212, 184, 138, 0.08);
  line-height: 0.5;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.testimonial blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  letter-spacing: -0.01em;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.testimonial blockquote footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial blockquote footer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(0.3);
  border: 2px solid rgba(212, 184, 138, 0.2);
}

.testimonial cite {
  font-style: normal;
  text-align: left;
}

.testimonial cite strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
}

.testimonial cite span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: clamp(100px, 12vw, 180px) clamp(24px, 4vw, 64px);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.about-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}