/* ==========================================================================
   Nitro Financing — main stylesheet
   Tokens and measurements follow the design references (see README).
   ========================================================================== */

:root {
  --navy: #0f2144;
  --navy-footer: #0a1830;
  --blue: #1d63c8;
  --blue-light: #5fa2f2;
  --blue-chip: #7ea9e6;
  --on-navy-lede: #a9bad6;
  --on-navy-blurb: #8fa3c8;
  --on-navy-text: #c6d3e8;
  --on-navy-muted: #6e83a8;
  --body: #4b5a76;
  --muted: #66748f;
  --muted-2: #8494ae;
  --nav-link: #3a4a68;
  --border: #e8ebf1;
  --border-navy: #1d3253;
  --border-navy-2: #3a5580;
  --border-btn: #ccd5e4;
  --border-input: #d7deea;
  --bg-light: #f6f8fb;
  --input-navy-bg: #122a52;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 12px;
  --shadow-chip: 0 12px 32px rgba(15, 33, 68, .12);
  --shadow-chip-navy: 0 12px 32px rgba(15, 33, 68, .25);
  --container: 1320px;
  --gutter: 48px;
  --font: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Base ----------------------------------------------------------------- */

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

/* Decorative absolutely-positioned glows must never cause sideways scroll.
   clip (unlike hidden) doesn't create a scroll container, so sticky still works. */
html, body { overflow-x: clip; }

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

h1, h2, h3, p { margin: 0; }
address { font-style: normal; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* --- Typography ----------------------------------------------------------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

.hero-title {
  font-size: 52px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.02em;
}

.page-title {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  max-width: 820px;
}

.section-title {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.015em;
}

.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  max-width: 640px;
}

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

.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 15px;
  line-height: normal;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  transition: background-color .15s, color .15s, border-color .15s;
}

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--navy); color: #fff; }

.btn--secondary { border: 1.5px solid var(--border-btn); color: var(--navy); padding: 13.5px 26.5px; }
.btn--secondary:hover { border-color: var(--blue); color: var(--blue); }

/* Variants on navy bands */
.btn--primary.btn--on-dark:hover { background: #fff; color: var(--navy); }
.btn--outline-dark { border: 1.5px solid var(--border-navy-2); color: #fff; padding: 13.5px 26.5px; }
.btn--outline-dark:hover { border-color: #fff; color: #fff; }

.btn--portal { background: var(--navy); color: #fff; padding: 11px 22px; font-size: 14px; }
.btn--portal:hover { background: var(--blue); color: #fff; }

.text-link { font-size: 15px; font-weight: 700; color: var(--blue); }
.text-link:hover { color: var(--navy); }

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
}

.site-header__logo img { height: 58px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav__link { color: var(--nav-link); }
.site-nav__link:hover { color: var(--blue); }
.site-nav__link.is-active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 3px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform .2s, opacity .2s;
}

/* --- Sections ------------------------------------------------------------- */

/* Vertical rhythm only — never touch horizontal padding here, or it
   clobbers .container gutters on elements carrying both classes. */
.section { padding-top: 88px; padding-bottom: 88px; }
.section--tight-bottom { padding-bottom: 72px; }
.section--rule { border-top: 1px solid var(--border); }

.section--light {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  margin-bottom: 44px;
}
.section--light .section-head { margin-bottom: 40px; }

.section-head--row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}
.section-head--row .section-head__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}
.section-head--row .text-link { white-space: nowrap; }

.section-text { font-size: 16px; line-height: 1.6; color: var(--body); }
.section-text--relaxed { line-height: 1.65; }

.list-reset { list-style: none; margin: 0; padding: 0; }

/* --- Page hero (interior pages) ------------------------------------------- */

.page-hero {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 80px;
  padding-bottom: 64px;
}

/* --- Home hero ------------------------------------------------------------ */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 64px;
}

.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__lede { font-size: 17px; line-height: 1.6; color: var(--body); max-width: 520px; }
.hero__actions { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; }

.hero__media { position: relative; min-width: 0; }
.hero__photo {
  height: 420px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-m);
}

.hero__chip {
  position: absolute;
  right: -16px;
  top: 32px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-chip-navy);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}
.hero__chip-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--blue-chip); }
.hero__chip-value { font-size: 26px; font-weight: 800; }

/* --- Stats strip ---------------------------------------------------------- */

.stats-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
}
.stat {
  padding: 28px var(--gutter);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat:last-child { border-right: 0; }
.stat__value { font-size: 30px; font-weight: 800; color: var(--navy); }
.stat__label { font-size: 13px; color: var(--muted); }

/* --- Cards & grids -------------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card--white { background: #fff; }

a.card { color: var(--navy); transition: border-color .15s; }
a.card:hover { border-color: var(--blue); color: var(--navy); }

.card__num { font-size: 13px; font-weight: 800; color: var(--blue); }
.card__title { font-size: 19px; font-weight: 700; }
.card__text { font-size: 14.5px; line-height: 1.6; color: var(--body); }

/* Compact card (How It Works 8-step grid) */
.card--compact { padding: 28px 26px; }
.card--compact .card__title { font-size: 17px; }
.card--compact .card__text { font-size: 14px; }

/* Label card (Mission / Purpose / Approach) */
.card--label { padding: 32px 28px; }
.card__label { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; color: var(--blue); text-transform: uppercase; }

/* --- Split sections (photo + copy) ----------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.split--copy-first { grid-template-columns: 1.05fr 1fr; }
.split__copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.split__photo { width: 100%; object-fit: cover; border-radius: var(--radius-m); }
.split__photo--h380 { height: 380px; }
.split__photo--h400 { height: 400px; }
.split__photo--h420 { height: 420px; }

/* --- Process steps (Home preview) ------------------------------------------ */

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 2px solid var(--navy);
  padding-top: 20px;
}
.step__num { font-size: 13px; font-weight: 800; color: var(--muted-2); letter-spacing: .04em; }
.step__title { font-size: 18px; font-weight: 700; }
.step__text { font-size: 14.5px; line-height: 1.6; color: var(--body); }

/* --- Post cards ------------------------------------------------------------ */

.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--navy);
  transition: border-color .15s;
}
.post-card:hover { border-color: var(--blue); color: var(--navy); }
.post-card--white { background: #fff; }
.post-card__meta { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted-2); }
.post-card__title { font-size: 18px; font-weight: 700; line-height: 1.35; }
.post-card__excerpt { font-size: 14px; line-height: 1.6; color: var(--body); }
.post-card__more { font-size: 14px; font-weight: 700; color: var(--blue); margin-top: auto; }

/* --- Badges ----------------------------------------------------------------- */

.badge-square {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.badge-doc {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

/* --- Safeguards list (How It Works) ---------------------------------------- */

.safeguards { display: flex; flex-direction: column; gap: 18px; }
.safeguard { display: flex; gap: 16px; align-items: flex-start; }
.safeguard__body { display: flex; flex-direction: column; gap: 3px; }
.safeguard__title { font-size: 16.5px; font-weight: 700; }
.safeguard__text { font-size: 14.5px; line-height: 1.6; color: var(--body); }

/* --- Two sides cards (How It Works) ----------------------------------------- */

.side-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.side-card__title { font-size: 22px; font-weight: 700; line-height: 1.3; }
.side-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--body);
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-card__list li::before { content: "— "; }
.side-card .text-link { font-size: 14.5px; margin-top: auto; }

/* --- Historical performance table (Investors) --------------------------------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: #fff;
}

.perf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.perf-table th, .perf-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.perf-table th {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: var(--bg-light);
}
.perf-table td { color: var(--body); font-variant-numeric: tabular-nums; }
.perf-table td:first-child { font-weight: 700; color: var(--navy); }
.perf-table tbody tr:last-child td { border-bottom: 0; }

.perf-disclaimer {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 860px;
}

.side-card--white { background: #fff; }

/* --- Fund terms (Investors) -------------------------------------------------- */

.term-card { padding: 32px 28px; gap: 8px; }
.term-card__value { font-size: 34px; font-weight: 800; }
.term-card__label { font-size: 15px; font-weight: 700; }
.term-card__text { font-size: 14px; line-height: 1.55; color: var(--body); }

/* Materials cards */
.material-card { padding: 32px 28px; }
.material-card .card__text { font-size: 14px; }

/* --- Team (About) ------------------------------------------------------------ */

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-member { display: flex; flex-direction: column; gap: 14px; }
.team-member__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-m);
}
.team-member__info { display: flex; flex-direction: column; gap: 4px; }
.team-member__name { font-size: 18px; font-weight: 700; }
.team-member__role { font-size: 13.5px; font-weight: 700; color: var(--blue); }
.team-member__bio { font-size: 13.5px; line-height: 1.55; color: var(--body); margin-top: 6px; }

/* --- Investment philosophy (About) --------------------------------------------- */

/* Anchored sections land below the sticky header */
section[id], [id="subscribe"] { scroll-margin-top: 96px; }

/* On-page jump nav (Investors hero) */
.page-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.page-toc a {
  padding: 8px 16px;
  border: 1px solid var(--border-input);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nav-link);
  transition: border-color .15s, color .15s;
}
.page-toc a:hover { border-color: var(--blue); color: var(--blue); }

.philosophy-grid { row-gap: 40px; }

.philosophy-quote {
  margin: 52px 0 0;
  background: var(--navy);
  border-radius: var(--radius-l);
  padding: 44px 48px;
  color: #fff;
  background-image: radial-gradient(rgba(95, 162, 242, .10) 1px, transparent 1px);
  background-size: 22px 22px;
}
.philosophy-quote__text {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -.01em;
  max-width: 860px;
}
.philosophy-quote__text::before { content: "“ "; color: var(--blue-light); }
.philosophy-quote__text::after { content: " ”"; color: var(--blue-light); }
.philosophy-quote__attr {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--on-navy-lede);
}

/* --- FAQ (Investors) ---------------------------------------------------------- */

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.faq-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 110px;
}
.faq-intro__note { font-size: 15px; line-height: 1.6; color: var(--body); }
.faq-intro__note a { font-weight: 700; }

.faq-list { display: flex; flex-direction: column; border-bottom: 1px solid var(--border); }
.faq-item { border-top: 1px solid var(--border); }
.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}
.faq-item__mark {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
  flex-shrink: 0;
}
.faq-item__answer {
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
  max-width: 640px;
  padding: 0 0 22px;
}
.faq-item__answer[hidden] { display: none; }

/* --- Featured post (Updates) ---------------------------------------------------- */

.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  color: var(--navy);
  transition: border-color .15s;
}
.featured-post:hover { border-color: var(--blue); color: var(--navy); }
.featured-post__media { min-height: 360px; min-width: 0; }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; }
.featured-post__body {
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
}
.featured-post__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #fff;
  background: var(--blue);
  padding: 5px 10px;
  border-radius: 4px;
}
.featured-post__title { font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -.015em; }
.featured-post__excerpt { font-size: 15.5px; line-height: 1.65; color: var(--body); }
.featured-post__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  flex-shrink: 0;
}
.byline { display: flex; flex-direction: column; }
.byline__name { font-size: 14px; font-weight: 700; }
.byline__title { font-size: 12.5px; color: var(--muted-2); }
.featured-post__more { margin-left: auto; font-size: 14.5px; font-weight: 700; color: var(--blue); white-space: nowrap; }

.section-featured { padding-top: 72px; padding-bottom: 56px; }
.section-archive { padding-top: 16px; padding-bottom: 88px; }

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

/* --- Archive header (Updates) --------------------------------------------------- */

.archive-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 36px;
}
.archive-head__title { font-size: 20px; font-weight: 800; }
.archive-head__note { font-size: 13.5px; color: var(--muted-2); }

/* --- Single post (article) -------------------------------------------------------- */

.article { max-width: 760px; margin: 0 auto; padding-top: 72px; padding-bottom: 88px; }
.article__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.article__title { font-size: 40px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin-bottom: 24px; }
.article__byline { display: flex; align-items: center; gap: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.article__hero-img { border-radius: var(--radius-m); margin-bottom: 32px; width: 100%; object-fit: cover; }
.article__body p { font-size: 16.5px; line-height: 1.75; color: var(--body); margin: 0 0 22px; }
.article__back { display: inline-block; margin-top: 12px; }

/* --- CTA band ---------------------------------------------------------------------- */

.cta-band { background: var(--navy); }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.cta-band__copy { display: flex; flex-direction: column; gap: 12px; }
.cta-band__title { font-size: 34px; line-height: 1.15; font-weight: 800; color: #fff; letter-spacing: -.015em; }
.cta-band__text { font-size: 16px; line-height: 1.6; color: var(--on-navy-lede); max-width: 560px; }
.cta-band__actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* --- Subscribe band (Updates) -------------------------------------------------------- */

.subscribe-band { background: var(--navy); }
.subscribe-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.subscribe-band__copy { display: flex; flex-direction: column; gap: 12px; }
.subscribe-band__text { font-size: 16px; line-height: 1.6; color: var(--on-navy-lede); max-width: 520px; }
.subscribe-form { display: flex; gap: 12px; flex-shrink: 0; align-items: center; }
.subscribe-form__input {
  padding: 15px 18px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--border-navy-2);
  background: var(--input-navy-bg);
  color: #fff;
  font-size: 15px;
  font-family: var(--font);
  width: 280px;
  outline: none;
}
.subscribe-form__input:focus { border-color: var(--blue-light); }
.subscribe-form__input::placeholder { color: #8a97ad; }
.subscribe-band__confirm { font-size: 15px; font-weight: 700; color: var(--blue-light); }

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

.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
  padding-top: 80px;
  padding-bottom: 96px;
}

.contact-form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--nav-link); }

.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-s);
  font-size: 15px;
  font-family: var(--font);
  color: var(--navy);
  background: #fff;
  width: 100%;
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--blue); outline-offset: -1.5px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #8a97ad; }
.form-field.has-error input,
.form-field.has-error textarea { border-color: #c0392b; }
.form-error { font-size: 12.5px; font-weight: 600; color: #c0392b; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.form-footer__note { font-size: 12.5px; line-height: 1.5; color: var(--muted-2); max-width: 340px; }
.form-alert { font-size: 14px; font-weight: 600; color: #c0392b; }

/* Honeypot — hidden from humans, present for bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-confirm {
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.contact-confirm__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}
.contact-confirm__title { font-size: 26px; font-weight: 800; }
.contact-confirm__text { font-size: 15.5px; line-height: 1.6; color: var(--body); }
.contact-confirm__again { font-size: 14.5px; font-weight: 700; margin-top: 8px; }

.contact-aside { display: flex; flex-direction: column; gap: 20px; }

.calendar-card {
  background: var(--navy);
  border-radius: var(--radius-l);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #fff;
}
.calendar-card__label { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; color: var(--blue-light); }
.calendar-card__title { font-size: 22px; font-weight: 800; line-height: 1.25; }
.calendar-card__text { font-size: 14.5px; line-height: 1.6; color: var(--on-navy-lede); }
.calendar-card .btn { align-self: flex-start; margin-top: 4px; padding: 14px 24px; }

.contact-info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-card__row { display: flex; flex-direction: column; gap: 4px; }
.contact-info-card__label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; color: var(--muted-2); }
.contact-info-card__value { font-size: 15.5px; font-weight: 600; color: var(--navy); line-height: 1.5; }
.contact-info-card__value a { color: var(--navy); }
.contact-info-card__value a:hover { color: var(--blue); }

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

.site-footer { background: var(--navy-footer); color: #fff; }
.site-footer__inner {
  padding-top: 56px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer__logo { height: 44px; width: auto; align-self: flex-start; margin-bottom: 4px; }
.site-footer__blurb { font-size: 14px; line-height: 1.6; color: var(--on-navy-blurb); max-width: 300px; }
.site-footer__contact { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.site-footer__contact a { color: var(--on-navy-text); }
.site-footer__contact a:hover { color: #fff; }

.site-footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.site-footer__heading {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-light);
}
.site-footer__col a { color: var(--on-navy-text); }
.site-footer__col a:hover { color: #fff; }
.site-footer__address { color: var(--on-navy-text); line-height: 1.6; }

.site-footer__legal {
  border-top: 1px solid var(--border-navy);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-footer__disclaimer { font-size: 12px; line-height: 1.6; color: var(--on-navy-muted); max-width: 960px; }
.site-footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--on-navy-blurb);
}
.site-footer__meta-links { display: flex; gap: 20px; }
.site-footer__meta a { color: var(--on-navy-blurb); }
.site-footer__meta a:hover { color: #fff; }

/* --- Legal / plain pages ---------------------------------------------------------------------- */

.legal-content { max-width: 760px; padding-top: 64px; padding-bottom: 88px; }
.legal-content h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin: 36px 0 12px; }
.legal-content p { font-size: 16px; line-height: 1.7; color: var(--body); margin: 0 0 16px; }

/* --- 404 ---------------------------------------------------------------------------------------- */

.error-page { padding-top: 120px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* ==========================================================================
   Enhancements — motion, article progress, back-to-top
   ========================================================================== */

/* Accent word in the hero headline */
.hero-title .accent { color: var(--blue); }

/* Subtle glow behind the hero photo */
.hero__media::before {
  content: "";
  position: absolute;
  inset: -40px -40px -40px -20px;
  background: radial-gradient(ellipse at 70% 40%, rgba(29, 99, 200, .10), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* Faint dot texture on navy bands */
.cta-band, .subscribe-band {
  background-image: radial-gradient(rgba(95, 162, 242, .10) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Header shadow once the page is scrolled */
.site-header { transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 33, 68, .08); }

/* Hover lift on interactive cards */
a.card, .post-card, .featured-post {
  transition: border-color .15s, transform .2s, box-shadow .2s;
}
a.card:hover, .post-card:hover, .featured-post:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-chip);
}

/* Animated underline on text links */
.text-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1.5px;
  transition: background-size .25s, color .15s;
  padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 1.5px; }

/* Scroll-reveal (classes applied by JS; without JS nothing is hidden) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* FAQ answer expansion */
.faq-item__answer {
  overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease;
}

/* --- Reading progress bar (article pages) --- */

.read-progress {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 3px;
  margin-top: -3px;
  pointer-events: none;
}
.read-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue);
  transition: width .1s linear;
}

/* --- Back to top --- */

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-chip-navy);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s, transform .25s, background-color .15s;
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--blue); }

/* --- View Transitions API: animated cross-page navigation (MPA) --- */

@view-transition { navigation: auto; }

.site-header { view-transition-name: site-header; }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .16s ease both; }
  ::view-transition-new(root) { animation: vt-in .24s ease both; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root),
  ::view-transition-old(site-header), ::view-transition-new(site-header) { animation-duration: 0s; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* --- Hero: staggered word reveal + gradient sheen + aurora --- */

.hero-title.is-split .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.55em);
  animation: word-rise .6s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: calc(var(--wi) * 70ms);
}
@keyframes word-rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-title .accent {
    background: linear-gradient(100deg, var(--blue) 20%, var(--blue-light) 50%, var(--blue) 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: sheen 5s linear infinite;
  }
}
@keyframes sheen { to { background-position: -200% center; } }

.hero { position: relative; }
.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -6%;
  width: min(560px, 110vw);
  height: min(560px, 110vw);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, rgba(29, 99, 200, .14), rgba(95, 162, 242, .07) 45%, transparent 70%);
  filter: blur(56px);
  pointer-events: none;
  z-index: -1;
}
@media (prefers-reduced-motion: no-preference) {
  .hero::before { animation: aurora 16s ease-in-out infinite alternate; }
}
@keyframes aurora {
  to { transform: translate3d(-70px, 48px, 0) scale(1.18); }
}

/* --- Scroll-driven animations: compositor parallax, zero JS --- */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .split__photo, .team-member__photo, .featured-post__media img {
      animation: drift-up linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
    .hero__chip {
      animation: chip-drift linear both;
      animation-timeline: scroll();
      animation-range: 0 480px;
    }
  }
}
@keyframes drift-up {
  from { transform: translateY(26px); }
  to { transform: none; }
}
@keyframes chip-drift { to { transform: translateY(26px); } }

/* --- Cursor spotlight on cards (fine pointers only) --- */

@media (hover: hover) and (pointer: fine) {
  .card, .post-card, .side-card, .featured-post, .contact-info-card {
    position: relative;
  }
  .card::after, .post-card::after, .side-card::after,
  .featured-post::after, .contact-info-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
                rgba(29, 99, 200, .09), transparent 65%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
  }
  .card:hover::after, .post-card:hover::after, .side-card:hover::after,
  .featured-post:hover::after, .contact-info-card:hover::after { opacity: 1; }
}

/* Magnetic buttons need transform in their transition */
.btn { transition: background-color .15s, color .15s, border-color .15s, transform .18s ease; }

/* Reduced motion: kill transforms and long transitions */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  a.card:hover, .post-card:hover, .featured-post:hover { transform: none; }
  .site-header, .text-link, .faq-item__answer, .back-to-top { transition: none; }
  html { scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1140px) {
  :root { --gutter: 32px; }

  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px var(--gutter) 20px;
    box-shadow: var(--shadow-chip);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__link { padding: 12px 0; font-size: 15px; }
  .site-nav__link.is-active { border-bottom: 0; padding-bottom: 12px; }
  .site-nav .btn--portal { margin-top: 12px; }

  .hero-title { font-size: 44px; }
  .page-title { font-size: 40px; }
  .section-title { font-size: 32px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }

  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro { position: static; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }

  .hero__chip { right: 16px; }
  .hero__photo { height: 360px; }

  .split, .split--copy-first { grid-template-columns: 1fr; gap: 36px; }
  .split__photo { max-height: 360px; }
  .split--media-last-mobile .split__media { order: 2; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  .featured-post { grid-template-columns: 1fr; }
  .featured-post__media { min-height: 240px; max-height: 320px; }

  .cta-band__inner, .subscribe-band__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .contact-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 72px; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }

  .section { padding-top: 64px; padding-bottom: 64px; }
  .section--light { padding-top: 60px; padding-bottom: 60px; }
  .page-hero__inner { padding-top: 56px; padding-bottom: 48px; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }

  .hero-title { font-size: 36px; }
  .page-title { font-size: 32px; }
  .section-title { font-size: 28px; }
  .cta-band__title { font-size: 28px; }
  .article__title { font-size: 30px; }
  .featured-post__title { font-size: 24px; }

  .grid-4, .team-grid { grid-template-columns: 1fr; }
  .stats-strip__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: 0; }

  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: flex-start; }

  .subscribe-form { flex-direction: column; align-items: stretch; width: 100%; }
  .subscribe-form__input { width: 100%; }

  .hero__actions .btn, .cta-band__actions .btn { width: 100%; text-align: center; }
  .cta-band__actions { width: 100%; flex-direction: column; }

  .philosophy-quote { padding: 32px 24px; }
  .philosophy-quote__text { font-size: 19px; }

  .contact-form-card { padding: 32px 24px; }
  .contact-confirm { padding: 44px 28px; }

  .featured-post__body { padding: 28px 24px; }
}
