/* ==========================================================
   Essa Khan — editorial design system
   Ivory paper · ink · brass. Hairlines and typography, not boxes.
   Loaded after Bootstrap (grid, collapse, ratio and form helpers only).
   ========================================================== */

:root {
  /* Colour */
  --paper: #FCFBF8;
  --paper-2: #F5F2EB;
  --stone: #ECE6DA;
  --white: #FFFFFF;
  --ink: #15171A;
  --ink-2: #0F1113;
  --text: #1C1E22;
  --muted: #4A463F;          /* 8.4:1+ on every light surface */
  --line: #E2DBCE;
  --line-strong: #C9BFAC;
  --brass: #7A5A20;          /* text-safe accent on light, 5.6:1+ */
  --brass-light: #D2B477;    /* accent on dark, 9:1 */
  --on-dark: #FCFBF8;
  --on-dark-muted: #C9C4BA;  /* 10:1 on ink */
  --line-dark: rgba(252, 251, 248, 0.16);

  /* Type */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-display: clamp(2.375rem, 1.5rem + 2.6vw, 3.875rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 2vw, 3.375rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 1.3vw, 2.625rem);
  --fs-h3: clamp(1.375rem, 1.25rem + 0.45vw, 1.625rem);
  --fs-h4: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-body-lg: 1.125rem;
  --fs-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-small: 1rem;
  --fs-label: 0.8125rem;

  /* Space */
  --gutter: clamp(1.25rem, 0.8rem + 1.4vw, 2rem);
  --pad-x: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --section: clamp(4.5rem, 3rem + 4.5vw, 7rem);
  --head-gap: clamp(2.5rem, 2rem + 1.5vw, 3.75rem);
  --nav-h: 84px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul, ol, dl, dd { margin: 0; padding: 0; }
::selection { background: var(--brass-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* ---- Layout ---- */
.wrap { width: 100%; max-width: calc(1240px + 2 * var(--pad-x)); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: var(--section) 0; }
.section-alt { background: var(--paper-2); }
.flush-top { padding-top: 0; }
.section-dark { background: var(--ink); color: var(--on-dark-muted); }
.section-dark, .cta, .site-footer { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--on-dark); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

/* ---- Type helpers ---- */
.label {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.section-dark .label { color: var(--brass-light); }

.intro { font-size: var(--fs-lead); line-height: 1.7; color: var(--muted); max-width: 36em; font-weight: 400; }
.section-dark .intro { color: var(--on-dark-muted); }
.muted { color: var(--muted); }

/* ---- Buttons & links ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0 1.75rem;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.button .arrow { transition: transform 0.25s var(--ease); }
.button:hover .arrow { transform: translateX(4px); }

.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--brass); color: var(--paper); }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button-ghost:hover { border-color: var(--ink); color: var(--ink); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--brass-light); color: var(--ink); }
.button-ghost-light { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.button-ghost-light:hover { border-color: var(--on-dark); color: var(--on-dark); }
.button-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color 0.25s var(--ease), background-size 0.35s var(--ease);
}
.link-arrow .arrow { transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--brass); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.section-dark .link-arrow { color: var(--on-dark); }
.section-dark .link-arrow:hover { color: var(--brass-light); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.875rem 1.5rem; }

/* ---- Navigation ---- */
.site-nav {
  padding: 0;
  background: rgba(252, 251, 248, 0.94);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
  z-index: 1030;
}
.site-nav.scrolled { border-bottom-color: var(--line); background: rgba(252, 251, 248, 0.98); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.site-nav .brand { display: flex; align-items: center; gap: 0.28em; height: var(--nav-h); }

.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: 0.01em; color: var(--ink); line-height: 1; }
.brand:hover { color: var(--ink); }
.brand span { color: var(--brass); }

.site-nav .navbar-nav { gap: 0.25rem; align-items: center; }
.site-nav .nav-link {
  position: relative;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink);
  padding: 0.5rem 0.95rem;
}
.site-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.2rem;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--ink); }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-cta { margin-left: 0.75rem; min-height: 44px; padding: 0 1.25rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  position: relative;
}
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1px; background: var(--ink); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---- Home hero ---- */
.hero { padding: calc(var(--nav-h) + clamp(2rem, 1rem + 3vw, 4rem)) 0 0; }
.hero-grid { align-items: center; }
.hero-copy { grid-column: 1 / span 7; padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.hero-copy .label { margin-bottom: 1.5rem; }
.hero-title { font-size: var(--fs-display); line-height: 1.1; letter-spacing: -0.015em; max-width: 15em; margin-bottom: 1.75rem; }
.hero-title em { font-style: italic; color: var(--brass); }
.hero-copy .intro { margin-bottom: 2.25rem; max-width: 34em; }
.hero-note { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.9375rem; color: var(--muted); }
.hero-note:hover { color: var(--ink); }
.hero-note svg { width: 16px; height: 16px; fill: #1E8E4E; }

.portrait { grid-column: 9 / span 4; margin: 0; }
.portrait-frame { position: relative; background: var(--stone); aspect-ratio: 4 / 5; overflow: hidden; }
/* Studio portraits on white blend into the stone backdrop instead of sitting in a white box. */
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; mix-blend-mode: multiply; filter: contrast(1.06) saturate(1.05); }
.portrait figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: 0.875rem 0 0; font-size: 0.875rem; color: var(--muted); }
.portrait figcaption strong { font-weight: 600; color: var(--ink); }

/* Proof row */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--line); }
.proof-item { padding: 1.75rem var(--gutter) 1.75rem 0; }
.proof-item + .proof-item { padding-left: var(--gutter); border-left: 1px solid var(--line); }
.proof-item dt { font-family: var(--serif); font-size: clamp(2.25rem, 1.8rem + 1.4vw, 3rem); font-weight: 500; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.proof-item dd { margin-top: 0.625rem; font-size: 0.9375rem; color: var(--muted); }

/* ---- Section head: index column + title ---- */
.sec-head { align-items: end; margin-bottom: var(--head-gap); }
.sec-index { grid-column: 1 / span 3; align-self: start; display: flex; align-items: baseline; gap: 0.875rem; padding-top: 0.6rem; }
.sec-index .num { font-family: var(--serif); font-size: 1.125rem; font-style: italic; color: var(--brass); }
.section-dark .sec-index .num { color: var(--brass-light); }
.sec-title { grid-column: 4 / span 7; }
.sec-title h2 { font-size: var(--fs-h2); margin-bottom: 0; max-width: 17em; }
.sec-title .intro { margin-top: 1.25rem; }
.sec-link { grid-column: 11 / span 2; justify-self: end; white-space: nowrap; }

/* ---- Ventures index (home) ---- */
.venture-index { border-top: 1px solid var(--line); list-style: none; }
.venture-index li { border-bottom: 1px solid var(--line); }
.venture-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; padding: 2rem 0; color: var(--text); }
.vr-num { grid-column: 1 / span 1; font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--brass); }
.vr-name { grid-column: 2 / span 4; font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem); font-weight: 500; line-height: 1.1; color: var(--ink); transition: color 0.25s var(--ease); }
.vr-body { grid-column: 6 / span 6; }
.vr-role { display: block; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.vr-desc { display: block; color: var(--text); max-width: 34em; font-size: var(--fs-body); }
.vr-arrow { grid-column: 12 / span 1; justify-self: end; font-size: 1.25rem; color: var(--ink); transition: transform 0.3s var(--ease), color 0.25s var(--ease); }
.venture-row:hover .vr-name, .venture-row:hover .vr-arrow { color: var(--brass); }
.venture-row:hover .vr-arrow { transform: translateX(6px); }

/* ---- Ecosystem flow (dark) ---- */
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gutter); list-style: none; }
.flow-step { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); }
.flow-step::before { content: ''; position: absolute; top: -1px; left: 0; width: 2.5rem; height: 1px; background: var(--brass-light); }
.flow-num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--brass-light); margin-bottom: 1.25rem; }
.flow-step .label { color: var(--on-dark-muted); margin-bottom: 0.5rem; }
.flow-step h3 { font-size: 1.375rem; line-height: 1.2; margin-bottom: 0.625rem; }
.flow-step p { font-size: var(--fs-small); line-height: 1.6; color: var(--on-dark-muted); }
.flow-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 2.5rem; margin-top: clamp(3rem, 2rem + 2.5vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.backed { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem 2.25rem; list-style: none; }
.backed .label { color: var(--on-dark-muted); margin-right: 0.25rem; }
.backed a { display: inline-flex; flex-direction: column; }
.backed strong { font-family: var(--serif); font-size: 1.125rem; font-weight: 500; color: var(--on-dark); transition: color 0.25s var(--ease); }
.backed small { font-size: 0.875rem; color: var(--on-dark-muted); }
.backed a:hover strong { color: var(--brass-light); }

/* ---- Columns with a hairline on top (audiences, credibility) ---- */
.cols { display: grid; column-gap: var(--gutter); row-gap: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); list-style: none; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col-item { display: flex; flex-direction: column; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.col-item .num { font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--brass); margin-bottom: 1rem; }
.col-item h3 { font-size: 1.25rem; line-height: 1.2; margin-bottom: 0.75rem; }
.col-item p { font-size: var(--fs-small); color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem; }
.col-item .link-arrow { margin-top: auto; align-self: flex-start; }

.markets-line { display: flex; flex-wrap: wrap; gap: 0.25rem 0; margin-top: 1.5rem; font-size: var(--fs-small); color: var(--text); }
.markets-line span:not(:last-child)::after { content: '·'; margin: 0 0.75rem; color: var(--brass); }

/* ---- Insights ---- */
.story { position: relative; display: flex; flex-direction: column; height: 100%; }
.story-thumb { aspect-ratio: 3 / 2; background: var(--stone); overflow: hidden; margin-bottom: 1.5rem; }
.story-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.story:hover .story-thumb img { transform: scale(1.03); }
.story-rule { border-top: 1px solid var(--line-strong); padding-top: 1.5rem; }
.story-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.875rem; color: var(--muted); margin-bottom: 0.875rem; }
.story-meta .label { font-size: 0.75rem; }
.story h3 { font-size: var(--fs-h3); line-height: 1.15; margin-bottom: 0.75rem; transition: color 0.25s var(--ease); }
.story p { font-size: var(--fs-small); color: var(--muted); line-height: 1.65; }
.story:hover h3 { color: var(--brass); }
.story-link { position: absolute; inset: 0; z-index: 1; }

.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: clamp(3rem, 2.5rem + 1.5vw, 4rem); }

.featured { align-items: center; padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); margin-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); border-bottom: 1px solid var(--line); }
.featured-media { grid-column: 1 / span 7; aspect-ratio: 16 / 10; background: var(--stone); overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-copy { grid-column: 9 / span 4; }
.featured-copy.wide { grid-column: 1 / span 9; }
.featured-copy h2 { font-size: var(--fs-h2); margin: 1rem 0 1.25rem; }
.featured-copy.wide h2 { font-size: var(--fs-h1); max-width: 16em; }

.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; margin-bottom: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
.btn-filter { position: relative; padding: 0.25rem 0; background: none; border: 0; font-family: var(--sans); font-size: var(--fs-small); font-weight: 500; color: var(--muted); cursor: pointer; transition: color 0.25s var(--ease); }
.btn-filter::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1.0625rem; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.btn-filter:hover, .btn-filter.active { color: var(--ink); }
.btn-filter.active::after { transform: scaleX(1); }
.search { display: flex; align-items: center; gap: 0.625rem; min-width: min(280px, 100%); border-bottom: 1px solid var(--line-strong); }
.search svg { width: 16px; height: 16px; flex: none; stroke: var(--muted); }
.search input { flex: 1; min-width: 0; padding: 0.5rem 0; border: 0; background: transparent; font: inherit; font-size: var(--fs-small); color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { border-bottom-color: var(--ink); }
.empty-note { color: var(--muted); }

/* ---- Inner page header ---- */
.page-head { padding: calc(var(--nav-h) + clamp(2.5rem, 1.5rem + 3vw, 4.5rem)) 0 clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); margin-bottom: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.page-head-grid { align-items: end; }
.page-head h1 { grid-column: 1 / span 7; font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.015em; }
.page-head .intro { grid-column: 9 / span 4; }

/* ---- About ---- */
.bio { align-items: start; }
.bio .portrait { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 2rem); }
.bio-copy { grid-column: 6 / span 7; align-self: center; }
.bio-copy h2 { font-size: var(--fs-h2); margin: 1.25rem 0 1.75rem; }
.bio-copy p { font-size: var(--fs-lead); line-height: 1.75; color: var(--text); }

.chapters { list-style: none; border-top: 1px solid var(--line-strong); }
.chapter { padding: clamp(2rem, 1.5rem + 1.5vw, 3rem) 0; border-bottom: 1px solid var(--line); }
.chapter-meta { grid-column: 1 / span 3; }
.chapter-meta .label { display: block; margin-top: 0.55rem; }
.chapter-body { grid-column: 4 / span 8; }
.chapter-body h3 { font-size: var(--fs-h3); margin-bottom: 1rem; }
.chapter-body p { color: var(--text); max-width: 40em; }
.chapter-body img { margin-top: 1.5rem; max-height: 420px; width: auto; }

.milestones { list-style: none; border-top: 1px solid var(--line-strong); }
.milestone { padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.milestone .year { grid-column: 1 / span 3; font-family: var(--serif); font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem); font-weight: 500; color: var(--ink); line-height: 1; }
.milestone p { grid-column: 4 / span 8; color: var(--text); max-width: 42em; }

/* ---- Ventures page ---- */
.venture { padding: clamp(3rem, 2.25rem + 2.5vw, 5rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: var(--nav-h); }
.venture:first-child { padding-top: 0; }
.venture-side { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--nav-h) + 2rem); }
.venture-side .num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--brass); margin-bottom: 1.25rem; }
.venture-side h2 { font-size: var(--fs-h2); margin: 0.75rem 0 1.5rem; overflow-wrap: anywhere; }
.venture-main { grid-column: 6 / span 7; }
.venture-overview { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.45; color: var(--ink); margin-bottom: 2.25rem; }
.venture-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; }
.venture-facts dt { margin-bottom: 0.625rem; }
.venture-facts dd { font-size: var(--fs-small); line-height: 1.7; color: var(--text); }
.venture-flow { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.venture-flow .label { display: block; margin-bottom: 0.75rem; }
.venture-flow ol { display: flex; flex-wrap: wrap; gap: 0.5rem 0; list-style: none; font-size: var(--fs-small); color: var(--muted); }
.venture-flow li:not(:last-child)::after { content: '→'; margin: 0 0.75rem; color: var(--brass); }

/* ---- Contact ---- */
.contact-grid { align-items: start; }
.contact-side { grid-column: 1 / span 4; }
.contact-side h2 { font-size: var(--fs-h3); margin-bottom: 1.75rem; }
.contact-list { border-top: 1px solid var(--line-strong); }
.contact-list div { padding: 1.125rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { margin-bottom: 0.375rem; }
.contact-list dd { font-size: var(--fs-small); color: var(--ink); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brass); }
.social { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.75rem; list-style: none; }
.social a { font-size: var(--fs-small); color: var(--muted); }
.social a:hover { color: var(--ink); }
.contact-main { grid-column: 6 / span 7; }
.contact-main h2 { font-size: var(--fs-h2); margin-bottom: 0.75rem; }
.contact-main > .intro { margin-bottom: 2.25rem; }

/* Forms */
.inquiry-form-anchor { scroll-margin-top: calc(var(--nav-h) + 24px); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.inquiry-form .row { --bs-gutter-x: var(--gutter); --bs-gutter-y: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--text); }
.form-control, .form-select {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: var(--fs-small);
  color: var(--ink);
  background-color: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(126, 95, 40, 0.18); outline: none; }
textarea.form-control { min-height: 150px; resize: vertical; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #A4372C; }
.invalid-feedback { font-size: 0.8125rem; color: #A4372C; }
.inquiry-errors { padding: 0.875rem 1rem; margin-bottom: 1.5rem; font-size: var(--fs-small); color: #7F2A21; background: #F7E9E5; border-left: 2px solid #A4372C; }
.inquiry-success { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem; background: var(--paper-2); border-left: 2px solid var(--brass); color: var(--ink); }
.inquiry-success svg { width: 22px; height: 22px; flex: none; stroke: var(--brass); margin-top: 0.15rem; }
.form-note { margin-top: 1rem; font-size: 0.8125rem; color: var(--muted); }

/* ---- Closing CTA ---- */
.cta { background: var(--ink); color: var(--on-dark-muted); padding: var(--section) 0; }
.cta-grid { align-items: end; row-gap: 2.5rem; }
.cta-copy { grid-column: 1 / span 8; }
.cta-copy .label { color: var(--brass-light); margin-bottom: 1.5rem; }
.cta-copy h2 { font-size: var(--fs-h1); line-height: 1.05; color: var(--on-dark); max-width: 14em; }
.cta-copy p { margin-top: 1.5rem; font-size: var(--fs-lead); max-width: 34em; }
.cta-actions { grid-column: 9 / span 4; justify-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.cta-actions .contact-line { font-size: var(--fs-small); color: var(--on-dark-muted); }
.cta-actions .contact-line a { color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.cta-actions .contact-line a:hover { color: var(--brass-light); border-color: var(--brass-light); }

/* ---- Footer ---- */
.site-footer { background: var(--ink-2); color: var(--on-dark-muted); padding: clamp(3.5rem, 2.5rem + 3vw, 5rem) 0 2rem; font-size: var(--fs-small); border-top: 1px solid var(--line-dark); }
.footer-grid { row-gap: 2.5rem; }
.footer-brand { grid-column: 1 / span 5; }
.footer-brand .brand { color: var(--on-dark); font-size: 1.625rem; }
.footer-brand .brand span { color: var(--brass-light); }
.footer-brand p { margin-top: 1rem; max-width: 26em; line-height: 1.7; }
.footer-col { grid-column: span 2; }
.footer-col:first-of-type { grid-column: 7 / span 2; }
.footer-col.wide { grid-column: span 3; }
.footer-col h2 { font-family: var(--sans); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 2.5rem + 2vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: 0.875rem; }
.footer-bottom .social { margin: 0; }
.footer-bottom .social a { color: var(--on-dark-muted); font-size: 0.875rem; }
.footer-bottom .social a:hover { color: var(--on-dark); }

/* ---- Article ---- */
.article-head { padding: calc(var(--nav-h) + clamp(2.5rem, 1.5rem + 3vw, 4.5rem)) 0 clamp(2.5rem, 2rem + 1.5vw, 3.5rem); }
.reading { max-width: 760px; margin: 0 auto; }
.article-head h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -0.015em; margin: 1.25rem 0 1.5rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.875rem; color: var(--muted); }
.article-hero-img { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 560px; object-fit: cover; margin: 0 auto clamp(2.5rem, 2rem + 2vw, 4rem); }
.article-standfirst { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.5; color: var(--ink); margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.article-body { font-size: 1.125rem; line-height: 1.8; color: var(--text); }
.article-body h2, .article-body h3, .article-body h4 { margin: 2.75rem 0 1rem; line-height: 1.2; }
.article-body h2 { font-size: 1.75rem; }
.article-body h3 { font-size: 1.4375rem; }
.article-body p, .article-body ul, .article-body ol { margin-bottom: 1.5rem; }
.article-body ul, .article-body ol { padding-left: 1.25rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body blockquote { margin: 2.5rem 0; padding: 0 0 0 1.5rem; border-left: 1px solid var(--brass); font-family: var(--serif); font-size: 1.3125rem; line-height: 1.45; font-style: italic; color: var(--ink); }
.article-body img { margin: 2rem 0; }
.article-video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; margin-bottom: 2.5rem; }
.article-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }

/* ---- Video ---- */
.video-grid { align-items: center; }
.video-copy { grid-column: 1 / span 4; }
.video-copy h2 { font-size: var(--fs-h2); margin: 1.25rem 0 1rem; }
.video-frame { grid-column: 6 / span 7; }
.video-facade { position: relative; width: 100%; height: 100%; background: var(--ink); overflow: hidden; }
.ratio > .video-facade { position: absolute; inset: 0; }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.video-facade-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.4s var(--ease); }
.video-facade-btn:hover img { opacity: 1; }
.video-facade-play { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 1px solid rgba(246, 243, 236, 0.7); background: rgba(21, 23, 26, 0.35); display: flex; align-items: center; justify-content: center; transition: transform 0.4s var(--ease), background-color 0.3s var(--ease); }
.video-facade-play svg { width: 22px; height: 22px; fill: var(--paper); margin-left: 4px; }
.video-facade-btn:hover .video-facade-play, .video-facade-btn:focus-visible .video-facade-play { transform: scale(1.06); background: rgba(21, 23, 26, 0.6); }
.video-facade-btn:focus-visible { outline: 2px solid var(--brass-light); outline-offset: -2px; }

/* ---- Scroll reveal (see initReveal in main.js) ---- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1199.98px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.75rem; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { grid-column: 1 / span 7; }
  .portrait { grid-column: 8 / span 5; }
  .featured-copy { grid-column: 8 / span 5; }
}

@media (max-width: 991.98px) {
  :root { --nav-h: 72px; }
  .nav-toggle { display: block; }
  .site-nav .navbar-collapse { flex-basis: 100%; margin: 0 calc(-1 * var(--pad-x)); padding: 0.5rem var(--pad-x) 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav .navbar-nav { align-items: stretch; gap: 0; }
  .site-nav .nav-link { padding: 0.9rem 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .site-nav .nav-link::after { display: none; }
  .site-nav .nav-cta { margin: 1.25rem 0 0; width: 100%; }

  .hero-copy, .portrait, .sec-index, .sec-title, .sec-link,
  .page-head h1, .page-head .intro, .bio .portrait, .bio-copy,
  .chapter-meta, .chapter-body, .milestone .year, .milestone p,
  .venture-side, .venture-main, .contact-side, .contact-main,
  .cta-copy, .cta-actions, .featured-media, .featured-copy, .featured-copy.wide,
  .video-copy, .video-frame, .footer-brand { grid-column: 1 / -1; }

  .hero-copy { padding-bottom: 2.5rem; }
  .portrait { max-width: 440px; }
  .sec-index { padding-top: 0; margin-bottom: 1rem; }
  .sec-link { justify-self: start; margin-top: 1.5rem; }
  .page-head .intro { margin-top: 1.25rem; }
  .bio .portrait { position: static; margin-bottom: 2.5rem; }
  .venture-side { position: static; }
  .chapter-meta { margin-bottom: 0.75rem; }
  .milestone .year { margin-bottom: 0.5rem; }
  .venture-side { margin-bottom: 1.5rem; }
  .contact-side { margin-bottom: 3.5rem; }
  .cta-actions { justify-self: start; }
  .featured-media { margin-bottom: 2rem; }
  .video-copy { margin-bottom: 2rem; }
  .footer-col, .footer-col:first-of-type, .footer-col.wide { grid-column: span 4; }

  .venture-row { grid-template-columns: 2.5rem 1fr auto; row-gap: 0.75rem; }
  .vr-num { grid-column: 1; }
  .vr-name { grid-column: 2; }
  .vr-arrow { grid-column: 3; }
  .vr-body { grid-column: 2 / span 2; }
  .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow, .cols-4, .cols-3, .stories, .venture-facts { grid-template-columns: 1fr; }
  .flow { row-gap: 2.25rem; }
  .footer-col, .footer-col:first-of-type, .footer-col.wide { grid-column: span 6; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .btn-filter::after { bottom: -0.25rem; }
  .actions .button { flex: 1 1 auto; }
}
