/* ============================================================
   Beaufort Forwarding Co. — premium minimal stylesheet
   ============================================================ */

:root {
  --cream:    #F4F1EA;
  --paper:    #FAF8F2;
  --bone:     #E8E2D3;
  --ink:      #0B0D10;
  --graphite: #2B2F33;
  --muted:    #6E6A60;
  --hairline: #C9C2B2;
  --accent:   #7A1F2B;
  --accent-soft: #9B2D3A;
  --gold:     #B9905A;
  --copper:   #C66A3A;

  --f-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-sans:  'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;

  --wrap: 1240px;
  --gap:  clamp(48px, 8vw, 120px);

  --t-fast: .18s ease;
  --t-med:  .35s cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 400; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
h4 { font-size: 14px; font-family: var(--f-sans); font-weight: 500; text-transform: uppercase; letter-spacing: .18em; color: var(--graphite); }

p { color: var(--graphite); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; color: var(--graphite); max-width: 60ch; }
.eyebrow { font-family: var(--f-sans); font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--hairline); display: inline-block; }

em { font-family: var(--f-serif); font-style: italic; color: var(--accent); font-weight: 400; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,241,234,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 38px; height: 38px; border: 1px solid var(--ink);
  display: inline-grid; place-items: center;
  font-family: var(--f-serif); font-size: 22px; line-height: 1; color: var(--ink);
}
.brand-name { font-family: var(--f-serif); font-size: 19px; letter-spacing: .02em; }
.nav-primary { display: flex; gap: 32px; }
.nav-link { font-size: 13px; letter-spacing: .04em; color: var(--graphite); position: relative; padding: 6px 0; transition: color var(--t-fast); }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ink); transition: width var(--t-med);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 24px; }
.link-quiet { font-size: 13px; color: var(--muted); transition: color var(--t-fast); }
.link-quiet:hover { color: var(--ink); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; font-size: 13px; letter-spacing: .04em;
  border: 1px solid var(--ink); color: var(--ink);
  transition: background var(--t-med), color var(--t-med);
}
.btn-ghost::after { content: '→'; font-family: var(--f-serif); transition: transform var(--t-med); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-solid {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; font-size: 13px; letter-spacing: .04em;
  background: var(--ink); color: var(--cream);
  transition: background var(--t-med);
}
.btn-solid::after { content: '→'; transition: transform var(--t-med); }
.btn-solid:hover { background: var(--accent); }
.btn-solid:hover::after { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 1px; background: var(--ink); }
.mobile-menu { display: none; }

/* ===== Generic section ===== */
.section { padding: var(--gap) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }
.hairline { height: 1px; background: var(--hairline); border: 0; }

/* ===== Hero (cinematic, photo-driven) ===== */
.hero {
  position: relative;
  min-height: 88vh;
  color: var(--cream);
  background: var(--ink);
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: clamp(120px, 14vw, 200px) 0 clamp(60px, 6vw, 96px);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/assets/img/photos/hero-port.jpg');
  background-size: cover; background-position: center;
  filter: grayscale(.25) contrast(1.08) brightness(.7);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,16,.25) 0%, rgba(11,13,16,.15) 40%, rgba(11,13,16,.9) 100%);
}
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero h1 { color: var(--cream); font-weight: 300; }
.hero h1 em { display: block; color: var(--gold); font-style: italic; }
.hero-grid {
  display: grid; grid-template-columns: 7fr 5fr; gap: 80px; align-items: end;
}
.hero-aside { display: flex; flex-direction: column; gap: 24px; padding-bottom: 8px; }
.hero-aside p { font-size: 16px; color: rgba(244,241,234,.78); }
.hero .eyebrow { color: rgba(244,241,234,.6); }
.hero .eyebrow::before { background: var(--gold); }
.hero .btn-ghost { border-color: var(--cream); color: var(--cream); }
.hero .btn-ghost:hover { background: var(--cream); color: var(--ink); }
.hero .btn-solid { background: var(--accent); color: var(--cream); }
.hero .btn-solid:hover { background: var(--accent-soft); }

.hero-meta {
  position: absolute; bottom: 28px; right: 28px; z-index: 2;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(244,241,234,.45);
}
.hero-compass {
  position: absolute; top: 120px; right: 6vw; z-index: 1;
  width: 140px; height: 140px; color: var(--gold);
  opacity: .55; pointer-events: none;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Stats — own section after hero */
.stats-band {
  background: var(--ink); color: var(--cream);
  padding: 64px 0 80px;
  border-top: 1px solid rgba(244,241,234,.08);
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.stat { padding-right: 24px; border-right: 1px solid rgba(244,241,234,.12); }
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--f-serif); font-size: clamp(48px, 5.5vw, 78px); line-height: 1;
  color: var(--cream); display: block; margin-bottom: 14px; font-weight: 400;
}
.stat .num em { font-style: italic; color: var(--gold); font-weight: 400; }
.stat .lbl { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,241,234,.55); }
.stats-note { margin-top: 36px; font-size: 13px; color: rgba(244,241,234,.4); max-width: 70ch; }

/* ===== Capabilities grid (photo cards) ===== */
.cap-grid {
  margin-top: 60px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.cap-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--hairline);
  display: flex; flex-direction: column;
  min-height: 440px;
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.cap-card .photo-wrap { overflow: hidden; aspect-ratio: 4/3; }
.cap-card .photo-wrap .photo { aspect-ratio: auto; width: 100%; height: 100%; }
.cap-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -28px rgba(11,13,16,.35); }
.cap-card .photo {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  position: relative;
  transition: transform var(--t-med);
}
.cap-card:hover .photo { transform: scale(1.04); }
.cap-card .photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,16,0) 60%, rgba(11,13,16,.5) 100%);
}
.cap-card .idx-tag {
  position: absolute; top: 16px; left: 16px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold);
  font-family: var(--f-serif); font-size: 17px;
  z-index: 2; border: 1px solid var(--gold);
}
.cap-card .body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cap-card .tag-line { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.cap-card h3 { font-size: 26px; line-height: 1.1; }
.cap-card p { font-size: 14px; line-height: 1.55; }
.cap-card .more {
  margin-top: auto; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; align-items: center; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--hairline);
}
.cap-card .more::after { content: '→'; font-family: var(--f-serif); font-size: 18px; transition: transform var(--t-med); }
.cap-card:hover .more::after { transform: translateX(6px); color: var(--accent); }

/* ===== Process steps (editorial, with rail) ===== */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--hairline);
}
.step {
  display: flex; flex-direction: column; gap: 16px;
  padding: 48px 36px 40px;
  border-right: 1px solid var(--hairline);
  position: relative; background: transparent;
  transition: background var(--t-med);
}
.step:last-child { border-right: 0; }
.step:hover { background: var(--bone); }
.step .num {
  font-family: var(--f-serif); font-size: 92px; line-height: 1; color: var(--accent);
  font-weight: 400; font-style: italic;
  margin-bottom: 12px; opacity: .9;
}
.step::before {
  content: ''; position: absolute; top: 48px; left: 36px; width: 56px; height: 1px; background: var(--accent);
}
.step h3 { font-size: 22px; }
.step p { font-size: 15px; }

/* ===== Quote (dark testimonial band) ===== */
.testimonial-band {
  background: var(--ink); color: var(--cream);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative; overflow: hidden;
}
.testimonial-band::before {
  content: '“'; position: absolute;
  top: -40px; left: -20px;
  font-family: var(--f-serif); font-size: 380px; line-height: 1;
  color: var(--accent); opacity: .25;
  font-style: italic;
}
.testimonial-band .route-deco {
  position: absolute; right: -100px; top: 30%;
  width: 600px; opacity: .25; color: var(--gold);
  pointer-events: none;
}
.pull-quote {
  display: grid; grid-template-columns: 1fr 2fr; gap: 60px;
  position: relative; z-index: 1;
}
.pull-quote .eyebrow { align-self: start; color: rgba(244,241,234,.5); }
.pull-quote .eyebrow::before { background: var(--gold); }
.pull-quote blockquote {
  font-family: var(--f-serif); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.22;
  color: var(--cream); font-style: italic; font-weight: 300;
}
.pull-quote blockquote::first-letter { color: var(--gold); }
.pull-quote cite { font-style: normal; font-size: 12px; letter-spacing: .18em; color: rgba(244,241,234,.5); margin-top: 32px; display: block; text-transform: uppercase; }

/* Coverage map band */
.coverage-band {
  position: relative; background: var(--bone);
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.coverage-map {
  position: absolute; inset: 0;
  color: var(--accent);
  opacity: .22;
}
.coverage-map svg { width: 100%; height: 100%; object-fit: cover; }
.coverage-band .wrap { position: relative; z-index: 1; }
.coverage-band h2 { max-width: 18ch; }
.coverage-numbers {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 60px;
  padding-top: 40px; border-top: 1px solid var(--hairline);
}
.coverage-numbers > div { background: var(--bone); padding: 8px 16px; }
.coverage-numbers .n { font-family: var(--f-serif); font-size: clamp(40px, 4.5vw, 64px); line-height: 1; color: var(--ink); display: block; }
.coverage-numbers .l { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin-top: 12px; display: block; }

/* Marquee partner bar */
.marquee {
  background: var(--ink); color: var(--cream);
  padding: 28px 0; overflow: hidden;
  border-top: 1px solid rgba(244,241,234,.1);
  border-bottom: 1px solid rgba(244,241,234,.1);
}
.marquee-track {
  display: flex; gap: 80px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--f-serif); font-size: 22px;
  color: rgba(244,241,234,.55);
  font-style: italic;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 80px; }
.marquee-track span::after { content: '·'; color: var(--gold); margin-left: 80px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== CTA strip (split with image) ===== */
.cta-strip {
  background: var(--ink); color: var(--cream);
  margin-top: var(--gap);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; min-height: 420px;
}
.cta-strip .cta-body {
  padding: clamp(60px, 7vw, 100px) clamp(32px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
}
.cta-strip h2 { color: var(--cream); }
.cta-strip h2 em { color: var(--gold); }
.cta-strip p { color: rgba(244,241,234,.7); margin-top: 18px; max-width: 60ch; }
.cta-strip .btn-ghost { border-color: var(--cream); color: var(--cream); margin-top: 36px; align-self: flex-start; }
.cta-strip .btn-ghost:hover { background: var(--cream); color: var(--ink); }
.cta-strip .cta-photo {
  background-size: cover; background-position: center;
  filter: grayscale(.35) contrast(1.05);
  position: relative;
}
.cta-strip .cta-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(11,13,16,.4) 30%, rgba(11,13,16,0) 100%);
}

/* Inline accent panel */
.accent-panel {
  background: var(--accent); color: var(--cream);
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative; overflow: hidden;
}
.accent-panel h2, .accent-panel h3 { color: var(--cream); }
.accent-panel p { color: rgba(244,241,234,.85); }
.accent-panel .eyebrow { color: rgba(244,241,234,.7); }
.accent-panel .eyebrow::before { background: var(--gold); }
.accent-panel .seal {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: 360px; height: 360px; color: var(--gold); opacity: .35; pointer-events: none;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink); color: rgba(244,241,234,.7);
  padding: 80px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  padding-bottom: 60px; border-bottom: 1px solid rgba(244,241,234,.12);
}
.footer-grid .brand-mark { border-color: var(--cream); color: var(--cream); }
.footer-grid .brand-name { color: var(--cream); }
.footer-blurb { margin-top: 20px; max-width: 36ch; line-height: 1.6; }
.footer-legal { margin-top: 24px; font-size: 12px; color: rgba(244,241,234,.45); }
.footer-col h4 { color: var(--cream); margin-bottom: 20px; font-size: 12px; letter-spacing: .2em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(244,241,234,.7); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--cream); }
.footer-bar {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(244,241,234,.45);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: var(--cream); }

/* ===== To top ===== */
.to-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  font-family: var(--f-serif); font-size: 18px;
  opacity: 0; pointer-events: none; transition: opacity var(--t-med);
  z-index: 40;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--accent); }

/* ===== Page header (subpages) ===== */
.page-head {
  position: relative;
  padding: clamp(120px, 12vw, 180px) 0 clamp(48px, 6vw, 80px);
  background: var(--ink); color: var(--cream);
  overflow: hidden;
}
.page-head .ph-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  filter: grayscale(.35) contrast(1.05) brightness(.65);
}
.page-head .ph-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,16,.55) 0%, rgba(11,13,16,.7) 40%, rgba(11,13,16,.96) 100%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head .eyebrow { margin-bottom: 28px; color: rgba(244,241,234,.6); }
.page-head .eyebrow::before { background: var(--gold); }
.page-head h1 { color: var(--cream); max-width: 18ch; margin-bottom: 28px; }
.page-head h1 em { color: var(--gold); }
.page-head .lead { color: rgba(244,241,234,.78); max-width: 60ch; }
.page-head .btn-ghost { border-color: var(--cream); color: var(--cream); }
.page-head .btn-ghost:hover { background: var(--cream); color: var(--ink); }
.page-head .btn-solid { background: var(--accent); }
.page-head .btn-solid:hover { background: var(--accent-soft); }

.page-head-deco {
  position: absolute; right: 4vw; bottom: 40px; z-index: 1;
  font-family: var(--f-serif); font-size: 14px; letter-spacing: .26em;
  color: rgba(244,241,234,.4); text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
}
.page-head-deco::before { content: ''; width: 36px; height: 1px; background: var(--gold); }

/* ===== About page ===== */
.values-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 72px; }
.value h3 { margin-bottom: 14px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.member { display: flex; flex-direction: column; gap: 16px; }
.member .photo {
  aspect-ratio: 4/5; background: var(--paper); overflow: hidden;
  position: relative;
}
.member .photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,16,0) 55%, rgba(11,13,16,.65) 100%);
  pointer-events: none;
}
.member .photo .badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  background: var(--cream); color: var(--ink);
  padding: 6px 12px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 500;
}
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med), filter var(--t-med); filter: grayscale(.2) contrast(1.05); }
.member:hover img { transform: scale(1.04); filter: grayscale(0) contrast(1.1); }
.member .tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.member h3 { font-size: 22px; margin-top: 4px; }
.member p { font-size: 14px; color: var(--graphite); }

/* ===== Capabilities page (module list) ===== */
.module {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
  padding: 60px 0; border-bottom: 1px solid var(--hairline);
}
.module:first-of-type { border-top: 1px solid var(--hairline); }
.module .idx { font-family: var(--f-serif); font-size: 14px; color: var(--accent); }
.module h2 { font-size: 38px; margin: 12px 0 16px; }
.module .tagline { font-style: italic; font-family: var(--f-serif); color: var(--muted); font-size: 17px; }
.module ul { list-style: none; margin-top: 28px; }
.module ul li { padding: 14px 0; border-bottom: 1px dashed var(--hairline); font-size: 15px; color: var(--graphite); display: flex; gap: 16px; }
.module ul li::before { content: '—'; color: var(--accent); }
.module .deep { margin-top: 32px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.module .deep::after { content: '→'; font-family: var(--f-serif); transition: transform var(--t-med); }
.module .deep:hover::after { transform: translateX(6px); }

/* ===== Plans ===== */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 60px;
  border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline);
}
.plan {
  padding: 40px 32px;
  border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  background: var(--cream); position: relative;
  display: flex; flex-direction: column; gap: 16px;
}
.plan.is-featured { background: var(--paper); }
.plan.is-featured::before {
  content: 'Featured'; position: absolute; top: 16px; right: 16px;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.plan h3 { font-size: 28px; }
.plan .sub { font-size: 13px; color: var(--muted); }
.plan dl { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
.plan dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.plan dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plan dd { font-family: var(--f-serif); font-size: 18px; color: var(--ink); text-align: right; }
.plan .note { font-size: 13px; color: var(--graphite); margin-top: auto; padding-top: 16px; }

.deltas { margin-top: 80px; }
.deltas table { width: 100%; border-collapse: collapse; }
.deltas th, .deltas td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.deltas th { font-family: var(--f-sans); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.deltas td:first-child { font-family: var(--f-serif); font-size: 17px; color: var(--ink); }
.deltas tbody tr:hover { background: var(--paper); }

/* ===== Fees ===== */
.fees-tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.fees-tier { padding: 36px 28px; border: 1px solid var(--hairline); background: var(--paper); display: flex; flex-direction: column; gap: 14px; }
.fees-tier h3 { font-size: 24px; }
.fees-tier .scope { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fees-tier dl { margin-top: 12px; display: grid; gap: 10px; }
.fees-tier dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--hairline); font-size: 14px; }
.fees-tier dt { color: var(--muted); }
.fees-tier dd { color: var(--ink); text-align: right; }

.baseline { margin-top: 80px; padding: 48px; background: var(--paper); border: 1px solid var(--hairline); }
.baseline h2 { font-size: 28px; margin-bottom: 24px; }
.baseline ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 36px; }
.baseline ul li { padding-left: 22px; position: relative; font-size: 14px; color: var(--graphite); }
.baseline ul li::before { content: '·'; position: absolute; left: 8px; color: var(--accent); font-size: 22px; line-height: 14px; }

.fees-block { margin-top: 56px; }
.fees-block h3 { font-size: 22px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.fees-block dl { display: grid; gap: 0; }
.fees-block dl > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; padding: 18px 0; border-bottom: 1px dashed var(--hairline); }
.fees-block dt { font-family: var(--f-serif); font-size: 17px; color: var(--ink); }
.fees-block dd { font-size: 14px; color: var(--graphite); }

/* ===== Estimator ===== */
.calc-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; }
.calc-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  padding: 14px 16px; background: var(--paper); border: 1px solid var(--hairline);
  font-family: var(--f-sans); font-size: 15px; color: var(--ink);
  transition: border-color var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.calc-result {
  background: var(--ink); color: var(--cream); padding: 48px 40px;
  display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: 100px; align-self: start;
}
.calc-result h3 { color: var(--cream); font-size: 22px; }
.calc-result .line { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(244,241,234,.15); font-size: 14px; }
.calc-result .line span:last-child { font-family: var(--f-serif); font-size: 19px; }
.calc-result .total { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--cream); }
.calc-result .total span:first-child { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.calc-result .total span:last-child { font-family: var(--f-serif); font-size: 36px; color: var(--gold); }

/* ===== FAQ ===== */
.faq-list { margin-top: 60px; border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--f-serif); font-size: clamp(20px, 1.8vw, 26px); color: var(--ink);
  transition: color var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--f-serif); font-size: 28px; color: var(--accent);
  transition: transform var(--t-med); flex-shrink: 0;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item summary:hover { color: var(--accent); }
.faq-item .answer { padding: 0 0 28px; max-width: 70ch; font-size: 16px; color: var(--graphite); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; margin-top: 48px; }
.contact-card { background: var(--paper); border: 1px solid var(--hairline); padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.contact-card h3 { font-size: 22px; }
.contact-card .row { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.contact-card .row span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact-card .row a, .contact-card .row p { font-family: var(--f-serif); font-size: 19px; color: var(--ink); }

.map-wrap { margin-top: 12px; border: 1px solid var(--hairline); background: var(--ink); }
.map-wrap iframe { width: 100%; height: 240px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }
.map-open {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border-top: 1px solid var(--hairline);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  background: var(--cream);
  transition: background var(--t-fast), color var(--t-fast);
}
.map-open:hover { background: var(--ink); color: var(--cream); }

.footer-map { margin-top: 18px; border: 1px solid rgba(244,241,234,.1); }
.footer-map iframe { width: 100%; height: 160px; border: 0; display: block; filter: grayscale(.7) contrast(1.05) invert(.88); }

/* ===== Signin ===== */
.signin-shell { max-width: 460px; margin: clamp(60px, 8vw, 100px) auto; padding: 56px 40px; background: var(--paper); border: 1px solid var(--hairline); }
.signin-shell h1 { font-size: 36px; margin-bottom: 12px; }
.signin-shell p { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.signin-shell .field { margin-bottom: 18px; }
.signin-shell .btn-solid { width: 100%; justify-content: center; }
.signin-shell .meta { margin-top: 24px; font-size: 13px; text-align: center; color: var(--muted); }
.signin-shell .meta a { color: var(--accent); }

.form-error {
  margin-bottom: 22px;
  padding: 14px 18px;
  background: rgba(122,31,43,.08);
  border-left: 3px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
}

/* ===== Legal pages ===== */
.legal-body { max-width: 820px; margin-top: 48px; }
.legal-body h2 {
  font-size: 30px; margin: 56px 0 18px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  position: relative;
}
.legal-body h2::before {
  content: ''; position: absolute; top: -1px; left: 0;
  width: 56px; height: 1px; background: var(--accent);
}
.legal-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body h2:first-of-type::before { display: none; }
.legal-body p { margin-bottom: 16px; color: var(--graphite); font-size: 15px; line-height: 1.7; }
.legal-body p strong { color: var(--ink); }
.legal-body p em { color: var(--accent); font-style: italic; font-family: var(--f-serif); font-size: 17px; }
.legal-body ul { list-style: none; margin: 0 0 20px; padding: 0; }
.legal-body ul li {
  padding: 10px 0 10px 24px; position: relative;
  color: var(--graphite); font-size: 15px; line-height: 1.65;
  border-bottom: 1px dashed var(--hairline);
}
.legal-body ul li::before {
  content: '·'; position: absolute; left: 6px; top: 6px;
  color: var(--accent); font-size: 22px;
}
.legal-body ul ul { margin-top: 8px; margin-bottom: 0; }
.legal-body ul ul li { border-bottom: 0; padding: 4px 0 4px 24px; font-size: 14px; }

/* ===== 404 ===== */
.error-shell { text-align: center; padding: 120px 24px; }
.error-shell .num { font-family: var(--f-serif); font-size: clamp(120px, 22vw, 240px); line-height: 1; color: var(--accent); }
.error-shell h1 { margin: 8px 0 16px; }
.error-shell p { color: var(--muted); margin-bottom: 32px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-compass { display: none; }
  .cap-grid, .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-row, .team-grid, .fees-tier-grid, .steps { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .calc-shell, .contact-grid { grid-template-columns: 1fr; }
  .module { grid-template-columns: 1fr; gap: 24px; }
  .cta-strip { grid-template-columns: 1fr; }
  .cta-strip .cta-photo { min-height: 280px; }
  .coverage-numbers { grid-template-columns: 1fr; gap: 28px; }
  .accent-panel .seal { width: 220px; height: 220px; right: -80px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .nav-primary, .nav-actions { display: none; }
  .burger { display: inline-flex; }
  .mobile-menu { display: none; flex-direction: column; padding: 16px 22px 28px; border-top: 1px solid var(--hairline); }
  .mobile-menu.is-open { display: flex; }
  .mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: 16px; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat { border-right: 0; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(244,241,234,.12); }
  .cap-grid, .plans-grid, .values-row, .team-grid, .fees-tier-grid, .steps { grid-template-columns: 1fr; }
  .steps .step { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bar { flex-direction: column; gap: 14px; align-items: flex-start; }
  .pull-quote { grid-template-columns: 1fr; gap: 24px; }
  .baseline ul { grid-template-columns: 1fr; }
  .fees-block dl > div { grid-template-columns: 1fr; gap: 8px; }
  .plan dd { font-size: 16px; }
  .page-head-deco { display: none; }
  .testimonial-band::before { font-size: 200px; }
}
