/* Brand-name fonts for the SOQ marquee (Wendy's in Pacifico etc.) */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Fredoka+One&family=Barlow+Condensed:wght@700;800&family=Playfair+Display:ital,wght@0,700;1,400;1,700&family=Rye&family=Righteous&family=Lilita+One&family=Nunito:wght@900&family=Oswald:wght@600;700&family=Anton&family=Bebas+Neue&family=Cinzel:wght@700&family=Josefin+Sans:wght@600;700&family=Raleway:wght@600&family=Montserrat:wght@700;800&family=Lora:wght@700&family=DM+Sans:wght@700;900&family=Merriweather:wght@700&family=Exo+2:wght@700;800&family=Black+Han+Sans&family=Alfa+Slab+One&display=swap');

/* ── RDG BRAND FONTS ── */
@font-face {
  font-family: 'Garet';
  src: url('../fonts/Garet-Book.otf') format('opentype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Garet';
  src: url('../fonts/Garet-Heavy.otf') format('opentype');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Altone';
  src: url('../fonts/Altone_Trial-Bold.ttf') format('truetype');
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Light sections — warm charcoal/slate, not bright white */
  --white: #1C1F1A;          /* was #FFFFFF — now deepest section bg */
  --cream: #232820;          /* was #F9F7F3 — warm dark slate */
  --cream-2: #1E211C;        /* was #F2EFE8 — slightly deeper */
  --cream-3: #2A2E27;        /* was #E8E3D8 — lighter slate for hover */
  --border: rgba(255,255,255,0.08);   /* was #DDD8CE */
  --border-2: rgba(255,255,255,0.14); /* was #C8C2B5 */
  --muted: rgba(255,255,255,0.35);    /* was #9E9890 */
  --mid: rgba(255,255,255,0.55);      /* was #6A6460 */
  --dark: rgba(255,255,255,0.75);     /* was #2E2A26 */
  --ink: rgba(255,255,255,0.92);      /* was #18150F — headings */

  --green-deep: #0D1F11;
  --green: #162F1C;
  --green-mid: #1E3F26;
  --green-bright: #4A8A5C;
  --green-light: #6BA87C;
  --green-tint: rgba(255,255,255,0.04);
  --green-tint-hover: rgba(255,255,255,0.07);

  --gold: #C9A96E;
  --gold-light: #DFC090;
  --gold-tint: rgba(201,169,110,0.12);

  --font-display: 'Garet', 'Helvetica Neue', Arial, sans-serif;
  --font-ui: 'Garet', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Garet', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; border: none; outline: none; }
a img { border: none; outline: none; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
}

/* ── CURSOR ── */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.3s, opacity 0.3s;
}

.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 32px; height: 32px;
  border: 1px solid rgba(26,66,42,0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.45s var(--ease), height 0.45s var(--ease), border-color 0.3s, opacity 0.3s;
}

.cursor.link { width: 5px; height: 5px; background: var(--gold); }
.cursor-ring.link { width: 48px; height: 48px; border-color: var(--gold); }
.cursor.hidden, .cursor-ring.hidden { opacity: 0; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  transition: background 0.5s var(--ease-std), border-color 0.5s;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(22,26,20,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: rgba(255,255,255,0.07);
}

nav.dark { background: transparent; border-color: transparent; }
nav.dark.scrolled {
  background: rgba(17,42,26,0.97);
  border-color: rgba(255,255,255,0.08);
}

.nav-logo { text-decoration: none; display: flex; align-items: center; transition: opacity 0.5s var(--ease); }
.nav-logo:hover { opacity: 0.82; }
nav.over-hero .nav-logo { opacity: 0; pointer-events: none; }
.nav-logo-icon { height: 64px; width: auto; flex-shrink: 0; display: block; border: none; outline: none; }
.nav-logo-white { display: block; }
.nav-logo-black { display: none; }
nav:not(.dark) .nav-logo-white { display: block; }
nav:not(.dark) .nav-logo-black { display: none; }
nav.dark .nav-logo-white { display: block; }
nav.dark .nav-logo-black { display: none; }
.footer-logo { height: 200px; width: auto; display: block; margin-bottom: 20px; border: none; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover { color: white; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: white; }
.nav-links a.active::after { transform: scaleX(1); }

nav.dark .nav-links a { color: rgba(255,255,255,0.45); }
nav.dark .nav-links a:hover,
nav.dark .nav-links a.active { color: white; }
nav.dark .nav-links a::after { background: rgba(255,255,255,0.5); }

.nav-btn {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  background: var(--green-bright);
  padding: 9px 20px;
  text-decoration: none;
  transition: background 0.25s;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
}

.nav-btn:hover { background: var(--green-mid); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--mid);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
nav.dark .hamburger span { background: rgba(255,255,255,0.65); }
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 660px;
  background-color: #050f08;
  display: flex;
  align-items: flex-end;
  padding: 88px 52px 80px;
  overflow: hidden;
}

/* Hero background photo */
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 1;
  display: block;
}

/* Dark overlay on top of photo */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(5,15,8,0.94) 0%, rgba(5,15,8,0.82) 28%, rgba(5,15,8,0.45) 55%, rgba(5,15,8,0.12) 100%),
    linear-gradient(to top, rgba(5,15,8,0.97) 0%, rgba(5,15,8,0.75) 18%, rgba(5,15,8,0.3) 38%, transparent 55%);
  z-index: 1;
}

/* Watermark logo - decorative upper-right corner element */
.hero-watermark {
  position: absolute;
  top: 24px;
  left: 24px;
  width: clamp(260px, 26vw, 360px);
  opacity: 0.11;
  pointer-events: none;
  user-select: none;
  z-index: 3;
  filter: brightness(10);
  clip-path: inset(0 0 30% 0);
}

@media (max-width: 1024px) {
  .hero-watermark {
    top: 40px;
    left: 12px;
    width: clamp(150px, 26vw, 200px);
    opacity: 0.1;
    clip-path: inset(0 0 42% 0);
  }
}

@media (max-width: 600px) {
  .hero-watermark {
    top: 30px;
    left: 8px;
    width: clamp(130px, 36vw, 170px);
    opacity: 0.09;
    clip-path: inset(0 0 42% 0);
  }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  z-index: 2;
}

.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 5% 95%, rgba(74,138,92,0.12) 0%, transparent 55%);
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.4s forwards;
}

.hero-eyebrow-rule { width: 28px; height: 1px; background: rgba(255,255,255,0.2); }

.hero-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(54px, 8vw, 112px);
  font-weight: 700;
  line-height: 0.95;
  color: white;
  letter-spacing: -0.02em;
}

.hl {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
}

.hl-inner {
  display: block;
  opacity: 0;
  transform: translateY(105%);
  animation: slideUp 0.95s var(--ease) forwards;
}

.hl:nth-child(1) .hl-inner { animation-delay: 0.52s; }
.hl:nth-child(2) .hl-inner {
  animation-delay: 0.67s;
  font-style: normal;
  font-weight: 400;
  color: rgba(255,255,255,0.42);
  font-size: 0.82em;
}
.hl:nth-child(3) .hl-inner { animation-delay: 0.82s; }

.hero-body {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.62);
  max-width: 380px;
  line-height: 1.85;
  margin-top: 36px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 1.1s forwards;
}

.hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 1.28s forwards;
}

.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-end;
  padding-bottom: 4px;
  align-self: flex-end;
  padding-bottom: 0;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 1s forwards;
}

.metric {
  text-align: right;
  padding-right: 16px;
  border-right: 1px solid rgba(255,255,255,0.14);
}

.metric-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -0.02em;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 3px;
}

.hero-down {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 1.7s forwards;
}

.hero-inner {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1080px;
}

.hero-down-bar {
  width: 1px; height: 48px;
  background: linear-gradient(rgba(255,255,255,0.3), transparent);
  animation: breathe 2.2s ease-in-out infinite;
}

.hero-down-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  writing-mode: vertical-rl;
}

/* ── MARQUEE ── */
.marquee {
  height: 42px;
  background: var(--green);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.marquee-dot {
  width: 2px; height: 2px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  min-height: 48px;
  transition: all 0.25s var(--ease-std);
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
}

.btn-green { color: white; background: var(--green); }
.btn-green:hover { background: var(--green-mid); }

.btn-white { color: var(--green-deep); background: white; }
.btn-white:hover { background: var(--cream-2); }

.btn-outline-white { color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.18); clip-path: none; }
.btn-outline-white:hover { color: white; border-color: rgba(255,255,255,0.45); }

.btn-outline-dark { color: var(--mid); border: 1px solid var(--border-2); clip-path: none; }
.btn-outline-dark:hover { color: var(--ink); border-color: var(--green); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-bright);
  text-decoration: none;
  transition: gap 0.3s var(--ease);
}

.link-arrow:hover { gap: 13px; }

/* ── LAYOUT ── */
.wrap { max-width: 1180px; margin: 0 auto; }
.section { padding: 96px 52px; }
.section-sm { padding: 64px 52px; }

/* ── LABELS ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--gold);
}

.eyebrow-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  margin-bottom: 18px;
}

.eyebrow-light::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: rgba(255,255,255,0.2);
}

/* ── HEADINGS ── */
.h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 800;
  line-height: 1.04;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.h1 em { font-style: normal; font-weight: 400; color: var(--muted); letter-spacing: 0; }

.h1-light {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 800;
  line-height: 1.04;
  color: white;
  letter-spacing: -0.015em;
}

.h1-light em { font-style: normal; font-weight: 400; color: rgba(255,255,255,0.42); letter-spacing: 0; }


/* ── APPROACH SECTION ── */
.approach-section {
  background: var(--white);
  padding: 96px 52px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.approach-section::before {
  content: 'RDG';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 340px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.5;
}

.approach-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 96px;
  align-items: start;
}

.approach-header {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.approach-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 50px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.approach-headline em {
  font-style: normal;
  font-weight: 400;
  color: var(--green-bright);
}

.approach-sub {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.82;
  max-width: 380px;
}

/* ── ACCORDION ── */
.accordion {
  border-top: 1px solid var(--border);
}

.acc-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}

.acc-trigger:hover .acc-title { color: var(--green); }

.acc-num {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
  flex-shrink: 0;
  width: 24px;
}

.acc-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
  flex: 1;
  transition: color 0.25s;
}

.acc-icon {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.25s;
  display: flex;
  align-items: center;
}

/* Open state */
.acc-item--open .acc-icon { transform: rotate(180deg); color: var(--green); }
.acc-item--open .acc-trigger .acc-title { color: var(--ink); }
.acc-item--open .acc-num { color: var(--green-bright); }

/* Gold item */
.acc-item--gold .acc-trigger:hover .acc-title { color: var(--gold); }
.acc-item--gold.acc-item--open .acc-icon { color: var(--gold); }
.acc-item--gold.acc-item--open .acc-num { color: var(--gold); }
.acc-item--gold.acc-item--open .acc-title { color: var(--ink); }

.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.acc-item--open .acc-body {
  grid-template-rows: 1fr;
}

.acc-body > * {
  overflow: hidden;
}

.acc-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.82;
  padding: 0 0 28px 42px;
  max-width: 520px;
}

/* Left border accent on open item */
.acc-item--open {
  position: relative;
}
.acc-item--open::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--green);
}
.acc-item--gold.acc-item--open::before {
  background: var(--gold);
}

/* Mobile */
@media (max-width: 1024px) {
  .approach-section { padding: 72px 24px; }
  .approach-section::before { display: none; }
  .approach-inner { grid-template-columns: 1fr; gap: 48px; }
  .approach-header { position: relative; top: auto; }
  .acc-title { font-size: clamp(18px, 4vw, 24px); }
  .acc-trigger { padding: 22px 0; }
}

@media (max-width: 600px) {
  .approach-section { padding: 56px 20px; }
  .acc-title { font-size: 18px; }
  .acc-desc { padding-left: 28px; font-size: 13.5px; }
}


/* ── PORTFOLIO ── */
.portfolio-section { background: var(--cream); }

.port-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.port-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
}

.pcard { position: relative; overflow: hidden; background: var(--cream-2); }
.pcard:nth-child(1) { grid-column: span 7; aspect-ratio: 16/10; }
.pcard:nth-child(2) { grid-column: span 5; aspect-ratio: 4/3; }
.pcard:nth-child(3) { grid-column: span 6; aspect-ratio: 16/9; }
.pcard:nth-child(4) { grid-column: span 6; aspect-ratio: 16/9; }

.pcard-bg {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 9px;
  transition: transform 0.8s var(--ease);
}

.pcard:hover .pcard-bg { transform: scale(1.035); }

.pcard-texture {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.45;
  transition: opacity 0.4s;
}

.pcard:hover .pcard-texture { opacity: 0.2; }

.pcard-icon-wrap {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0.25;
  transition: opacity 0.4s;
}

.pcard:hover .pcard-icon-wrap { opacity: 0.1; }

.pcard-icon { width: 36px; height: 36px; stroke: var(--dark); fill: none; stroke-width: 1; }
.pcard-label { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.16em; color: var(--mid); text-transform: uppercase; text-align: center; padding: 0 12px; }

.pcard-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,42,26,0.93) 0%, rgba(17,42,26,0.08) 52%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-std);
}

.pcard:hover .pcard-veil { opacity: 1; }

.pcard-meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 18px 22px;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.38s var(--ease);
}

.pcard:hover .pcard-meta { transform: translateY(0); opacity: 1; }

.pcard-sector {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.52);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.pcard-project {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: white;
  line-height: 1.1;
}

/* ── SECTORS ── */
.sectors-section {
  background: var(--green);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}

.sc {
  background: var(--green);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.22s;
}

.sc::after {
  content: '';
  position: absolute;
  bottom: 0; left: 28px; right: 28px;
  height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s var(--ease);
}

.sc:hover { background: var(--green-mid); }
.sc:hover::after { transform: scaleX(1); }

.sc-num {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--green-bright);
  margin-bottom: 12px;
}

.sc-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.1;
}

.sc-clients {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.75;
}


/* ── TESTIMONIAL TWO-UP ── */
.testi-section {
  background: var(--green-deep);
  padding: 96px 52px;
  position: relative;
  overflow: hidden;
}

.testi-section::before {
  content: '\201C';
  position: absolute;
  left: 20px; top: -80px;
  font-family: var(--font-display);
  font-size: 380px;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.testi-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: background 0.3s;
}

.testi-card:hover { background: rgba(255,255,255,0.07); }

.testi-card--gold {
  background: rgba(184,149,90,0.07);
  border-color: rgba(184,149,90,0.15);
}
.testi-card--gold:hover { background: rgba(184,149,90,0.12); }
.testi-card--gold .testi-card-rule { background: var(--gold); }
.testi-card--gold .testi-card-source { color: var(--gold-light); }

.testi-card-quote {
  font-family: var(--font-ui);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  font-style: normal;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  flex: 1;
  letter-spacing: 0.005em;
}

.testi-card-rule {
  width: 36px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.testi-card-source {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
}

.testi-card-attr {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

@media (max-width: 1024px) {
  .testi-section { padding: 72px 24px; }
  .testi-grid { grid-template-columns: 1fr; gap: 2px; }
  .testi-card { padding: 40px 32px; }
}
@media (max-width: 600px) {
  .testi-section { padding: 56px 20px; }
  .testi-card { padding: 32px 24px; }
  .testi-card-quote { font-size: clamp(16px, 4.5vw, 20px); }
}


/* ── COMMUNITY ── */
.community-section {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  padding: 72px 52px;
}

.community-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}

.pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  border: 1px solid var(--border-2);
  padding: 7px 14px;
  background: var(--cream-3);
  transition: all 0.2s;
}

.pill:hover { color: var(--green); border-color: var(--green); background: var(--green-tint); }

/* ── TEAM ── */
.team-section { background: var(--cream-2); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 44px;
}

.tc {
  background: var(--cream);
  padding: 44px 40px;
  border: 1px solid rgba(255,255,255,0.07);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.tc::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--green);
  transition: height 0.45s var(--ease);
}

.tc:hover { border-color: var(--green); box-shadow: 0 2px 24px rgba(26,66,42,0.06); }
.tc:hover::before { height: 100%; }

.tc-avatar {
  width: 132px; height: 132px;
  background: var(--cream-2);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.tc-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) contrast(1.02);
  transition: filter 0.5s var(--ease);
}

.tc:hover .tc-avatar img { filter: grayscale(0) contrast(1.05); }

.tc-initials {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--border-2);
}

.tc-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.1;
}

.tc-role {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  color: var(--green-bright);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tc-creds {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

.tc-bio {
  font-size: 12.5px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.tc-links { display: flex; flex-direction: column; gap: 4px; }

.tc-link {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.tc-link-tag {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 38px;
}

.tc-link-val {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--mid);
  transition: color 0.2s;
}

.tc-link:hover .tc-link-val { color: var(--green); }

/* ── SERVICES ── */
.services-section {
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: rgba(255,255,255,0.05);
}

.svc {
  background: var(--cream);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: background 0.22s;
}

.svc:hover { background: var(--cream-3); }

.svc-bar {
  width: 28px; height: 1.5px;
  background: var(--green);
  margin-bottom: 20px;
  transition: width 0.38s var(--ease);
}

.svc:hover .svc-bar { width: 48px; }

.svc-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.1;
}

.svc-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.85;
}

.svc-bottom-rule {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.svc:hover .svc-bottom-rule { transform: scaleX(1); }

/* ── PROCESS ── */
.process-wrap { max-width: 1180px; margin: 64px auto 0; }

.process-head {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

.ps {
  padding: 24px 20px 24px 0;
  border-right: 1px solid var(--border);
}

.ps:last-child { border-right: none; }
.ps:not(:first-child) { padding-left: 20px; }

.ps-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 8px;
}

.ps-name {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--green-bright);
  text-transform: uppercase;
  margin-bottom: 7px;
}

.ps-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.72;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--green);
  padding: 80px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

.cta-strip-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 46px);
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  line-height: 1.1;
}

.cta-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ── PAGE HEADER ── */
.page-hdr {
  padding: 148px 52px 84px;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}

.page-hdr::after {
  content: '';
  position: absolute;
  right: -180px; top: -180px;
  width: 380px; height: 380px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
@media (max-width: 768px) { .page-hdr::after { display: none; } }

.page-hdr-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }

.page-hdr-logo {
  position: absolute;
  top: 70px;
  right: clamp(40px, 7vw, 120px);
  left: auto;
  width: clamp(260px, 28vw, 360px);
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  filter: brightness(8);
  border: none;
  margin: 0;
  clip-path: inset(0 0 30% 0);
}

.page-subtitle {
  max-width: 560px;
  color: rgba(255,255,255,0.48);
  font-size: 15px;
  line-height: 1.85;
  margin-top: 14px;
  font-weight: 400;
}

/* ── PORTFOLIO FILTER ── */
.port-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.fb {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.fb:hover, .fb.active {
  color: white;
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.07);
}

/* ── CONTACT ── */
.contact-section { background: var(--cream-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
}

.cp { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.cp:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

.cp-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.cp-role {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 12px;
}

.cp-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 4px;
}

.cp-tag {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 40px;
}

.cp-val {
  font-size: 13px;
  color: var(--mid);
  transition: color 0.2s;
}

.cp-link:hover .cp-val { color: var(--green); }

.addr-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
  margin-top: 32px;
}

.addr-text { font-size: 14px; color: var(--mid); line-height: 1.8; }

.map-box {
  margin-top: 20px;
  height: 168px;
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 22px 22px;
}

.map-pin-group {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 7px;
}

.map-dot {
  width: 9px; height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(26,66,42,0.1), 0 0 18px rgba(26,66,42,0.18);
}

.map-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  background: white;
  padding: 4px 10px;
  border: 1px solid var(--border);
}

/* ── FORM ── */
.fg { margin-bottom: 16px; }

.fl {
  display: block;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.fi, .ft, .fs {
  width: 100%;
  background: var(--cream-3);
  border: 1px solid var(--border-2);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 13.5px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.fi:focus, .ft:focus, .fs:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,66,42,0.06);
}

.ft { height: 112px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.fsub {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  background: var(--green);
  border: none;
  padding: 15px 28px;
  cursor: pointer;
  transition: background 0.22s;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
  margin-top: 6px;
}

.fsub:hover { background: var(--green-mid); }

/* ── FOOTER ── */
footer {
  background: #0a0e09;
  padding: 60px 52px 40px;
  border-top: 2px solid var(--green);
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 3px;
}

.footer-brand-tag {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.75;
  max-width: 280px;
  margin-top: 6px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0; }

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color 0.22s, padding-left 0.22s;
  padding: 5px 0;
  display: block;
  min-height: 32px;
  display: flex;
  align-items: center;
}

.footer-links a:hover { color: rgba(255,255,255,0.75); padding-left: 4px; }

.footer-base {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

.footer-li {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-li:hover { color: rgba(255,255,255,0.55); }

/* ── SOQ BAR ── */
.soq-bar {
  margin-top: 48px;
  padding: 32px 40px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: var(--cream-3);
}

.soq-text {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  color: var(--mid);
}

.soq-text em { font-style: normal; color: var(--muted); font-weight: 700; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.26s; }
.d4 { transition-delay: 0.34s; }
.d5 { transition-delay: 0.42s; }

/* ── PREMIUM POLISH ── */



/* Pcard image parallax-style scale */
.pcard-bg img {
  transition: transform 0.8s var(--ease), opacity 0.4s;
  transform-origin: center;
}
.pcard:hover .pcard-bg img { transform: scale(1.04); }

/* Sector card left border accent on hover */
.sc {
  transition: background 0.22s, border-left-color 0.22s;
  border-left: 2px solid transparent;
}
.sc:hover {
  background: var(--cream-2);
  border-left-color: var(--gold);
}

/* Service card gold bar on hover */
.svc:hover .svc-bar { background: var(--gold); width: 32px; }

/* Principle rows subtle highlight */
.p-row {
  transition: background 0.2s, padding-left 0.2s;
}
.p-row:hover {
  background: rgba(255,255,255,0.05);
  padding-left: 6px;
}

/* Button press feel */
.btn { transition: transform 0.15s, box-shadow 0.15s, background 0.2s; }
.btn:active { transform: scale(0.97); }

/* Form inputs -- focus ring in gold */
.fi:focus, .fs:focus, .ft:focus {
  outline: none;
  border-bottom-color: var(--gold);
  box-shadow: 0 1px 0 0 var(--gold);
}

/* Footer links gold on hover */
.footer-links a {
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}



/* Selection color */
::selection {
  background: var(--gold);
  color: #0a0e09;
}

/* Scrollbar (webkit) */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }



/* Mobile menu CTA link */
#mobile-menu .mobile-cta {
  color: var(--gold) !important;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 8px;
  border-bottom: none !important;
  padding-top: 20px !important;
  min-height: 44px !important;
}
#mobile-menu .mobile-cta:hover { color: white !important; padding-left: 0 !important; }

/* Community section */
.community-h {
  font-size: clamp(24px, 2.6vw, 38px) !important;
  margin-top: 6px;
}
.community-sub {
  font-size: 13px;
  color: var(--mid);
  margin-top: 10px;
  max-width: 480px;
  line-height: 1.75;
}


/* ── HERO PROOF BAR ── */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  margin-top: -8px;
  flex-wrap: wrap;
}
.hero-proof-item {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.hero-proof-sep {
  width: 3px; height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .hero-proof { gap: 10px; margin-bottom: 24px; }
  .hero-proof-item { font-size: 8px; letter-spacing: 0.14em; }
}

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(105%); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ── BRAND LOGO REEL ── */
/* ── BRAND SECTION ── */
.brand-section {
  background: var(--green-deep);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.brand-section::before,
.brand-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.brand-section::before {
  left: 0;
  background: linear-gradient(to right, var(--green-deep) 30%, transparent);
}
.brand-section::after {
  right: 0;
  background: linear-gradient(to left, var(--green-deep) 30%, transparent);
}

/* Eyebrow */
.brand-eyebrow {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 52px 64px 40px;
}
.brand-eyebrow-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
  display: block;
}
.brand-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* Marquee rows */
.bm-row {
  display: flex;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.bm-row:last-of-type {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Row size hierarchy */
.bm-row--large .bm-item  { font-size: clamp(32px, 4.2vw, 58px); }
.bm-row--medium .bm-item { font-size: clamp(22px, 2.8vw, 38px); }
.bm-row--small .bm-item  { font-size: clamp(14px, 1.8vw, 24px); }

@media (max-width: 1024px) {
  .bm-row--large .bm-item  { font-size: clamp(28px, 5.5vw, 48px); }
  .bm-row--medium .bm-item { font-size: clamp(20px, 3.5vw, 32px); }
  .bm-row--small .bm-item  { font-size: clamp(12px, 2.2vw, 20px); }
}

@media (max-width: 600px) {
  .bm-row--large .bm-item  { font-size: clamp(24px, 7vw, 40px); }
  .bm-row--medium .bm-item { font-size: clamp(16px, 4.5vw, 26px); }
  .bm-row--small .bm-item  { font-size: clamp(11px, 2.8vw, 17px); }
}

.bm-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: bmScroll 70s linear infinite;
  flex-shrink: 0;
  min-width: max-content;
}
.bm-track--rev {
  animation: bmScrollRev 54s linear infinite;
}
.bm-row:hover .bm-track { animation-play-state: paused; }

.bm-item {
  font-family: var(--font-display);
  font-style: normal;
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 800;
  color: rgba(255,255,255,0.14);
  white-space: nowrap;
  padding: 20px 28px;
  cursor: default;
  user-select: none;
  transition: color 0.4s var(--ease);
  letter-spacing: -0.01em;
  line-height: 1.3;
  flex-shrink: 0;
}
.bm-item:hover { color: rgba(255,255,255,0.85); }
/* ── BRAND-SPECIFIC TYPOGRAPHY ── */
.bm-starbucks { font-family: 'Nunito', sans-serif; font-weight: 900; font-style: normal; letter-spacing: -0.02em; font-size: 0.78em; }
.bm-kfc { font-family: 'Playfair Display', serif; font-weight: 700; font-style: normal; letter-spacing: 0.08em; font-size: 0.72em; text-transform: uppercase; }
.bm-wendys { font-family: 'Pacifico', cursive; font-weight: 400; letter-spacing: -0.01em; font-size: 0.75em; }
.bm-dunkin { font-family: 'Fredoka One', cursive; font-weight: 400; letter-spacing: 0.02em; font-size: 0.82em; }
.bm-jimmyjohns { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.76em; }
.bm-arbys { font-family: 'Alfa Slab One', serif; font-weight: 400; letter-spacing: -0.01em; font-size: 0.68em; }
.bm-outback { font-family: 'Rye', serif; font-weight: 400; letter-spacing: 0.06em; font-size: 0.62em; }
.bm-baskin { font-family: 'Righteous', cursive; font-weight: 400; letter-spacing: 0.02em; font-size: 0.74em; }
.bm-potbelly { font-family: 'Lilita One', cursive; font-weight: 400; letter-spacing: 0.01em; font-size: 0.76em; }
.bm-grimaldis { font-family: 'Playfair Display', serif; font-weight: 400; font-style: italic; letter-spacing: 0.01em; font-size: 0.88em; }
.bm-scooters { font-family: 'Nunito', sans-serif; font-weight: 900; letter-spacing: -0.01em; font-size: 0.64em; text-transform: uppercase; }
.bm-dollargen { font-family: 'Black Han Sans', sans-serif; font-weight: 400; letter-spacing: 0.02em; font-size: 0.72em; text-transform: uppercase; }
.bm-dollartree { font-family: 'Oswald', sans-serif; font-weight: 700; letter-spacing: 0.04em; font-size: 0.7em; text-transform: uppercase; }
.bm-familydollar { font-family: 'Merriweather', serif; font-weight: 700; letter-spacing: 0.01em; font-size: 0.58em; }
.bm-publicstorage { font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: 0.06em; font-size: 0.72em; text-transform: uppercase; }
.bm-extraspace { font-family: 'Exo 2', sans-serif; font-weight: 800; letter-spacing: 0.02em; font-size: 0.6em; text-transform: uppercase; }
.bm-prologis { font-family: 'DM Sans', sans-serif; font-weight: 900; letter-spacing: 0.08em; font-size: 0.78em; text-transform: uppercase; }
.bm-reece { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-style: italic; letter-spacing: 0.04em; font-size: 0.92em; }
.bm-thejoint { font-family: 'Raleway', sans-serif; font-weight: 600; letter-spacing: 0.12em; font-size: 0.56em; text-transform: uppercase; }
.bm-bullfrog { font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: 0.1em; font-size: 0.62em; text-transform: uppercase; }
.bm-moonvalley { font-family: 'Josefin Sans', sans-serif; font-weight: 700; letter-spacing: 0.14em; font-size: 0.56em; text-transform: uppercase; }
.bm-beachclub { font-family: 'Bebas Neue', cursive; font-weight: 400; letter-spacing: 0.1em; font-size: 0.84em; }
.bm-phillipsedison { font-family: 'Cormorant Garamond', serif; font-weight: 600; letter-spacing: 0.06em; font-size: 0.68em; text-transform: uppercase; }
.bm-hawkins { font-family: 'Lora', serif; font-weight: 700; letter-spacing: 0.03em; font-size: 0.66em; }
.bm-inventrust { font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: 0.06em; font-size: 0.6em; text-transform: uppercase; }
.bm-abernathey { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic; letter-spacing: 0.02em; font-size: 0.72em; }
.bm-aspen { font-family: 'Raleway', sans-serif; font-weight: 600; letter-spacing: 0.1em; font-size: 0.52em; text-transform: uppercase; }
.bm-viaone { font-family: 'DM Sans', sans-serif; font-weight: 700; letter-spacing: 0.12em; font-size: 0.7em; text-transform: uppercase; }
.bm-basis { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 0.08em; font-size: 0.6em; text-transform: uppercase; }
.bm-southpaw { font-family: 'Pacifico', cursive; font-weight: 400; letter-spacing: 0.01em; font-size: 0.72em; }
.bm-100chiro { font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: 0.08em; font-size: 0.58em; text-transform: uppercase; }
.bm-bcnational { font-family: 'Oswald', sans-serif; font-weight: 600; letter-spacing: 0.1em; font-size: 0.68em; text-transform: uppercase; }




.bm-dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  flex-shrink: 0;
  vertical-align: middle;
  margin: 0 2px;
}

/* Footer overflow */
.brand-footer {
  padding: 24px 64px 48px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.brand-footer-text {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  white-space: nowrap;
}
.brand-footer-list {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.15);
  line-height: 1.9;
}

/* 1/3 offset — content is tripled for gap-free loop */
@keyframes bmScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}
@keyframes bmScrollRev {
  from { transform: translateX(-33.333%); }
  to   { transform: translateX(0); }
}

/* Speed variants */
.bm-speed-38 { animation-duration: 60s; }
.bm-speed-44 { animation-duration: 70s; }
.bm-speed-50 { animation-duration: 70s; }
.bm-speed-52 { animation-duration: 80s; }
.bm-speed-60 { animation-duration: 82s; }
.bm-track--rev.bm-speed-38 { animation-duration: 60s; }
.bm-track--rev.bm-speed-44 { animation-duration: 70s; }
.bm-track--rev.bm-speed-50 { animation-duration: 70s; }
.bm-track--rev.bm-speed-52 { animation-duration: 80s; }
.bm-track--rev.bm-speed-60 { animation-duration: 82s; }

/* 3rd row slightly smaller for visual hierarchy */
.bm-row:nth-child(4) .bm-item {
  font-size: clamp(18px, 2.2vw, 32px);
  color: rgba(255,255,255,0.09);
  padding: 16px 24px;
}
.bm-row:nth-child(4) .bm-item:hover { color: rgba(255,255,255,0.6); }

@media (max-width: 1024px) {
  .brand-eyebrow { padding: 44px 28px 36px; }
  .brand-footer { padding: 20px 28px 44px; }
  .bm-item { font-size: clamp(26px, 5vw, 44px); padding: 18px 22px; }
  .brand-section::before,
  .brand-section::after { width: 60px; }
}
@media (max-width: 600px) {
  .brand-eyebrow { padding: 36px 20px 28px; }
  .brand-footer { padding: 18px 20px 40px; flex-direction: column; gap: 6px; }
  .bm-item { font-size: clamp(22px, 6.5vw, 34px); padding: 14px 16px; }
  .bm-dot { width: 3px; height: 3px; }
  .brand-section::before,
  .brand-section::after { width: 40px; }
}


/* ── MOBILE MENU ── */
.menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 489;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.menu-backdrop.open { opacity: 1; pointer-events: all; }

#mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: #14180f;
  border-top: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  z-index: 490;
  padding: 8px 28px 36px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  max-height: calc(100svh - 60px);
  overflow-y: auto;
}
#mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#mobile-menu a {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  display: flex;
  align-items: center;
  min-height: 54px;
  transition: color 0.2s, padding-left 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
#mobile-menu a:last-child {
  border-bottom: none;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 12px;
  min-height: 48px;
}
#mobile-menu a:hover { color: white; padding-left: 8px; }
#mobile-menu a:active { color: white; }
@media (max-width: 1024px) {

  /* ── NAV ── */
  nav { padding: 0 24px; height: 76px; }
  .nav-links, .nav-btn { display: none; }
  .hamburger { display: flex; }
  .nav-logo-icon { height: 54px; }

  /* ── MOBILE MENU ── */
  #mobile-menu { padding: 0 24px 32px; top: 60px; }
  #mobile-menu a {
    padding: 16px 0;
    font-size: 16px;
    font-weight: 500;
    min-height: 52px;
    display: flex;
    align-items: center;
    letter-spacing: 0.02em;
  }

  /* ── HERO ── */
  .hero { padding: 60px 24px 52px; align-items: center; min-height: 100svh; }
  .hero-inner { grid-template-columns: 1fr; align-items: flex-start; gap: 0; padding-top: 16px; }
  .hero-down { display: none; }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero-eyebrow-text { font-size: 9px; letter-spacing: 0.2em; }
  .hero-title { font-size: clamp(44px, 9vw, 72px); }
  .hero-body { font-size: 15px; max-width: 520px; margin-top: 16px; }
  .hero-btns { margin-top: 28px; gap: 12px; flex-wrap: wrap; }
  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .metric { text-align: center; padding: 0; border-right: 1px solid rgba(255,255,255,0.12); border-left: none; }
  .metric:last-child { border-right: none; }
  .metric-num { font-size: 32px; }
  .metric-label { font-size: 8px; letter-spacing: 0.16em; }

  /* ── SECTIONS ── */
  .section { padding: 64px 24px; }
  .section-sm { padding: 48px 24px; }
  .community-section { padding: 56px 24px; }
  .testi { padding: 64px 24px; }
  .cta-strip { padding: 72px 24px; }
  .wrap { padding: 0; }

  /* ── VALUE ── */
  .value-grid { grid-template-columns: 1fr; gap: 48px; }
  .rdg-ghost { display: none; }
  .value-quote { font-size: 17px; line-height: 1.8; }

  /* ── PORTFOLIO ── */
  .port-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .port-grid { grid-template-columns: 1fr 1fr; gap: 3px; }
  .pcard:nth-child(1), .pcard:nth-child(2), .pcard:nth-child(3), .pcard:nth-child(4) { grid-column: span 1; aspect-ratio: 4/3; }
  .pc { aspect-ratio: 4/3; }
  .pc.wide { grid-column: span 2; aspect-ratio: 16/7; }

  /* ── SECTORS ── */
  .sectors-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .sc { padding: 24px 20px; }

  /* ── BRAND SECTION ── */
  .brand-section { padding: 64px 0 52px; }
  .brand-section-inner { padding: 0 24px; }
  .brand-row--2, .brand-row--4 { padding-left: 0; }
  .brand-n--xl { font-size: clamp(30px, 5.5vw, 52px); }
  .brand-n--lg { font-size: clamp(22px, 3.5vw, 36px); }
  .brand-divider { margin: 0 clamp(12px, 2.5vw, 28px); height: 16px; }
  .brand-eyebrow { margin-bottom: 44px; }
  .brand-n { padding: 14px 0; }

  /* ── TEAM ── */
  .team-grid { grid-template-columns: 1fr; }
  .tc { padding: 32px 24px; grid-template-columns: 1fr; gap: 24px; }
  .tc-avatar { width: 112px; height: 112px; }
  .tc-grid { grid-template-columns: 1fr; gap: 20px; }

  /* ── SERVICES ── */
  .svc-grid { grid-template-columns: 1fr; gap: 0; }
  .process-row { grid-template-columns: 1fr 1fr; }

  /* ── CONTACT ── */
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }

  /* ── PAGE HEADERS ── */
  .page-hdr { padding: 108px 24px 56px; }
  .page-hdr-logo { top: 56px; right: 24px; left: auto; width: clamp(200px, 38vw, 280px); opacity: 0.07; clip-path: inset(0 0 42% 0); }
  .h1-light { font-size: clamp(36px, 7vw, 60px); }
  .page-subtitle { font-size: 14px; max-width: 100%; }

  /* ── FOOTER ── */
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
  .footer-grid > div:first-child { grid-column: span 3; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 4px; }
  .footer-logo { height: 170px; }

  /* ── SOQ ── */
  .soq-bar { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 600px) {

  /* ── NAV ── */
  nav { padding: 0 20px; height: 68px; }
  .nav-logo-icon { height: 48px; }
  #mobile-menu { top: 68px; padding: 0 20px 28px; }
  #mobile-menu a { font-size: 15px; padding: 15px 0; }

  /* ── HERO ── */
  .hero { padding: 56px 20px 48px; }
  .hero-title { font-size: clamp(38px, 11vw, 58px); line-height: 1.05; }
  .hero-eyebrow-text { font-size: 8px; letter-spacing: 0.18em; }
  .hero-body { font-size: 14px; line-height: 1.8; margin-top: 14px; }
  .hero-btns { margin-top: 24px; }
  .btn { padding: 14px 24px; font-size: 10px; min-height: 50px; letter-spacing: 0.12em; }
  .metric-num { font-size: 28px; }
  .metric-label { font-size: 7px; letter-spacing: 0.14em; }

  /* ── SECTIONS ── */
  .section { padding: 52px 20px; }
  .section-sm { padding: 40px 20px; }
  .community-section { padding: 48px 20px; }
  .testi { padding: 52px 20px; }
  .testi-quote { font-size: clamp(17px, 4.5vw, 24px); line-height: 1.7; }
  .cta-strip { padding: 60px 20px; }
  .cta-title { font-size: clamp(26px, 7vw, 40px); }
  .cta-sub { font-size: 13px; }

  /* ── PORTFOLIO ── */
  .port-grid { grid-template-columns: 1fr; gap: 3px; }
  .pcard:nth-child(1), .pcard:nth-child(n) { grid-column: span 1; aspect-ratio: 16/9; }
  .pc.wide { grid-column: span 1; aspect-ratio: 16/9; }
  .pg { grid-template-columns: 1fr; }
  .pc { aspect-ratio: 16/9; }

  /* ── SECTORS ── */
  .sectors-grid { grid-template-columns: 1fr; gap: 1px; }
  .sc { padding: 20px; }
  .sc-name { font-size: 18px; }
  .sc-clients { font-size: 12px; }

  /* ── BRAND SECTION ── */
  .brand-section { padding: 52px 0 44px; }
  .brand-section-inner { padding: 0 20px; }
  .brand-n--xl { font-size: clamp(28px, 7.5vw, 44px); }
  .brand-n--lg { font-size: clamp(20px, 5vw, 30px); }
  .brand-n--md { font-size: clamp(9px, 2.5vw, 12px); }
  .brand-n--sm { font-size: clamp(7px, 1.8vw, 10px); }
  .brand-divider { margin: 0 10px; height: 12px; }
  .brand-n { padding: 12px 0; }
  .brand-footer { flex-direction: column; gap: 6px; }
  .brand-footer-list { letter-spacing: 0.06em; line-height: 1.8; }

  /* ── PRINCIPLES ── */
  .p-text { font-size: 14px; }
  .value-quote { font-size: 15px; }

  /* ── COMMUNITY ── */
  .pill { padding: 8px 14px; font-size: 11px; }

  /* ── TEAM ── */
  .tc { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .tc-name { font-size: 24px; }
  .tc-role { font-size: 9px; }
  .tc-bio { font-size: 13px; line-height: 1.75; }

  /* ── SERVICES ── */
  .svc-name { font-size: clamp(22px, 5vw, 30px); }
  .process-row { grid-template-columns: 1fr; }
  .proc-num { font-size: 32px; }

  /* ── CONTACT FORM ── */
  .form-row { grid-template-columns: 1fr; }
  .fi, .fs { min-height: 50px; font-size: 16px; padding: 14px 0; } /* 16px stops iOS zoom */
  .ft { font-size: 16px; min-height: 120px; }
  .submit-btn { min-height: 52px; font-size: 11px; width: 100%; letter-spacing: 0.14em; }
  .fl { font-size: 9px; }

  /* ── PAGE HEADERS ── */
  .page-hdr { padding: 92px 20px 48px; }
  .page-hdr-logo { top: 44px; right: 20px; left: auto; width: clamp(170px, 48vw, 220px); opacity: 0.065; clip-path: inset(0 0 42% 0); }
  .h1-light { font-size: clamp(30px, 9vw, 52px); }
  .eyebrow-light { font-size: 8px; letter-spacing: 0.24em; }

  /* ── FOOTER ── */
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 16px; }
  .footer-grid > div:first-child { grid-column: span 3; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 4px; }
  .footer-logo { height: 150px; }
  .footer-tagline { font-size: 11px; line-height: 1.6; margin-top: 10px; }
  .footer-col-title { font-size: 8px; letter-spacing: 0.2em; margin-bottom: 12px; }
  .footer-links a { font-size: 12px; }
  .footer-links li { margin-bottom: 8px; }
  .footer-copy { font-size: 10px; line-height: 1.6; }
  .footer-base { flex-direction: column; gap: 10px; align-items: flex-start; padding-top: 20px; }

  /* ── SOQ BAR ── */
  .soq-bar { padding: 20px; }
}

/* ── HOVER: NONE (touch devices) ── */
@media (hover: none) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  .pcard:active .pcard-veil { opacity: 0.65; }
  .btn:active { transform: scale(0.97); opacity: 0.9; }
  .brand-n:active { color: rgba(255,255,255,0.7); }
  .sc:active { background: var(--cream-2); }
  .p-row:active { background: var(--cream-2); }
  /* Remove hover transforms that feel wrong on touch */
  .pcard:hover .pcard-bg img { transform: none; }
  .sc:hover { padding-left: 20px; }
  .p-row:hover { padding-left: 0; }
}

/* ── SAFE AREA INSETS (notched phones) ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  nav {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
  }
  footer {
    padding-bottom: max(40px, env(safe-area-inset-bottom));
  }
  #mobile-menu {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
}



/* External link indicator */
.footer-links a[target="_blank"]::after {
  content: ' ↗';
  font-size: 9px;
  opacity: 0.35;
}

/* ── CONTACT PAGE ── */
.map-container {
  margin-top: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  filter: grayscale(0.4) brightness(0.7);
}
.cp-list { margin-top: 8px; }
.contact-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  padding: 8px 0;
  min-height: 36px;
}
.contact-linkedin:hover { color: var(--green); }

/* ── IMPROVED LINK ARROWS ── */
.footer-li {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  transition: color 0.22s;
  padding: 4px 0;
}
.footer-li:hover { color: rgba(255,255,255,0.65); }

/* ── IMPROVED TESTIMONIAL ── */
.testi-quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 2px;
  opacity: 0.4;
}

/* ── IMPROVED CTA STRIP ── */
.cta-strip-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }

/* ── IMPROVED PRINCIPLES ── */
.principles {
  border-top: 1px solid var(--border);
}
.p-row:first-child { border-top: none; }

/* ── IMPROVED PILL HOVER ── */
.pill {
  cursor: default;
  transition: color 0.22s, border-color 0.22s, background 0.22s, transform 0.2s;
}
.pill:hover { transform: translateY(-1px); }

/* ── IMPROVED SECTOR GRID ── */
.sectors-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 52px;
}
@media (max-width: 1024px) { .sectors-inner { padding: 0 24px; } }
@media (max-width: 600px) { .sectors-inner { padding: 0 20px; } }

/* ── FORM IMPROVEMENTS ── */
.fi::placeholder, .ft::placeholder {
  color: var(--border-2);
  font-size: 13px;
}
.fs option { background: white; color: var(--ink); }

/* ── IMPROVED PAGE HEADER ── */
.page-hdr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── SCROLL BEHAVIOR ── */
html { scroll-padding-top: 88px; }

/* ── FOCUS STYLES (accessibility) ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.hamburger:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Brand row indents */
.brand-row--1 { padding-left: 0; }
.brand-row--2 { padding-left: 40px; }
.brand-row--3 { padding-left: 0; }
.brand-row--4 { padding-left: 20px; }
.brand-row--5 { padding-left: 0; }

/* Portfolio grid card internals */
.pc {
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
  aspect-ratio: 4/3;
}
.pc.wide { grid-column: span 2; aspect-ratio: 16/7; }
.pc-bg {
  position: absolute; inset: 0;
}
.pc-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.pc:hover .pc-bg img { transform: scale(1.04); }
.pc-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,42,26,0.92) 0%, rgba(17,42,26,0.06) 50%, transparent 100%);
  opacity: 0.45;
  transition: opacity 0.4s var(--ease-std);
}
.pc:hover .pc-veil { opacity: 1; }
.pc-meta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  transform: translateY(6px);
  opacity: 0.7;
  transition: all 0.35s var(--ease);
}
.pc:hover .pc-meta { transform: translateY(0); opacity: 1; }
.pc-sec {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.pc-proj {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: white;
  line-height: 1.1;
}

/* Portfolio page wrapper */
.pg-wrap {
  background: var(--cream);
  padding-top: 60px;
}
.pg-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 52px;
}
@media (max-width: 1024px) { .pg-inner { padding: 0 24px; } }
@media (max-width: 600px) { .pg-inner { padding: 0 20px; } }

/* Portfolio card images object-fit */
.pcard-bg img,
.pc-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fi-file { padding: 10px 14px; cursor: pointer; }

/* ── PORTFOLIO GRID PAGE ── */
.pg-wrap {
  background: var(--cream);
  padding: 60px 52px 80px;
}
.pg-inner {
  max-width: 1380px;
  margin: 0 auto;
}
.pg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 0;
}
.pg .pc { aspect-ratio: 4/3; }
.pg .pc.wide { grid-column: span 2; aspect-ratio: 16/9; }
.pc-tex {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.4;
  transition: opacity 0.4s;
}
.pc:hover .pc-tex { opacity: 0.15; }
.pc-ico-wrap {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; gap: 7px;
  opacity: 0.2;
  transition: opacity 0.4s;
  z-index: 1;
}
.pc:hover .pc-ico-wrap { opacity: 0.08; }
.pc-ico { width: 34px; height: 34px; stroke: var(--dark); fill: none; stroke-width: 1; }
.pc-lbl {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--mid);
  text-transform: uppercase;
  text-align: center;
  padding: 0 10px;
}
@media (max-width: 1024px) {
  .pg-wrap { padding: 48px 24px 64px; }
  .pg { grid-template-columns: 1fr 1fr; }
  .pg .pc.wide { grid-column: span 2; aspect-ratio: 16/9; }
}
@media (max-width: 600px) {
  .pg-wrap { padding: 36px 0 52px; }
  .pg { grid-template-columns: 1fr; gap: 2px; }
  .pg .pc { aspect-ratio: 16/9; }
  .pg .pc.wide { grid-column: span 1; aspect-ratio: 16/9; }
}

/* ── IMPROVED SECTION SPACING ── */
.value-section .wrap,
.portfolio-section .wrap,
.sectors-section .sectors-inner,
.team-section .wrap,
.services-section .wrap,
.contact-section .wrap {
  max-width: 1180px;
  margin: 0 auto;
}

/* ── TYPOGRAPHY REFINEMENTS ── */
.h1 { letter-spacing: -0.02em; }
.h1-light { letter-spacing: -0.02em; }
.testi-quote { letter-spacing: 0.005em; }

/* Prevent orphaned words in testimonial */
.testi-quote { text-wrap: balance; }
.cta-title { text-wrap: balance; }
.h1 { text-wrap: balance; }
.h1-light { text-wrap: balance; }
.value-quote { text-wrap: balance; }

/* ── IMAGE PERFORMANCE ── */
/* (content-visibility removed: was preventing below-fold portfolio cards
   from painting reliably in some conditions) */

/* ── SMOOTH INTERNAL NAVIGATION ── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hl-inner { opacity: 1 !important; transform: none !important; }
}

/* ── PROJECT SPOTLIGHT (portfolio page) ── */
.spotlight {
  background: var(--cream);
  padding: 88px 52px 100px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.spotlight-inner { max-width: 1380px; margin: 0 auto; }
.spotlight-header { max-width: 900px; margin-bottom: 52px; }
.spotlight-title { margin-top: 14px; margin-bottom: 32px; }
.spotlight-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.spotlight-meta-item {
  background: var(--cream);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spotlight-meta-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.spotlight-meta-value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.spotlight-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--dark);
  max-width: 780px;
}

/* Gallery — asymmetric editorial grid */
.spotlight-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 3px;
  margin-top: 12px;
}
.sg-item {
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
  display: block;
  cursor: pointer;
}
.sg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
  filter: brightness(0.88) saturate(0.92);
}
.sg-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,42,26,0) 60%, rgba(17,42,26,0.35) 100%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.4s;
}
.sg-item:hover img { transform: scale(1.05); filter: brightness(1) saturate(1); }
.sg-item:hover::after { opacity: 0; }

.sg-item--hero { grid-column: span 2; grid-row: span 2; }
.sg-item--wide { grid-column: span 2; }

@media (max-width: 1024px) {
  .spotlight { padding: 64px 24px 72px; }
  .spotlight-meta { grid-template-columns: repeat(2, 1fr); }
  .spotlight-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .sg-item--hero { grid-column: span 2; grid-row: span 2; }
  .sg-item--tall { grid-row: span 2; }
}
@media (max-width: 600px) {
  .spotlight { padding: 52px 20px 60px; }
  .spotlight-title { font-size: clamp(30px, 7vw, 44px); }
  .spotlight-meta { grid-template-columns: 1fr 1fr; }
  .spotlight-meta-item { padding: 16px 18px; }
  .spotlight-meta-value { font-size: 15px; }
  .spotlight-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 2px; }
  .sg-item--hero { grid-column: span 2; grid-row: span 2; }
  .sg-item--tall { grid-row: span 1; }
}

/* ── RDG FONT TUNING ──
   With Garet (Book + Heavy only), we need explicit weight enforcement.
   Mono-role uses (eyebrows, labels, nav) should sit at Book weight.
   Display headlines should sit at Heavy. */
.nav-links a,
.nav-btn,
.btn,
.metric-label,
.footer-col-title,
.footer-copy,
.footer-li,
.footer-tagline,
.footer-links a,
.tc-role,
.tc-creds,
.cp-role,
.cp-tag,
.cp-val,
.tc-link-tag,
.tc-link-val,
.fl,
.fb,
.acc-num,
.spotlight-meta-label,
.process-head,
.ps-num,
.brand-eyebrow-text,
.pcard-sector,
.pc-sec,
.sc-num,
.pill,
.contact-linkedin,
.hero-eyebrow-text,
.hero-down-label,
.cta-sub {
  font-weight: 500;
}

/* Display weight enforcement for headline elements */
.metric-num,
.tc-name,
.cp-name,
.acc-title,
.svc-name,
.sc-name,
.pcard-project,
.pc-proj,
.cta-title,
.testi-card-source,
.spotlight-meta-value {
  font-weight: 800;
}
