/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --navy: #19376e; --navy-deep: #122a56;
  --cream: #faf7f2; --cream-dark: #efe8dc;
  --ink: #25303d; --muted: #5d6b7a;
  --accent: #b45309; --accent-deep: #92400e;
  --radius: 14px; --shadow: 0 2px 18px rgba(18, 42, 86, .10);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}
/* @font-face blocks — adjust filenames to match static/fonts/ contents */
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap;
  src: url("/static/fonts/fraunces-v38-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 700; font-display: swap;
  src: url("/static/fonts/fraunces-v38-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap;
  src: url("/static/fonts/inter-v20-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap;
  src: url("/static/fonts/inter-v20-latin-600.woff2") format("woff2"); }

/* ── Reset & base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--cream); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy);
  line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent-deep); }

.container { max-width: 1060px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }
.section-alt { background: #fff; }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  font-weight: 600; color: var(--accent-deep); margin-bottom: .5rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ── Buttons ────────────────────────────────────────────── */
.btn { display: inline-block; padding: .8rem 1.6rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; touch-action: manipulation; }

/* Skip-to-content link — visible only when keyboard-focused */
.skip-link { position: absolute; left: .75rem; top: .75rem; z-index: 100;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  text-decoration: none; transform: translateY(-200%); transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Visible keyboard focus ring for links, buttons, and disclosure summaries */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ── Nav ────────────────────────────────────────────────── */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(250,247,242,.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--cream-dark); }
.site-nav .container { display: flex; align-items: center; gap: 1.4rem;
  padding-top: .7rem; padding-bottom: .7rem; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  color: var(--navy); text-decoration: none; margin-right: auto; }
.site-nav a:not(.brand):not(.btn) { color: var(--ink); text-decoration: none;
  font-size: .95rem; font-weight: 600; }
.site-nav a:not(.brand):not(.btn):hover { color: var(--accent-deep); }
.site-nav a[aria-current="page"] { color: var(--accent-deep); }
.site-nav .btn { padding: .5rem 1.1rem; font-size: .9rem; white-space: nowrap; }
/* Hamburger — hidden on desktop, shown ≤720px */
.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer;
  padding: .55rem .4rem; margin-left: .1rem; border-radius: 8px; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: var(--navy);
  border-radius: 2px; content: ""; }
.nav-toggle-bars::before { transform: translateY(-7px); }
.nav-toggle-bars::after { transform: translateY(5px); }
.mobile-menu { display: none; }
@media (max-width: 720px) {
  .site-nav .nav-link { display: none; }
  .site-nav .container { gap: .75rem; padding-left: 1rem; padding-right: 1rem; }
  .brand { white-space: nowrap; font-size: 1.05rem; }
  .nav-toggle { display: block; margin-left: auto; }
  /* Brand + CTA + toggle overflow a 375px viewport, so the CTA moves into the
     menu here; the hero CTA still appears on the first mobile screen. */
  .site-nav > .container > .btn { display: none; }
  .mobile-menu:not([hidden]) { display: block; border-top: 1px solid var(--cream-dark);
    background: var(--cream); padding: .4rem 1rem 1.1rem; }
  .mobile-menu a { display: block; padding: .8rem .2rem; font-weight: 600;
    color: var(--ink); text-decoration: none;
    border-bottom: 1px solid rgba(18,42,86,.07); }
  .mobile-menu a[aria-current="page"] { color: var(--accent-deep); }
  .mobile-menu .mobile-menu-cta { display: block; margin-top: .9rem; border-bottom: 0;
    text-align: center; color: #fff; padding: .8rem 1.1rem; }
}

/* ── Cards, grids, quotes, tiers ────────────────────────── */
.grid-3 { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } }
/* Quote grid: 2×2 at desktop so four testimonials sit evenly (no orphan card) */
.grid-quotes { display: grid; gap: 1.4rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) { .grid-quotes { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.8rem; }
.quote-card { margin: 0; background: #fff; border-left: 4px solid var(--accent);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem;
  font-size: .98rem; }
.quote-card cite { display: block; margin-top: .8rem; font-style: normal;
  font-weight: 600; color: var(--navy); font-size: .9rem; }
.tier-card { display: flex; flex-direction: column; }
.tier-card .price { font-family: var(--font-display); font-size: 2rem;
  color: var(--navy); font-weight: 700; margin: .4rem 0; }
.tier-card .btn { margin-top: auto; align-self: flex-start; }
.badge { display: inline-block; background: var(--accent); color: #fff;
  font-size: .75rem; font-weight: 600; padding: .2rem .7rem;
  border-radius: 999px; letter-spacing: .05em; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 4.5rem 0 4rem; }
.hero .container { display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 3fr 2fr; }
@media (max-width: 820px) { .hero .container { grid-template-columns: 1fr; } }
.hero-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ── Plan steps ─────────────────────────────────────────── */
.plan-steps { counter-reset: step; display: grid; gap: 1.4rem;
  grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .plan-steps { grid-template-columns: 1fr; } }
.plan-steps .card::before { counter-increment: step; content: counter(step);
  display: inline-flex; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--navy); color: #fff; align-items: center;
  justify-content: center; font-weight: 700; margin-bottom: .8rem; }

/* ── Forms ──────────────────────────────────────────────── */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field input[type="text"], .field input[type="email"], .field input[type="url"],
.field textarea, .field input[type="file"] {
  width: 100%; padding: .75rem .9rem; border: 1px solid #cfd8e3;
  border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(180,83,9,.35);
  border-color: var(--accent); }
.radio-row { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.radio-row label { font-weight: 600; }
.alert-error { background: #fdecea; border: 1px solid #f5c6cb; color: #842029;
  padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.1rem; }
.alert-success { background: #e8f5ec; border: 1px solid #badbcc; color: #0f5132;
  padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.1rem; }
.form-hint { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.hp-field { position: absolute; left: -9999px; }

/* ── FAQ & footer ───────────────────────────────────────── */
.faq details { background: #fff; border-radius: 10px; box-shadow: var(--shadow);
  padding: 1rem 1.3rem; margin-bottom: .8rem; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--navy); }
.site-footer { background: var(--navy-deep); color: #c9d4e6; padding: 2.5rem 0;
  font-size: .9rem; }
.site-footer a { color: #fff; }
