/* ============================================================
   Bridgepoint Capital
   Palette rooted in the lion-and-rose crest: heraldic navy,
   warm ivory "paper", a single brass accent, one whisper of rose.
   ============================================================ */

:root {
  /* Navy — from the crest ink */
  --navy-900: #0e1728;   /* deepest — hero, bands, footer */
  --navy-850: #121d33;
  --navy-800: #17233d;   /* primary ink */
  --navy-700: #24324f;

  /* Paper — warm ivory */
  --paper:     #f4efe4;
  --paper-2:   #efe8d9;
  --warm-white:#faf6ee;

  /* Accent */
  --brass:      #b3924f;
  --brass-soft: #caa96b;
  --brass-deep: #8f7238;
  --rose:       #b07f7c;   /* used once, as a hairline whisper */

  /* Text */
  --ink:        #17233d;
  --ink-soft:   #47516a;
  --ink-mute:   #6b7488;
  --on-navy:    #ece7dc;
  --on-navy-soft:#a9b2c6;

  /* Lines */
  --hair-dark:  rgba(23, 35, 61, 0.14);
  --hair-light: rgba(236, 231, 220, 0.16);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --shell: 1240px;
  --gutter: clamp(1.35rem, 5vw, 5rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "liga" 1, "kern" 1;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

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

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--navy-900); color: var(--on-navy); padding: 0.6rem 1.1rem;
  border-radius: 2px; z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

/* ---------- Shared type devices ---------- */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: flex; align-items: center; gap: 0.85rem;
}
.eyebrow__mark {
  width: 26px; height: 1px; background: var(--brass); flex: none;
}
.eyebrow--onDark { color: var(--brass-soft); }
.eyebrow--onDark .eyebrow__mark { background: var(--brass-soft); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 0.86rem;
  letter-spacing: 0.03em;
  padding: 0.95em 1.7em; border-radius: 2px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
              color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn--brass { background: var(--brass); color: var(--navy-900); }
.btn--brass:hover { background: var(--brass-soft); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--on-navy);
  border-color: var(--hair-light); font-weight: 500;
  padding: 0.7em 1.35em; font-size: 0.8rem; letter-spacing: 0.04em;
}
.btn--ghost:hover { border-color: var(--brass-soft); color: #fff; }

.link-arrow {
  font-weight: 500; font-size: 0.9rem; letter-spacing: 0.02em;
  color: var(--on-navy); display: inline-flex; align-items: center; gap: 0.6rem;
  position: relative;
}
.link-arrow::after {
  content: "→"; color: var(--brass-soft);
  transition: transform 0.35s var(--ease);
}
.link-arrow:hover::after { transform: translateX(6px); }
.link-arrow::before {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: var(--brass-soft); transition: width 0.4s var(--ease);
}
.link-arrow:hover::before { width: calc(100% - 1.6rem); }

/* ============================================================
   HEADER
   ============================================================ */
.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 1.1rem;
  transition: background-color 0.5s var(--ease), padding 0.5s var(--ease),
              box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.masthead.is-scrolled {
  background: rgba(14, 23, 40, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding-block: 0.7rem;
  border-bottom-color: var(--hair-light);
}
.masthead__inner { display: flex; align-items: center; gap: 2rem; }

.brand { display: flex; align-items: center; gap: 0.8rem; margin-right: auto; }
.brand__crest { width: auto; height: 42px; transition: height 0.5s var(--ease); }
.masthead.is-scrolled .brand__crest { height: 34px; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif); font-weight: 500; font-size: 1.18rem;
  letter-spacing: 0.06em; color: var(--on-navy);
}
.brand__sub {
  font-family: var(--sans); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--brass-soft); margin-top: 0.28rem; padding-left: 0.1em;
}

.nav { display: flex; gap: 2.1rem; }
.nav a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--on-navy-soft); position: relative; padding-block: 0.3rem;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--brass-soft); transition: width 0.35s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.masthead__cta { flex: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; background: transparent;
  border: 1px solid var(--hair-light); border-radius: 2px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span {
  display: block; width: 20px; height: 1.5px; background: var(--on-navy);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--navy-900);
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-nav nav a {
  font-family: var(--serif); font-size: clamp(2rem, 11vw, 2.9rem); font-weight: 400;
  color: var(--on-navy); padding-block: 0.55rem;
  border-bottom: 1px solid var(--hair-light);
  display: flex; align-items: baseline; gap: 1.1rem;
}
.mobile-nav nav a span {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; color: var(--brass-soft);
}
.mobile-nav .btn { align-self: flex-start; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 8%, var(--navy-700) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-850) 100%);
  color: var(--on-navy);
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 8rem; padding-bottom: 4rem;
}
/* faint ledger baseline texture */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--hair-light) 1px, transparent 1px);
  background-size: 100% 2.4rem;
  opacity: 0.5; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 75%, transparent);
  pointer-events: none;
}
.hero__crest {
  position: absolute; top: 50%; right: -6%; translate: 0 -50%;
  height: 118%; width: auto; opacity: 0.05;
  pointer-events: none; user-select: none;
  filter: saturate(0);
}
.hero__inner { position: relative; z-index: 2; max-width: 62rem; }
.hero .eyebrow { margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 10.5vw, 8.2rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}
.hero__title em {
  color: var(--brass-soft);
  font-weight: 400;
}
.hero__lede {
  margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.1vw, 1.32rem);
  line-height: 1.55;
  color: var(--on-navy-soft);
}
.hero__actions {
  margin-top: clamp(2.2rem, 4vw, 3rem);
  display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.4rem);
  flex-wrap: wrap;
}

.ledger {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hair-light);
}
.ledger__item { padding-top: 1.1rem; padding-right: 1rem; }
.ledger__item + .ledger__item {
  border-left: 1px solid var(--hair-light); padding-left: clamp(1rem, 2.5vw, 1.8rem);
}
.ledger dt {
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass-soft); margin-bottom: 0.5rem;
}
.ledger dd {
  font-family: var(--serif); font-size: clamp(0.98rem, 1.8vw, 1.15rem);
  font-weight: 400; color: var(--on-navy); line-height: 1.3;
}

.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; translate: -50% 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--on-navy-soft);
}
.scroll-cue svg { width: 12px; height: 30px; stroke: var(--brass-soft); fill: none; stroke-width: 1.2; }
.scroll-cue svg line, .scroll-cue svg polyline { animation: cueDrop 2.4s var(--ease) infinite; }
@keyframes cueDrop { 0%,100%{ transform: translateY(0); opacity:.5 } 50%{ transform: translateY(3px); opacity:1 } }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { margin-bottom: clamp(2.6rem, 6vw, 4.5rem); }
.section-head--split {
  display: grid; grid-template-columns: 1fr; gap: 1.6rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding-block: var(--section-y); background: var(--paper); }
.about__inner {
  display: grid; grid-template-columns: 1.02fr 0.82fr;
  gap: clamp(2.5rem, 7vw, 6rem); align-items: center;
}
.about__inner > * { min-width: 0; } /* prevent grid blowout from wide children */
.about__prose {
  display: grid; grid-template-columns: 1fr; gap: 1.6rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 900px) {
  .about__text .statement { max-width: 20ch; }
}

/* Duotone figure */
.about__figure { margin: 0; position: relative; }
.about__frame {
  position: relative; overflow: hidden; border-radius: 2px;
  box-shadow: 0 30px 60px -32px rgba(14, 23, 40, 0.55);
}
.about__frame::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(155deg, rgba(14,23,40,0.55) 0%, rgba(23,35,61,0.18) 45%, rgba(179,146,79,0.12) 100%);
  mix-blend-mode: multiply;
}
.about__frame::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border: 1px solid rgba(179,146,79,0.35);
  outline: 1px solid rgba(244,239,228,0.4); outline-offset: -10px;
}
.about__frame img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  filter: grayscale(0.85) contrast(1.05) brightness(0.96);
  transition: transform 1.2s var(--ease);
}
@media (hover: hover) { .about__figure:hover .about__frame img { transform: scale(1.04); } }
.about__figure figcaption {
  display: flex; align-items: center; gap: 0.7rem; margin-top: 1.1rem;
  font-size: 0.74rem; letter-spacing: 0.06em; color: var(--ink-mute);
  font-style: italic; font-family: var(--serif);
}
.about__figmark { width: 22px; height: 1px; background: var(--brass); flex: none; }
.statement {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.8vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.statement em { color: var(--brass-deep); font-weight: 400; }
.about__prose { padding-top: 1.6rem; border-top: 1px solid var(--hair-dark); }
.about__prose p { color: var(--ink-soft); font-size: 1.03rem; }

/* ============================================================
   APPROACH — prospectus index
   ============================================================ */
.approach {
  padding-block: var(--section-y);
  background: var(--warm-white);
  border-top: 1px solid var(--hair-dark);
}
.approach__belief {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.3; letter-spacing: -0.01em;
  color: var(--ink); max-width: 30ch; text-wrap: balance;
}
.section-head--split { align-items: end; }
@media (min-width: 780px) {
  .section-head--split { grid-template-columns: auto 1fr; column-gap: clamp(3rem, 8vw, 7rem); }
  .section-head--split .eyebrow { padding-bottom: 0.5rem; }
}

.index { list-style: none; padding: 0; counter-reset: none; }
.index__row {
  display: grid; grid-template-columns: minmax(4.5rem, 8rem) 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(2rem, 4.5vw, 3.2rem);
  border-top: 1px solid var(--hair-dark);
  align-items: baseline;
}
.index__row:last-child { border-bottom: 1px solid var(--hair-dark); }
.index__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--brass);
  letter-spacing: 0.02em;
  font-feature-settings: "smcp" 0;
}
.index__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  line-height: 1.1; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 0.9rem;
}
.index__text p {
  color: var(--ink-soft); max-width: 56ch; font-size: 1.04rem;
}
.index__row { transition: background-color 0.5s var(--ease); }
@media (hover: hover) {
  .index__row:hover .index__num { color: var(--brass-deep); }
  .index__row:hover .index__title { color: var(--navy-800); }
}

/* ============================================================
   CREED — dark statement band
   ============================================================ */
.creed {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: var(--on-navy);
  padding-block: clamp(5.5rem, 12vw, 9rem);
  text-align: center;
}
.creed__bg {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.7);
  opacity: 0.16; pointer-events: none; user-select: none;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 50%, #000 25%, transparent 82%);
  mask-image: radial-gradient(120% 100% at 50% 50%, #000 25%, transparent 82%);
}
.creed::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(80% 120% at 50% 0%, rgba(179,146,79,0.10), transparent 60%);
  pointer-events: none;
}
.creed__inner { position: relative; z-index: 2; max-width: 52rem; margin-inline: auto; }
.creed__lead {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.1rem, 5.6vw, 3.9rem);
  line-height: 1.06; letter-spacing: -0.02em;
  text-wrap: balance;
}
.creed__lead--accent { color: var(--brass-soft); }
.creed__lead--accent em { font-weight: 400; }
.creed__sub {
  margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
  max-width: 46ch; margin-inline: auto;
  color: var(--on-navy-soft); font-size: 1.02rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding-block: var(--section-y);
  background: var(--paper);
}
.contact__inner {
  display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 4.5rem);
}
.contact__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: 0.98; letter-spacing: -0.02em; margin-top: 1.4rem;
  color: var(--ink);
}
.contact__title em { color: var(--brass-deep); font-weight: 400; }
.contact__prose {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--ink-soft); max-width: 40ch; line-height: 1.55;
}
.contact__card {
  margin-top: 2.4rem; padding-top: 2rem;
  border-top: 1px solid var(--hair-dark);
  display: flex; flex-direction: column; align-items: flex-start;
}
.contact__label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.9rem;
}
.contact__email {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 4.5vw, 2.6rem); letter-spacing: -0.01em;
  color: var(--navy-800); display: inline-block;
  border-bottom: 1px solid var(--hair-dark);
  padding-bottom: 0.15em; transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.contact__email:hover { color: var(--brass-deep); border-color: var(--brass); }
.contact__btn { margin-top: 2rem; }

@media (min-width: 820px) {
  .contact__inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900); color: var(--on-navy-soft);
  padding-top: clamp(3.5rem, 7vw, 5rem);
}
.footer__inner {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  justify-content: space-between; align-items: flex-start;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--hair-light);
}
.footer__brand img { height: clamp(56px, 9vw, 74px); width: auto; }
.footer__tag {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 1.05rem; color: var(--on-navy-soft); margin-top: 1rem;
}
.footer__nav { display: flex; flex-direction: column; gap: 0.85rem; text-align: left; }
.footer__nav a {
  font-size: 0.9rem; letter-spacing: 0.02em; color: var(--on-navy-soft);
  transition: color 0.3s var(--ease); width: fit-content;
}
.footer__nav a:hover { color: var(--brass-soft); }
.footer__base {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  align-items: center; padding-block: 1.8rem;
  font-size: 0.76rem; letter-spacing: 0.03em; color: rgba(169,178,198,0.7);
}
.footer__crestline { display: flex; align-items: center; gap: 0.6rem; }
.footer__crestline img { height: 22px; width: auto; opacity: 0.85; }

/* ============================================================
   Reveal animation
   ============================================================ */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* QA/screenshot mode: render final state with no transition */
.shot .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
.shot .hero { min-height: 760px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .scroll-cue svg line, .scroll-cue svg polyline { animation: none; }
}

/* ============================================================
   404 / error page
   ============================================================ */
.error {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(120% 90% at 82% 8%, var(--navy-700) 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-850) 100%);
  color: var(--on-navy);
}
.error::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--hair-light) 1px, transparent 1px);
  background-size: 100% 2.4rem; opacity: 0.5;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 75%, transparent);
  pointer-events: none;
}
.error__crest {
  position: absolute; top: 50%; right: -6%; translate: 0 -50%;
  height: 116%; width: auto; opacity: 0.05; filter: saturate(0);
  pointer-events: none; user-select: none;
}
.error__top {
  position: relative; z-index: 2;
  padding-block: 1.6rem;
}
.error__brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.error__brand img { height: 40px; width: auto; }
.error__brand .brand__word { display: flex; flex-direction: column; line-height: 1; }

.error__main {
  position: relative; z-index: 2; flex: 1;
  display: flex; align-items: center;
}
.error__inner { max-width: 46rem; }
.error__inner > * { animation: errRise 0.9s var(--ease) both; }
.error__inner > *:nth-child(2) { animation-delay: 0.08s; }
.error__inner > *:nth-child(3) { animation-delay: 0.16s; }
.error__inner > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes errRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.error .eyebrow { margin-bottom: clamp(1.4rem, 3.5vw, 2rem); }
.error__code {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(4.5rem, 16vw, 10rem); line-height: 0.9;
  letter-spacing: -0.03em; color: var(--brass-soft);
}
.error__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.7rem, 4.5vw, 3rem); line-height: 1.1;
  letter-spacing: -0.015em; margin-top: 1.2rem;
}
.error__title em { color: var(--brass-soft); font-weight: 400; }
.error__text {
  margin-top: clamp(1.2rem, 3vw, 1.8rem); max-width: 42ch;
  color: var(--on-navy-soft); font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.55;
}
.error__actions {
  margin-top: clamp(2rem, 4vw, 2.8rem);
  display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2rem); flex-wrap: wrap;
}
.error__foot {
  position: relative; z-index: 2;
  padding-block: 1.6rem;
  border-top: 1px solid var(--hair-light);
  font-size: 0.76rem; letter-spacing: 0.03em; color: rgba(169,178,198,0.7);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center;
}
.error__foot a { color: var(--on-navy-soft); transition: color 0.3s var(--ease); }
.error__foot a:hover { color: var(--brass-soft); }

@media (prefers-reduced-motion: reduce) {
  .error__inner > * { animation: none; }
}
@media (max-width: 420px) {
  .error__actions .btn--brass { width: 100%; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .nav, .masthead__cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .masthead { background: rgba(14,23,40,0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}

@media (max-width: 900px) {
  .about__inner { grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 8vw, 3.5rem); }
  .about__figure { max-width: min(30rem, 100%); }
}

@media (max-width: 760px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger__item { padding-block: 1rem; }
  .ledger__item + .ledger__item {
    border-left: none; border-top: 1px solid var(--hair-light); padding-left: 0;
  }
  .index__row { grid-template-columns: 1fr; gap: 0.5rem; }
  .index__num { font-size: 1.3rem; }
}

@media (max-width: 560px) {
  .hero .eyebrow { font-size: 0.58rem; letter-spacing: 0.12em; gap: 0.55rem; }
  .hero .eyebrow__mark { width: 16px; }
}

@media (max-width: 420px) {
  .brand__sub { letter-spacing: 0.3em; }
  .hero__actions .btn--brass { width: 100%; }
  .hero .eyebrow { font-size: 0.52rem; letter-spacing: 0.1em; }
}
