/* ---------- Reset & tokens ---------- */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0f;
  --surface: #13131a;
  --surface-2: #16161f;
  --accent: #7eb8d4;
  --accent-soft: rgba(126, 184, 212, 0.12);
  --accent-line: rgba(126, 184, 212, 0.3);
  --text-primary: #e8e8ec;
  --text-secondary: #888896;
  --text-muted: #5a5a66;
  --border: #1e1e2a;
  --border-strong: #2a2a38;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1200px;
  --gutter: 2rem;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: 72px;
}

body {
  background:
    radial-gradient(ellipse 70% 50% at 15% 15%, rgba(126,184,212,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 75%, rgba(74,158,107,0.03) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 65% 5%, rgba(126,184,212,0.03) 0%, transparent 50%),
    #0a0a0f;
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

main, footer {
  position: relative;
  z-index: 1;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Reveal animation (Intersection Observer) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; scroll-snap-type: none; }
}

/* ---------- Nav ---------- */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  height: 72px;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, height 0.3s ease;
}

nav.scrolled {
  background: rgba(8, 8, 12, 0.92);
  border-bottom-color: var(--border);
  height: 64px;
}

.nav-wordmark {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-links a.nav-portal {
  color: var(--accent);
  border: 1px solid var(--accent-line);
  padding: 0.45rem 1rem;
  border-radius: 2px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-links a.nav-portal:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-overlay ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: center;
}
.nav-overlay a {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav-overlay a.nav-portal {
  color: var(--accent);
  font-size: 1.25rem;
  font-family: var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--accent-line);
  padding: 0.6rem 1.25rem;
  display: inline-block;
}
.nav-overlay-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.85rem;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: #98c8df;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap 0.2s ease, border-color 0.2s ease;
}
.link-arrow:hover {
  gap: 0.85rem;
  border-bottom-color: var(--accent);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: calc(100vh - 72px);
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  overflow: hidden;
  scroll-snap-align: start;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  display: block;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  opacity: 0.18;
  filter: blur(0.3px);
}
.hero-shape-1 {
  width: 720px; height: 720px;
  right: -240px; top: -180px;
  animation: drift 28s ease-in-out infinite alternate;
}
.hero-shape-2 {
  width: 460px; height: 460px;
  right: 10%; bottom: -160px;
  border-color: rgba(126, 184, 212, 0.18);
  animation: drift 36s ease-in-out infinite alternate-reverse;
}
.hero-shape-3 {
  width: 240px; height: 240px;
  left: 30%; top: 18%;
  border-color: rgba(126, 184, 212, 0.12);
  animation: drift 24s ease-in-out infinite alternate;
}

@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(40px, -30px) rotate(8deg); }
  100% { transform: translate(-30px, 30px) rotate(-6deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-rule {
  position: absolute;
  left: var(--gutter);
  top: 0.6rem;
  bottom: 0.6rem;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent) 18%, var(--accent) 82%, transparent);
  opacity: 0.7;
}

.hero-headline,
.hero-lede,
.hero-body,
.hero-ctas {
  margin-left: 2.25rem;
  max-width: 820px;
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.hero-headline span {
  display: block;
}

.hero-lede {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 400;
  color: var(--accent);
  max-width: 640px;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.hero-body {
  color: var(--text-secondary);
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.hero-body p + p { margin-top: 0.75rem; }

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

/* ---------- Standalone "Person" section ---------- */

/* ---------- Sectors section ---------- */

.sectors {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  scroll-snap-align: start;
}

.sectors-inner {
  text-align: center;
}

.sectors-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.sectors-rule {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 0;
  width: 100%;
}

.sectors-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 2.5rem;
  padding: 4rem 0;
  margin: 0;
}

.sector-item {
  flex: 0 0 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.sector-item:hover {
  opacity: 1;
}

.sector-item svg {
  width: 36px;
  height: 36px;
  display: block;
}

.sector-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

/* ---------- Section heading ---------- */

.section-head {
  margin-bottom: 4rem;
  max-width: 780px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.section-intro {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 700px;
}
.section-intro + .section-intro { margin-top: 0.85rem; }

/* ---------- Services ---------- */

.services {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  scroll-snap-align: start;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 2;
}

.service-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.service-card:hover::before,
.service-card.expanded::before {
  transform: scaleX(1);
}

.card-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.65rem 1.85rem;
  margin: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  min-height: 56px;
}
.card-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.service-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -0.005em;
}

.card-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--accent);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.service-card.expanded .card-toggle {
  transform: rotate(180deg);
}

.card-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 1.85rem;
  transition: max-height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
              opacity 0.3s ease,
              padding 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.service-card.expanded .card-body {
  max-height: 1200px;
  opacity: 1;
  padding: 0 1.85rem 1.75rem;
}

.card-body p {
  color: var(--text-secondary);
  font-size: 0.985rem;
  line-height: 1.7;
}
.card-body p + p { margin-top: 0.95rem; }

.card-cta {
  margin-top: 1.5rem;
}

/* Feature service card -- distinct from the four consultancy cards above */
.service-card-feature {
  grid-column: 1 / -1;
  margin-top: 4.5rem;
  background: #1a1a28;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  overflow: visible;
}
.service-card-feature:hover {
  background: #1a1a28;
  border-color: var(--border);
  border-left-color: var(--accent);
}

/* Centred accent divider sits in the gap above the card */
.service-card-feature::before,
.service-card-feature:hover::before,
.service-card-feature.expanded::before {
  content: "";
  display: block;
  position: absolute;
  top: -2.5rem;
  left: 50%;
  right: auto;
  width: 56px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
  transform: translateX(-50%);
  transition: none;
}

/* Heading -- Cormorant Garamond, larger than the menu cards */
.service-card-feature h3 {
  font-family: var(--serif);
  font-size: 1.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* This card is a statement, not a menu item -- no chevron, body always visible */
.service-card-feature .card-toggle { display: none; }
.service-card-feature .card-trigger {
  padding: 2rem 2rem 0.85rem;
  cursor: default;
}
.service-card-feature .card-body {
  max-height: none;
  opacity: 1;
  padding: 0 2rem 2rem;
}

/* ---------- How We Work ---------- */

.how {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  background:
    linear-gradient(180deg, transparent, rgba(126, 184, 212, 0.025) 50%, transparent),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  scroll-snap-align: start;
}

.how-stages {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  counter-reset: stage;
}

.how-stage {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  padding: 1.5rem 0.25rem 0;
  transition: flex-grow 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.how-stage.expanded {
  flex-grow: 2;
}

.stage-watermark {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 0.85;
  font-weight: 400;
  color: var(--text-primary);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.4s ease;
}
.how-stage.expanded .stage-watermark {
  opacity: 0.08;
}

.stage-trigger {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.25rem 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  min-height: 56px;
}
.stage-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.stage-trigger-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.stage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: var(--bg);
  flex-shrink: 0;
}

.how-stage h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0;
  color: var(--text-primary);
}

.stage-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 4px;
  color: var(--accent);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.how-stage.expanded .stage-toggle {
  transform: rotate(180deg);
}

.stage-body {
  position: relative;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: max-height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
              opacity 0.3s ease,
              padding 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.how-stage.expanded .stage-body {
  max-height: 700px;
  opacity: 1;
  padding: 0 0 1rem;
}

.stage-body p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.stage-illustration {
  width: 100px;
  flex-shrink: 0;
  opacity: 0.65;
}
.stage-illustration svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- About ---------- */

.about {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  scroll-snap-align: start;
}

.about-text {
  max-width: 780px;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}
.about-text p + p { margin-top: 1.15rem; }

.about-pullquote {
  font-family: var(--serif) !important;
  font-style: italic;
  color: var(--text-primary) !important;
  font-size: 1.45rem !important;
  line-height: 1.4 !important;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
  margin-top: 2rem !important;
}

/* ---------- Contact ---------- */

.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  scroll-snap-align: start;
}

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

.contact-text p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.contact-text p + p { margin-top: 1.15rem; }

.contact-direct {
  margin-top: 2rem !important;
  font-size: 0.95rem !important;
  color: var(--text-primary) !important;
}
.contact-direct a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}
.contact-direct a:hover { border-bottom-color: var(--accent); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-secondary);
  font-weight: 500;
}

.field input,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(126, 184, 212, 0.04);
}
.field textarea { min-height: 130px; line-height: 1.55; }

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ---------- Thanks page ---------- */

.thanks {
  min-height: calc(100vh - 72px - 88px);
  display: flex;
  align-items: center;
  padding: 6rem 0;
}

.thanks-inner {
  max-width: 680px;
}

.thanks h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0.75rem 0 1.75rem;
}

.thanks-body {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.thanks-body p + p { margin-top: 1rem; }

.thanks-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}
.thanks-body a:hover { border-bottom-color: var(--accent); }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-wordmark {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-style: italic;
  letter-spacing: 0.02em;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.footer-copy a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-copy a:hover { color: var(--accent); }

/* ---------- Breakpoints ---------- */

@media (max-width: 1200px) {
  :root { --container: 100%; --gutter: 2rem; }
}

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .how-stages {
    flex-direction: column;
    gap: 0.5rem;
  }
  .how-stage {
    padding: 2rem 0 2rem;
    border-top: 1px solid var(--border);
  }
  .how-stage:first-child { border-top: 0; padding-top: 0; }
  .stage-watermark { font-size: 5rem; }
}

@media (max-width: 768px) {
  :root { --gutter: 1.25rem; }

  nav { height: 64px; }
  nav.scrolled { height: 56px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero {
    padding: 2rem 0 3rem;
    height: auto;
    min-height: calc(100vh - 64px);
  }
  .hero-rule {
    left: var(--gutter);
    top: 0.4rem;
    bottom: 0.4rem;
  }
  .hero-headline,
  .hero-lede,
  .hero-body,
  .hero-ctas {
    margin-left: 1.5rem;
  }
  .hero-headline { font-size: clamp(2.25rem, 9vw, 3.25rem); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: 100%; max-width: 360px; }

  .services { padding: 5rem 0; }
  .how { padding: 5rem 0; }
  .about { padding: 5rem 0; }
  .contact { padding: 5rem 0; }

  .section-head { margin-bottom: 3rem; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .stage-illustration { display: none; }

  .sectors { padding: 4rem 0; }
  .sectors-grid {
    gap: 1.75rem 1rem;
    padding: 3rem 0;
  }
  .sector-item { flex-basis: 100px; }
  .sector-label { white-space: normal; }
}
