/* ============================================================
   Fonts — self-hosted (2026-10-20)

   Variable Fraunces (opsz 9..144, wght 300..700, roman + italic) and Hanken Grotesk (wght 400..700),
   taken from Google Fonts and served from assets/fonts/ so there is no third-party connection and the
   two files the page actually needs can be preloaded. Only the latin and latin-ext subsets are kept;
   unicode-range means a visitor downloads latin only (~98KB) unless the text needs latin-ext.
   To refresh: fetch the css2 URL with a browser user-agent, download the woff2 files it names, and
   replace these rules. (See README, "Fonts".)
   ============================================================ */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/hanken-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/hanken-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   Tamarly Capital — styles
   Brand: warm paper + deep navy + bronze, editorial serif + grotesque
   ============================================================ */

:root {
  --paper: #FAF8F3;
  --paper-alt: #F2EDE1;
  --navy: #14213D;
  --navy-900: #0E1729;
  --ink: #1A2744;
  --ink-soft: #4A5568;
  --ink-mute: #6B7280;
  --line: #E3DAC7;
  --line-strong: #D6CAB0;
  --gold: #C6A15E;          /* decorative only */
  --gold-ink: #7A5C28;      /* gold used as text (>= 4.5:1 on paper) */
  --gold-on-dark: #D9B978;  /* gold text on navy */
  --white: #FFFFFF;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --r: 3px;
  --header-h: 75px; /* 74px bar + 1px border: keeps the hero flush with the top edge */
  --hero-scroll: 280vh; /* pinned-hero scroll runway — bigger = video plays longer */

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step-eyebrow: 0.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

section[id], #top { scroll-margin-top: 92px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r);
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: var(--step-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-ink);
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1.25rem;
}
.eyebrow-light { color: var(--gold-on-dark); }

.mark-star {
  width: 11.25px; height: 11.25px;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.4 7.2L21 5.6l-4.2 6L23 14l-7.4.9L18 22l-6-4.3L6 22l2.4-7.1L1 14l6.2-2.4L3 5.6l6.6 2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.4 7.2L21 5.6l-4.2 6L23 14l-7.4.9L18 22l-6-4.3L6 22l2.4-7.1L1 14l6.2-2.4L3 5.6l6.6 2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
  display: inline-block;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}

.section-intro {
  max-width: 62ch;
  font-size: 1.075rem;
  color: var(--ink-soft);
  margin: 0 0 3rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  border-radius: var(--r);
  border: 1px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-primary:hover { background: var(--navy-900); border-color: var(--navy-900); }
.section-dark .btn-primary,
.hero .btn-primary {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.section-dark .btn-primary:hover,
.hero .btn-primary:hover {
  background: var(--gold-on-dark);
  border-color: var(--gold-on-dark);
  color: var(--navy-900);
}
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(20,33,61,0.04); }
.btn-ghost-light {
  --btn-fg: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn:active { transform: translateY(1px); }

/* ---------- Focus ---------- */
:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 2px;
}
.section-dark :where(a, button):focus-visible { outline-color: var(--gold-on-dark); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.9);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
}
.site-header.is-scrolled { background: rgba(250, 248, 243, 0.97); }
@supports (background: color-mix(in srgb, red, blue)) {
  .site-header.is-scrolled { background: color-mix(in srgb, var(--paper) 96%, transparent); }
}

/* Transparent over the dark video hero */
.site-header.on-dark {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-header.on-dark .brand-word { color: #fff; }
.site-header.on-dark .brand-word-thin { color: var(--gold-on-dark); }
.site-header.on-dark .site-nav a { color: rgba(255, 255, 255, 0.82); }
.site-header.on-dark .site-nav a:hover { color: #fff; }
.site-header.on-dark .header-cta {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.site-header.on-dark .header-cta:hover {
  background: var(--gold-on-dark);
  border-color: var(--gold-on-dark);
}
.site-header.on-dark .nav-toggle { border-color: rgba(255, 255, 255, 0.45); }
.site-header.on-dark .nav-toggle span { background: #fff; }
/* Mobile menu open: the top row joins the light menu panel, so keep it dark-on-paper */
.site-header.on-dark.menu-open {
  background: var(--paper);
}
.site-header.on-dark.menu-open .brand-word { color: var(--ink); }
.site-header.on-dark.menu-open .brand-word-thin { color: var(--gold-ink); }
.site-header.on-dark.menu-open .nav-toggle { border-color: var(--line-strong); }
.site-header.on-dark.menu-open .nav-toggle span { background: var(--ink); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark { width: 34px; height: auto; }
.brand-word {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand-word-thin {
  font-weight: 400;
  color: var(--gold-ink);
  margin-left: 0.35em;
}
.site-nav {
  display: flex;
  gap: 2rem;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  cursor: pointer;
}
.nav-toggle span {
  width: 18px; height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav[hidden],
.cards[hidden] { display: none; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem var(--pad) 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child {
  border: 0;
  margin-top: 0.75rem;
  align-self: flex-start;
}
.mobile-nav a.btn {
  color: var(--btn-fg);
  font-weight: 600;
  padding: 0.7rem 1.4rem;
}

/* ============================================================
   Hero
   ============================================================ */
/* Pinned hero: the track defines the scroll distance, the hero sticks while the
   video scrubs behind the held statement, then releases into the stat band. */
.hero-track {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  height: var(--hero-scroll);
}
.hero {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy-900);
  padding-block: calc(var(--header-h) + clamp(1.5rem, 5vw, 3rem)) clamp(2.5rem, 6vw, 4.5rem);
}

/* Still hero: reduced motion, short windows and small phones (class set in <head>) */
html.hero-static .hero-track { height: auto; margin-top: calc(-1 * var(--header-h)); }
html.hero-static .hero {
  position: static;
  min-height: 0;
  display: block;
  padding-block: calc(var(--header-h) + clamp(2.5rem, 7vw, 4.5rem)) clamp(4rem, 9vw, 7rem);
}
@media (prefers-reduced-motion: reduce) {
  .hero-track { height: auto; margin-top: calc(-1 * var(--header-h)); }
  .hero {
    position: static;
    min-height: 0;
    display: block;
    padding-block: calc(var(--header-h) + clamp(2.5rem, 7vw, 4.5rem)) clamp(4rem, 9vw, 7rem);
  }
}
/* Phones that keep the pinned, scrubbed hero: compact type so the whole hero fits one screen */
@media (max-width: 720px) {
  html:not(.hero-static) { --hero-scroll: 240vh; }
  html:not(.hero-static) .hero { padding-block: calc(var(--header-h) + 0.75rem) 1.75rem; }
  html:not(.hero-static) .hero-title { font-size: clamp(2.1rem, 9.5vw, 2.6rem); margin-bottom: 1.1rem; }
  html:not(.hero-static) .hero-lede { font-size: 1rem; margin-bottom: 1.5rem; }
  html:not(.hero-static) .hero-actions { gap: 0.6rem; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  background: var(--navy-900);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(94deg,
      rgba(9, 15, 27, 0.94) 0%,
      rgba(9, 15, 27, 0.78) 38%,
      rgba(9, 15, 27, 0.42) 66%,
      rgba(9, 15, 27, 0.62) 100%),
    linear-gradient(to bottom,
      rgba(9, 15, 27, 0.35) 0%,
      transparent 26%,
      transparent 55%,
      var(--navy-900) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-lead { max-width: 46rem; padding-top: 0.5rem; }
.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-optical-sizing: auto;
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.026em;
  margin: 0 0 1.6rem;
  color: #fff;
}
.hero-lede {
  max-width: 46ch;
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
  line-height: 1.6;
  color: #C6CEDE;
  margin: 0 0 2.4rem;
}
.hero-lede strong { color: #fff; font-weight: 600; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Ground-plane lattice — trunk-scar / PCB texture on dark bands */
.lattice {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: var(--gold-on-dark);
  opacity: 0.12;
  -webkit-mask-image: radial-gradient(130% 130% at 88% 0%, #000 26%, transparent 80%);
          mask-image: radial-gradient(130% 130% at 88% 0%, #000 26%, transparent 80%);
}

/* ============================================================
   Team meta — logo strip + perspectives, side by side
   ============================================================ */
.team-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.5rem;
  margin-top: 3.75rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.strip-label {
  font-size: var(--step-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-mute);
  margin: 0 0 1.5rem;
}
.strip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
.strip-list li {
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.45;
  padding-left: 0;
}
.strip-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-ink);
  margin-bottom: 0.35rem;
  font-weight: 400;
}

/* ---------- Logo strip (backgrounds, static) ---------- */
.logo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.logo-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(50% - 0.75rem);
  min-width: 130px;
  height: 60px;
  padding: 0 1rem;
  border: 1px solid transparent; /* keeps the frame's inner sizing unchanged */
  border-radius: var(--r);
  background: transparent;
}
.logo-placeholder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
}
.logo-placeholder img.logo-placeholder__img--medium {
  max-height: 80%;
}
.logo-placeholder__label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-mute);
  text-align: center;
  line-height: 1.3;
}
.logo-placeholder:has(img) .logo-placeholder__label { display: none; }

@media (max-width: 700px) {
  .team-meta { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
  position: relative;
  overflow: hidden;
}
.section > .wrap { position: relative; z-index: 1; }
.section .hero-bg { z-index: 0; }
.section-alt { background: var(--paper-alt); border-block: 1px solid var(--line); }
.section-dark {
  background: var(--navy);
  color: #E8E6E0;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-intro { color: #B9C2D4; }

/* ---------- Approach (Build / Augment / Invest) ---------- */
.section-approach {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3.5rem;
}
.approach-item {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-strong);
}
.approach-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.75rem;
  height: 2px;
  background: var(--gold);
}
.approach-item h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.7rem;
}
.approach-item p {
  margin: 0;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .approach { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--paper);
  padding: 2rem 1.75rem;
  min-width: 0;
}
.card h3,
.card p { overflow-wrap: anywhere; }
.card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.2;
  margin: 0 0 0.7rem;
  color: var(--ink);
}
.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.section-dark .cards {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}
.cards-4 .card-dark,
.card-dark {
  background: var(--navy-900);
}
.card-dark h3 { color: #fff; }
.card h3 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(217, 185, 120, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.card-dark h3 a:hover,
.card-dark h3 a:focus-visible {
  color: var(--gold-on-dark);
  text-decoration-color: var(--gold-on-dark);
}
.card-dark p { color: #AEB8CC; }

.card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: background 0.2s var(--ease);
}
.card-link:hover { background: var(--paper-alt); }
.card-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-ink) !important;
  margin: 0 0 0.75rem !important;
}
.card-more {
  margin-top: 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.card-link:hover .card-more { color: var(--gold-ink); }
/* Live Substack titles/subtitles can run long; keep the cards even */
.card-live h3,
.card-live h3 + p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-live h3 { -webkit-line-clamp: 3; line-clamp: 3; }
.card-live h3 + p { -webkit-line-clamp: 4; line-clamp: 4; }

/* ---------- Manifesto ---------- */
.manifesto-def {
  max-width: 34rem;
  margin: 0 0 2.5rem;
  padding: 0.15rem 0 0.15rem 1.15rem;
  border-left: 2px solid var(--gold);
}
.manifesto-def p { margin: 0; }
.manifesto-def .manifesto-def-origin {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--ink-mute);
}
.manifesto-def-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-right: 0.15rem;
}
.manifesto-def-origin em { font-style: italic; color: var(--ink-soft); }
.manifesto-def-head {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin-bottom: 0.3rem !important;
}
.manifesto-def-word {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.manifesto-def-pos {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-mute);
}
.manifesto-def-body {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.manifesto-def-body em { font-style: italic; color: var(--ink); }
.manifesto-lede {
  max-width: 34ch;
  font-family: var(--font-serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 0.5rem;
  text-wrap: pretty;
}
.manifesto-block {
  max-width: 46rem;
  padding: 2.9rem 0;
  border-top: 1px solid var(--line);
}
.manifesto-block:first-of-type {
  border-top: 0;
  padding-top: 2.75rem;
}
.manifesto-h {
  font-family: var(--font-serif);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.22;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin: 0 0 1.05rem;
  text-wrap: balance;
}
.manifesto-h-lead { color: var(--gold-ink); }
.manifesto-group {
  max-width: 46rem;
  padding-top: 2.9rem;
  border-top: 1px solid var(--line);
}
.manifesto-group-h {
  font-family: var(--font-serif);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.014em;
  color: var(--gold-ink);
  margin: 0;
}
.manifesto-group > .manifesto-block:first-of-type { padding-top: 1.35rem; }
@media (max-width: 820px) {
  .manifesto-group { padding-top: 2.25rem; }
}
.manifesto-body > p {
  margin: 0 0 1rem;
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.68;
}
.manifesto-body > p:last-child { margin-bottom: 0; }
.manifesto-body > p em { font-style: italic; color: var(--ink); }
.manifesto-body > p strong,
.manifesto-list li strong { color: var(--ink); font-weight: 600; }
.manifesto-list li a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.manifesto-list li a:hover,
.manifesto-list li a:focus-visible {
  color: var(--gold-ink);
  text-decoration-color: var(--gold-ink);
}
.manifesto-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  max-width: 62ch;
}
.manifesto-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.58;
}
.manifesto-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px; height: 10px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.4 7.2L21 5.6l-4.2 6L23 14l-7.4.9L18 22l-6-4.3L6 22l2.4-7.1L1 14l6.2-2.4L3 5.6l6.6 2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1l2.4 7.2L21 5.6l-4.2 6L23 14l-7.4.9L18 22l-6-4.3L6 22l2.4-7.1L1 14l6.2-2.4L3 5.6l6.6 2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.manifesto-body > p + .manifesto-list { margin-top: 1.2rem; }
.manifesto-list + p { margin-top: 1.3rem; }

/* Call to action: a slim navy panel after the manifesto, lattice fading in from the right */
#manifesto { padding-bottom: clamp(2rem, 4vw, 3rem); }
.manifesto-cta-section { padding-block: 0 clamp(2.5rem, 5vw, 4rem); }
.manifesto-cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem 3rem;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.5rem, 4vw, 3rem) clamp(1.4rem, 3vw, 2rem) clamp(1.75rem, 4.4vw, 3.4rem);
  background: var(--navy);
  border-radius: 14px;
  box-shadow: 0 26px 50px -30px rgba(14, 23, 41, 0.55);
}
.manifesto-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--gold);
}
.manifesto-cta-panel .lattice {
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(90% 140% at 100% 50%, #000 10%, transparent 75%);
          mask-image: radial-gradient(90% 140% at 100% 50%, #000 10%, transparent 75%);
}
.manifesto-cta-copy { position: relative; z-index: 1; }
.manifesto-cta-h {
  font-family: var(--font-serif);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.manifesto-cta-copy p {
  margin: 0.5rem 0 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #B9C2D4;
}
.manifesto-cta {
  position: relative;
  z-index: 1;
  min-height: 52px;
  padding-inline: 1.8rem;
  white-space: nowrap;
  background: var(--gold-on-dark);
  border-color: var(--gold-on-dark);
  color: var(--navy);
}
.manifesto-cta:hover { background: #fff; border-color: #fff; color: var(--navy-900); }
.manifesto-cta:focus-visible { outline-color: var(--gold-on-dark); }
.manifesto-cta-arrow { width: 1.05em; height: 1.05em; margin-left: 0.6rem; flex: none; }
@media (max-width: 760px) {
  .manifesto-cta-panel { grid-template-columns: 1fr; }
  .manifesto-cta { width: 100%; }
}

@media (max-width: 820px) {
  .manifesto-block { padding: 2.25rem 0; }
  .manifesto-block:first-of-type { padding-top: 1.75rem; }
}

/* Manifesto, desktop: a thin lattice strip (same diamond pattern as the dark
   sections) runs down the left, with the gold lead-in words set inside it. Below
   1000px the strip is dropped and the words stay inline in the headings. */
@media (min-width: 1000px) {
  .manifesto-track {
    position: relative;
    margin-top: 1.75rem;
    padding-left: 4.5rem;
  }
  .manifesto-track::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 46px;
    border-radius: var(--r);
    background-color: var(--navy);
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2246%22 height=%2246%22 viewBox=%220 0 46 46%22%3E%3Cg fill=%22none%22 stroke=%22%23D9B978%22 stroke-opacity=%220.34%22 stroke-width=%221%22%3E%3Cpath d=%22M23 0 L46 23 L23 46 L0 23 Z%22/%3E%3Ccircle cx=%2223%22 cy=%2223%22 r=%222.4%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%222.4%22/%3E%3Ccircle cx=%2246%22 cy=%220%22 r=%222.4%22/%3E%3C/g%3E%3C/svg%3E");
    background-size: 46px 46px;
    background-repeat: repeat-y;
    background-position: center top;
  }
  .manifesto-track .manifesto-block,
  .manifesto-track .manifesto-group {
    position: relative;
    --label-top: 2.9rem;
  }
  .manifesto-track > .manifesto-block:first-of-type { --label-top: 2.75rem; }

  .manifesto-h-lead,
  .manifesto-group-h {
    position: absolute;
    left: calc(-4.5rem + 23px);
    top: var(--label-top);
    transform: translateX(-50%);
    z-index: 1;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    margin: 0;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--gold-on-dark);
  }
  .manifesto-group { padding-top: 0; }
  .manifesto-group > .manifesto-block:first-of-type { padding-top: 2.9rem; }

  /* tick across the strip at each section boundary, carried on over the gap
     between the strip and the text column so it joins that section's divider line */
  .manifesto-track > * + *::after {
    content: "";
    position: absolute;
    left: -4.5rem; top: -1px;
    width: 4.5rem; height: var(--lt, 1px);
    background:
      linear-gradient(rgba(217, 185, 120, 0.55), rgba(217, 185, 120, 0.55)) 0 0 / 46px 100% no-repeat,
      linear-gradient(var(--divider, #C29759), var(--divider, #C29759)) 46px 0 / calc(100% - 46px) 100% no-repeat;
    z-index: 1;
  }
}

/* Desktop strip + finials: the strip rises a little above the Seed line so that first line joins it too;
   every section line starts at the strip's left edge (see the line rule below). */
@media (min-width: 1000px) {
  .manifesto-track.manifesto-track--finials { margin-top: 3.25rem; --cap: 1.5rem; }
  .manifesto-track--finials::before { top: calc(-1 * var(--cap)); }
  .manifesto-track--finials { --line-start: -4.5rem; }
  .manifesto-track--finials .manifesto-group > .manifesto-block { --line-start: 0px; } /* Roots' inner dividers stay in the text column */
}

/* Section finials: a small line drawing at the right end of the line that opens Seed, Roots, Growth and
   Pruning (drawings live in assets/finials/*.svg; classes are set in manifesto.html). Restoring
   backups/manifesto_2026-09-18_pre-finials.html removes them and this block goes inert. */
.manifesto-track--finials {
  --fs: 0.6;                          /* finial scale */
  --fpad: 2.9rem;                     /* block padding above each line (clearance maths) */
  --divider: #C29759; /* solid bronze, identical to the drawings' stroke (assets/finials/*.svg) */
  /* Line thickness ~ the drawings' stroke (2.7 svg units x scale = 1.6px desktop, 1.35px phone). Every divider is a real CSS border (the
     text-column lines and the connectors into the strip alike): the browser snaps borders to whole device
     pixels identically wherever they sit, so every line renders the same thickness. */
  --lt: 2px;                          /* whole CSS pixels: browsers round border widths to these anyway */
}
.manifesto-track--finials .manifesto-block,
.manifesto-track--finials .manifesto-group { position: relative; border-top: var(--lt) solid transparent; }
.manifesto-track--finials .manifesto-block:first-of-type { border-top: 0; }
.manifesto-track--finials > .finial-seed:first-of-type { border-top: var(--lt) solid transparent; margin-top: 0.75rem; }
/* The visible line: one whole-pixel bar laid exactly over each block's (transparent) top border, running from
   the strip's left edge on desktop (--line-start) to the right edge, so strip connector and line are one piece. */
.manifesto-track--finials .manifesto-block::after,
.manifesto-track--finials .manifesto-group::after {
  content: "";
  position: absolute;
  left: var(--line-start, 0); right: 0; width: auto;
  top: calc(-1 * var(--lt)); bottom: auto;
  height: var(--lt);
  border: 0;
  background: var(--divider);
  transform-origin: left center;
  z-index: 1;
}
.manifesto-track--finials .manifesto-group > .manifesto-block:first-of-type::after,
.manifesto-track--finials > .manifesto-block:first-of-type:not(.finial-seed)::after { content: none; }

/* Growing in: as each section scrolls into view (script.js adds .is-visible), its line draws from left to
   right, then the drawing grows up (down, for Roots) and out of its ring. Only while .reveal is set, so with
   no JS, reduced motion or ?static=1 everything is simply drawn. */
@keyframes finial-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes finial-rise {
  from { clip-path: inset(100% 0 0 0); transform: scale(0.35); opacity: 0; }
  25%  { opacity: 1; }
  to   { clip-path: inset(0); transform: none; opacity: 1; }
}
@keyframes finial-hang {
  from { clip-path: inset(0 0 100% 0); transform: scale(0.35); opacity: 0; }
  25%  { opacity: 1; }
  to   { clip-path: inset(0); transform: none; opacity: 1; }
}
.manifesto-track--finials .reveal:not(.is-visible)::after { transform: scaleX(0); }
.manifesto-track--finials .reveal.is-visible::after {
  animation: finial-line 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.15s both;
}
.manifesto-track--finials .reveal:not(.is-visible)::before { opacity: 0; }
.manifesto-track--finials .reveal.is-visible::before {
  transform-origin: 50% calc(var(--fup) / var(--fh) * 100%);   /* the ring on the line */
  animation: finial-rise 1.3s cubic-bezier(0.22, 1, 0.36, 1) 1.45s both;
}
.manifesto-track--finials .finial-roots.reveal.is-visible::before { animation-name: finial-hang; }
@media (prefers-reduced-motion: reduce) {
  .manifesto-track--finials .reveal::after,
  .manifesto-track--finials .reveal::before { animation: none !important; transform: none !important; opacity: 1 !important; }
}
.finial-seed, .finial-roots, .finial-growth, .finial-pruning { position: relative; }
.finial-seed::before, .finial-roots::before, .finial-growth::before, .finial-pruning::before {
  content: "";
  position: absolute;
  right: 0;
  width: calc(116px * var(--fs));
  height: calc(var(--fh) * 1px * var(--fs));
  top: calc(var(--lt) / -2 - var(--fup) * 1px * var(--fs)); /* centred on the line (the block's top border) */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.finial-seed { --fup: 70; --fh: 82; }
.finial-roots { --fup: 12; --fh: 104; }
.finial-growth { --fup: 132; --fh: 144; }
.finial-pruning { --fup: 112; --fh: 124; }
.finial-seed::before { background-image: url("assets/finials/seed.svg"); }
.finial-roots::before { background-image: url("assets/finials/roots.svg"); }
.finial-growth::before { background-image: url("assets/finials/growth.svg"); }
.finial-pruning::before { background-image: url("assets/finials/pruning.svg"); }
@media (max-width: 820px) {
  .manifesto-track--finials { --fs: 0.5; --fpad: 2.25rem; --lt: 1px; }
}
@media (max-width: 700px) {
  /* text runs the full width here, so make room above the line for the drawings that rise */
  .finial-rise { margin-top: max(0px, calc(var(--fup) * 1px * var(--fs) - var(--fpad) + 0.5rem)); }
}

/* ---------- Team ---------- */
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.member {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.member-photo {
  position: relative;
  overflow: hidden;
  width: 96px; height: 96px;
  border-radius: 3px;
  background: var(--navy);
  color: var(--gold-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  border: 1px solid var(--line-strong);
}
.member-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}
.member-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.15rem;
}
.member-body h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0;
  color: var(--ink);
}
.member-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--ink-mute);
  flex: none;
}
.member-linkedin svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.member-linkedin:hover,
.member-linkedin:focus-visible {
  color: var(--gold-ink);
}
.member-role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 600;
  color: var(--gold-ink);
  margin: 0;
}
/* ---------- Insights foot ---------- */
.insights-foot { margin: 2.5rem 0 0; }
.text-link {
  font-weight: 600;
  color: var(--gold-ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.text-link:hover { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.contact-col h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 0.9rem;
  color: #fff;
}
.contact-col p {
  color: #B9C2D4;
  margin: 0 0 1.6rem;
  font-size: 1rem;
  max-width: 44ch;
}
.contact-col .contact-alt {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}
.contact-alt a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.contact-alt a:hover { border-bottom-color: #fff; }
.contact-place {
  font-size: var(--step-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #9AA6BD;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}

/* ---------- Founder intake (founders.html) ---------- */
.intake { max-width: 52rem; }
.intake-group {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 2.25rem 0 2.5rem;
  min-width: 0;
}
.intake-legend {
  float: left; /* keeps the legend inside the fieldset's top border */
  width: 100%;
  padding: 0;
  margin: 0 0 1.4rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}
.intake-grid {
  clear: both;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.75rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
/* Fields that must stay side by side in this order (HQ city | HQ country), at every width */
.field-pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: inherit;
}
.field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.field .req { color: var(--gold-ink); }
.field .opt { font-weight: 400; color: var(--ink-mute); }
.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 0.6rem 0.8rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  transition: border-color 0.2s var(--ease);
}
.field input::placeholder { color: var(--ink-mute); opacity: 1; }
.field input[type="file"] { padding: 0.45rem 0.6rem; font-size: 0.92rem; color: var(--ink-soft); cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 0.8rem;
  padding: 0.35rem 0.8rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  cursor: pointer;
}
.field input:hover,
.field select:hover { border-color: var(--ink-soft); }
.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 1px;
  border-color: var(--ink);
}
.field [aria-invalid="true"] { border-color: #A12C2C; }
.field-hint {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.field-error {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #A12C2C;
}
.intake-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.intake-submit .btn[disabled] { opacity: 0.6; cursor: progress; }
.intake-note { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.intake-status { margin: 1rem 0 0; font-size: 0.95rem; color: #A12C2C; }
.intake-status:empty { display: none; }
.intake-done { max-width: 46rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.intake-done:focus { outline: none; }
.intake-done p { color: var(--ink-soft); margin: 0; }

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

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--navy-900);
  color: #9AA4B8;
  padding-block: 3.5rem 2.5rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 0.55rem; }
.footer-brand .brand-word { color: #fff; font-size: 1.05rem; }
.footer-brand .brand-word-thin { color: var(--gold-on-dark); }
.footer-nav { display: flex; gap: 0.25rem 1.75rem; flex-wrap: wrap; }
.footer-nav a {
  padding-block: 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  color: #9AA4B8;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: #fff; }
.footer-legal {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-legal p { margin: 0; font-size: 0.82rem; }
.disclaimer { color: #808DA3; max-width: 70ch; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:active { transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 900px) {
  .hero-lead { padding-top: 0; }
}

@media (max-width: 760px) {
  .cards-3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 620px) {
  .cards-4, .cards-3, .cards-2 { grid-template-columns: minmax(0, 1fr); }
  .strip-list { grid-template-columns: 1fr; gap: 1.25rem; }
  .strip-list li { display: flex; align-items: baseline; gap: 0.75rem; }
  .strip-num { display: block; margin: 0; flex: none; min-width: 2.1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .member { grid-template-columns: 72px 1fr; gap: 1.1rem; }
  .member-photo { width: 72px; height: 72px; font-size: 1.35rem; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
}

/* ============================================================
   Landing intro: the mark draws itself, then the whole logo travels into the header.
   Markup is #intro in index.html; timing lives in script.js (logoIntro).
   ============================================================ */
.intro { display: none; }
html.intro-on { overflow: hidden; }
html.intro-on .intro {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--navy);
  overflow: hidden;
}
/* the real header logo stays hidden until the travelling logo lands on it */
html.intro-on .site-header .brand { opacity: 0; }
.intro .lattice {
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(90% 90% at 50% 50%, #000 15%, transparent 85%);
          mask-image: radial-gradient(90% 90% at 50% 50%, #000 15%, transparent 85%);
}
.intro__fly {
  position: fixed;
  left: 0; top: 0;
  z-index: 1;
  transform-origin: 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  opacity: 0; /* JS positions it, then reveals it */
}
.intro__mark { width: 34px; height: auto; display: block; overflow: visible; }
.intro .brand-word { color: #fff; opacity: 0; }
.intro .brand-word-thin { color: var(--gold-on-dark); }
.intro .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro .m-dot { opacity: 0; transform-box: fill-box; transform-origin: center; }

/* ----------------------------------------------------------------------------
   Hero phrase rotator: the founder quality in the hero lede retypes itself
   through a list of phrases. Markup is the <strong> in the hero lede of
   index.html; the timing lives in phraseRotator in script.js.
   ---------------------------------------------------------------------------- */
.rot { white-space: nowrap; }
.rot__sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.rot__vis {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
  white-space: nowrap;
  transition: width 0.7s var(--ease);
  clip-path: inset(-0.05em -2px -0.15em -2px);
}
.rot__measure { position: absolute; left: 0; top: 0; visibility: hidden; white-space: nowrap; }
.rot__sizer { visibility: hidden; }
.rot__word { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform, opacity; }

/* Retype: the word stays in flow, and a bronze caret rides the end of it while the
   letters move. The caret is absolutely placed so it never pushes the full stop
   after the phrase, and it is hidden at rest so the sentence reads normally. */
.rot--type .rot__vis { clip-path: none; transition: none; }
.rot--type .rot__word { position: static; }
.rot--type .rot__vis::after {
  content: "";
  position: absolute;
  left: 100%; top: 0.1em;
  width: 2px; height: 1.02em;
  margin-left: 2px;
  background: var(--gold-on-dark);
  opacity: 0;
}
.rot--type .rot__vis.is-typing::after { opacity: 1; }

/* Serif italic in bronze, instead of the lede's bold white. The second selector
   wins over `.hero-lede strong` before the script has added its own classes, so
   the phrase never flashes bold white on load. */
.rot-serif,
.hero-lede strong.rot-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-on-dark);
  font-size: 1.08em;
  letter-spacing: -0.005em;
}

/* "Built across all three" layer line under the verticals band */
.approach-layer {
  margin: 2.4rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.approach-layer span {
  display: inline-block;
  margin-right: 0.9rem;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* Three-column verticals: reserve two heading lines so the descriptions line up */
@media (min-width: 761px) {
  .approach-item h2 { min-height: 2.2em; }
}

/* Insights: label above the live posts; hidden while the feed grid is empty */
.insights-label { margin: 3rem 0 1.25rem; }
.insights-label:has(+ .cards[hidden]) { display: none; }
