/* ============================================================
   RC| — Agency Website
   ============================================================ */

:root {
  --gold:      #FCAE1E;   /* primary accent — orange/gold   */
  --blue:      #2B4EFF;   /* secondary accent — royal blue    */
  --lime:      #00E676;   /* tertiary accent — electric green */
  --bg:        #FFFFFF;
  --surface:   #F6F5F1;   /* warm off-white for cards        */
  --border:    #E4E2DA;
  --text:      #111111;
  --muted:     #6B6B6B;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Plus Jakarta Sans', sans-serif;
  --nav-h:     72px;
}


/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 20px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Utility ── */
.accent        { color: var(--gold); }
.accent-blue   { color: var(--blue); }
.accent-dot {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  background: var(--gold);
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 0.05em;
  position: relative;
  top: 0.2em;
}
.accent-dot--blue { background: var(--blue); }
.accent-dot--lime { background: var(--lime); }
.label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5vw;
  transition: background 0.3s, border-bottom 0.3s, box-shadow 0.3s;
}

#nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.08em;
}
.nav-logo:hover { opacity: 0.65; }
.logo-bar {
  display: inline-block;
  width: 0.12em;
  height: 1em;
  border-radius: 1px;
  background: linear-gradient(
    to bottom,
    var(--gold)  0%   33.3%,
    var(--blue)  33.3% 66.6%,
    var(--lime)  66.6% 100%
  );
  vertical-align: middle;
  position: relative;
  top: -0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-active { color: var(--text) !important; font-weight: 600; }

/* ── Nav dropdown ── */
.nav-dropdown {
  position: relative;
}
.nav-chevron {
  font-size: 0.7rem;
  margin-left: 0.2em;
  display: inline-block;
  transition: transform 0.2s;
  vertical-align: middle;
  color: var(--lime);
}
.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  min-width: 160px;
  padding: 0.75rem 0 0.5rem;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  list-style: none;
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  display: block;
  height: 0.75rem;
  margin-top: -0.75rem;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown-menu li a:hover {
  color: var(--text);
  background: var(--surface);
}

.page-section {
  padding-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 5rem;
  padding-left: 5vw;
  padding-right: 5vw;
  min-height: 80vh;
}
.nav-cta {
  font-weight: 700;
}
.nav-cta:hover {
  color: var(--gold) !important;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 4rem) 5vw 6rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Colour pip decorations */
.hero-pips {
  position: absolute;
  bottom: 3rem;
  right: 5vw;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}
.pip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: opacity 0.15s ease;
}
.pip-gold { background: var(--gold); }
.pip-blue { background: var(--blue); }
.pip-lime { background: var(--lime); }

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-headline {
  font-size: clamp(3.2rem, 8vw, 10rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}
/* "impossible" — layered text wipe */
.hl-wrap {
  position: relative;
  display: inline-block;
  isolation: isolate;
  vertical-align: baseline;
  overflow: visible;
}
.hl-base {
  color: var(--gold);
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hl-over {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  clip-path: inset(-20% 100% -20% 0);
  white-space: nowrap;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: clip-path;
}
.hl-line {
  position: absolute;
  bottom: -0.04em;
  left: 0;
  width: 100%;
  height: 0.1em;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  z-index: -1;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2.2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(252,174,30,0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2.2rem;
  border-radius: 4px;
  border: 1.5px solid var(--text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 5vw;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}
.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.scroll-line {
  width: 48px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: scanLine 2s 1.5s infinite;
}

/* ============================================================
   WHO WE ARE
   ============================================================ */
#about {
  padding: 0 0 0 8vw;
  border-top: 1px solid var(--border);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-left h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
}

.about-left p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-left p:last-of-type { margin-bottom: 2.5rem; }

.about-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* colour stripe per stat */
.about-stat:nth-child(1)::before { background: var(--gold); }
.about-stat:nth-child(2)::before { background: var(--blue); }
.about-stat:nth-child(3)::before { background: var(--lime); }
.about-stat:nth-child(4)::before { background: var(--gold); }

.about-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
}

.about-stat-num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.about-stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============================================================
   WHO WE ARE — expanded
   ============================================================ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.about-intro {
  margin-bottom: 0;
}
.about-intro p {
  margin-bottom: 1.25rem;
}

.about-image {
  background: var(--lime);
  overflow: hidden;
  height: 100vh;
  position: relative;
  border-radius: 20px 0 0 20px;
  align-self: stretch;
}
.about-image img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-image { display: none; }
}

.about-block {
  margin-bottom: 5rem;
}

.about-subhead {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* Roles */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.role-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.role-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.07);
}

.role-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.role-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.role-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-weight: 500;
}

.role-owns {
  font-size: 0.825rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.role-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.role-list li {
  font-size: 0.825rem;
  color: var(--muted);
  padding-left: 0.9rem;
  position: relative;
  line-height: 1.5;
}
.role-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}

/* Operating modes */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mode-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
}

.mode-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  display: inline-block;
}
.mode-label--gold { background: rgba(252,174,30,0.15); color: #b87d00; }
.mode-label--blue { background: rgba(0,87,255,0.1);  color: var(--blue); }
.mode-label--lime { background: rgba(200,240,0,0.2); color: #6a8000; }

.mode-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.mode-list li {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.mode-list li strong {
  color: var(--text);
  font-weight: 600;
}

/* Rules */
.about-block--rules { max-width: 680px; }

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.rules-list li {
  font-size: 0.95rem;
  color: var(--muted);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}
.rules-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Advisors row */
.team-advisors {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.team-advisors-label {
  margin-bottom: 2rem;
}
.team-advisors-label .label {
  margin-bottom: 0;
}
.team-advisors-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.team-advisors .team-card {
  max-width: 100%;
}

/* Team bio */
.team-bio {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   TEAM
   ============================================================ */
#team {
  padding: 5rem 5vw;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.team-card {
  background: transparent;
  border-top: 3px solid var(--border);
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
/* Left border divider between columns */
.team-grid .team-card:nth-child(3n+2),
.team-grid .team-card:nth-child(3n+3) {
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}
/* Colour the top border per card */
.team-card:nth-child(1) { border-top-color: var(--gold); }
.team-card:nth-child(2) { border-top-color: var(--blue); }
.team-card:nth-child(3) { border-top-color: var(--border); }
.team-card:nth-child(4) { border-top-color: var(--lime); }
.team-card:nth-child(5) { border-top-color: var(--gold); }
.team-card:nth-child(6) { border-top-color: var(--blue); }
.team-card--open {
  background: transparent;
}
.team-card--blue {
  border-top-color: var(--blue);
}
.team-card--advisor {
  border-top-color: var(--blue);
}
.team-card.team-card--gold {
  border-top-color: var(--gold);
}
.team-card.team-card--blue {
  border-top-color: var(--blue);
}
.team-card.team-card--lime {
  border-top-color: var(--lime);
}

.team-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.team-avatar--initials {
  background: var(--gold);
  color: #fff;
}
.team-avatar--advisor {
  background: var(--blue);
  color: #fff;
}
.team-avatar--photo {
  overflow: hidden;
  padding: 0;
}
.team-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-avatar--open {
  background: transparent;
  border: 1.5px dashed var(--border);
  color: var(--muted);
  font-size: 1.2rem;
  font-family: var(--font-sans);
}

.team-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.2;
}
.team-name--open {
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
}
.team-title {
  font-size: 0.825rem;
  color: var(--muted);
  margin-top: 0.2rem;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
}

.team-linkedin {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  transition: color 0.2s;
  align-self: flex-start;
}
.team-linkedin:hover { color: var(--blue); }
.team-card--open .team-linkedin {
  color: var(--muted);
}
.team-card--open .team-linkedin:hover { color: var(--gold); }

/* ============================================================
   SERVICES
   ============================================================ */
#services {
  padding: 3rem 5vw 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-header h2 em {
  font-style: italic;
  color: var(--text);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.service-card {
  background: var(--bg);
  padding: 3rem 2.5rem 3rem 0;
  border-top: 3px solid var(--border);
}
.service-card + .service-card {
  padding-left: 2.5rem;
  border-left: 1px solid var(--border);
}

/* Per-card top stripe */
.service-card:nth-child(1) { border-top-color: var(--gold); }
.service-card:nth-child(2) { border-top-color: var(--blue); }
.service-card:nth-child(3) { border-top-color: var(--lime); }
.service-card:nth-child(4) { border-top-color: var(--gold); }

.service-number {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.service-card:nth-child(1) .service-number { color: var(--gold); }
.service-card:nth-child(2) .service-number { color: var(--blue); }
.service-card:nth-child(3) .service-number { color: var(--lime); filter: brightness(0.75); }
.service-card:nth-child(4) .service-number { color: var(--gold); }

.service-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.service-card li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
}
.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.service-card:nth-child(1) li::before { background: var(--gold); }
.service-card:nth-child(2) li::before { background: var(--blue); }
.service-card:nth-child(3) li::before { background: var(--lime); }
.service-card:nth-child(4) li::before { background: var(--gold); }

/* ── Integrated section ── */
#integrated {
  padding: 3rem 8vw 5rem;
  background: var(--surface);
}

.integrated-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.integrated-problem p,
.integrated-solution p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 0.75rem;
}

.integrated-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.integrated-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45em 1em;
  border-radius: 100px;
  color: #111;
}
.integrated-tag--gold { background: var(--gold); }
.integrated-tag--blue { background: var(--blue); color: #fff; }
.integrated-tag--lime { background: var(--lime); }

.integrated-divider {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--border);
}

.integrated-outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.integrated-outcome {
  padding: 2.5rem 0;
  border-top: 2px solid var(--border);
}

.integrated-outcome--gold { border-top-color: var(--gold); }
.integrated-outcome--blue { border-top-color: var(--blue); }
.integrated-outcome--lime { border-top-color: var(--lime); }

.integrated-outcome h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.integrated-outcome p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.integrated-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .integrated-header { grid-template-columns: 1fr; gap: 2rem; }
  .integrated-intro { grid-template-columns: 1fr; gap: 2rem; }
  .integrated-outcomes { grid-template-columns: 1fr 1fr; }
  .integrated-tags { flex-direction: row; flex-wrap: wrap; }
}

/* ============================================================
   MARKETS
   ============================================================ */
#markets {
  padding: 4rem 8vw;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--surface);
}

.markets-intro {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.markets-cities {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.markets-city {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.markets-sep {
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.markets-sep--blue { background: var(--blue); }

@media (max-width: 600px) {
  #markets { padding: 3.5rem 1.25rem; }
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  padding: 6rem 8vw;
  border-top: 1px solid var(--border);
}

.contact-headline {
  max-width: 800px;
  margin-bottom: 4rem;
}

.contact-headline h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.contact-headline h2 em {
  font-style: italic;
  color: var(--text);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.contact-left h2 em {
  font-style: italic;
  color: var(--text);
}

.contact-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 3rem;
}
.contact-desc strong {
  color: var(--text);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-item a, .contact-item span {
  font-size: 1rem;
  color: var(--text);
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--gold); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  resize: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #AAAAAA; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(252,174,30,0.12);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6B6B' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  background-color: var(--surface);
}

.contact-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
  padding-top: 0.5rem;
}
.contact-cta-block p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
}

.contact-form .btn-primary {
  align-self: flex-start;
  opacity: 1;
  animation: none;
}

.form-success {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.form-success.visible { display: block; }

/* ============================================================
   OUR WORK
   ============================================================ */

.work-header {
  padding: calc(var(--nav-h) + 2rem) 5vw 2rem;
  border-bottom: 1px solid var(--border);
}

/* ── Project card grid ── */
.work-projects {
  padding: 4rem 5vw 5rem;
}

.work-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1280px;
}

.work-project-card {
  position: relative;
  display: block;
  height: 580px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  background: #0f1623;
}

/* Image fills the card as a background */
.work-project-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.03);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.55;
}
.work-project-card:hover .work-project-bg {
  transform: scale(1.08);
  opacity: 0.65;
}

/* Dark gradient from bottom */
.work-project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.45) 45%,
    rgba(0,0,0,0.08) 100%
  );
}

/* Content sits above overlay */
.work-project-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2.75rem;
}

.work-project-tags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.work-project-logo {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.96);
  border-radius: 8px;
  padding: 6px 14px;
  margin-bottom: 1rem;
}
.work-project-logo img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.work-project-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.75rem;
  max-width: 420px;
}

.work-project-stats {
  display: flex;
  gap: 2.5rem;
}

.work-project-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.work-stat-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.work-stat-plus,
.work-stat-pct {
  font-size: 0.65em;
  color: var(--gold);
  vertical-align: super;
}

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

/* "View Case Study" pill — appears on hover */
.work-project-cta {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  padding: 0.5em 1.1em;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.work-project-card:hover .work-project-cta {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .work-projects-grid { grid-template-columns: 1fr; }
  .work-project-card  { height: 480px; }
}

/* ── Case study back link ── */
.case-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 3rem;
  transition: color 0.2s;
}
.case-back:hover { color: var(--text); }

/* Case study */
.case-study {
  padding: 4rem 5vw 5rem;
  border-bottom: 1px solid var(--border);
}

.case-study-inner {
  max-width: 1100px;
}

.case-study-header {
  margin-bottom: 3rem;
}

.case-study-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.case-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: 100px;
  color: #111;
}
.case-tag--gold { background: var(--gold); }
.case-tag--blue { background: var(--blue); color: #fff; }
.case-tag--lime { background: var(--lime); }

.case-client-logo {
  margin: 1rem 0 1.25rem;
}
.case-client-logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.case-study-header h3 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.case-study-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.65;
}

/* Visual */
.case-study-visual {
  margin-bottom: 4rem;
}

.case-visual-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 1.25rem;
}

.case-visual-img {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.case-visual-img--dark {
  background: #0f1623;
  border-color: #0f1623;
}

.case-visual-img--full {
  width: 100%;
}

.case-visual-img img {
  max-height: 520px;
  width: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .case-visual-split { grid-template-columns: 1fr; }
}

/* Body columns */
.case-study-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.case-study-col p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 0.75rem;
}
.case-study-col p + p { margin-top: 1rem; }

/* Workstreams */
.case-workstreams {
  margin-top: 1rem;
}

.case-workstream-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2rem;
}

.case-workstream {
  background: transparent;
  padding: 2rem 2.5rem 2rem 0;
  border-top: 3px solid var(--border);
}
.case-workstream + .case-workstream {
  padding-left: 2.5rem;
  border-left: 1px solid var(--border);
}
.case-workstream:nth-child(1) { border-top-color: var(--gold); }
.case-workstream:nth-child(2) { border-top-color: var(--blue); }
.case-workstream:nth-child(3) { border-top-color: var(--lime); }
.case-workstream:nth-child(4) { border-top-color: var(--gold); }

.case-workstream-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.case-workstream h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.case-workstream p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Social feed */
.case-social-feed {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}

.case-social-img {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.case-social-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Interactive tools section */
.case-tools {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}

.case-tools-intro {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
}

.case-tool-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.case-tool-card {
  background: transparent;
  border-top: 3px solid var(--gold);
  padding: 2rem 2.5rem 2rem 0;
}
/* Right-column cards */
.case-tool-card:nth-child(2n) {
  padding-left: 2.5rem;
  padding-right: 0;
  border-left: 1px solid var(--border);
}
/* Second row — add breathing room above */
.case-tool-card:nth-child(n+3) {
  padding-top: 3rem;
}
/* Per-card border colours */
.case-tool-card:nth-child(2) { border-top-color: var(--blue); }
.case-tool-card:nth-child(3) { border-top-color: var(--lime); }
.case-tool-card:nth-child(4) { border-top-color: var(--gold); }

.case-tool-header {
  margin-bottom: 1.25rem;
}

.case-tool-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.case-tool-card:nth-child(2) .case-tool-num { color: var(--blue); }
.case-tool-card:nth-child(3) .case-tool-num { color: var(--lime); filter: brightness(0.75); }
.case-tool-card:nth-child(4) .case-tool-num { color: var(--gold); }

.case-tool-header h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}

.case-tool-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.case-tool-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.case-tool-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-tool-features li {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.case-tool-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.case-tool-card:nth-child(2) .case-tool-features li::before { background: var(--blue); }
.case-tool-card:nth-child(3) .case-tool-features li::before { background: var(--lime); }
.case-tool-card:nth-child(4) .case-tool-features li::before { background: var(--gold); }

@media (max-width: 768px) {
  .case-tool-cards { grid-template-columns: 1fr; }
}

/* Email campaign card */
.case-email-card {
  border-top: 3px solid var(--lime);
  padding: 2.5rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.case-email-card-left {}
.case-email-card-right {}
.case-email-card .case-tool-num { color: var(--lime); filter: brightness(0.75); }
.case-email-card .case-tool-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.case-email-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  margin-top: 0.4rem;
}
.case-email-card > div > p,
.case-email-card-right > p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.case-email-card .case-tool-features li::before { background: var(--lime); }

@media (max-width: 768px) {
  .case-email-card { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Integration flywheel section */
.case-integration {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}
.integrated-outcomes--5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 900px) {
  .integrated-outcomes--5 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 600px) {
  .integrated-outcomes--5 { grid-template-columns: 1fr; }
}

/* Results */
.case-results {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}
.case-results--top {
  border-top: none;
  padding-top: 0;
  margin-top: 2.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.case-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
}

.case-result-stat {
  padding: 2rem 0;
  border-top: 3px solid var(--gold);
}

.case-result-stat:nth-child(2) { border-top-color: var(--blue); }
.case-result-stat:nth-child(3) { border-top-color: var(--lime); }
.case-result-stat:nth-child(4) { border-top-color: var(--gold); }

.case-result-num {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.case-result-plus,
.case-result-pct {
  font-size: 0.6em;
  color: var(--gold);
  vertical-align: super;
}

.case-result-label {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .case-results-grid { grid-template-columns: 1fr 1fr; }
}

/* Bottom CTA */
.work-cta {
  padding: 5rem 5vw;
  background: var(--surface);
}

.work-cta-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.work-cta-inner p {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

@media (max-width: 900px) {
  .case-study-body       { grid-template-columns: 1fr; gap: 2.5rem; }
  .case-workstream-grid  { grid-template-columns: 1fr 1fr; }
  .work-cta-inner        { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 600px) {
  .case-workstream-grid  { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   APPLY / PRO-BONO LANDING PAGE
   ============================================================ */

/* Question mark with gold dot — double-layer technique */
.qmark {
  display: inline-block;
  position: relative;
}
/* Dark layer: shows the hook, clips off the bottom dot */
.qmark-hook {
  display: inline-block;
  color: var(--text);
  clip-path: inset(0 0 18% 0);
}
/* Gold layer: same character, stacked on top, shows only the dot */
.qmark-dot-layer {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  clip-path: inset(82% 18% 0 18%);
}

/* Hero */
.apply-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 5rem) 5vw 5rem;
  border-bottom: 1px solid var(--border);
}

.apply-hero-inner {
  max-width: 100%;
  margin-bottom: 3.5rem;
}

.apply-hero-inner .label {
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.apply-hero-inner h1 {
  font-size: clamp(2.8rem, 7.5vw, 9rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.apply-hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.apply-hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.apply-hero-inner .btn-primary {
  animation-delay: 0.8s;
}

.apply-hero-tag {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.apply-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45em 1.1em;
  border-radius: 100px;
  color: #111;
}
.apply-tag--gold { background: var(--gold); }
.apply-tag--blue { background: var(--blue); color: #fff; }
.apply-tag--lime { background: var(--lime); }

.apply-divider {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--border);
}

/* What's Included */
.apply-offer {
  padding: 6rem 5vw;
  border-bottom: 1px solid var(--border);
}

.apply-offer-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}

.apply-offer-left h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.apply-offer-left p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.apply-offer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.apply-include-card {
  background: transparent;
  border-top: 3px solid var(--border);
  padding: 1.75rem 1.75rem 1.75rem 0;
}
.apply-include-card:nth-child(2n) {
  padding-left: 1.75rem;
  padding-right: 0;
  border-left: 1px solid var(--border);
}
.apply-include-card:nth-child(1) { border-top-color: var(--gold); }
.apply-include-card:nth-child(2) { border-top-color: var(--blue); }
.apply-include-card:nth-child(3) { border-top-color: var(--lime); }
.apply-include-card:nth-child(4) { border-top-color: var(--gold); }

.apply-include-stripe { display: none; }

.apply-include-body {
  padding: 0;
}

.apply-include-num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.apply-include-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.apply-include-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Who it's for */
.apply-who {
  padding: 6rem 5vw;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.apply-who-inner {
  max-width: 960px;
}

.apply-who-inner h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.apply-who-sub {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 3rem;
}

.apply-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.apply-who-card {
  background: transparent;
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-top: 3px solid var(--border);
}
.apply-who-card + .apply-who-card {
  padding-left: 2.5rem;
  padding-right: 0;
  border-left: 1px solid var(--border);
}

.apply-who-card-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.apply-who-card--yes .apply-who-card-label { color: var(--lime); filter: brightness(0.7); }
.apply-who-card--no  .apply-who-card-label { color: var(--muted); }
.apply-who-card--yes { border-top-color: var(--lime); }
.apply-who-card--no  { border-top-color: var(--border); }

.apply-who-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.apply-who-card li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 1.25rem;
  position: relative;
}

.apply-who-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.apply-who-card--yes li::before { background: var(--lime); }
.apply-who-card--no  li::before { background: var(--border); }

/* Form section */
.apply-form-section {
  padding: 6rem 5vw;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .apply-offer-inner  { grid-template-columns: 1fr; gap: 3rem; }
  .apply-who-grid     { grid-template-columns: 1fr; }
  .apply-form-inner   { grid-template-columns: 1fr; gap: 3rem; }
  /* Reset left border/padding when who-cards stack */
  .apply-who-card + .apply-who-card { padding-left: 0; border-left: none; padding-right: 0; }
}

@media (max-width: 680px) {
  .apply-offer-right  { grid-template-columns: 1fr; }
  /* Reset left border/padding when include-cards stack */
  .apply-include-card:nth-child(2n) { padding-left: 0; border-left: none; padding-right: 0; }
  .apply-include-card { padding: 1.75rem 0; }
  .apply-hero { padding: calc(var(--nav-h) + 3rem) 1.25rem 4rem; }
  .apply-offer, .apply-who, .apply-form-section { padding: 4rem 1.25rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--text);
  padding: 2.5rem 5vw;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.08em;
}
.logo-bar--footer {
  width: 0.13em;
  height: 1em;
  top: -0.03em;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-section {
  padding: calc(var(--nav-h) + 5rem) 8vw 6rem;
  max-width: 780px;
}
.privacy-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}
.privacy-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.privacy-meta {
  font-size: 0.85rem;
  color: var(--muted);
}
.privacy-block {
  margin-bottom: 2.5rem;
}
.privacy-block h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.privacy-block p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.privacy-block ul {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.privacy-block ul li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.4rem;
}
.privacy-block a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-dots {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scanLine {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* Hero inline dots */
.hero-dots {
  display: inline-flex;
  flex-direction: column;
  gap: 0.09em;
  margin-left: 0.12em;
  vertical-align: middle;
  margin-bottom: 0.08em;
}
.hero-dot {
  display: block;
  width: 0.14em;
  height: 0.14em;
  border-radius: 50%;
  transition: opacity 0.15s ease;
}
.hd-gold { background: var(--gold); }
.hd-blue { background: var(--blue); }
.hd-lime { background: var(--lime); }

/* Blinking dots */
.blink-dot {
  display: inline-block;
  transition: opacity 0.15s ease;
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about-right {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .roles-grid  { grid-template-columns: 1fr 1fr; }
  .modes-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .team-grid     { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 4rem; }

  /* Correct border/padding for 2-col team layout (3-col rules were wrong) */
  .team-grid .team-card:nth-child(3n+2),
  .team-grid .team-card:nth-child(3n+3) { padding-left: 0; border-left: none; }
  .team-grid .team-card:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--border); }

  /* Correct border/padding for 2-col services layout */
  .service-card + .service-card { padding-left: 0; border-left: none; }
  .service-card:nth-child(even) { padding-left: 2.5rem; border-left: 1px solid var(--border); }

  /* About section: don't force full viewport height on tablet */
  #about { min-height: unset; padding: 4rem 5vw; display: block; }
}

@media (max-width: 680px) {
  .roles-grid { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  #hero { padding: calc(var(--nav-h) + 3rem) 1.25rem 5rem; }
  .apply-hero { padding: calc(var(--nav-h) + 3rem) 1.25rem 4rem; }
  .apply-offer, .apply-who, .apply-form-section { padding: 4rem 1.25rem; }
  .apply-offer-inner { grid-template-columns: 1fr; gap: 3rem; }
  .apply-form-inner { grid-template-columns: 1fr; gap: 3rem; }
  .work-projects-grid { grid-template-columns: 1fr; }
  .work-project-card { height: 440px; }
  .integrated-intro { grid-template-columns: 1fr; gap: 2rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  #contact { padding: 4rem 1.25rem; }
}

@media (max-width: 600px) {
  /* ── Layout & padding ── */
  #nav { padding: 0 1.25rem; }
  #about, #team, #services, #contact { padding: 3.5rem 1.25rem; }
  #about { min-height: unset; display: block; }
  #integrated { padding: 2.5rem 1.25rem 4rem; }
  footer { padding: 2rem 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-scroll-hint { left: 1.25rem; }
  .about-ctas { flex-direction: column; }
  .about-ctas .btn-primary,
  .about-ctas .btn-outline { text-align: center; width: 100%; }

  /* ── Hero ── */
  .hero-headline { font-size: clamp(2rem, 9vw, 3.5rem); }
  .hero-pips { display: none; }

  /* ── Section headings ── */
  .section-header h2 { font-size: clamp(1.8rem, 8vw, 3.5rem); }
  .contact-headline h2 { font-size: clamp(1.8rem, 8vw, 3.5rem); }
  .section-header { margin-bottom: 2rem; }

  /* ── Services: single column ── */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 2.5rem 0; }
  .service-card + .service-card { padding-left: 0; border-left: none; }
  .service-card:nth-child(even) { padding-left: 0; border-left: none; }

  /* ── Integrated outcomes: single column ── */
  .integrated-outcomes { grid-template-columns: 1fr; }
  .integrated-intro { gap: 2rem; padding-bottom: 2rem; margin-bottom: 2rem; }

  /* ── Team: single column, reset all 2-col borders ── */
  .team-grid { grid-template-columns: 1fr; }
  .team-grid .team-card { padding: 2rem 0; }
  .team-grid .team-card:nth-child(even) { padding-left: 0; border-left: none; }
  .team-advisors-cards { grid-template-columns: 1fr; }

  /* ── Work / Case study pages ── */
  .work-header { padding: calc(var(--nav-h) + 1.5rem) 1.25rem 1.5rem; }
  .work-projects { padding: 2.5rem 1.25rem 4rem; }
  .work-project-card { height: 360px; }
  .work-project-content { padding: 1.75rem; }
  .work-project-stats { gap: 1.5rem; }
  .work-cta { padding: 3.5rem 1.25rem; }
  .case-study { padding: 3rem 1.25rem 4rem; }
  .case-workstream-grid { grid-template-columns: 1fr; }
  .case-workstream { padding: 2rem 0; }
  .case-workstream + .case-workstream { padding-left: 0; border-left: none; }
  .case-results-grid { grid-template-columns: 1fr; }
  .case-tool-cards { grid-template-columns: 1fr; }
  .case-tool-card { padding: 2rem 0; }
  .case-tool-card:nth-child(n+3) { padding-top: 2rem; }
  .case-tool-card:nth-child(2n) { padding-left: 0; border-left: none; }
  .case-study-header h3 { font-size: clamp(1.8rem, 8vw, 3rem); }
  .case-study-sub { font-size: 0.95rem; }

  /* ── Privacy ── */
  .privacy-section { padding: calc(var(--nav-h) + 3rem) 1.25rem 4rem; }

  /* ── Contact ── */
  .contact-inner { gap: 2.5rem; }
  #contact { padding: 3.5rem 1.25rem; }
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 110;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  html { font-size: 16px; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .theme-toggle { margin-left: 1rem; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 5vw 2rem;
    gap: 0;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links a { padding: 0.85rem 0; font-size: 1rem; display: block; color: var(--text); }
  .nav-dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    padding: 0 0 0.75rem 1rem;
    margin-top: 0;
    background: transparent;
    min-width: unset;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav-dropdown-menu li a { padding: 0.45rem 0; font-size: 0.875rem; color: var(--muted); }
  .nav-chevron { display: inline-block; transition: transform 0.25s; }
  .nav-dropdown.open .nav-chevron { transform: rotate(180deg); }
  .nav-cta { margin-top: 0.25rem; }
  .theme-toggle { display: none; }
}

/* ============================================================
   DARK MODE
   ============================================================ */
[data-theme="dark"] {
  --bg:      #0C0C0C;
  --surface: #181818;
  --border:  #2C2C2C;
  --text:    #FFFFFF;
  --muted:   #FFFFFF;
}
[data-theme="dark"] #nav.scrolled {
  background: rgba(12, 12, 12, 0.94);
  box-shadow: 0 1px 20px rgba(0,0,0,0.4);
}
[data-theme="dark"] .nav-dropdown-menu {
  background: #181818;
}
[data-theme="dark"] .nav-dropdown-menu li a:hover {
  background: #222222;
}
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
  background: #181818;
  border-color: #2C2C2C;
  color: var(--text);
}
[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder { color: #555; }
[data-theme="dark"] .form-group select { background-color: #181818; }
[data-theme="dark"] .btn-outline {
  border-color: var(--text);
  color: var(--text);
}
[data-theme="dark"] .btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}
[data-theme="dark"] .work-project-card { background: #181818; }
[data-theme="dark"] .team-card { background: var(--bg); }
[data-theme="dark"] footer { background: #FFFFFF; }
[data-theme="dark"] .footer-logo { color: #111111; }
[data-theme="dark"] .footer-copy { color: rgba(0,0,0,0.45); }
[data-theme="dark"] .footer-links a { color: rgba(0,0,0,0.5); }
[data-theme="dark"] .footer-links a:hover { color: var(--gold); }

/* ── Theme toggle button ── */
.theme-toggle {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.theme-toggle:hover { color: var(--text); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle { margin-left: 1rem; }

/* ── Promo banner ── */
.promo-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 290px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 1.25rem 1.5rem 1.25rem;
  z-index: 9998;
  transform: translateY(calc(100% + 3rem));
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  pointer-events: none;
}
.promo-banner.promo-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.promo-banner.promo-dismissed {
  transform: translateY(calc(100% + 3rem));
  opacity: 0;
  pointer-events: none;
}
.promo-close {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.3rem;
  transition: color 0.2s;
}
.promo-close:hover { color: var(--text); }
.promo-banner .label { margin-bottom: 0.5rem; display: block; }
.promo-text {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0.5rem 0 1rem;
}
.promo-text strong { color: var(--text); font-weight: 700; }
.promo-cta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.promo-cta:hover { opacity: 0.7; }

@media (max-width: 600px) {
  .promo-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }
}

