/* ==========================================================================
   DHP Ventures — styles
   1. Fonts & tokens   2. Base   3. Layout & utilities   4. Components
   5. Sections   6. Motion   7. Responsive
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------ */

/* Prosto One (OFL) — display. Brand typeface "Prosto". */
@font-face {
  font-family: "Prosto One";
  src: url("/assets/fonts/prosto-one-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Outfit (OFL, variable 200–700) — substitute for Uni Sans (licence not held). */
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --navy: #11111f;
  --navy-deep: #0b0b15;
  --navy-raised: #1a1a2e;
  --cyan: #59cbe8;          /* Use on navy only — 1.9:1 on white fails WCAG */
  --cyan-ink: #0a6b86;      /* Cyan for light backgrounds — 6:1 on white */

  /* Neutrals */
  --white: #ffffff;
  --paper: #f4f5f8;
  --line: #dfe2ea;
  --ink: #11111f;
  --ink-muted: #4a4d5e;     /* 8.4:1 on white */
  --on-dark: #ffffff;
  --on-dark-muted: #b9bdcc; /* 9.8:1 on navy */
  --line-dark: rgba(89, 203, 232, 0.18);

  /* Type */
  --font-display: "Prosto One", "Arial Black", system-ui, sans-serif;
  --font-body: "Outfit", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --fs-h1: clamp(2.05rem, 1.1rem + 4.1vw, 4.25rem);

  /* Space & shape */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius: 4px;
  --header-h: 72px;
  --container: 1200px;

  --focus: var(--cyan-ink);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Base ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
strong { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--navy, .site-header, .site-footer, .hero, .opportunity__main { --focus: var(--cyan); }

::selection { background: var(--cyan); color: var(--navy); }

/* 3. Layout & utilities -------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--cyan);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 0.75rem; }

/* Placeholder marker — find every instance by searching for "{{TODO" */
.todo {
  display: inline;
  padding: 0.05em 0.4em;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82em;
  font-weight: 500;
  line-height: 1.7;
  color: var(--cyan-ink);
  background: rgba(10, 107, 134, 0.07);
  border: 1px dashed currentColor;
  border-radius: 3px;
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.todo--dark {
  color: var(--cyan);
  background: rgba(89, 203, 232, 0.08);
}

/* 4. Components ---------------------------------------------------------- */

/* Eyebrow / section label */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-ink);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow--on-dark { color: var(--cyan); }
.eyebrow__num {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.section-title { font-size: var(--fs-h2); max-width: 22ch; }
.lead { font-size: var(--fs-lead); font-weight: 300; line-height: 1.5; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn--sm { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 1rem 2.25rem; font-size: 1.0625rem; }

/* Primary on dark: navy text on cyan (9.9:1) */
.btn--primary { background: var(--cyan); color: var(--navy); border-color: var(--cyan); }
.btn--primary:hover { background: var(--white); border-color: var(--white); }
.btn:active { transform: translateY(1px); }

/* Primary on light surfaces: white on navy */
.section:not(.section--navy) .btn--primary:not(.opportunity .btn--primary) {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.section:not(.section--navy) .btn--primary:not(.opportunity .btn--primary):hover {
  background: var(--cyan-ink);
  border-color: var(--cyan-ink);
}

.btn--ghost-dark { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost-dark:hover { border-color: var(--cyan); color: var(--cyan); }

.link-on-dark { color: var(--cyan); text-underline-offset: 3px; }
.link-on-dark:hover { color: var(--white); }

/* Tick list */
.tick-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--cyan-ink);
  border-bottom: 2px solid var(--cyan-ink);
  transform: rotate(-45deg);
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--cyan);
  text-decoration: none;
  flex: none;
}
.brand__mono { width: 52px; height: auto; fill: currentColor; }
.brand__word {
  width: 150px;
  height: auto;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 22;  /* thickens the hairline wordmark at small sizes */
}

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 0.25rem; }
.site-nav__list a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  text-decoration: none;
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s var(--ease);
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0.75rem; right: 0.75rem; bottom: 0.25rem;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="true"] { color: var(--white); }
.site-nav__list a:hover::after,
.site-nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav__mobile-cta { display: none; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 5. Sections ------------------------------------------------------------ */

.section { position: relative; padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--on-dark); }
.section--navy p { color: var(--on-dark-muted); }

.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem 4rem;
  align-items: end;
}
.section-head__aside { color: var(--ink-muted); max-width: 46ch; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-dark);
  isolation: isolate;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(89, 203, 232, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(89, 203, 232, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 80%);
}
.hero__art {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -6%;
  width: min(62vw, 900px);
  height: auto;
  transform: translateY(-56%);
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  opacity: 0.42;
}
.hero__inner {
  padding-top: clamp(4rem, 2.5rem + 6vw, 8rem);
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.hero__title {
  font-size: var(--fs-h1);
  line-height: 1.08;
  max-width: 17ch;
}
.hero__title span { display: block; }
.hero__title span:last-child { color: var(--cyan); }
.hero__lead {
  max-width: 40ch;
  margin-top: 1.75rem;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.5;
  color: var(--on-dark-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.5rem;
}

.hero-offer {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
  padding: 0.9rem 1.25rem;
  max-width: 100%;
  color: var(--white);
  text-decoration: none;
  background: rgba(26, 26, 46, 0.85);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.hero-offer:hover { border-color: var(--cyan); background: var(--navy-raised); }
.hero-offer__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.hero-offer__text { font-weight: 500; }
.hero-offer__arrow { color: var(--cyan); transition: transform 0.2s var(--ease); }
.hero-offer:hover .hero-offer__arrow { transform: translateX(4px); }

.hero__sectors {
  border-top: 1px solid var(--line-dark);
  background: rgba(11, 11, 21, 0.6);
}
.sector-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-block: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
}
.sector-strip li { display: flex; align-items: center; gap: 0.7rem; }
.sector-strip li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--cyan);
  transform: rotate(45deg);
}

/* 01 Opportunity --------------------------------------------------------- */
.opportunity {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(17, 17, 31, 0.25);
}
.opportunity__main {
  position: relative;
  padding: clamp(2rem, 1.25rem + 3.5vw, 4rem);
  background: var(--navy);
  color: var(--on-dark);
  border-top: 4px solid var(--cyan);
}
.opportunity__main p { color: var(--on-dark-muted); max-width: 58ch; }
.opportunity__main p + p { margin-top: 1rem; }
.opportunity__title {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1.15;
  max-width: 20ch;
}
.opportunity__programme { margin-top: 1.5rem; font-size: var(--fs-sm); }
.opportunity .opportunity__lead { color: var(--white); font-size: var(--fs-lead); font-weight: 300; line-height: 1.5; }
.opportunity__main .btn { margin-top: 2rem; }
.opportunity__main .opportunity__cta-note { margin-top: 0.75rem; font-size: var(--fs-sm); }

.opportunity__detail {
  padding: clamp(2rem, 1.25rem + 3vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.detail-block__title,
.caveat__title {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-ink);
}
.caveat {
  margin-top: auto;
  padding: 1.25rem 1.25rem 1.25rem 1.4rem;
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  background: var(--paper);
  border-left: 3px solid var(--navy);
}
.caveat__title { color: var(--ink); margin-bottom: 0.5rem; }
.caveat p + p { margin-top: 0.6rem; }

/* 02 About --------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2.5rem 5rem;
}
.about__body p + p { margin-top: 1.25rem; color: var(--ink-muted); }
.about__body { padding-top: 2.4rem; }
.principles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: clamp(1.5rem, 1rem + 2vw, 3rem);
  counter-reset: principle;
}
.principle {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  position: relative;
  counter-increment: principle;
}
.principle::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 40px; height: 3px;
  background: var(--navy);
}
.principle::after {
  content: counter(principle, decimal-leading-zero);
  position: absolute;
  top: 1.35rem; right: 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--cyan-ink);
}
.principle__title {
  font-size: var(--fs-h3);
  margin-bottom: 0.75rem;
  padding-right: 2rem;
}
.principle p { color: var(--ink-muted); font-size: var(--fs-sm); }

/* 03 Services ------------------------------------------------------------ */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 0.5rem + 2vw, 2rem);
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1rem + 2.5vw, 3rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.service:hover { box-shadow: 0 24px 48px -28px rgba(17, 17, 31, 0.3); }
.service__mark {
  position: absolute;
  top: -30px; right: -50px;
  width: 240px;
  fill: none;
  stroke: var(--cyan-ink);
  stroke-width: 6;
  opacity: 0.12;
  pointer-events: none;
}
.service__index {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin-bottom: 1rem;
}
.service__title { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.875rem); max-width: 16ch; }
.service__summary { margin-top: 1rem; font-size: 1.125rem; color: var(--ink-muted); }
.service__list { margin: 1.75rem 0; border-top: 1px solid var(--line); }
.service__list li {
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: var(--fs-sm);
}
.service__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 7px; height: 7px;
  border: 1.5px solid var(--cyan-ink);
  transform: translateY(-50%) rotate(45deg);
}
.service__outcome {
  margin-top: auto;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border-left: 3px solid var(--cyan-ink);
  font-size: var(--fs-sm);
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  padding: 1.5rem clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.inline-cta p { font-size: 1.125rem; font-weight: 500; }

/* 04 Sectors ------------------------------------------------------------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.sector {
  grid-column: span 3;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--navy);
  transition: background-color 0.3s var(--ease);
}
.sector:hover { background: var(--navy-raised); }
.sector--primary { grid-column: span 2; }
.sector__title {
  font-size: var(--fs-h3);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.sector__title::before {
  content: "";
  width: 8px; height: 8px;
  margin-top: 0.5em;
  flex: none;
  border: 1.5px solid var(--cyan);
  transform: rotate(45deg);
}
.sector--primary .sector__title { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.625rem); }
.sector--primary .sector__title::before { background: var(--cyan); }
.sector--primary { box-shadow: inset 0 3px 0 var(--cyan); }
.sector p { font-size: var(--fs-sm); }

/* 05 Experience ---------------------------------------------------------- */
.experience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 0.5rem + 1.5vw, 1.5rem);
}
.exp-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.25s var(--ease);
}
.exp-card:hover { border-color: var(--navy); }
.exp-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin-bottom: 0.9rem;
}
.exp-card__name { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.exp-card__abbr {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.7em;
  vertical-align: 0.15em;
  color: var(--white);
  background: var(--navy);
  border-radius: 3px;
}
.exp-card__desc { margin-top: 0.75rem; color: var(--ink-muted); }
.exp-card__role {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: var(--fs-sm);
  border-top: 1px solid var(--line);
  margin-block-start: 1.5rem;
}
.exp-card__label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--ink);
}

/* 06 CTA ----------------------------------------------------------------- */
.cta { overflow: hidden; isolation: isolate; text-align: center; }
.cta__art {
  position: absolute;
  z-index: -1;
  left: 50%; top: 50%;
  width: min(120vw, 1100px);
  transform: translate(-50%, -50%);
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.5;
  opacity: 0.12;
}
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta .eyebrow { justify-content: center; }
.cta__title { font-size: var(--fs-h2); max-width: 20ch; }
.cta__lead { max-width: 46ch; margin-top: 1.25rem; font-size: var(--fs-lead); font-weight: 300; line-height: 1.5; }
.cta__actions { margin-top: 2.25rem; }
.cta__pending { margin-top: 1.25rem; font-size: 0.875rem; max-width: 60ch; }
.cta__email { margin-top: 1.5rem; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark-muted);
  font-size: var(--fs-sm);
  padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem 3rem;
  padding-bottom: 3rem;
}
.site-footer__mono { width: 72px; fill: var(--cyan); }
.site-footer__word {
  width: 180px;
  margin-top: 1rem;
  fill: var(--cyan);
  stroke: var(--cyan);
  stroke-width: 18;
}
.site-footer__tag { margin-top: 1.25rem; max-width: 36ch; }
.site-footer__heading {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.site-footer__col li + li { margin-top: 0.5rem; }
.site-footer a { color: var(--on-dark-muted); text-underline-offset: 3px; text-decoration-color: rgba(185, 189, 204, 0.4); }
.site-footer a:hover { color: var(--cyan); text-decoration-color: currentColor; }
.site-footer__legal p { line-height: 1.9; }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  position: relative;
  padding-block: 1.5rem;
  font-size: 0.875rem;
}
.site-footer__base::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--line-dark);
}

/* Simple content pages (privacy, 404) ------------------------------------ */
.page-hero {
  background: var(--navy);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.page-hero h1 { font-size: var(--fs-h2); }
.page-hero p { margin-top: 1rem; color: var(--on-dark-muted); max-width: 60ch; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.625rem); margin: 2.75rem 0 1rem; }
.prose p, .prose ul { margin-bottom: 1rem; color: var(--ink-muted); }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.25rem; margin-bottom: 1rem; color: var(--ink-muted); }
.prose li { margin-bottom: 0.35rem; }
.prose a { color: var(--cyan-ink); }
.notice {
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  background: var(--paper);
  border-left: 3px solid var(--cyan-ink);
}
.notice p { margin: 0; color: var(--ink); }
.not-found {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
}
.not-found .btn { margin-top: 2rem; }

/* 6. Motion -------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  .hero__art {
    stroke-dasharray: 9000;
    stroke-dashoffset: 9000;
    animation: draw 3.4s 0.2s var(--ease) forwards;
  }
  @keyframes draw { to { stroke-dashoffset: 0; } }

  .hero__title span,
  .hero__lead,
  .hero__actions,
  .hero-offer {
    animation: rise 0.9s var(--ease) both;
  }
  .hero__title span:nth-child(2) { animation-delay: 0.08s; }
  .hero__title span:nth-child(3) { animation-delay: 0.16s; }
  .hero__lead { animation-delay: 0.26s; }
  .hero__actions { animation-delay: 0.34s; }
  .hero-offer { animation-delay: 0.44s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* 7. Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .site-nav__list a { padding-inline: 0.55rem; }
  .site-nav__list a::after { left: 0.55rem; right: 0.55rem; }
  .principles { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-header__cta { display: none; }
  .site-header__inner { gap: 1rem; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0;
    padding: 1.5rem var(--gutter) 2.5rem;
    background: var(--navy);
    border-top: 1px solid var(--line-dark);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
  }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    padding: 1rem 0;
    font-family: var(--font-display);
    font-size: 1.375rem;
    color: var(--white);
    border-bottom: 1px solid var(--line-dark);
    border-radius: 0;
  }
  .site-nav__list a::after { display: none; }
  .site-nav__list a[aria-current="true"] { color: var(--cyan); }
  .site-nav__mobile-cta { display: inline-flex; width: 100%; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 960px) {
  .opportunity { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 1.5rem; }
  .about__body { padding-top: 0; }
  .section-head--split { grid-template-columns: 1fr; }
  .sector, .sector--primary { grid-column: span 3; }
  .sector--primary:first-child { grid-column: 1 / -1; }
  .hero__art { width: 90vw; right: -30%; opacity: 0.28; }
}

@media (max-width: 720px) {
  .services, .experience { grid-template-columns: 1fr; }
  .sector, .sector--primary, .sector--primary:first-child { grid-column: 1 / -1; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand__mono { width: 44px; }
  .brand__word { width: 128px; }
  .principles { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero-offer__arrow { display: none; }
  .hero__art { width: 130vw; right: -60%; top: 34%; opacity: 0.22; }
  .sector-strip { gap: 0.5rem 1.25rem; font-size: 0.8125rem; }
  .cta__actions, .cta__actions .btn { width: 100%; }
}

@media print {
  .site-header, .hero__art, .cta__art, .hero__grid { display: none; }
  .section--navy, .hero, .opportunity__main { background: #fff; color: #000; }
}
