/* ── Design Tokens ───────────────────────────────────────────────── */
:root {
  /* Colours */
  --bg-primary:     #190029;
  --bg-surface:     #1a0035;
  --bg-elevated:    #220040;
  --accent:         #ED4FC7;
  --accent-dim:     rgba(237, 79, 199, 0.15);
  --accent-border:  rgba(237, 79, 199, 0.4);
  --text-primary:   #FAFCFE;
  --text-secondary: rgba(250, 252, 254, 0.65);
  --text-muted:     rgba(250, 252, 254, 0.38);
  --border:         rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-body:    'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  /* Layout */
  --max-width:    1100px;
  --nav-height:   60px;
  --radius:       4px;
  --radius-lg:    8px;
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Scrollbar ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ── Utility ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.section-pad {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.section-label span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Images ─────────────────────────────────────────────────────── */
.img-placeholder {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
}
.section-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  filter: brightness(0.92);
}

/* ── Testimonials ────────────────────────────────────────────────── */
.testimonial-strip {
  text-align: center;
}
.testimonial-strip p {
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.testimonial-attr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.testimonial-rule {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}
.testimonial-attr cite {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: normal;
}
.testimonial-card {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
}
.testimonial-card p {
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.testimonial-card footer cite {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: #f060d4; border-color: #f060d4; }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-border);
}
.btn-outline:hover { background: var(--accent-dim); border-color: var(--accent); }
.btn-text {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 12px 0;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
.btn-text:hover { color: var(--accent); }

/* ── Full-width divider ──────────────────────────────────────────── */
.full-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ── Screen-reader only ──────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Skip link ───────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
@media (prefers-reduced-motion: reduce) {
  .skip-link { transition: none; }
  .scroll-arrow { animation: none; }
}

/* ── Focus ───────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ── Navigation ──────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(25, 0, 41, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 30px; width: auto; max-width: none; }
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0 auto;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta { flex-shrink: 0; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  margin: -8px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  height: calc(100vh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
  background: rgba(25, 0, 41, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 16px 5% calc(40px + env(safe-area-inset-bottom));
  overflow-y: auto;
  z-index: 99;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; width: 100%; margin-bottom: 8px; }
.mobile-nav ul a {
  display: block;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.75rem 0;
  text-align: center;
  transition: color 0.2s;
}
.mobile-nav ul a:hover,
.mobile-nav ul a[aria-current="page"] { color: var(--accent); }
.mobile-nav .btn {
  display: flex;
  width: 100%;
  max-width: 320px;
  justify-content: center;
  border-radius: 100vw;
  padding: 14px 24px;
  margin: 8px auto 0;
}

/* ── Responsive — nav ────────────────────────────────────────────── */
/* 7 nav items + logo + CTA only fit on one line above ~1080px; below
   that the hamburger menu takes over. */
@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── Hero ────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-height);
}
.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 80px 32px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero-content { max-width: 760px; }
#hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 56px;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-scroll {
  text-align: center;
  padding: 24px 32px 32px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

@media (max-width: 768px) {
  #hero h1 { font-size: 32px; line-height: 40px; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ── Social Proof Strip ──────────────────────────────────────────── */
#social-proof {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.social-proof-inner {
  padding: 48px 32px;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .social-proof-inner { padding: 36px 20px; }
  .testimonial-strip p { font-size: 16px; }
}

/* ── What We Do ──────────────────────────────────────────────────── */
#what-we-do { background: var(--bg-surface); }

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.value-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.value-card:hover,
.value-card:focus-within { border-color: var(--accent-border); transform: translateY(-2px); }
.value-card:hover::before,
.value-card:focus-within::before { transform: scaleX(1); }
.value-card h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.value-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ── Surge ───────────────────────────────────────────────────────── */
.surge-layout {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 64px;
  align-items: center;
}
.surge-img-wrap {
  min-height: 360px;
}
.surge-img-wrap .section-img {
  height: 100%;
  min-height: 360px;
}
.surge-img-wrap .section-img {
  object-position: left center;
}
#surge h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--text-primary);
  margin-bottom: 16px;
}
.surge-sub {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 48px;
}
.stat-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-number {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: 180px;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
  align-self: center;
}

@media (max-width: 768px) {
  .surge-layout { display: block; }
  .surge-img-wrap { display: none; }
}
@media (max-width: 640px) {
  .stat-row { gap: 24px; }
  .stat-divider { display: none; }
}

/* ── Services ────────────────────────────────────────────────────── */
#services { background: var(--bg-surface); }

#services h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--text-primary);
  margin-bottom: 12px;
  max-width: 640px;
}
.services-sub {
  font-weight: 300;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
}
.service-list {
  list-style: none;
  border-top: 1px solid var(--border);
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.2s;
}
.service-item:hover,
.service-item:focus-within { padding-left: 8px; }
.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  padding-top: 2px;
  flex-shrink: 0;
  width: 28px;
}
.service-body h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.service-body p {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

@media (max-width: 640px) {
  .service-item { gap: 16px; }
}

/* ── For Clients ─────────────────────────────────────────────────── */
.clients-layout {
  display: grid;
  grid-template-columns: 53fr 47fr;
  gap: 64px;
  align-items: start;
}
.clients-copy {
  display: flex;
  flex-direction: column;
}
.clients-copy h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--text-primary);
  margin-bottom: 16px;
}
.clients-copy > p {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.clients-img-wrap {
  align-self: stretch;
}
.clients-img-stack {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  border-radius: var(--radius);
}
.clients-img-stack .section-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.clients-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 45%);
  pointer-events: none;
}
.clients-img-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0.6;
  pointer-events: none;
}
.clients-copy .testimonial-card { margin-top: 24px; }
.audience-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .clients-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .clients-img-wrap {
    order: 2;
  }
  .clients-img-stack {
    min-height: 260px;
    height: 260px;
  }
  .audience-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ── For Consultants ─────────────────────────────────────────────── */
#consultants { background: var(--bg-surface); }

.consultants-layout {
  display: grid;
  grid-template-columns: 47fr 53fr;
  gap: 64px;
  align-items: start;
}
.consultants-copy {
  display: flex;
  flex-direction: column;
}
.consultants-copy h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--text-primary);
  margin-bottom: 16px;
}
.consultants-copy > p {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.consultants-img {
  height: 280px;
  margin-top: 24px;
}
.consultants-copy .section-img {
  object-position: left center;
  filter: brightness(0.8) saturate(0.85);
}
.consultants-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.consultant-form-wrap {
  width: 100%;
}

@media (max-width: 768px) {
  .consultants-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .consultants-img { height: 220px; }
  .consultant-form-wrap { min-width: 0; max-width: 100%; }
}

/* ── Forms ───────────────────────────────────────────────────────── */
.lead-form { display: flex; flex-direction: column; gap: 16px; }

.honeypot {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 22px;
  color: var(--text-muted);
}

.form-group input[type="text"],
.form-group input[type="email"] {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.2s;
}
.form-group input:focus-visible {
  outline: none;
  border-color: var(--accent);
}
.form-group input[aria-invalid="true"] { border-color: #e82155; }
.form-group input::placeholder { color: var(--text-muted); }

.form-consent { flex-direction: row; align-items: flex-start; gap: 0; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-label a { color: var(--accent); text-decoration: underline; }

.field-error {
  font-size: 12px;
  color: #e82155;
  min-height: 16px;
}

.form-submit { align-self: flex-start; margin-top: 4px; }
.form-submit[disabled] { opacity: 0.6; cursor: not-allowed; }

.form-success {
  padding: 14px 18px;
  background: rgba(20, 194, 148, 0.1);
  border: 1px solid rgba(20, 194, 148, 0.3);
  border-radius: var(--radius);
  color: #a1e6d4;
  font-size: 14px;
}
.form-success[hidden] { display: none; }

.form-error-msg {
  padding: 14px 18px;
  background: rgba(232, 33, 85, 0.1);
  border: 1px solid rgba(232, 33, 85, 0.3);
  border-radius: var(--radius);
  color: #f07090;
  font-size: 14px;
}
.form-error-msg[hidden] { display: none; }
.form-error-msg a { color: var(--accent); }

/* ── Resources ───────────────────────────────────────────────────── */
#resources { background: var(--bg-surface); }

#resources h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--text-primary);
  margin-bottom: 12px;
}
.resources-sub {
  font-weight: 300;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 560px;
}
.resources-loading { color: var(--text-muted); font-size: 14px; }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.resource-audience { display: flex; gap: 6px; }
.audience-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 2px;
  padding: 2px 8px;
}
.resource-card h3 {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-primary);
}
.resource-card p {
  font-weight: 300;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
}
.resource-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.resource-actions a,
.resource-actions button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.resource-actions a:hover,
.resource-actions button:hover { color: var(--text-primary); }

/* ── Download gate modal ─────────────────────────────────────────── */
.download-gate {
  position: fixed;
  inset: 0;
  background: rgba(25, 0, 41, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.download-gate[hidden] { display: none; }
.gate-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 420px;
  width: 100%;
  position: relative;
}
.gate-close {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 20px;
  color: var(--text-muted);
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--radius);
  transition: color 0.2s;
}
.gate-close:hover { color: var(--text-primary); }
.gate-panel h3 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
}
.gate-panel > p {
  font-weight: 300;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.gate-form { display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 900px) {
  .resource-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .resource-grid { grid-template-columns: 1fr; }
  .gate-panel { padding: 28px 20px; }
}

/* ── Footer ──────────────────────────────────────────────────────── */
#footer { margin-top: auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding: 64px 0 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-tagline {
  font-weight: 300;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 260px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-weight: 300;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-col a[aria-disabled="true"] { color: var(--text-muted); pointer-events: none; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 32px;
  border-top: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-coming-soon {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-meta { display: flex; align-items: center; gap: 20px; }
.footer-social { color: var(--text-muted); transition: color 0.2s; }
.footer-social:hover { color: var(--accent); }
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-tagline { max-width: 100%; }
}
@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr; }
}

/* ── Legal Talent page ─────────────────────────────────────────────── */
.lt-hero {
  padding: calc(var(--nav-height) + 72px) 0 64px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.lt-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.15;
  max-width: 820px;
  margin-bottom: 24px;
}
.lt-hero-sub {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 18px;
  max-width: 720px;
  margin-bottom: 16px;
}
.lt-hero .btn { margin-top: 16px; }

/* Legal Talent imagery ------------------------------------------------ */
.lt-media {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lt-media picture { display: block; width: 100%; height: 100%; }
.lt-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.lt-media--landscape { aspect-ratio: 3 / 2; }      /* Hero + Our approach */
.lt-media--portrait  { aspect-ratio: 380 / 540; }  /* Our solutions       */

.lt-hero-layout,
.lt-approach-layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, 480px);
  gap: 56px;
}
.lt-hero-layout { align-items: center; }
.lt-approach-layout { align-items: start; }

.lt-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 760px;
}
.lt-prose {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 16px;
  max-width: 760px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .lt-hero h1 { font-size: 30px; }
  .lt-hero-sub { font-size: 16px; }
  .lt-hero-layout,
  .lt-approach-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.lt-solutions-grid {
  display: grid;
  grid-template-columns: 1fr 380px 1fr;
  grid-template-rows: auto auto;
  gap: 20px 32px;
  margin-top: 32px;
  align-items: stretch;
}
.lt-solutions-image {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 380px;
}
.lt-solution-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.lt-solution-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}
.lt-solution-card p {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 15px;
}
@media (max-width: 768px) {
  .lt-solutions-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 20px;
  }
  .lt-solutions-image {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    order: -1;
    aspect-ratio: 760 / 700;   /* shorter mobile crop (heads top, elbow bottom) */
  }
}
.lt-numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.lt-number { display: flex; flex-direction: column; gap: 6px; }
.lt-number-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
}
.lt-number-label {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 15px;
}
.lt-facts {
  list-style: none;
  margin-top: 36px;
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.lt-facts li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 15px;
}
.lt-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 2px;
  background: var(--accent);
}
.lt-testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.lt-quote { padding: 24px 28px; }
@media (max-width: 768px) {
  .lt-numbers-grid { grid-template-columns: 1fr; gap: 24px; }
  .lt-testimonials { grid-template-columns: 1fr; }
}
.lt-cta {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 72px 0;
}
.lt-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 16px;
}
.lt-cta-sub {
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}
.lt-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
/* Even, comfortable vertical rhythm between Legal Talent sections on mobile.
   Each section contributes 28px top + 28px bottom → ~56px between sections. */
@media (max-width: 768px) {
  .lt-section .section-pad { padding-top: 28px; padding-bottom: 28px; }
  .lt-prose:last-child { margin-bottom: 0; }
  .lt-hero { padding-bottom: 28px; }
  .lt-cta { padding-top: 28px; padding-bottom: 48px; }
}

.nav-links a[aria-current="page"] { color: var(--text-primary); }
