/* =========================================================
   FalconMind Capital — site stylesheet

   A sibling of falconmind.co. The structure is inherited:
   the asymmetric spread (a sticky marginalia rail beside an
   offset content column), hairline rules, masked-line reveals.

   The brand layer is FalconMind Capital's own, taken from the
   identity file (Figma: "FalconMind Capital Brand Identity"):

     · Cream field, Cobalt Navy ink. Iron Grey is the only
       accent. Never gold, never bronze, never blue.
     · Archivo only. Labels are Archivo Medium caps, so there
       is no second (mono) family.
     · No italics. Emphasis is carried by weight: <em> renders
       upright and heavier, never slanted or recoloured.

     1  tokens          8  hero
     2  reset           9  buttons + tags
     3  type           10  founders
     4  layout/spread  11  rows (strategy + industries)
     5  motion         12  principles
     6  focus          13  contact
     7  nav            14  footer
                       15  small screens
                       16  active nav
                       17  print
   ========================================================= */

/* =========================================================
   1. TOKENS
   ========================================================= */
:root {
  /* ---- BRAND PALETTE — locked, shared with FalconMind ------------- */
  --navy:      #1A1E2E;   /* Cobalt Navy — ink and dark fields          */
  --cream:     #EAEAE4;   /* Cream — the page                           */
  --light:     #D2D2D2;   /* Light Gray — surface                       */
  --iron:      #45464C;   /* Iron Grey — the only accent: rules, labels */
  --gray:      #646464;   /* Dark Gray — body text on cream             */
  --gray-navy: #B4B4B4;   /* Medium Gray — secondary text on navy       */

  /* ---- DERIVED ----------------------------------------------------- */
  --cream-2:   #E3E3DC;   /* alternate band — a quiet step off cream    */
  --navy-deep: #0F1427;   /* portrait backing, sampled from the
                             photography so the card vanishes behind it */

  /* ---- INK — contrast measured against --cream / --cream-2 --------- */
  --ink:       var(--navy);   /* 14.1:1                                 */
  --ink-2:     var(--gray);   /*  4.90 on cream · 4.59 on cream-2       */
  --ink-3:     var(--iron);   /*  7.79 on cream — labels and captions   */

  /* ---- RULES -------------------------------------------------------- */
  --rule:        rgba(26, 30, 46, 0.14);
  --rule-2:      rgba(26, 30, 46, 0.07);
  --rule-strong: rgba(26, 30, 46, 0.36);
  --on-navy:        rgba(234, 234, 228, 0.82);
  --on-navy-soft:   rgba(234, 234, 228, 0.62);   /* 5.9:1 — the floor for small text */
  --on-navy-rule:   rgba(234, 234, 228, 0.16);

  /* ---- TYPEFACE ------------------------------------------------------
     Archivo, variable on weight (100-900) and width (62-125).
     The width axis sets the display voice; weight sets emphasis. */
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --w-display: 112;   /* expanded masthead                              */
  --w-title:   100;
  --wt-display: 300;  /* light base…                                    */
  --wt-em:      600;  /* …against a semibold emphasis                   */

  /* ---- TYPE SCALE ----------------------------------------------------
     Every step interpolates across 390 -> 1440px as
     clamp(MIN, MIN-3.9B + Bvw, MAX), B = (MAX-MIN)/10.5.
     px+vw, never bare vw, so browser zoom keeps working. */
  --t-display: clamp(40px, 19.2px + 5.33vw, 96px);
  --t-h1:      clamp(34px, 22.9px + 2.86vw, 72px);
  --t-h2:      clamp(30px, 20.3px + 2.48vw, 62px);
  --t-h3:      clamp(21px, 19.1px + 0.48vw, 28px);
  --t-lede-lg: clamp(20px, 17.8px + 0.57vw, 29px);
  --t-lede:    clamp(17px, 15.9px + 0.29vw, 21px);
  --t-body:    17px;
  --t-sm:      14.5px;
  --t-xs:      13px;
  --t-label:   11.5px;

  --lt-display: -0.03em;
  --lt-head:    -0.018em;
  --lt-label:    0.16em;    /* brand eyebrow: 12px at +2px tracking      */
  --lt-wide:     0.3em;

  --lh-display: 1.04;
  --lh-head:    1.12;
  --lh-body:    1.6;

  /* ---- SPACING ------------------------------------------------------- */
  --s-1:  4px;  --s-2:  8px;  --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;
  --space-section: clamp(76px, 52.6px + 6vw, 140px);
  --space-block:   clamp(44px, 32.1px + 3.05vw, 76px);
  --space-head:    clamp(32px, 21.6px + 2.67vw, 60px);

  /* ---- LAYOUT -------------------------------------------------------- */
  --gutter:   clamp(20px, 4vw, 56px);
  --col-max:  1280px;
  --rail:     clamp(150px, 15vw, 210px);
  --rail-gap: clamp(28px, 5vw, 88px);
  --nav-h:    88px;

  --r-sm: 3px;  --r-pill: 999px;

  --focus-w: 2px;
  --focus-offset: 3px;

  --z-raised: 2;
  --z-drawer: 105;
  --z-nav:    120;
  --z-skip:   130;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   2. RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-weight: 400;
  font-size: var(--t-body);
  line-height: var(--lh-body);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: normal; }   /* the brand stack has no italics */
abbr[title] { text-decoration: none; cursor: help; }   /* city codes in the clocks */
::selection { background: var(--navy); color: var(--cream); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* =========================================================
   3. TYPE
   ========================================================= */

/* The ONE label recipe — the brand eyebrow. Components set colour only. */
.eyebrow, .sec-num, .caps, .meta-k, .prin-num, .row > .r-num, .lead-role,
.door-k, .foot-col h2, .foot-bottom, .nav-locale, .hero-vmark, .tag,
.nav-mobile-foot, .nav-mobile-links a .num {
  font-family: var(--sans);
  font-stretch: 100%;
  font-weight: 500;
  font-size: var(--t-label);
  letter-spacing: var(--lt-label);
  line-height: 1.5;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums lining-nums;
}

.eyebrow {
  color: var(--ink-3);
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}
.eyebrow .dot {
  flex: none;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--navy);
  transform: translateY(-2px);
}
.caps { color: var(--ink-3); }

/* Display voice: Archivo expanded and light, with emphasis in
   semibold. The contrast of weights does the work that colour
   and italics do on the parent site. */
.hero h1, .headline, .contact-headline, .foot-brand {
  font-family: var(--sans);
  font-stretch: calc(var(--w-display) * 1%);
  font-weight: var(--wt-display);
  letter-spacing: var(--lt-display);
  line-height: var(--lh-display);
  color: var(--ink);
}
.hero h1 em, .headline em, .contact-headline em, .foot-brand em {
  font-weight: var(--wt-em);
}
.headline { font-size: var(--t-h2); max-width: 19ch; text-wrap: balance; }

.lede {
  font-size: var(--t-lede);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
}
.sec-head .lede { margin-top: var(--s-6); }

.sec-num { color: var(--ink-3); }
.sec-num b {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: var(--s-2);
}

/* =========================================================
   4. LAYOUT — the .spread rail is the whole design
   ========================================================= */
.wrap {
  width: 100%;
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.section {
  padding: var(--space-section) 0;
  position: relative;
  border-top: 1px solid var(--rule);
  /* An anchor jump puts the section's top edge under the fixed nav. On
     wide screens the section padding already clears it; on phones the
     padding equals the nav height, so hold the first line 28px clear. */
  scroll-margin-top: max(0px, calc(var(--nav-h) + 28px - var(--space-section)));
}
.section.alt { background: var(--cream-2); }

.spread { display: grid; gap: var(--rail-gap); grid-template-columns: 1fr; }
.spread > .rail { display: flex; flex-direction: column; gap: var(--s-5); }
.spread > .col  { min-width: 0; }

@media (min-width: 900px) {
  .spread { grid-template-columns: var(--rail) minmax(0, 1fr); }
  .spread > .rail {
    position: sticky;
    top: calc(var(--nav-h) + var(--s-6));
    align-self: start;   /* REQUIRED — a stretched grid item cannot stick */
  }
}

/* =========================================================
   5. MOTION PRIMITIVES
   ========================================================= */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
/* Hidden ONLY when JS has confirmed it is running (the inline snippet
   in <head> sets .js on <html>). The animation is an enhancement; the
   content is not. */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.in { opacity: 1; transform: none; }

.reveal-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;   /* the mask must clear descenders */
}
.reveal-mask > .ln {
  display: inline-block;
  transition: transform 1s var(--ease);
  will-change: transform;
}
.js .reveal-mask > .ln { transform: translateY(115%); }
.js .reveal-mask.in > .ln { transform: none; }

.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(26, 30, 46, 0.28); }
  70%  { box-shadow: 0 0 0 9px rgba(26, 30, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 30, 46, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* Load-bearing: with the animation gone there is nothing left to
     reveal the content, so it has to start visible. */
  .reveal { opacity: 1 !important; transform: none !important; }
  .reveal-mask > .ln { transform: none !important; }
  .live-dot { animation: none !important; }
}

/* =========================================================
   6. FOCUS + SKIP LINK
   ========================================================= */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: var(--focus-w) solid var(--navy);
  outline-offset: var(--focus-offset);
  border-radius: var(--r-sm);
}
.btn:focus-visible, .nav-cta:focus-visible { border-radius: var(--r-pill); }
:focus:not(:focus-visible) { outline: none; }
@media (forced-colors: active) {
  :where(a, button, [tabindex]):focus-visible { outline-color: Highlight; }
}

.skip-link {
  position: fixed;
  left: var(--gutter);
  top: 0;
  z-index: var(--z-skip);
  transform: translateY(-160%);
  background: var(--navy);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font: 500 var(--t-xs)/1 var(--sans);
  transition: transform .3s var(--ease);
}
.skip-link:focus-visible { transform: translateY(14px); outline-color: var(--cream); outline-offset: -5px; }

/* =========================================================
   7. NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); }

/* Option C (rule divider) needs more room than a plain descriptor:
     its rule is 0.0265 of the wordmark's cap height and CAPITAL is set
     in Regular, so both thin out quickly. The logo small-size test
     shows it holding at 200px wide and fading by 140px. 64px tall
     = 180px wide. */
.brand { display: inline-flex; align-items: center; color: var(--navy); flex: none; transition: opacity .25s var(--ease); }
.brand:hover { opacity: .72; }
.lockup { height: 64px; width: auto; aspect-ratio: 1087.08 / 387.332; fill: currentColor; }

.nav-links { display: none; align-items: center; gap: var(--s-6); }
.nav-links a {
  font-size: var(--t-sm);
  font-weight: 400;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--navy);
  transition: width .35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: var(--s-5); }
.nav-locale { display: none; color: var(--ink-3); align-items: center; white-space: nowrap; letter-spacing: 0.1em; }
.live-dot {
  display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--navy);
  margin-right: 9px;
  animation: pulse 2.4s var(--ease) infinite;
}
.nav-locale .sep, .nav-mobile-foot .sep, .foot-bottom .sep { opacity: .45; margin: 0 8px; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--r-pill);
  font-size: var(--t-xs);
  font-weight: 500;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.nav-cta:hover { background: var(--iron); transform: translateY(-1px); }
.nav-cta .arrow { width: 10px; height: 10px; }

.nav-menu-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  position: relative;
  z-index: 110;
}
.nav-menu-btn:hover { border-color: var(--navy); }
.nav-menu-btn .bar { transition: transform .3s var(--ease); transform-origin: center; }
body.nav-open .nav-menu-btn .bar-1 { transform: translateY(2px) rotate(45deg); }
body.nav-open .nav-menu-btn .bar-2 { transform: translateY(-2px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-menu-btn { display: none; }
}
@media (min-width: 1100px) { .nav-locale { display: inline-flex; } }
@media (max-width: 899px)  { .nav-cta { display: none; } }

/* Mobile drawer */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: var(--z-drawer);
  padding-top: calc(var(--nav-h) + 16px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
body.nav-open .nav-mobile {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity .35s var(--ease), visibility 0s linear 0s;
}
.nav-mobile-links { display: flex; flex-direction: column; }
.nav-mobile-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-stretch: calc(var(--w-display) * 1%);
  font-size: var(--t-h1);
  font-weight: var(--wt-display);
  letter-spacing: var(--lt-display);
  color: var(--ink);
  transform: translateY(20px);
  opacity: 0;
  transition: transform .55s var(--ease), opacity .55s var(--ease);
}
body.nav-open .nav-mobile-links a { transform: none; opacity: 1; }
body.nav-open .nav-mobile-links a:nth-child(1) { transition-delay: 0.10s; }
body.nav-open .nav-mobile-links a:nth-child(2) { transition-delay: 0.16s; }
body.nav-open .nav-mobile-links a:nth-child(3) { transition-delay: 0.22s; }
body.nav-open .nav-mobile-links a:nth-child(4) { transition-delay: 0.28s; }
body.nav-open .nav-mobile-links a:nth-child(5) { transition-delay: 0.34s; }
.nav-mobile-links a:hover span:first-child { font-weight: var(--wt-em); }
.nav-mobile-links a .num { color: var(--ink-3); }
.nav-mobile-foot {
  margin-top: var(--s-6);
  display: flex; align-items: center;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}
body.nav-open { overflow: hidden; }
@media (min-width: 900px) { .nav-mobile { display: none; } }

/* =========================================================
   8. HERO
   ========================================================= */
.hero {
  padding-top: calc(var(--nav-h) + clamp(28px, 4vw, 64px));
  padding-bottom: clamp(44px, 5.4vw, 84px);
  position: relative;
  overflow: hidden;
}

/* Drafting geometry: navy hairline arcs bleeding off the right edge
   behind the type. Blueprint, not brochure. */
.hero-orbit {
  position: absolute;
  top: 50%;
  left: 62%;
  width: clamp(620px, 78vw, 1180px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.hero-orbit svg { width: 100%; height: 100%; }
.hero-orbit circle {
  fill: none;
  stroke: rgba(26, 30, 46, 0.13);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;   /* the viewBox scales ~6x; without
                                          this a 1px stroke paints as 6px */
}
.hero-orbit .dot { fill: var(--navy); stroke: none; }
/* In a single column the arcs run behind the copy, and a dot behind
   a word reads as a smudge. Lines only on small screens. */
@media (max-width: 899px) { .hero-orbit .dot { display: none; } }

.hero-vmark {
  position: absolute;
  right: clamp(16px, 2vw, 28px);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  letter-spacing: var(--lt-wide);
  color: var(--ink-3);
  z-index: var(--z-raised);
  display: none;
}
@media (min-width: 1080px) { .hero-vmark { display: block; } }

.hero .wrap { position: relative; z-index: var(--z-raised); }

/* Label over value. Side by side, the rail is too narrow to hold
   "Artificial intelligence" on one line. A row of pairs on small
   screens, a column in the rail. */
.hero-meta { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); }
.meta-pair { display: flex; flex-direction: column; gap: 3px; }
@media (min-width: 900px) { .hero-meta { flex-direction: column; gap: var(--s-4); } }
.meta-k { color: var(--ink-3); }
.meta-v { font-size: var(--t-sm); line-height: 1.4; color: var(--ink); }

.hero h1 { font-size: var(--t-display); }
.hero h1 .line { display: block; }
.hero h1 .ind { display: inline-block; width: clamp(16px, 6vw, 88px); }

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .hero-bottom { grid-template-columns: 1.05fr 1fr; gap: var(--rail-gap); }
}
.hero-lede {
  font-size: var(--t-lede-lg);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: var(--lt-head);
  color: var(--ink);
  max-width: 24ch;
}
.hero-side { display: flex; flex-direction: column; gap: var(--s-6); justify-content: flex-end; }
.hero-side p { color: var(--ink-2); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================
   9. BUTTONS + TAGS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: var(--t-xs);
  font-weight: 500;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--iron); transform: translateY(-1px); }
.btn-ghost { border-color: var(--rule-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(26, 30, 46, 0.05); }
.btn .arrow { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translate(2px, -2px); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  letter-spacing: 0.1em;
  color: var(--ink-3);
  padding: 5px 11px;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  white-space: nowrap;
  line-height: 1.4;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}

/* =========================================================
   10. FOUNDERS
   ========================================================= */
.lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7) var(--s-6);
  margin-top: var(--space-head);
}
@media (min-width: 700px) { .lead-grid { grid-template-columns: 1fr 1fr; } }

/* Full-bleed portrait cards. The two source photographs have slightly
   different background densities; with the image filling the whole
   card there is no flat navy beside it to compare against, so the
   difference reads as photography rather than error. */
.lead-card { display: flex; flex-direction: column; gap: var(--s-5); }
.lead-portrait-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--navy-deep);
  border-radius: var(--r-sm);
  overflow: hidden;
}
/* --zoom / --zoom-origin are set inline per photograph. The two
   portraits were shot at different distances; a small zoom on the
   wider one puts both faces at the same scale and eye line, so
   neither partner reads as smaller than the other. */
.lead-portrait {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(var(--zoom, 1));
  transform-origin: var(--zoom-origin, 50% 40%);
}
.lead-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--s-6);
  background: linear-gradient(to top, rgba(15, 20, 39, .94) 22%, rgba(15, 20, 39, 0));
}
.lead-name {
  font-family: var(--sans);
  font-stretch: 104%;
  font-weight: 500;
  font-size: var(--t-h3);
  letter-spacing: var(--lt-head);
  line-height: 1.15;
  color: var(--cream);
}
.lead-role { color: var(--gray-navy); margin-top: var(--s-2); }
.lead-card p { color: var(--ink-2); max-width: 44ch; }

/* =========================================================
   11. ROWS — strategy stages and industries share one list
   ========================================================= */
.rows { margin-top: var(--space-head); border-top: 1px solid var(--rule-strong); }
.row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--s-3) var(--s-4);
  padding: var(--s-6) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background .35s var(--ease);
}
.row > .r-desc, .row > .tags { grid-column: 2; }
@media (min-width: 900px) {
  .row {
    grid-template-columns: 44px minmax(0, 1.15fr) minmax(0, 1.7fr) minmax(0, 148px);
    gap: var(--s-6);
    padding: var(--s-7) 0;
    align-items: baseline;
  }
  .row > .r-desc, .row > .tags { grid-column: auto; }
  .row > .tags { justify-content: flex-end; }
}
/* A navy hairline draws across the row on hover */
.row::before {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 0; height: 1px; background: var(--navy);
  transition: width .9s var(--ease);
}
.row:hover::before { width: 100%; }
.row:hover .tag { border-color: var(--rule-strong); color: var(--ink); }
.row > .r-num { color: var(--ink-3); }
.r-title {
  font-family: var(--sans);
  font-stretch: calc(var(--w-title) * 1%);
  font-weight: 500;
  font-size: var(--t-h3);
  line-height: var(--lh-head);
  letter-spacing: var(--lt-head);
  color: var(--ink);
}
.r-desc { color: var(--ink-2); font-size: var(--t-body); line-height: 1.55; max-width: 50ch; }

/* =========================================================
   12. PRINCIPLES
   ========================================================= */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  margin-top: var(--space-block);
}
@media (min-width: 900px) {
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.prin { border-top: 1px solid var(--rule-strong); padding-top: var(--s-5); }
.prin-num { color: var(--ink-3); }
.prin h3 {
  font-family: var(--sans);
  font-stretch: calc(var(--w-title) * 1%);
  font-weight: 300;
  font-size: var(--t-h3);
  line-height: var(--lh-head);
  letter-spacing: var(--lt-head);
  color: var(--ink);
  margin: var(--s-3) 0;
}
.prin h3 em { font-weight: 600; }
.prin p { color: var(--ink-2); max-width: 36ch; }

/* =========================================================
   13. CONTACT
   ========================================================= */
.contact-headline { font-size: var(--t-h1); max-width: 16ch; text-wrap: balance; }
/* Keep the emphasised clause on one line (247px at the smallest size,
   so it fits a 320px screen). */
.contact-headline em { white-space: nowrap; }

.doors {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  margin-top: var(--space-head);
}
@media (min-width: 900px) {
  .doors { grid-template-columns: 1fr 1fr; gap: var(--rail-gap); }
}
.door {
  border-top: 1px solid var(--rule-strong);
  padding-top: var(--s-5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-4);
}
.door-k { color: var(--ink-3); }
.door h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--t-h3);
  line-height: var(--lh-head);
  letter-spacing: var(--lt-head);
  color: var(--ink);
}
.door p { color: var(--ink-2); max-width: 42ch; }
.door .btn { margin-top: var(--s-3); }

/* =========================================================
   14. FOOTER — the one large navy field, closing the document
   ========================================================= */
.foot {
  background: var(--navy);
  color: var(--cream);
  padding: var(--space-section) 0 var(--s-6);
  position: relative;
}
.foot-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-8);
}
@media (min-width: 620px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .foot-top { grid-template-columns: 2.6fr repeat(2, minmax(0, .8fr)); align-items: start; }
}
/* align-items: without it the logo SVG stretches to the column width
   and its artwork centres inside the stretched box. */
.foot-brand-block { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-7); }
@media (min-width: 620px) and (max-width: 899px) { .foot-brand-block { grid-column: 1 / -1; } }
.foot-logo { height: clamp(64px, 5.4vw, 80px); width: auto; aspect-ratio: 1087.08 / 387.332; fill: currentColor; }
.foot-brand { font-size: var(--t-h1); color: var(--cream); }

.foot-col h2 { color: var(--on-navy-soft); margin-bottom: var(--s-4); }
.foot-col > a, .foot-col > span {
  display: block;
  font-size: var(--t-sm);
  color: var(--on-navy);
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.foot-col > a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.foot-legal {
  border-top: 1px solid var(--on-navy-rule);
  padding: var(--s-6) 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--on-navy-soft);
}
.foot-legal p { max-width: 96ch; }

.foot-bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: var(--s-4);
  padding-top: var(--s-6);
  border-top: 1px solid var(--on-navy-rule);
  color: var(--on-navy-soft);
  letter-spacing: 0.1em;
}
.foot-bottom a:hover { color: var(--cream); }
.foot :where(a, button):focus-visible { outline-color: var(--cream); }

/* =========================================================
   15. SMALL SCREENS
   ========================================================= */
@media (max-width: 600px) {
  :root { --nav-h: 76px; }
  .lockup { height: 58px; }   /* 163px wide on phones, where screens are 2-3x density */
  .tag { padding: 4px 10px; letter-spacing: 0.08em; }
  .lead-meta { padding: var(--s-5); }
}

/* =========================================================
   16. ACTIVE NAV — set by the scroll-spy in site.js, so the three
   links behave as tabs for the section in view.
   ========================================================= */
.nav-links a[aria-current] { color: var(--ink); font-weight: 600; }
.nav-links a[aria-current]::after { width: 100%; }
.nav-mobile-links a[aria-current] span:first-child { font-weight: var(--wt-em); }

/* =========================================================
   17. PRINT
   ========================================================= */
@media print {
  .nav, .nav-mobile, .skip-link, .hero-orbit, .hero-vmark, .hero-ctas { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .hero { padding: 18pt 0; border-top: 1px solid #ccc; background: #fff !important; }
  .spread { display: block; }
  .spread > .rail { position: static; margin-bottom: 12pt; }
  .foot { background: #fff; color: #000; }
  .foot-col a, .foot-col span, .foot-bottom, .foot-brand, .foot-legal { color: #000 !important; }
  .reveal, .reveal-mask > .ln { opacity: 1 !important; transform: none !important; }
}
