/* ==========================================================================
   PPH Recovery — core stylesheet
   Design language carried over from the previous pphcloud.com build:
   Montserrat, dark charcoal sections, gold accent, full-bleed hero.

   PALETTE SWAP: to move to the deep-navy scheme from the brand brief,
   change the two variables marked [SWAP] below to:
       --ink:  #0F2343;
       --gold: #C8A951;
   Everything else derives from them.
   ========================================================================== */

:root {
  /* [SWAP] ---------------------------------------------------------------- */
  --ink: #3D464D;          /* primary dark — inherited from previous site    */
  --gold: #FFD330;         /* accent gold  — inherited from previous site    */
  /* ----------------------------------------------------------------------- */

  --ink-deep: #2b3238;
  --ink-deeper: #21272c;
  /* rgb triples for the photo overlays — keep in sync with the three inks above */
  --ink-rgb: 61, 70, 77;
  --ink-deep-rgb: 43, 50, 56;
  --ink-deeper-rgb: 33, 39, 44;
  --gold-soft: rgba(255, 211, 48, .14);
  --gold-line: rgba(255, 211, 48, .32);

  --white: #ffffff;
  --paper: #f7f8f9;
  --paper-2: #eef0f2;
  --body: #55606a;
  --heading: #232a30;
  --line: #e2e6ea;

  --shadow-sm: 0 2px 8px rgba(35, 42, 48, .06);
  --shadow: 0 10px 30px rgba(35, 42, 48, .09);
  --shadow-lg: 0 24px 60px rgba(35, 42, 48, .14);

  --radius: 14px;
  --radius-lg: 20px;

  --container: 1180px;
  --gutter: 24px;

  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4, h5 {
  font-family: inherit;
  color: var(--heading);
  margin: 0 0 .5em;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.82); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

/* Photographic section backgrounds. The image is texture, not content: it sits
   behind the section colour at low opacity so copy contrast is unchanged.
   Add .section--bg plus one .section--bg-* image class. */
.section--bg { position: relative; overflow: hidden; }
.section--bg > .container { position: relative; z-index: 2; }
.section--bg::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.section--dark.section--bg::before  { opacity: .17; }
.section--paper.section--bg::before { opacity: .10; }
.section--bg-facade::before    { background-image: url('/assets/img/section-facade.webp'); }
.section--bg-geometric::before { background-image: url('/assets/img/section-geometric.webp'); }
@media (max-width: 760px) {
  .section--bg-facade::before    { background-image: url('/assets/img/section-facade-sm.webp'); }
  .section--bg-geometric::before { background-image: url('/assets/img/section-geometric-sm.webp'); }
}

.section-head { max-width: 760px; margin: 0 auto clamp(38px, 5vw, 64px); text-align: center; }
.section-head p { font-size: 1.06rem; }
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section--paper .eyebrow, .section:not(.section--dark) .eyebrow { color: #a8821a; }
.section--dark .eyebrow { color: var(--gold); }

.rule { width: 62px; height: 3px; background: var(--gold); border-radius: 3px; margin: 0 0 22px; }
.section-head .rule { margin-inline: auto; }
.section-head--left .rule { margin-inline: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn--gold { background: var(--gold); color: #2a2205; box-shadow: 0 8px 24px rgba(255,211,48,.32); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255,211,48,.42); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-deep); transform: translateY(-2px); }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn--lg { padding: 19px 42px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,.28); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); flex-wrap: nowrap; }

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand__mark { width: 42px; height: 46px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.28rem; color: var(--white); letter-spacing: -.02em; }
.brand__name span { color: var(--gold); }
.brand__tag { font-size: .62rem; letter-spacing: .17em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 600; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }
.nav a {
  color: rgba(255,255,255,.86); font-size: .93rem; font-weight: 600;
  padding: 6px 0; position: relative; transition: color .18s ease;
  white-space: nowrap;   /* nav labels must never break across two lines */
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .22s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { color: var(--white); font-weight: 700; font-size: .93rem; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.header-phone svg { stroke: var(--gold); }
.header-cta .btn { padding: 12px 24px; font-size: .87rem; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); position: relative; transition: background .2s ease; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 24px; height: 2px; background: var(--white); transition: transform .24s ease;
}
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* Phone hides earlier than the nav collapses — the full +1 (844) 916-0128
   string pushes the Free Case Evaluation button off-screen below ~1120px. */
@media (max-width: 1120px) {
  .header-phone { display: none; }
}

@media (max-width: 1040px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--ink-deep);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 28px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-120%); transition: transform .3s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1rem; }
  .nav a::after { display: none; }
  .header-cta .btn { padding: 11px 20px; font-size: .82rem; }
}
@media (max-width: 560px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.12rem; }
  .header-cta .btn--nav { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: clamp(70px, 9vw, 110px) 0;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--ink) url('/assets/img/hero-towers.webp') center 28% / cover no-repeat;
}
/* Tinted scrim over the photo. Opacities are load-bearing: they are what keeps
   white body text above 4.5:1 contrast against the bright sky in the shot.
   Lighten them and the hero copy stops being readable on mobile. */
.hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 620px at 78% 18%, rgba(255,211,48,.13), transparent 62%),
    linear-gradient(150deg, rgba(var(--ink-deeper-rgb), .95) 0%, rgba(var(--ink-rgb), .86) 48%, rgba(var(--ink-deep-rgb), .93) 100%);
}
@media (max-width: 760px) {
  .hero__bg { background-image: url('/assets/img/hero-towers-sm.webp'); }
}
/* thin gold "network" lines — pure CSS, no external assets */
.hero__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,211,48,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,211,48,.055) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 76% 68% at 66% 42%, #000 26%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 76% 68% at 66% 42%, #000 26%, transparent 78%);
}
.hero__shield {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  width: min(620px, 54vw); opacity: .07; color: var(--gold); pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 810px; }
.hero h1 { color: var(--white); margin-bottom: .38em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.8); max-width: 660px; margin-bottom: 34px; }
.hero .btn-row { margin-bottom: 40px; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  color: var(--gold);
  padding: 9px 20px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255,211,48,.2); }

.hero__meta { display: flex; flex-wrap: wrap; gap: 14px 38px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__meta div { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.8); }
.hero__meta svg { stroke: var(--gold); flex-shrink: 0; }

@media (max-width: 700px) { .hero__shield { display: none; } .hero .btn { width: 100%; } .hero .btn-row { flex-direction: column; } }

/* page hero (inner pages) */
.page-hero {
  position: relative; background: var(--ink); color: var(--white);
  padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
  overflow: hidden; text-align: center;
}
.page-hero__bg { position: absolute; inset: 0;
  background: var(--ink) url('/assets/img/hero-towers.webp') center 32% / cover no-repeat; }
.page-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 50% 0%, rgba(255,211,48,.12), transparent 64%),
              linear-gradient(160deg, rgba(var(--ink-deeper-rgb), .94), rgba(var(--ink-rgb), .89)); }
@media (max-width: 760px) {
  .page-hero__bg { background-image: url('/assets/img/hero-towers-sm.webp'); }
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: .3em; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 660px; margin-inline: auto; font-size: 1.06rem; }
.crumb { font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust { background: var(--ink-deeper); border-top: 1px solid rgba(255,255,255,.07); padding: 22px 0; }
.trust__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 44px; }
.trust__item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.68); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.trust__item svg { stroke: var(--gold); }

/* ==========================================================================
   CARDS
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.card h3 { margin-bottom: .5em; }
.card p { font-size: .96rem; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; color: #a8821a;
}
.card__icon svg { stroke: currentColor; }

.section--dark .card { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.11); box-shadow: none; }
.section--dark .card:hover { background: rgba(255,255,255,.07); border-color: var(--gold-line); }
.section--dark .card p { color: rgba(255,255,255,.74); }
.section--dark .card__icon { color: var(--gold); background: rgba(255,211,48,.11); }

/* ==========================================================================
   PROGRAM TYPES
   ========================================================================== */
.types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1080px) { .types { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .types { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .types { grid-template-columns: 1fr; } }

.type {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.type:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.type__icon { width: 50px; height: 50px; color: #a8821a; display: flex; align-items: center; justify-content: center; }
.type__icon svg { stroke: currentColor; }
.type span { font-weight: 700; font-size: .92rem; color: var(--heading); line-height: 1.35; letter-spacing: -.01em; }
.types-more { text-align: center; margin-top: 34px; font-weight: 600; color: var(--body); font-style: italic; }

/* ==========================================================================
   STEPS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-top: 8px; }
.step__num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold); color: #2a2205;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.35rem; margin-bottom: 22px;
  box-shadow: 0 8px 22px rgba(255,211,48,.3);
  position: relative; z-index: 2;
}
.step__label { font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.step h3 { margin-bottom: .55em; }
.step p { font-size: .95rem; }
.step ul { list-style: none; padding: 0; margin: 14px 0 0; }
.step ul li { position: relative; padding-left: 24px; font-size: .93rem; margin-bottom: 8px; }
.step ul li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--gold);
}
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 32px; left: 78px; right: -26px;
  height: 2px; background: repeating-linear-gradient(90deg, var(--gold-line) 0 7px, transparent 7px 15px);
  z-index: 1;
}
@media (max-width: 940px) { .step:not(:last-child)::after { display: none; } }
.section--dark .step p, .section--dark .step ul li { color: rgba(255,255,255,.75); }

/* ==========================================================================
   STAT / COUNTER
   ========================================================================== */
.stat-band { background: var(--ink-deeper); position: relative; overflow: hidden; }
.stat-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 50% 50%, rgba(255,211,48,.11), transparent 68%);
}
.stat-band .container { position: relative; z-index: 2; }
.stat-wrap { text-align: center; max-width: 760px; margin-inline: auto; }
.stat__value {
  font-size: clamp(3.6rem, 11vw, 7.4rem); font-weight: 800; color: var(--gold);
  line-height: 1; letter-spacing: -.045em; margin-bottom: 10px;
}
.stat__title { color: var(--white); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 700; margin-bottom: 18px; letter-spacing: -.02em; }
.stat__body { color: rgba(255,255,255,.74); font-size: 1rem; }
.disclaimer {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: .82rem; line-height: 1.65; color: rgba(255,255,255,.55);
}

/* ==========================================================================
   SPLIT / DOCS
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 78px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.doc-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 28px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.doc-card__icon {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center; color: #a8821a;
}
/* these icons are stroke-only (fill="none"); without this they render invisible */
.doc-card__icon svg { stroke: currentColor; }
.doc-card h3 { margin-bottom: .45em; }
.doc-card p { font-size: .94rem; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 38px; margin-bottom: 16px; font-size: 1rem; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold-soft); border: 1px solid var(--gold-line);
}
.check-list li::after {
  content: ''; position: absolute; left: 8px; top: 9px;
  width: 8px; height: 4px; border-left: 2px solid #a8821a; border-bottom: 2px solid #a8821a;
  transform: rotate(-45deg);
}
.section--dark .check-list li { color: rgba(255,255,255,.8); }
.section--dark .check-list li::after { border-color: var(--gold); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); height: 100%;
  display: flex; flex-direction: column; gap: 16px;
}
.stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 3px; }
.quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.65; color: var(--heading); font-weight: 500; }
.quote cite { font-style: normal; font-size: .82rem; color: var(--body); font-weight: 600; margin-top: auto; }

/* Testimonial cards (testimonials.html) — a .quote with an identity header */
.t-card__head { display: flex; align-items: center; gap: 14px; }
.t-card__avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--gold);
  font-weight: 800; font-size: 1.02rem; letter-spacing: .04em;
}
.t-card__photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 2px solid var(--gold-line); }
.t-card__name { display: block; font-weight: 700; color: var(--heading); font-size: .98rem; }
.t-card__loc { display: block; font-size: .8rem; color: var(--body); font-weight: 600; }
.t-card__amount { margin: 0; font-size: .86rem; color: var(--body); font-weight: 600; }
.t-card__amount strong { color: var(--heading); }

/* Accessible testimonial carousel */
.t-carousel {
  --t-carousel-gap: 24px;
  position: relative;
}
.t-carousel__viewport {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 2px 16px;
}
.t-carousel__viewport::-webkit-scrollbar { display: none; }
.t-carousel__viewport:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
  border-radius: var(--radius);
}
.t-carousel__track {
  display: flex;
  align-items: stretch;
  gap: var(--t-carousel-gap);
}
.t-carousel__slide {
  display: flex;
  flex: 0 0 calc((100% - var(--t-carousel-gap) - var(--t-carousel-gap)) / 3);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.testimonial-card {
  width: 100%;
  min-width: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-card__portrait {
  width: 82px;
  height: 103px;
  flex: 0 0 auto;
  background-image: url("/assets/img/testimonials/testimonial-portrait-sprite.webp");
  background-repeat: no-repeat;
  background-size: 500% 400%;
  background-position: var(--portrait-x) var(--portrait-y);
  border: 2px solid var(--gold-line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
}
.testimonial-card__location {
  margin: 0;
  color: var(--body);
  font-size: .8rem;
  font-weight: 600;
}
.testimonial-card blockquote {
  margin: 0;
  flex: 1;
  color: var(--heading);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.65;
}
.testimonial-card__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.testimonial-card__facts > div {
  padding: 12px 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.testimonial-card__facts span,
.testimonial-card__facts strong { display: block; }
.testimonial-card__facts span {
  margin-bottom: 2px;
  color: var(--body);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.testimonial-card__facts strong {
  color: var(--heading);
  font-size: .9rem;
}
.t-carousel__controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}
.js[data-ready] .t-carousel__controls { display: flex; }
.t-carousel__button {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.t-carousel__button:hover:not(:disabled) {
  background: var(--gold);
  color: var(--ink-deeper);
  transform: translateY(-2px);
}
.t-carousel__button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.t-carousel__button:disabled {
  opacity: .38;
  cursor: not-allowed;
}
.t-carousel__status {
  flex: 1;
  max-width: 280px;
  margin: 0;
  text-align: center;
  color: var(--body);
  font-size: .82rem;
  font-weight: 700;
}
#client-testimonials .t-carousel + .btn-row { margin-top: 28px; }
@media (max-width: 980px) {
  .t-carousel__slide { flex-basis: calc((100% - var(--t-carousel-gap)) / 2); }
}
@media (max-width: 680px) {
  .t-carousel { --t-carousel-gap: 18px; }
  .t-carousel__slide { flex-basis: 100%; }
  .testimonial-card { padding: 22px; }
  .testimonial-card__portrait { width: 72px; height: 90px; }
  .t-carousel__controls { gap: 10px; }
  .t-carousel__button {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
  .t-carousel__status { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .t-carousel__viewport { scroll-behavior: auto; }
}


/* Homepage team carousel cards */
.home-team-card {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.home-team-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.home-team-card__body {
  min-height: 66px;
  padding: 16px 18px 18px;
  display: grid;
  place-items: center;
  text-align: center;
}
.home-team-card h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.25;
}
#our-team .t-carousel + .btn-row { margin-top: 28px; }

/* Team cards (team.html) */
.team-card { text-align: center; align-items: center; }
.team-card__avatar {
  width: 96px; height: 96px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--gold);
  font-weight: 800; font-size: 1.6rem; letter-spacing: .04em;
  margin-bottom: 6px;
}
.team-card__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold-line); margin-bottom: 6px; }
.team-card__role { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--body); margin-bottom: 10px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 14px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq__item.is-open { border-color: var(--gold-line); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 26px; text-align: left;
  font-weight: 700; font-size: 1.04rem; color: var(--heading); letter-spacing: -.01em;
}
.faq__q:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.faq__icon { flex-shrink: 0; width: 26px; height: 26px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; background: var(--gold);
  transform: translate(-50%, -50%); transition: transform .26s ease, opacity .26s ease;
}
.faq__icon::before { width: 15px; height: 2.5px; border-radius: 2px; }
.faq__icon::after  { width: 2.5px; height: 15px; border-radius: 2px; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq__a > div { padding: 0 26px 26px; font-size: .99rem; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; background: var(--ink); overflow: hidden; text-align: center; }
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(820px 460px at 50% 110%, rgba(255,211,48,.16), transparent 66%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); max-width: 780px; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 640px; margin-inline: auto 20px; margin-inline: auto; margin-bottom: 34px; font-size: 1.06rem; }

/* ==========================================================================
   FORM
   ========================================================================== */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .87rem; color: var(--heading); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--heading);
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 4px rgba(255,211,48,.2);
}
.field small { font-size: .81rem; color: var(--body); }
.field--file input[type="file"] { padding: 12px; background: var(--paper); cursor: pointer; }

.ramp-note {
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.ramp-note p { margin: 0; font-size: .85rem; line-height: 1.65; color: var(--body); }
.ramp-note strong { color: var(--heading); }

.consent { display: flex; gap: 12px; align-items: flex-start; grid-column: 1 / -1; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--gold); }
.consent label { font-weight: 500; font-size: .86rem; line-height: 1.6; color: var(--body); }

.form-note { grid-column: 1 / -1; font-size: .82rem; color: var(--body); line-height: 1.6; }
.form-alert { grid-column: 1/-1; padding: 16px 18px; border-radius: 10px; font-size: .93rem; font-weight: 600; }
.form-alert--ok  { background: #e8f6ec; border: 1px solid #b6e0c2; color: #1e6b36; }
.form-alert--err { background: #fdeaea; border: 1px solid #f2c2c2; color: #9e2b2b; }

/* ==========================================================================
   CONTACT INFO
   ========================================================================== */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.info-list__icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  display: flex; align-items: center; justify-content: center; color: #a8821a;
}
.info-list__icon svg { stroke: currentColor; }
.section--dark .info-list__icon { color: var(--gold); background: rgba(255,211,48,.11); }
.info-list__body strong { display: block; color: var(--heading); font-size: .96rem; margin-bottom: 3px; }
.section--dark .info-list__body strong { color: var(--white); }
.info-list__body span, .info-list__body a { font-size: .95rem; color: var(--body); }
.section--dark .info-list__body span, .section--dark .info-list__body a { color: rgba(255,255,255,.75); }
.info-list__body a:hover { color: var(--gold); }

/* ==========================================================================
   TEAM PROFILES / TESTIMONIAL PLACEHOLDERS
   ========================================================================== */
.content-note {
  max-width: 860px;
  margin: 0 auto 38px;
  padding: 18px 22px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  color: var(--heading);
  font-size: .92rem;
  line-height: 1.65;
}

.team-profiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.team-profile {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.team-profile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--gold-line);
}
.team-profile__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center 22%;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.team-profile__body {
  padding: 20px 22px 22px;
  text-align: center;
}
.team-profile__role {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.team-profile__name {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}
.team-profile__details { margin: 0; }
.team-profile__details > div {
  display: grid;
  grid-template-columns: minmax(88px, .65fr) 1.35fr;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.team-profile__details > div:last-child { border-bottom: 0; }
.team-profile__details dt {
  color: var(--heading);
  font-size: .86rem;
  font-weight: 700;
}
.team-profile__details dd {
  margin: 0;
  color: var(--body);
  font-size: .9rem;
  line-height: 1.55;
}
.team-profile__pending {
  margin: 0;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .9rem;
}
.team-profile--last {
  grid-column: 1 / -1;
  width: calc((100% - 48px) / 3);
  justify-self: center;
}

.testimonial-placeholders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.quote--placeholder {
  border-style: dashed;
  box-shadow: none;
}
.quote--placeholder h3 {
  margin: 0;
  font-size: 1.2rem;
}
.quote--placeholder blockquote { color: var(--body); }
.sample-label {
  align-self: flex-start;
  display: inline-flex;
  padding: 5px 9px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--heading);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}
@media (max-width: 1040px) {
  .team-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-profile--last { width: calc((100% - 24px) / 2); }
}
@media (max-width: 760px) {
  .testimonial-placeholders { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .team-profiles { grid-template-columns: 1fr; }
  .team-profile--last {
    grid-column: auto;
    width: 100%;
  }
  .team-profile__photo {
    aspect-ratio: 4 / 3;
    object-position: center 22%;
  }
}
@media (max-width: 440px) {
  .team-profile__body { padding: 20px 18px 22px; }
  .team-profile__details > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ==========================================================================
   LEGAL / PROSE
   ========================================================================== */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.7em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 9px; }
.prose a { color: #a8821a; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--heading); }
.prose__meta { font-size: .87rem; color: var(--body); padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }

.callout {
  background: var(--paper); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px; margin: 32px 0; font-size: .96rem;
}
.callout strong { color: var(--heading); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink-deeper); color: rgba(255,255,255,.66); padding: clamp(54px, 7vw, 80px) 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 48px; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 { color: var(--white); font-size: .78rem; letter-spacing: .19em; text-transform: uppercase; margin-bottom: 20px; font-weight: 800; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; line-height: 1.7; max-width: 330px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { transition: color .18s ease, padding-left .18s ease; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 15px; }
.footer-contact svg { stroke: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--gold); }

.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0 34px; font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.5); }
.footer-legal__bar { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center; margin-top: 18px; }
.footer-legal__bar a:hover { color: var(--gold); }

/* ==========================================================================
   ANIMATION
   ========================================================================== */
/* Content is only hidden when JS is available to reveal it again — otherwise a
   scripting failure would leave the page blank. The `js` class is set by an
   inline script in <head>. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: #2a2205; padding: 12px 22px; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   CASE STATUS  -- added 2026-09-02 for /status and the header link
   Appended rather than merged: the live stylesheet is ahead of the local repo,
   so the file is only ever added to, never replaced.
   ========================================================================== */
.header-status {
  color: rgba(255,255,255,.8); font-weight: 600; font-size: .87rem;
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 7px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px;
  transition: color .2s, border-color .2s, background .2s;
}
.header-status:hover { color: var(--white); border-color: rgba(255,211,48,.55); background: rgba(255,211,48,.1); }
.header-status svg { stroke: var(--gold); }
.nav__status { display: none; }
@media (max-width: 1240px) { .header-status { display: none; } }
@media (max-width: 1040px) {
  .nav__status { display: block; color: var(--gold); font-weight: 700; }
}

/* ==========================================================================
   CASE STATUS  (/status — rendered by status.php into status-shell.html)

   The whole page is one short answer, so it is centred and narrow rather than
   laid out on the site's usual wide grid. Nothing financial appears here by
   design; see the note at the top of status.php before adding fields.
   ========================================================================== */
.container--narrow { max-width: 620px; }

.status-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: clamp(26px, 4vw, 40px);
  display: flex; flex-direction: column; gap: 22px;
}
.status-form .field input { text-align: center; font-size: 1.22rem; letter-spacing: .1em; font-weight: 600; }
.status-form .btn { width: 100%; justify-content: center; text-align: center; }
.status-form__help { font-size: .84rem; color: var(--body); line-height: 1.65; margin: -4px 0 0; text-align: center; }

.form-error {
  background: #fdecea; border: 1px solid #f3c9c5; color: #a3231b;
  border-radius: var(--radius); padding: 15px 20px; margin: 0 0 24px;
  font-size: .92rem; font-weight: 600; line-height: 1.6;
}

.status-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: clamp(28px, 4vw, 44px); text-align: center;
  border-top: 5px solid var(--gold);
}
.status-card__ref {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--body); font-weight: 700; margin: 0 0 10px;
}
.status-card__label {
  font-size: clamp(1.8rem, 4.4vw, 2.5rem); font-weight: 800; color: var(--heading);
  line-height: 1.15; margin: 0 0 8px;
}
.status-card__when { font-size: .9rem; color: var(--body); margin: 0 0 22px; font-weight: 600; }
.status-card__blurb {
  font-size: 1.02rem; line-height: 1.75; color: var(--body); margin: 0;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.status-card__note {
  background: var(--paper); border-radius: var(--radius); padding: 22px 24px;
  margin-top: 24px; text-align: left;
}
.status-card__note h2 {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--body); margin: 0 0 8px;
}
.status-card__note p { margin: 0; font-size: .98rem; line-height: 1.7; color: var(--heading); }
.status-card__agent { margin: 24px 0 0; font-size: .96rem; color: var(--body); }
.status-card__agent strong { color: var(--heading); }

.status-help { text-align: center; font-size: .9rem; color: var(--body); margin: 26px 0 0; line-height: 1.7; }
.status-help a { color: var(--heading); font-weight: 700; text-decoration: underline; }
.btn--ghost-dark { border: 2px solid var(--line); color: var(--heading); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--ink); background: var(--paper); }
