/* ===== Display typeface (headlines only — body stays system fonts for speed) ===== */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/playfair-display-700.woff2") format("woff2");
}

/* ===== Design tokens ===== */
:root {
  --navy: #0f2a3d;
  --navy-dark: #081822;
  --navy-light: #1c4a63;
  --gold: #b88a2e;
  --gold-dark: #8c6a1f;
  --bg: #ffffff;
  --bg-alt: #f5f6f3;
  --bg-navy-tint: #eef2f1;
  --text: #1a2233;
  --text-muted: #545f70;
  --border: #dde3ed;
  --white: #ffffff;
  --focus: #1c4a63;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

  --measure: 720px;
  --container: 1140px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;

  --radius: 12px;
  --shadow: 0 4px 16px rgba(15, 42, 61, 0.08);
  --shadow-lift: 0 10px 28px rgba(15, 42, 61, 0.14);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-fast: 180ms var(--ease-out);
  --motion: 480ms var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-fast: 1ms;
    --motion: 1ms;
  }
}

/* ===== Reset ===== */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--navy-light); text-decoration: underline; text-decoration-color: rgba(28,74,99,0.35); transition: text-decoration-color var(--motion-fast); }
a:hover { text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  color: var(--navy-dark);
}
h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 var(--space-2); }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.5em; }

/* ===== Skip link ===== */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75em 1.2em;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Layout helpers ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}
.prose {
  max-width: var(--measure);
  margin: 0 auto;
}
section { padding: var(--space-5) 0; }
.bg-alt { background: var(--bg-alt); }
.bg-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy a { color: #d9c08a; }
.text-center { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
}
.bg-navy .eyebrow { color: #e8c97a; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform var(--motion-fast), box-shadow var(--motion-fast);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0) scale(0.96); transition-duration: 80ms; }
.btn-primary {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(160deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 40%),
    linear-gradient(160deg, #d4a544 0%, var(--gold) 45%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  box-shadow: 0 3px 10px rgba(140,106,31,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover {
  background-image:
    linear-gradient(160deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0) 44%),
    linear-gradient(160deg, #e0b85c 0%, var(--gold) 40%, var(--gold-dark) 100%);
  box-shadow: 0 6px 18px rgba(140,106,31,0.5), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.bg-navy .btn-primary { color: var(--navy-dark); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--bg-navy-tint); }
.bg-navy .btn-secondary {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25), 0 0 16px rgba(232,201,122,0.18);
}
.bg-navy .btn-secondary:hover {
  background: rgba(255,255,255,0.24);
  border-color: rgba(255,255,255,0.85);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 20px rgba(232,201,122,0.3);
}
.bg-navy .btn-secondary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}
.bg-navy .btn-secondary:hover::after { left: 130%; }
.btn-group { display: flex; gap: var(--space-2); flex-wrap: wrap; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 0 0 rgba(15, 42, 61, 0);
  transition: box-shadow var(--motion-fast);
}
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header .container {
  max-width: 1340px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-1);
  padding-bottom: var(--space-1);
}
.logo-link { display: flex; align-items: center; gap: 0.6em; text-decoration: none; }
.logo-link .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy-dark);
}
.logo-link .logo-text span { color: var(--gold-dark); }
.main-nav { display: flex; align-items: center; gap: var(--space-3); }
.main-nav ul { display: flex; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.87rem;
  padding: 0.45em 0.7em;
  border-radius: 999px;
  background: linear-gradient(160deg, #ffffff 0%, var(--bg-navy-tint) 100%);
  border: 1px solid rgba(15,42,61,0.12);
  box-shadow: 0 1px 3px rgba(15,42,61,0.06);
  transition: background var(--motion-fast), color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast), border-color var(--motion-fast);
}
.main-nav ul a:hover {
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy) 55%, var(--navy-dark) 100%);
  color: var(--white);
  border-color: var(--navy-dark);
  box-shadow: 0 4px 14px rgba(15,42,61,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-1px);
}
.header-cta { display: flex; align-items: center; gap: var(--space-2); }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 0.5em 0.7em;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
}
.nav-toggle-icon { display: block; width: 22px; height: 2px; background: var(--navy); position: relative; }
.nav-toggle-icon::before, .nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--navy);
}
.nav-toggle-icon::before { top: -7px; }
.nav-toggle-icon::after { top: 7px; }

@media (max-width: 1300px) {
  .main-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-3);
    transform: translateY(-110%);
    transition: transform var(--motion);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav ul a { display: block; padding: 1em 0; border-radius: 0; background: none; border: none; box-shadow: none; }
  .main-nav ul a:hover { background: none; color: var(--navy); box-shadow: none; transform: none; }
  .header-cta { flex-direction: column; align-items: stretch; margin-top: var(--space-3); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ===== Hero ===== */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero-watermark {
  position: absolute;
  right: -0.04em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(7rem, 26vw, 20rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}
@media (max-width: 700px) { .hero-watermark { font-size: clamp(6rem, 40vw, 11rem); } }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-4); align-items: center; }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } }
.hero p.lede { font-size: 1.15rem; color: var(--text-muted); max-width: 540px; }
.hero.bg-navy p.lede { color: #f3f6fc; }
.hero-card { background: var(--white); color: var(--text); border-radius: var(--radius); padding: var(--space-3); box-shadow: var(--shadow-lift); }
.hero-card h2 { color: var(--navy-dark); }

/* ===== Cards / grid ===== */
.grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--space-3); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4em; }
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-navy-tint);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
}

/* ===== Reveal animation ===== */
.js .reveal { opacity: 0; transform: translateY(10px) scale(0.97); transition: opacity var(--motion), transform var(--motion); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.js .grid.reveal-group .card:nth-child(1) { transition-delay: 0ms; }
.js .grid.reveal-group .card:nth-child(2) { transition-delay: 90ms; }
.js .grid.reveal-group .card:nth-child(3) { transition-delay: 180ms; }
.js .grid.reveal-group .card:nth-child(4) { transition-delay: 270ms; }

/* ===== FAQ (native details/summary, zero JS) ===== */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: var(--space-1); background: var(--white); overflow: hidden; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 1em 1.2em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--navy); flex-shrink: 0; transition: transform var(--motion-fast); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 1.2em 1.2em; color: var(--text-muted); }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: var(--space-4);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #cfd8ec; }

/* ===== Pill list ===== */
.pill-list { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: var(--space-2) 0; }
.pill-list li { background: var(--bg-navy-tint); color: var(--navy); font-weight: 600; padding: 0.6em 1.1em; border-radius: 999px; margin: 0; }

/* ===== Agent bio ===== */
.agent-card { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-4); align-items: start; }
@media (max-width: 700px) { .agent-card { grid-template-columns: 1fr; text-align: center; } }
.agent-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--bg-navy-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-weight: 700;
  text-align: center;
  font-size: 0.95rem;
  padding: var(--space-2);
  overflow: hidden;
}
.agent-photo img { width: 100%; height: 100%; object-fit: cover; }
.credential-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.credential-list li { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; padding: 0.6em 1em; font-size: 0.9rem; font-weight: 600; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-dark); color: #c9d3e8; padding: var(--space-5) 0 var(--space-3); margin-top: var(--space-5); }
.site-footer h2, .site-footer h3 { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--space-4); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-3); } }
.site-footer a { color: #c9d3e8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.6em; }
.footer-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--white); margin-bottom: var(--space-2); }
.footer-logo span { color: #e8c97a; }
.disclaimer { border-top: 1px solid rgba(255,255,255,0.12); margin-top: var(--space-4); padding-top: var(--space-3); font-size: 0.82rem; color: #94a1bf; line-height: 1.6; }
.disclaimer p { margin-bottom: 0.8em; }

/* ===== Utility ===== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
