/* ============================================================
   PF NEXUS GLOBAL — pfnexusglobal.com
   Design system v2 — professional services grade

   Positioning: a firm with two practices.
     Assurance, Tax and Accounting — verifies what happened
     Intelligence and Automation   — changes what happens next
   Flagship: Kasa-bot, the AI WhatsApp platform.

   Benchmarked against top-tier professional services firms:
   utility bar, structured sections, thought leadership, deep
   whitespace, restrained palette. Navy and gold carried from
   the PF Nexus identity; Cormorant Garamond for editorial
   display, DM Sans for everything functional.
   ============================================================ */

:root {
  /* Ground */
  --paper:   #ffffff;
  --mist:    #f6f7f9;
  --fog:     #eceff3;
  --line:    #e2e6ec;
  --line-2:  #d2d8e0;

  /* Brand */
  --navy:    #0b1e3b;
  --navy-2:  #122a4e;
  --navy-3:  #1c3c66;
  --navy-9:  #060f20;
  --gold:    #b78a1d;   /* on light */
  --gold-2:  #d4a53a;
  --gold-br: #eeb833;   /* on navy  */

  /* Text */
  --ink:     #0b1e3b;
  --slate:   #43536a;
  --muted:   #6c7c90;
  --faint:   #94a2b4;

  /* On navy */
  --chalk:      #eef2f7;
  --chalk-mute: #9fb1c6;
  --rule-dk:    #21436c;

  /* WhatsApp */
  --wa-header:  #075e54;
  --wa-bg:      #e6ddd4;
  --wa-in:      #ffffff;
  --wa-out:     #d9fdd3;
  --wa-tick:    #53bdeb;
  --wa-ink:     #111b21;
  --wa-meta:    #667781;

  /* Type */
  --display: "Cormorant Garamond", "Hoefler Text", Georgia, serif;
  --sans:    "DM Sans", "Segoe UI", system-ui, sans-serif;

  /* Scale */
  --t-2xs:  0.72rem;
  --t-xs:   0.8rem;
  --t-sm:   0.9rem;
  --t-base: 1.0625rem;
  --t-md:   1.2rem;
  --t-lg:   1.5rem;
  --t-xl:   2rem;
  --t-2xl:  2.75rem;
  --t-3xl:  3.75rem;
  --t-4xl:  5rem;

  --bay: clamp(4rem, 8.5vw, 7rem);
  --max: 1240px;
  --rad: 3px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.01em;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, var(--t-4xl)); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.2vw, var(--t-2xl)); }
h3 { font-size: var(--t-lg); }
h4 {
  font-family: var(--sans); font-weight: 700; font-size: var(--t-md);
  letter-spacing: -0.01em; margin: 0 0 .5em; line-height: 1.3;
}

p { margin: 0 0 1.05em; max-width: 68ch; }

a { color: var(--navy-3); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-br); color: var(--navy); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.bay  { padding-block: var(--bay); }
.bay--mist { background: var(--mist); }
.bay--fog  { background: var(--fog); }
.bay--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.bay--pure { background: var(--paper); }
.bay--warm { background: var(--mist); }

.kasa-lockup { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.3rem; }
.kasa-lockup img { width: 88px; height: 88px; flex: none; }
.kasa-lockup h1 { margin: 0; }
@media (max-width: 520px) { .kasa-lockup { gap: .9rem; } .kasa-lockup img { width: 62px; height: 62px; } }

.bay--navy { background: var(--navy); color: var(--chalk); position: relative; }
.bay--navy h1, .bay--navy h2, .bay--navy h3 { color: var(--paper); }
.bay--navy p { color: var(--chalk-mute); }
.bay--navy a { color: var(--gold-br); }
/* buttons must keep their own text colour on the navy band */
.bay--navy a.btn--gold, .bay--navy a.btn--gold:hover { color: var(--navy); }
.bay--navy a.btn--wa, .bay--navy a.btn--wa:hover { color: #052e16; }
.bay--navy a.btn--solid, .bay--navy a.btn--solid:hover { color: var(--paper); }
.bay--navy a.btn--onnavy { color: var(--chalk); }
.bay--navy a.btn--onnavy:hover { color: var(--navy); }

.skip {
  position: absolute; left: -9999px; z-index: 200;
  background: var(--navy); color: var(--chalk);
  padding: .75rem 1.1rem; font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

.eyebrow {
  font-family: var(--sans); font-weight: 700;
  font-size: var(--t-2xs); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1rem;
}
.bay--navy .eyebrow { color: var(--gold-br); }

/* ---------- Utility bar ---------- */
.utility {
  background: var(--navy-9); color: var(--chalk-mute);
  font-size: var(--t-xs); letter-spacing: .01em;
}
.utility__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 40px; justify-content: flex-end;
}
.utility a { color: var(--chalk-mute); text-decoration: none; }
.utility a:hover { color: var(--paper); }
.utility__loc { margin-right: auto; display: inline-flex; align-items: center; gap: .45rem; }
.utility__loc svg { width: 13px; height: 13px; opacity: .8; }
.utility__sep { width: 1px; height: 14px; background: var(--rule-dk); }
@media (max-width: 680px) {
  .utility__inner { gap: 1rem; min-height: 36px; }
  .utility__loc { display: none; }
}

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner { display: flex; align-items: center; min-height: 80px; }

.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand__logo { height: 38px; width: auto; }
@media (max-width: 420px) { .brand__logo { height: 30px; } }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  color: var(--slate); text-decoration: none;
  font-size: var(--t-sm); font-weight: 500; letter-spacing: -0.005em;
  position: relative; padding: .4rem 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--gold); transition: right .22s ease;
}
.nav a:not(.btn):hover { color: var(--navy); }
.nav a:not(.btn):hover::after { right: 0; }
.nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"]::after { right: 0; }

.nav a.btn, .nav a.btn:hover { color: var(--paper); }
.nav a.btn::after { display: none; }

.nav__toggle {
  display: none; background: none; border: 1px solid var(--line-2);
  color: var(--navy); padding: .55rem .7rem; cursor: pointer; border-radius: var(--rad);
}
@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav {
    position: absolute; inset: 80px 0 auto; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.5rem; box-shadow: 0 24px 40px -28px rgba(11,30,59,.4);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; font-size: var(--t-md); border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: var(--t-sm);
  padding: .8rem 1.5rem; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; border-radius: var(--rad);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn--solid { background: var(--navy); color: var(--paper); }
.btn--solid:hover { background: var(--navy-2); color: var(--paper); }
.btn--line { border-color: var(--line-2); color: var(--navy); }
.btn--line:hover { border-color: var(--navy); background: var(--navy); color: var(--paper); }
.btn--gold { background: var(--gold-br); color: var(--navy); }
.btn--gold:hover { background: #ffc94d; color: var(--navy); }
.btn--onnavy { border-color: rgba(238,242,247,.35); color: var(--chalk); }
.btn--onnavy:hover { background: var(--chalk); color: var(--navy); }
.btn--wa { background: #25d366; color: #052e16; }
.btn--wa:hover { background: #20c35c; color: #052e16; }
.btn--lg { font-size: var(--t-base); padding: .95rem 1.8rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: var(--t-sm); text-decoration: none;
  color: var(--navy);
}
.arrow-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.arrow-link:hover { color: var(--gold); }
.arrow-link:hover svg { transform: translateX(4px); }
.bay--navy .arrow-link { color: var(--gold-br); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 6vw, 5.5rem) var(--bay); position: relative; }
.hero__grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4.5rem);
  grid-template-columns: 1.08fr .92fr; align-items: center;
}
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__sub {
  font-size: var(--t-md); color: var(--slate);
  max-width: 46ch; line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero__trust {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1.4rem 2.5rem; align-items: center;
  font-size: var(--t-sm); color: var(--muted);
}
.hero__trust b { color: var(--navy); font-weight: 700; }

/* ---------- Statement block ---------- */
.statement {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 2.1rem 2rem 1.7rem;
  box-shadow: 0 40px 80px -56px rgba(11,30,59,.4);
}
.statement__caption {
  font-family: var(--display); font-size: var(--t-lg);
  font-weight: 600; margin: 0 0 1.4rem; line-height: 1.2;
}
.line {
  display: grid; grid-template-columns: 1fr auto;
  gap: .35rem 1rem; align-items: baseline;
  padding: .78rem 0; border-top: 1px solid var(--line);
}
.line:first-of-type { border-top: 0; padding-top: 0; }
.line__name { font-weight: 600; font-size: var(--t-base); }
.line__note { grid-column: 1 / -1; color: var(--muted); font-size: var(--t-sm); margin: 0; max-width: none; }
.line__mark {
  font-family: var(--sans); font-size: var(--t-2xs); font-weight: 700;
  letter-spacing: .09em; color: var(--faint); white-space: nowrap;
}
.line--gold .line__mark { color: var(--gold); }
.statement__total {
  margin-top: 1.1rem; padding-top: 1.1rem; border-top: 2px solid var(--gold);
  font-size: var(--t-sm); color: var(--slate);
}
.statement__total p { margin: 0; }

/* ---------- Section head ---------- */
.head { max-width: 62ch; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.head--wide { max-width: none; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; }
.head p { color: var(--slate); font-size: var(--t-md); }
.bay--navy .head p { color: var(--chalk-mute); }
@media (max-width: 720px) { .head--wide { grid-template-columns: 1fr; } }

/* ---------- Practices ---------- */
.practices { display: grid; gap: 3rem; }
@media (min-width: 900px) { .practices { grid-template-columns: 1fr 1fr; gap: 0; } }
.practice { padding-top: 1.6rem; border-top: 3px solid var(--navy); }
.practice--auto { border-top-color: var(--gold); }
@media (min-width: 900px) {
  .practice { padding: 1.6rem 3rem 0 0; }
  .practice + .practice { padding: 1.6rem 0 0 3rem; border-left: 1px solid var(--line); }
}
.practice h3 { font-size: var(--t-xl); margin-bottom: .6rem; }
.practice > p { color: var(--slate); }
.services { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.services li { padding: 1rem 0; border-top: 1px solid var(--line); }
.services strong { display: block; font-size: var(--t-base); }
.services span { display: block; color: var(--muted); font-size: var(--t-sm); line-height: 1.55; }

/* ---------- Industries ---------- */
.grid-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper); padding: 2rem 1.8rem; position: relative;
  transition: background-color .2s ease;
}
.card:hover { background: var(--mist); }
.card__no {
  font-family: var(--display); font-size: var(--t-md); color: var(--gold);
  font-weight: 600; margin-bottom: .9rem;
}
.card h4 { margin-bottom: .4rem; font-size: var(--t-md); }
.card p { color: var(--muted); font-size: var(--t-sm); margin: 0; }

/* ---------- Stats band ---------- */
.stats { display: grid; gap: 1px; background: var(--rule-dk); border-block: 1px solid var(--rule-dk); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--navy); padding: 2.4rem 1.8rem; }
.stat__fig {
  font-family: var(--display); font-weight: 600; line-height: 1;
  font-size: clamp(2.6rem, 4vw, 3.4rem); color: var(--paper); margin-bottom: .5rem;
}
.stat__fig b { color: var(--gold-br); font-weight: 600; }
.stat__label { font-size: var(--t-sm); color: var(--chalk-mute); max-width: 26ch; }

/* ---------- Insights ---------- */
.insights { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .insights { grid-template-columns: repeat(3, 1fr); } }
.insight {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); background: var(--paper);
  text-decoration: none; color: var(--ink);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.insight:hover { box-shadow: 0 30px 50px -36px rgba(11,30,59,.35); transform: translateY(-3px); border-color: var(--line-2); color: var(--ink); }
.insight__top {
  aspect-ratio: 16 / 9; position: relative; overflow: hidden;
  background: var(--navy); display: grid; place-items: center;
}
.insight__cat {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: var(--t-2xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); background: var(--gold-br); padding: .3rem .6rem;
}
.insight__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.insight h3 { font-size: var(--t-md); font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: .6rem; }
.insight p { color: var(--muted); font-size: var(--t-sm); margin: 0 0 1.2rem; }
.insight__more { margin-top: auto; font-size: var(--t-sm); font-weight: 600; color: var(--gold); display: inline-flex; gap: .4rem; align-items: center; }
.insight__more svg { width: 14px; height: 14px; }

/* abstract cover motif */
.motif { width: 100%; height: 100%; }

/* ---------- Sequence ---------- */
.sequence { display: grid; gap: 0; counter-reset: step; }
@media (min-width: 820px) { .sequence { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 1.6rem 1.8rem 1.6rem 0; border-top: 1px solid var(--line); counter-increment: step; }
@media (min-width: 820px) { .step + .step { padding-left: 1.8rem; border-left: 1px solid var(--line); } }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--display); font-size: var(--t-xl);
  font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: .6rem;
}
.step h4 { margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: var(--t-sm); margin: 0; }

/* ---------- Case notes ---------- */
.cases { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .cases { grid-template-columns: 1fr 1fr; } }
.case { padding: 2rem 2.4rem 2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) {
  .case:nth-child(even) { padding-left: 2.4rem; border-left: 1px solid var(--line); }
}
.case__sector { font-size: var(--t-2xs); font-weight: 700; letter-spacing: .09em; color: var(--gold); margin: 0 0 .6rem; }
.case h3 { font-size: var(--t-lg); margin-bottom: .55rem; }
.case p { color: var(--slate); font-size: var(--t-sm); margin-bottom: 1rem; }
.case dl { margin: 0; font-size: var(--t-sm); display: grid; grid-template-columns: auto 1fr; gap: .35rem .9rem; }
.case dt { color: var(--muted); }
.case dd { margin: 0; }

/* ---------- Flagship ---------- */
.flagship__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 940px) { .flagship__grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.flagship__logo { width: 104px; height: 104px; margin-bottom: 1.4rem; }
.flagship__tag {
  display: inline-block; font-size: var(--t-2xs); font-weight: 700;
  letter-spacing: .14em; color: var(--gold-br);
  border: 1px solid rgba(238,184,51,.4); padding: .4rem .8rem; margin-bottom: 1.3rem;
}

/* ============================================================
   WHATSAPP MOCKUP — a faithful WhatsApp chat on a phone
   ============================================================ */
.wa { display: flex; justify-content: center; }
.wa__phone {
  width: 100%; max-width: 380px;
  background: #0b141a;
  border-radius: 34px; padding: 10px;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.04);
}
.wa__screen {
  border-radius: 26px; overflow: hidden; display: flex; flex-direction: column;
  height: 560px; background: var(--wa-bg);
}
.wa__header {
  background: var(--wa-header); color: #e9edef;
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .85rem; flex: none;
}
.wa__back { width: 20px; height: 20px; opacity: .9; flex: none; }
.wa__avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: #cfd8d6; color: var(--wa-header);
  display: grid; place-items: center; font-weight: 700; font-size: 1rem; overflow: hidden;
}
.wa__avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa__meta { margin-right: auto; line-height: 1.25; min-width: 0; }
.wa__name { font-weight: 600; font-size: .95rem; display: block; }
.wa__status { font-size: .72rem; color: #cdeae4; }
.wa__icons { display: flex; gap: 1.1rem; }
.wa__icons svg { width: 19px; height: 19px; opacity: .92; }

.wa__body {
  flex: 1; overflow: hidden; position: relative;
  background-color: var(--wa-bg);
  background-image: url("/assets/wa-bg.svg");
  background-size: 300px;
  padding: .85rem .7rem;
  display: flex; flex-direction: column; gap: .3rem;
}
.wa__day {
  align-self: center; background: #d7e7ce; color: #4a5c52;
  font-size: .68rem; font-weight: 600; letter-spacing: .03em;
  padding: .25rem .7rem; border-radius: 7px; margin-bottom: .2rem;
}
.wa__enc {
  align-self: center; background: #fcf4cb; color: #5b5333;
  font-size: .65rem; text-align: center; line-height: 1.4;
  padding: .35rem .7rem; border-radius: 7px; margin-bottom: .45rem; max-width: 90%;
}
.wa__log { display: flex; flex-direction: column; gap: .3rem; }

.msg {
  max-width: 82%; padding: .4rem .55rem .32rem .6rem;
  font-size: .84rem; line-height: 1.35; color: var(--wa-ink);
  border-radius: 8px; position: relative;
  box-shadow: 0 1px .5px rgba(11,20,26,.13);
  word-wrap: break-word;
}
.msg--them { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 0; }
.msg--us   { align-self: flex-end;   background: var(--wa-out); border-top-right-radius: 0; }
/* little bubble tails */
.msg--them::before {
  content: ""; position: absolute; top: 0; left: -7px;
  border: 7px solid transparent; border-top-color: var(--wa-in); border-right: 0;
}
.msg--us::before {
  content: ""; position: absolute; top: 0; right: -7px;
  border: 7px solid transparent; border-top-color: var(--wa-out); border-left: 0;
}
.msg__time {
  display: inline-block; float: right;
  font-size: .62rem; color: var(--wa-meta);
  margin: .35rem 0 0 .55rem; line-height: 1;
}
.msg__time svg { width: 15px; height: 11px; display: inline-block; vertical-align: -1px; margin-left: 2px; color: var(--wa-tick); }

.msg--typing { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 0; display: inline-flex; gap: 4px; padding: .6rem .7rem; }
.msg--typing::before { content: ""; position: absolute; top: 0; left: -7px; border: 7px solid transparent; border-top-color: var(--wa-in); border-right: 0; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa6ad; animation: bob 1.1s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%,60%,100% { transform: translateY(0); opacity: .5 } 30% { transform: translateY(-4px); opacity: 1 } }

.wa__input {
  flex: none; background: var(--wa-bg); padding: .5rem .6rem;
  display: flex; align-items: center; gap: .5rem;
}
.wa__field {
  flex: 1; background: #fff; border-radius: 20px;
  padding: .55rem .9rem; font-size: .82rem; color: #8a97a0;
  display: flex; align-items: center; gap: .5rem;
}
.wa__field svg { width: 17px; height: 17px; color: #8a97a0; }
.wa__send {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--wa-header); display: grid; place-items: center;
}
.wa__send svg { width: 18px; height: 18px; color: #fff; }

.wa__note {
  text-align: center; font-size: var(--t-xs); color: var(--chalk-mute);
  margin-top: 1.1rem; max-width: 34ch; margin-inline: auto;
}

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.75rem; }
.prose h3 { margin-top: 2rem; font-size: var(--t-md); font-family: var(--sans); font-weight: 700; }
.prose ul { padding-left: 1.15rem; color: var(--slate); }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--ink); }
.prose__lede {
  font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.32; color: var(--navy); max-width: 32ch; margin-bottom: 2rem;
}

/* ---------- Article ---------- */
.article { max-width: 44rem; margin-inline: auto; }
.article__meta { font-size: var(--t-sm); color: var(--muted); margin-bottom: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.article__meta .cat { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: var(--t-2xs); }
.article h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); margin-bottom: .6rem; }
.article__stand { font-size: var(--t-md); color: var(--slate); margin-bottom: 2rem; max-width: none; }
.article__body { font-size: 1.1rem; line-height: 1.75; }
.article__body h2 { font-size: var(--t-xl); margin-top: 2.5rem; }
.article__body h3 { font-size: var(--t-md); font-family: var(--sans); font-weight: 700; margin-top: 1.8rem; }
.article__body p { color: #2b3a4d; max-width: none; }
.article__body ul { color: #2b3a4d; padding-left: 1.2rem; }
.article__body li { margin-bottom: .55rem; }
.article__cta { margin-top: 3rem; padding: 1.8rem 2rem; background: var(--mist); border-left: 3px solid var(--gold); }
.article__cta p { margin: 0; }

/* ---------- Tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.tags li { border: 1px solid var(--line-2); padding: .4rem .9rem; font-size: var(--t-sm); color: var(--slate); border-radius: 999px; }
.bay--navy .tags li { border-color: var(--rule-dk); color: var(--chalk-mute); }

/* ---------- Contact rows ---------- */
.dial { display: grid; gap: 0; border-top: 1px solid var(--line); }
.dial a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
}
.dial a:hover { color: var(--gold); }
.dial span { font-size: var(--t-2xs); letter-spacing: .09em; color: var(--muted); min-width: 86px; }
.dial b { font-weight: 600; }
.bay--navy .dial { border-color: var(--rule-dk); }
.bay--navy .dial a { border-color: var(--rule-dk); color: var(--chalk); }
.bay--navy .dial a:hover { color: var(--gold-br); }
.bay--navy .dial span { color: var(--chalk-mute); }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.1rem; max-width: 36rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: var(--t-base);
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--rad);
  padding: .8rem .95rem; width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field :is(input,select,textarea):focus { border-color: var(--navy); outline: none; }
.field__hint { font-size: var(--t-xs); color: var(--muted); }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color: var(--chalk-mute); padding-block: 4.5rem 2rem; font-size: var(--t-sm); }
.foot__grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot .brand { margin-bottom: 1.1rem; }
.foot .brand__logo { height: 40px; }
.foot h4 { font-size: var(--t-2xs); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-br); margin-bottom: 1rem; font-weight: 700; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .55rem; }
.foot a { color: var(--chalk-mute); text-decoration: none; }
.foot a:hover { color: var(--paper); }
.foot p { color: var(--chalk-mute); }
.foot__base {
  margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid var(--rule-dk);
  display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; justify-content: space-between; align-items: center;
  font-size: var(--t-xs); color: #7e93aa;
}
.foot__legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.foot__legal a { color: #7e93aa; }
.foot__legal a:hover { color: var(--paper); }

/* ---------- Utilities ---------- */
.lede { font-size: var(--t-md); color: var(--slate); max-width: 58ch; }
.bay--navy .lede { color: var(--chalk-mute); }
.mt-l { margin-top: 2.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.lost p { margin-inline: auto; }
.lost .hero__actions { justify-content: center; }
