/* First Bridge Lending — shared design system */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --ink: #0a1f3d;
  --ink-2: #142a4e;
  --ink-3: #1d3a66;
  --gold: #c89849;
  --gold-2: #d9b06b;
  --gold-3: #a87d34;
  --cream: #f7f2e8;
  --cream-2: #fbfaf6;
  --paper: #ffffff;
  --line: #e6e1d4;
  --line-2: #efeadd;
  --muted: #6b7280;
  --muted-2: #94908a;
  --text: #1a2540;
  --text-2: #3b4761;
  --danger: #b8362a;

  --serif: 'Newsreader', 'Source Serif 4', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(10, 31, 61, 0.06);
  --shadow: 0 12px 32px -12px rgba(10, 31, 61, 0.15), 0 2px 6px rgba(10, 31, 61, 0.04);
  --shadow-lg: 0 30px 60px -20px rgba(10, 31, 61, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream-2);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 4.4vw, 4.2rem); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); }
h3 { font-size: 1.5rem; font-weight: 500; }
h4 { font-size: 1.125rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0; }

p { margin: 0; color: var(--text-2); text-wrap: pretty; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  font-weight: 500;
}
.eyebrow--light { color: var(--gold-2); }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav--on-dark {
  background: rgba(10, 31, 61, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--gold-2);
}
.nav--on-dark .brand__mark { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.brand__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold-3);
  margin-top: 4px;
  text-transform: uppercase;
}
.nav--on-dark .brand__name { color: #fff; }
.nav--on-dark .brand__sub { color: var(--gold-2); }

.nav__links {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav--on-dark .nav__links a { color: rgba(255, 255, 255, 0.85); }
.nav__links a:hover { color: var(--ink); }
.nav--on-dark .nav__links a:hover { color: #fff; }
.nav__links a.is-active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.nav__cta {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  transition: transform 0.15s, background 0.2s;
}
.nav__cta:hover { background: var(--ink-2); transform: translateY(-1px); }
.nav--on-dark .nav__cta { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.nav--on-dark .nav__cta:hover { background: var(--gold-2); }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-align: center;
  justify-content: center;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--gradient {
  background: linear-gradient(95deg, var(--ink) 0%, var(--ink-2) 45%, var(--gold-3) 85%, var(--gold) 100%);
  color: #fff;
  border: none;
  width: 100%;
  padding: 18px 26px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px -10px rgba(10, 31, 61, 0.4);
}
.btn--gradient:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(10, 31, 61, 0.5); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--cream); }
.btn--gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-2); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 95% 105%, rgba(216, 162, 76, 0.55) 0%, rgba(216, 162, 76, 0) 50%),
    radial-gradient(80% 60% at 5% 0%, rgba(40, 70, 130, 0.5) 0%, rgba(10, 31, 61, 0) 60%),
    linear-gradient(135deg, #07172e 0%, #0a1f3d 40%, #163461 100%);
  color: #fff;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  padding: 88px 0 100px;
  align-items: center;
}
.hero__copy { max-width: 560px; }
.hero h1 { color: #fff; font-weight: 400; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--gold-2); font-weight: 500; }
.hero__lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat__value {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-top: 10px;
}

/* ── Form card (matches reference) ───────────────── */
.form-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 44px 44px 36px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
  position: relative;
}
.form-card__head { margin-bottom: 28px; }
.form-card h2 {
  font-size: 2.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.form-card__sub {
  font-size: 1rem;
  color: var(--muted);
}
.field { display: block; margin-bottom: 18px; }
.field__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 0.95rem;
  border: 1px solid #d8d3c5;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  transition: border 0.15s, box-shadow 0.15s;
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(10, 31, 61, 0.08);
}
.field__textarea { resize: vertical; min-height: 96px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #eef4fb;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 0.82rem;
  color: #2c3e60;
  line-height: 1.5;
}
.consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px; height: 16px;
  accent-color: var(--ink);
  flex-shrink: 0;
}
.form-card__links {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin: 18px 0 16px;
  font-size: 0.85rem;
}
.form-card__links a { color: #b8362a; font-weight: 500; }
.form-card__links a:hover { text-decoration: underline; }

/* ── Sections ────────────────────────────────────── */
.section { padding: 110px 0; }
.section--tight { padding: 80px 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255, 255, 255, 0.78); }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}
.section__head--center {
  display: block;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section__title { margin-top: 14px; }
.section__lede {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ── Feature grid ────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.feature {
  padding: 40px 36px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--paper);
  position: relative;
}
.feature__num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold-3);
}
.feature__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  margin: 14px 0 12px;
  line-height: 1.15;
}
.feature__body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* ── Cards ───────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media {
  aspect-ratio: 4 / 3;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 31, 61, 0) 60%, rgba(10, 31, 61, 0.35) 100%);
}
.card__body { padding: 24px 24px 28px; }
.card__amt {
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.card__loc {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.card__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.card__meta-item .k {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.card__meta-item .v {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
  margin-top: 4px;
}
.card__tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 500;
  z-index: 2;
}

/* ── Page header ─────────────────────────────────── */
.page-header {
  background:
    radial-gradient(80% 100% at 100% 100%, rgba(216, 162, 76, 0.35) 0%, rgba(216, 162, 76, 0) 60%),
    linear-gradient(135deg, #07172e 0%, #0a1f3d 60%, #163461 100%);
  color: #fff;
  padding: 88px 0 96px;
}
.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 22px;
}
.crumbs span { color: rgba(255, 255, 255, 0.4); }
.crumbs a:hover { color: #fff; }
.page-header h1 {
  color: #fff;
  font-weight: 400;
  max-width: 880px;
}
.page-header h1 em { color: var(--gold-2); font-style: italic; font-weight: 500; }
.page-header__lede {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 720px;
  margin-top: 24px;
  line-height: 1.6;
}

/* ── People grid ─────────────────────────────────── */
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.person {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
}
.person__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.person__title {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-top: 4px;
}
.person__bio {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-top: 14px;
}
.person__lic {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 12px;
  letter-spacing: 0.06em;
}

/* ── Stats band ──────────────────────────────────── */
.statband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.statband__item {
  padding: 48px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.statband__item:last-child { border-right: none; }
.statband__v {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.statband__l {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-top: 14px;
}
.statband__note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
}

/* ── Product cards (loan products) ───────────────── */
.product {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
}
.product--flip { grid-template-columns: 1.3fr 1fr; }
.product--flip .product__media { order: 2; }
.product__media {
  background: var(--cream);
  min-height: 420px;
  position: relative;
}
.product__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product__body { padding: 56px 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.product__eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold-3);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.product__title { font-size: 2rem; margin-bottom: 18px; }
.product__lede { font-size: 1rem; line-height: 1.65; margin-bottom: 26px; }
.product__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.product__spec .k {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.product__spec .v {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 500;
  margin-top: 4px;
}

/* ── Comparison table ────────────────────────────── */
.compare {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare table {
  width: 100%;
  border-collapse: collapse;
}
.compare th, .compare td {
  text-align: left;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.compare thead th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cream);
  font-weight: 500;
}
.compare tbody th {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--cream-2);
  width: 28%;
}
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 80px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); transition: color 0.15s; }
.footer__links a:hover { color: var(--gold-2); }
.footer__addr {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  font-style: normal;
}
.footer__addr strong { color: var(--gold-2); font-weight: 600; }
.footer__legal {
  padding-top: 32px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 32px;
  align-items: end;
}
.footer__copy { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
.footer__brand-block {
  display: flex; flex-direction: column; gap: 16px;
  max-width: 320px;
}
.footer__brand-block p { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; line-height: 1.6; }

/* ── CTA strip ───────────────────────────────────── */
.cta-strip {
  background:
    radial-gradient(70% 100% at 95% 50%, rgba(216, 162, 76, 0.4) 0%, rgba(216, 162, 76, 0) 60%),
    linear-gradient(135deg, #07172e 0%, #0a1f3d 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-strip h2 { color: #fff; margin-bottom: 12px; }
.cta-strip p { color: rgba(255, 255, 255, 0.8); font-size: 1.05rem; }
.cta-strip__actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ── Transaction filter chips ────────────────────── */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  align-items: center;
}
.filter {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter__count {
  font-family: var(--mono);
  font-size: 0.7rem;
  margin-left: 6px;
  opacity: 0.65;
}

/* ── Office card (contact) ───────────────────────── */
.office {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.office__map {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, #e8e2d2 0%, #d8d0bd 100%);
  position: relative;
  overflow: hidden;
}
.office__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.office__body { padding: 32px; }
.office__region {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
}
.office__city {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--ink);
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: -0.01em;
}
.office__addr {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-2);
  margin-top: 12px;
  font-style: normal;
}
.office__contacts {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  font-size: 0.9rem;
}
.office__contacts .k {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.office__contacts .v { color: var(--ink); font-weight: 500; margin-top: 3px; }

/* ── Bridge mark (logo) ──────────────────────────── */
.bridge-mark { display: block; }

/* ── Monogram avatar ─────────────────────────────── */
.monogram {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
  color: var(--gold-2);
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* ── CONFIRM flag ────────────────────────────────── */
.confirm-flag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #fff4d6;
  color: #8a5a00;
  border: 1px solid #f0d68a;
  padding: 2px 6px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 6px;
  font-weight: 600;
}
.statband__item .confirm-flag {
  background: rgba(216, 162, 76, 0.18);
  color: var(--gold-2);
  border-color: rgba(216, 162, 76, 0.4);
}
.sample-banner {
  background: #fff4d6;
  border: 1px solid #f0d68a;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: #5a3d00;
  line-height: 1.55;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sample-banner__tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #8a5a00;
  color: #fff4d6;
  padding: 4px 8px;
  border-radius: 3px;
  flex-shrink: 0;
  font-weight: 600;
}
.card--sample::after {
  content: 'SAMPLE';
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  background: rgba(138, 90, 0, 0.92);
  color: #fff;
  padding: 4px 8px;
  border-radius: 3px;
  z-index: 3;
  font-weight: 600;
}
.card { position: relative; }

/* ── Legal page ──────────────────────────────────── */
.legal {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-2);
}
.legal h2 {
  font-size: 1.5rem;
  margin: 48px 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
}
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal__placeholder {
  background: #fff4d6;
  border-left: 3px solid #f0d68a;
  padding: 12px 16px;
  margin: 8px 0 16px;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: #5a3d00;
  border-radius: 0 4px 4px 0;
}
.legal__placeholder strong { color: #8a5a00; font-weight: 600; }
.legal__toc {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 56px;
}
.legal__toc h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 16px;
  font-weight: 500;
}
.legal__toc ol {
  margin: 0; padding-left: 22px;
  font-size: 0.95rem;
  columns: 2;
  column-gap: 32px;
}
.legal__toc li { margin-bottom: 8px; break-inside: avoid; }
.legal__toc a { color: var(--ink); }
.legal__toc a:hover { color: var(--gold-3); }
.legal__meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

/* ── Animations ──────────────────────────────────── */
.fb-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--fb-delay, 0ms),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--fb-delay, 0ms);
  will-change: opacity, transform;
}
.fb-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fb-reveal { opacity: 1; transform: none; transition: none; }
}

.nav { transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease; }
.nav.is-scrolled {
  background: rgba(7, 23, 46, 0.92) !important;
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.hero, .page-header { background-size: 100% 100%; background-attachment: scroll; }

.btn { transition: transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s, background 0.2s; }
.btn:active { transform: translateY(0); }

.card, .person, .office, .product {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              border-color 0.25s;
}
.card:hover { border-color: var(--ink); }

.feature {
  transition: background 0.3s ease;
}
.feature:hover { background: var(--cream-2); }
.feature:hover .feature__title { color: var(--ink); }

.filter { transition: all 0.2s cubic-bezier(0.2, 0.7, 0.2, 1); }

/* Form field focus glow */
.field__input, .field__select, .field__textarea {
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

/* Gradient button shimmer on hover */
.btn--gradient {
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition: background-position 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.2s, box-shadow 0.3s;
}
.btn--gradient:hover { background-position: 30% 50%; }

/* Gold underline grow on nav link hover */
.nav__links a { position: relative; }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active::after { transform: scaleX(1); }

/* Brand mark gentle hover */
.brand__mark { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }

/* ── Utilities ───────────────────────────────────── */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 16px; }
.mt-6 { margin-top: 36px; }
.divider {
  height: 1px;
  background: var(--line);
  margin: 32px 0;
}
.divider--gold {
  height: 2px;
  width: 56px;
  background: var(--gold);
  margin: 0 0 24px;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 72px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .statband__item:nth-child(2) { border-right: none; }
  .product, .product--flip { grid-template-columns: 1fr; }
  .product--flip .product__media { order: 0; }
  .product__media { min-height: 300px; }
  .product__body { padding: 40px 32px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-strip { grid-template-columns: 1fr; padding: 48px 36px; }
  .cta-strip__actions { justify-content: flex-start; }
  .section { padding: 80px 0; }
  .section__head { grid-template-columns: 1fr; gap: 16px; }
  .people-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav__inner { height: 64px; }
  .nav__links { display: none; }
  .form-card { padding: 28px 24px; }
  .features { grid-template-columns: 1fr; }
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .statband { grid-template-columns: 1fr; }
  .statband__item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__legal { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; text-align: center; }
  .person__photo { margin: 0 auto; }
  .product__body { padding: 32px 24px; }
  .hero__stats { grid-template-columns: 1fr; gap: 18px; }
}
