/* ===== @font-face: self-hosted fonts ===== */

/* Cormorant Garamond */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/cormorant-garamond-v21-latin-300.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  src: url('/fonts/cormorant-garamond-v21-latin-300italic.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('/fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2');
  font-display: swap;
}

/* Jost */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/jost-v20-latin-300.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/jost-v20-latin-regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/jost-v20-latin-500.woff2') format('woff2');
  font-display: swap;
}

/* ═══════════════════════════════════════════════
   RESET & VARIABLES
   ═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Blue/gray palette derived from the Photon Fusion logo */
  --ink:        #0d1f3c;                  /* deep navy */
  --paper:      #f2f5f9;                  /* cool off-white */
  --cream:      #e4eaf5;                  /* light blue-gray */
  --gold:       #1e40af;                  /* royal blue — primary accent on light bg */
  --gold-light: #2563eb;                  /* medium blue — secondary accent on light bg */
  --gold-dim:   rgba(30, 64, 175, 0.09);
  --muted:      #506880;                  /* blue-gray for secondary text */
  --line:       rgba(30, 64, 175, 0.14);  /* divider / border colour */
  --text-body:  #1a2d48;                  /* main prose text */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', 'Helvetica Neue', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: var(--gold);
  color: var(--paper);
}

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

/* Skip to content for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
  z-index: 200;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; }

/* ═══════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════ */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
}

h1 {
  font-size: clamp(1.9rem, 3.5vw, 3.6rem);
  line-height: 1.14;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 2rem;
}

h3 {
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════ */
header[role="banner"] {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 4rem;
  background: rgba(242, 245, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 4rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.2s forwards;
}

.hero-tag {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s 0.4s forwards;
}

#hero h1 {
  max-width: 980px;
  opacity: 0;
  animation: fadeUp 1.1s 0.55s forwards;
}

.hero-sub {
  margin-top: 2.5rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: none;
  opacity: 0;
  animation: fadeUp 1s 0.8s forwards;
}

.hero-cta {
  margin-top: 3.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1s forwards;
}

/* Buttons */
.btn-primary {
  padding: 0.9rem 2.4rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  display: inline-block;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: transparent;
  color: var(--ink);
}

.btn-ghost {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.btn-ghost:hover,
.btn-ghost:focus-visible { color: var(--gold); }

.btn-ghost::after {
  content: '\2192';
  transition: transform 0.3s;
}

.btn-ghost:hover::after { transform: translateX(4px); }

/* Hero background geometry */
.hero-bg {
  position: absolute;
  top: 0; right: 0;
  width: 34vw;
  height: 100%;
  background: var(--cream);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: -1;
  opacity: 0;
  animation: fadeIn 1.5s 0.3s forwards;
}

.hero-helix {
  position: absolute;
  top: 50%;
  right: 10vw;
  transform: translate(50%, -50%);
  width: 340px;
  height: 340px;
  z-index: -1;
  opacity: 0;
  animation: fadeIn 1.5s 0.8s forwards;
}

.hero-helix-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.hero-helix-ring:nth-child(1) { inset: 0; }
.hero-helix-ring:nth-child(2) { inset: 22px; }
.hero-helix-ring:nth-child(3) { inset: 50px; border-style: dashed; opacity: 0.5; }

/* ═══════════════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════════════ */
.divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 4rem;
  margin: 2rem 0;
}

.divider[aria-hidden="true"] { user-select: none; }

.divider-line { flex: 1; height: 1px; background: var(--line); }
.divider-mark {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold);
}

/* ═══════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════ */
#about {
  padding: 7rem 4rem;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.about-left {
  position: sticky;
  top: 8rem;
}

.about-right p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 1.4rem;
}

.about-right p:last-child { margin-bottom: 0; }

.credential-row {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.credential-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.stat-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════
   EXPERTISE / FOCUS AREAS
   ═══════════════════════════════════════════════ */
#expertise {
  padding: 7rem 4rem;
}

.expertise-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
  margin-bottom: 4rem;
}

.expertise-intro p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--muted);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.expertise-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--line);
  transition: background 0.4s;
  position: relative;
}

.expertise-card:last-child { border-right: none; }

.expertise-card:hover { background: var(--gold-dim); }

.expertise-card .card-icon {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  line-height: 1;
  display: block;
}

.expertise-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.expertise-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
}

/* Approach — Three lenses */
.methodology-section {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}

.methodology-section p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 1.4rem;
}

.methodology-pillars {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.methodology-pillar {
  flex: 1;
  padding-top: 1.2rem;
  border-top: 2px solid var(--gold);
}

.methodology-pillar h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.methodology-pillar p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════ */
#services {
  /* Override accent variables for the dark background */
  --gold:       #60a5fa;               /* bright blue — legible on dark */
  --gold-light: #93c5fd;               /* lighter blue — legible on dark */
  --line:       rgba(147, 197, 253, 0.18);
  background: var(--ink);
  color: var(--paper);
  padding: 7rem 4rem;
}

#services h2 { color: var(--paper); }

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
  margin-bottom: 5rem;
}

.services-intro p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: rgba(242, 245, 249, 0.70);
}

/* Services in 3 tiers */
.services-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-tier {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-tier:last-child { border-right: none; }

.tier-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
}

.service-tier h3 {
  color: var(--paper);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.service-tier p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(242, 245, 249, 0.60);
  margin-bottom: 1.2rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.service-list li {
  font-size: 0.88rem;
  color: rgba(242, 245, 249, 0.55);
  padding: 0.45rem 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* Who this is for */
.who-for {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.who-for h3 {
  color: var(--paper);
  font-size: 1.6rem;
}

.who-for-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.who-tag {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(242, 245, 249, 0.75);
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(147, 197, 253, 0.25);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════
   ENGAGEMENT MODEL
   ═══════════════════════════════════════════════ */
#engagement {
  padding: 7rem 4rem;
  background: var(--cream);
}

.engagement-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
  margin-bottom: 5rem;
}

.engagement-intro p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--muted);
}

.engagement-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}

.engagement-tier {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--line);
  transition: background 0.4s;
}

.engagement-tier:last-child { border-right: none; }

.engagement-tier:hover { background: var(--gold-dim); }

.engagement-tier-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.engagement-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.2rem;
}

.engagement-tier .tier-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.engagement-tier h3 {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0;
}

.engagement-tier p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.engagement-tier p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════
   PERSPECTIVES (Substack)
   ═══════════════════════════════════════════════ */
#perspectives {
  padding: 7rem 4rem;
}

.perspectives-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
  margin-bottom: 4rem;
}

.perspectives-intro p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--muted);
}

.perspectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.perspective-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  border: 1px solid var(--line);
  transition: border-color 0.4s, background 0.4s;
  min-height: 220px;
}

.perspective-card:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.perspective-num {
  font-family: var(--serif);
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.perspective-card h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: auto;
  color: var(--ink);
}

.perspective-source {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════ */
#contact {
  padding: 7rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  background: var(--cream);
}

.contact-left h2 { margin-bottom: 1.5rem; }

.contact-left > p {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 400px;
}

.contact-detail {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-detail a,
.contact-detail-item {
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.contact-detail a:hover,
.contact-detail a:focus-visible { color: var(--gold); }

.contact-detail .cd-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  min-width: 70px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   CONTACT FORM FIELDS
   ═══════════════════════════════════════════════ */

/* Honeypot: visually hidden but NOT display:none so bots fill it */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

.contact-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  padding: 0.8rem 1rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
  opacity: 0.55;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.80);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.7;
}

.select-wrap { position: relative; }

.select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--gold);
  pointer-events: none;
}

.form-field select {
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-submit {
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.form-status {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.form-status[data-state="success"] { color: #1a6b45; }
.form-status[data-state="error"]   { color: #b91c1c; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(96, 165, 250, 0.15);
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
}

footer p {
  font-size: 0.78rem;
  color: rgba(242, 245, 249, 0.50);
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 245, 249, 0.55);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: #60a5fa; }

/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Noscript fallback: show everything */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .expertise-grid .expertise-card:nth-child(3) { border-right: none; }
  .expertise-card:nth-child(4),
  .expertise-card:nth-child(5) { border-top: 1px solid var(--line); }
  .expertise-card:nth-child(4) { border-right: 1px solid var(--line); }
}

@media (max-width: 900px) {
  header[role="banner"] { padding: 1.2rem 2rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(242, 245, 249, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  #hero { padding: 8rem 2rem 5rem; }
  .hero-bg { display: none; }
  .hero-helix { display: none; }

  #about { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 2rem; }
  .about-left { position: static; }

  .expertise-intro { grid-template-columns: 1fr; gap: 2rem; }
  #expertise { padding: 5rem 2rem; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .expertise-card { border-right: none !important; }
  .expertise-card:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .expertise-card:last-child { border-right: none !important; }
  .methodology-section { grid-template-columns: 1fr; gap: 3rem; }
  .methodology-pillars { flex-direction: column; }

  #services { padding: 5rem 2rem; }
  .services-intro { grid-template-columns: 1fr; gap: 2rem; }
  .services-tiers { grid-template-columns: 1fr; }
  .service-tier { border-right: none; }
  .who-for { grid-template-columns: 1fr; gap: 2rem; }

  #engagement { padding: 5rem 2rem; }
  .engagement-intro { grid-template-columns: 1fr; gap: 2rem; }
  .engagement-tiers { grid-template-columns: 1fr; }
  .engagement-tier { border-right: none; border-bottom: 1px solid var(--line); }
  .engagement-tier:last-child { border-bottom: none; }

  #perspectives { padding: 5rem 2rem; }
  .perspectives-intro { grid-template-columns: 1fr; gap: 2rem; }
  .perspectives-grid { grid-template-columns: 1fr; }

  #contact { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 2rem; }
  .form-row { grid-template-columns: 1fr; }

  footer { flex-direction: column; gap: 1rem; padding: 2rem; text-align: center; }
  footer p { width: 100%; overflow-wrap: break-word; word-break: break-word; letter-spacing: 0.04em; font-size: 0.72rem; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.2rem; }

  .divider { padding: 0 2rem; }
}

@media (max-width: 600px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { border-right: none !important; }
  .credential-row { gap: 0.4rem; }
  .engagement-tiers { grid-template-columns: 1fr; }
}
