/* ===========================================================
   APAL LLC — site styles
   Premium concierge accounting firm. Private-advisor feel.
   Palette: deep navy ink, warm ivory, antique gold signature.
   Restraint, generous whitespace, editorial serif headings.
   =========================================================== */

:root {
  --ink:        #0d2340;   /* deep navy: headings, primary actions, footer */
  --ink-soft:   #21436c;   /* secondary navy */
  --bg:         #ffffff;
  --bg-alt:     #f7f4ed;   /* warm ivory section background */
  --bg-tint:    #f0e9da;   /* champagne: icon chips */
  --accent:     #1f3d63;   /* calm refined navy-blue: links, icons */
  --accent-dk:  #142a47;
  --gold:       #b0894a;   /* antique gold signature accent */
  --gold-dk:    #8a6a35;   /* deeper gold for text/hover (contrast) */
  --text:       #3c4756;   /* warm slate body */
  --muted:      #6c7886;
  --line:       #e7e0d3;   /* warm hairline */
  --line-soft:  #f0ebe1;

  --maxw: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 45, .05), 0 2px 6px rgba(20, 30, 45, .04);
  --shadow-md: 0 14px 34px -16px rgba(13, 35, 64, .20);
  --shadow-lg: 0 36px 72px -30px rgba(13, 35, 64, .28);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold-dk); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.018em;
  margin: 0 0 .5em;
}
p { margin: 0 0 1.1rem; }
ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
li { margin: .3rem 0; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink); color: #d7e2ef; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 20px;
}
.eyebrow--gold { color: var(--gold-dk); }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(2.05rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.13rem; margin-bottom: 0; }

.lead { font-size: 1.22rem; line-height: 1.6; color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  padding: 14px 26px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: #fdfbf6; box-shadow: 0 10px 24px -12px rgba(13, 35, 64, .55); }
.btn--primary:hover { background: #16345d; color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--gold); color: var(--ink); }
.btn--light { background: #fdfbf6; color: var(--ink); }
.btn--light:hover { color: #16345d; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { border-color: var(--gold); color: #fff; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: baseline; gap: 11px; font-family: var(--font-head); }
.brand .brand-mark { font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.brand .brand-mark .dot { color: var(--gold); }
.brand .brand-mark .llc { color: var(--gold); font-size: 1.05rem; letter-spacing: .04em; }
.brand .brand-tag { font-family: var(--font-body); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 500; font-size: .96rem; color: var(--ink-soft);
  position: relative; padding: 6px 0; letter-spacing: .01em;
}
.nav-links a:hover { color: var(--gold-dk); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  width: 44px; height: 44px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 560px at 88% -12%, rgba(176,137,74,.12), transparent 60%),
    linear-gradient(180deg, #fffdf9 0%, #f7f4ed 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; padding: 108px 0 100px; }
.hero h1 { font-size: clamp(2.7rem, 5.4vw, 4.25rem); line-height: 1.05; margin-bottom: 24px; }
.hero h1 .accent { color: var(--gold-dk); font-style: italic; font-weight: 500; }
.hero p.lead { max-width: 31rem; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-locations { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: .92rem; font-weight: 500; letter-spacing: .01em; }
.hero-locations span { display: inline-flex; align-items: center; gap: 8px; }
.hero-locations span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* hero visual: editorial calling card */
.hero-visual { position: relative; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 42px 40px; position: relative;
}
.hero-card .hc-eyebrow { font-family: var(--font-body); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dk); font-weight: 600; }
.hero-card .hc-monogram { font-family: var(--font-head); font-size: 3.4rem; color: var(--ink); line-height: 1; margin-top: 16px; }
.hero-card .hc-monogram::after { content: ""; display: block; width: 42px; height: 2px; background: var(--gold); margin: 20px 0 24px; }
.hero-card .hc-quote { font-family: var(--font-head); font-style: italic; font-size: 1.5rem; line-height: 1.42; color: var(--ink); margin: 0 0 26px; }
.hero-card .hc-sign { display: flex; flex-direction: column; gap: 2px; }
.hero-card .hc-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.hero-card .hc-role { font-size: .85rem; color: var(--muted); letter-spacing: .02em; }
.hero-float {
  position: absolute; right: -14px; bottom: -18px;
  background: var(--ink); color: #fff; border-radius: 10px; padding: 12px 18px;
  box-shadow: var(--shadow-md); font-size: .8rem; letter-spacing: .04em; font-weight: 500;
  display: inline-flex; align-items: center; gap: 9px;
}
.hero-float::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }

/* ---------- stat strip (editorial ledger) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { text-align: center; padding: 10px 20px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num { font-family: var(--font-head); font-size: 2.6rem; color: var(--ink); line-height: 1; letter-spacing: -.01em; }
.stat .num .plus { color: var(--gold); }
.stat .lbl { color: var(--muted); font-size: .94rem; margin-top: 12px; }

/* ---------- service / general cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .24s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #e2d4bb; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--ink); margin-bottom: 22px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.38rem; margin-bottom: 11px; }
.card p { color: var(--muted); margin-bottom: 16px; font-size: .98rem; }
.card .more { font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-dk); display: inline-flex; align-items: center; gap: 7px; }
.card .more svg { width: 15px; height: 15px; transition: transform .18s ease; }
.card:hover .more svg { transform: translateX(3px); }

/* ---------- split / about snippet ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.narrow { gap: 48px; }
.portrait {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, var(--ink) 0%, var(--ink-soft) 58%, var(--gold) 150%);
  box-shadow: var(--shadow-lg); display: grid; place-items: center; color: #cdd9e8;
}
.portrait .ph-init { font-family: var(--font-head); font-size: 4.5rem; color: rgba(255,255,255,.94); letter-spacing: .04em; }
.portrait .ph-note { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.portrait--gold { background: linear-gradient(155deg, #143659 0%, #1d3a5b 52%, var(--gold) 150%); }

/* ---------- value props ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 44px; }
.value { display: flex; gap: 18px; align-items: flex-start; }
.value .v-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px; background: var(--bg-tint); color: var(--ink); display: grid; place-items: center; }
.value .v-ico svg { width: 22px; height: 22px; }
.value h3 { font-size: 1.14rem; margin-bottom: 5px; }
.value p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px; position: relative; }
.step .step-num {
  font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); background: var(--bg-tint);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px;
  border: 1px solid #e7dcc5;
}
.step h3 { font-size: 1.24rem; margin-bottom: 9px; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- services (detailed) ---------- */
.svc { padding: 46px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 44px; }
.svc:last-child { border-bottom: 0; }
.svc .svc-ico { width: 58px; height: 58px; border-radius: 14px; background: var(--bg-tint); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.svc .svc-ico svg { width: 28px; height: 28px; }
.svc h3 { font-size: 1.6rem; }
.svc .who { font-size: .76rem; color: var(--gold-dk); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.svc .svc-body p { color: var(--text); }
.svc .incl { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.svc .incl li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: .96rem; }
.svc .incl li svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--gold); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  margin-bottom: 14px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq details[open] { border-color: #e0cda4; box-shadow: var(--shadow-md); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 28px; font-family: var(--font-head);
  font-size: 1.2rem; color: var(--ink); font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: 0 0 auto; width: 22px; height: 22px; color: var(--gold-dk); transition: transform .2s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .faq-body { padding: 0 28px 26px; color: var(--text); }
.faq .faq-body p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(820px 400px at 88% -10%, rgba(176,137,74,.34), transparent 60%),
    radial-gradient(560px 320px at 2% 110%, rgba(255,255,255,.05), transparent 60%),
    var(--ink);
  color: #fff; border-radius: 22px; padding: 72px 56px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 16px; }
.cta-band p { color: #c8d4e4; max-width: 560px; margin: 0 auto 30px; font-size: 1.12rem; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 440px at 86% -20%, rgba(176,137,74,.12), transparent 60%),
    linear-gradient(180deg, #fffdf9, #f7f4ed);
  border-bottom: 1px solid var(--line-soft);
  padding: 88px 0 76px; text-align: center;
}
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.5rem); margin-bottom: 18px; }
.page-hero p { color: var(--muted); font-size: 1.16rem; max-width: 640px; margin: 0 auto; }
.crumbs { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-dk); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,137,74,.16);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 4px; }

.info-block { background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px; margin-bottom: 18px; }
.info-block h3 { font-size: 1.08rem; margin-bottom: 16px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.info-item:last-child { margin-bottom: 0; }
.info-item .i-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: #fff; border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; }
.info-item .i-ico svg { width: 20px; height: 20px; }
.info-item .i-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.info-item .i-val { color: var(--ink); font-weight: 500; }
.info-item .i-val a { color: var(--ink); }
.info-item .i-val a:hover { color: var(--gold-dk); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #aebfd2; padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.10); }
.site-footer .brand-mark { color: #fff; font-family: var(--font-head); font-size: 1.5rem; letter-spacing: .02em; }
.site-footer .brand-mark .dot { color: var(--gold); }
.footer-about { color: #9fb2c8; font-size: .96rem; margin-top: 16px; max-width: 290px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 10px 0; }
.footer-col a { color: #aebfd2; font-size: .96rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: .84rem; letter-spacing: .02em; color: #7f93ab; flex-wrap: wrap; gap: 10px; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 52px; padding: 72px 0; }
  .hero-visual { max-width: 440px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .svc { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 80px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 0; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .28s ease; z-index: 40;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { padding: 0 24px; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: block; }
  .nav .btn { display: none; }
  .section { padding: 72px 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .stat + .stat { border-left: 0; }
  .stats .stat:nth-child(2) { border-left: 1px solid var(--line); }
  .stats .stat:nth-child(4) { border-left: 1px solid var(--line); }
  .grid-3, .grid-2, .steps, .values, .svc .incl { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 52px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
@media (max-width: 420px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat, .stats .stat:nth-child(2), .stats .stat:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
}

/* ===========================================================
   v2 ENHANCEMENTS — motion, engraved texture, micro-interaction
   Progressive: reveal hidden-states apply ONLY under body.reveal-on
   (added by JS when motion is allowed). No-JS / reduced-motion =
   everything stays fully visible. Texture is decorative + inert.
   =========================================================== */

/* anchor offset so the sticky header never covers a jump target */
.svc[id], [id].section { scroll-margin-top: 100px; }

/* film grain — a whisper of warmth over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .05; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* engine-turned guilloché hatching in the ivory heroes */
.hero, .page-hero { position: relative; }
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(26deg, rgba(13,35,64,.035) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(-26deg, rgba(13,35,64,.028) 0 1px, transparent 1px 8px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
          mask-image: linear-gradient(180deg, #000, transparent 90%);
}

/* guilloché seal embossed into the calling card */
.hero-card {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none' stroke='%23b0894a' stroke-opacity='0.35' stroke-width='0.6'%3E%3Ccircle cx='120' cy='120' r='104'/%3E%3Ccircle cx='120' cy='120' r='78'/%3E%3Ccircle cx='120' cy='120' r='22'/%3E%3Ccircle cx='160' cy='120' r='58'/%3E%3Ccircle cx='154.64' cy='140' r='58'/%3E%3Ccircle cx='140' cy='154.64' r='58'/%3E%3Ccircle cx='120' cy='160' r='58'/%3E%3Ccircle cx='100' cy='154.64' r='58'/%3E%3Ccircle cx='85.36' cy='140' r='58'/%3E%3Ccircle cx='80' cy='120' r='58'/%3E%3Ccircle cx='85.36' cy='100' r='58'/%3E%3Ccircle cx='100' cy='85.36' r='58'/%3E%3Ccircle cx='120' cy='80' r='58'/%3E%3Ccircle cx='140' cy='85.36' r='58'/%3E%3Ccircle cx='154.64' cy='100' r='58'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right -58px top -58px; background-size: 210px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
  transform-style: preserve-3d;
}

/* guilloché seal embossed into the navy CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -70px; top: -90px; width: 380px; height: 380px; pointer-events: none;
  opacity: .6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240' fill='none' stroke='%23c79a52' stroke-opacity='0.55' stroke-width='0.5'%3E%3Ccircle cx='120' cy='120' r='104'/%3E%3Ccircle cx='120' cy='120' r='78'/%3E%3Ccircle cx='120' cy='120' r='22'/%3E%3Ccircle cx='160' cy='120' r='58'/%3E%3Ccircle cx='154.64' cy='140' r='58'/%3E%3Ccircle cx='140' cy='154.64' r='58'/%3E%3Ccircle cx='120' cy='160' r='58'/%3E%3Ccircle cx='100' cy='154.64' r='58'/%3E%3Ccircle cx='85.36' cy='140' r='58'/%3E%3Ccircle cx='80' cy='120' r='58'/%3E%3Ccircle cx='85.36' cy='100' r='58'/%3E%3Ccircle cx='100' cy='85.36' r='58'/%3E%3Ccircle cx='120' cy='80' r='58'/%3E%3Ccircle cx='140' cy='85.36' r='58'/%3E%3Ccircle cx='154.64' cy='100' r='58'/%3E%3C/svg%3E") no-repeat center / contain;
}
.cta-band > * { position: relative; z-index: 1; }

/* header tightens + lifts on scroll */
.site-header { transition: background .3s ease, box-shadow .3s ease; }
.site-header.scrolled { background: rgba(255,255,255,.93); box-shadow: 0 10px 30px -20px rgba(13,35,64,.5); }

/* gold reading-progress hairline */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 2px; width: 0; z-index: 100;
  background: linear-gradient(90deg, var(--gold), #d8b27a);
  box-shadow: 0 0 10px rgba(176,137,74,.55);
}

/* nav underline grows on hover */
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .26s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active::after { transform: scaleX(1); }

/* sheen sweeps across the primary button on hover */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -130%; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg); transition: left .6s ease; pointer-events: none;
}
.btn--primary:hover::after { left: 150%; }

/* visible keyboard focus everywhere */
a:focus-visible, .btn:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 5px;
}

/* gold underline draws itself under the hero accent word */
.hero h1 .accent {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat; background-position: 0 94%; background-size: 0% 2px;
  padding-bottom: 3px; animation: drawLine .9s cubic-bezier(.2,.7,.2,1) 1s forwards;
}
@keyframes drawLine { to { background-size: 100% 2px; } }

/* cursor-aware gold glow on cards */
.card { position: relative; overflow: hidden; }
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px 170px at var(--mx, 78%) 0%, rgba(176,137,74,.12), transparent 70%);
  transition: opacity .3s ease;
}
.card:hover::after { opacity: 1; }

/* FAQ answer eases in when opened */
.faq details[open] .faq-body { animation: faqIn .34s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* scroll-reveal (engaged only when JS adds .reveal-on) */
body.reveal-on .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.16,.7,.3,1), transform .7s cubic-bezier(.16,.7,.3,1);
}
body.reveal-on .reveal.in { opacity: 1; transform: none; }

/* respect reduced-motion: kill animation, keep content visible */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  body.reveal-on .reveal { opacity: 1 !important; transform: none !important; }
  .hero h1 .accent { background-size: 100% 2px; }
  .hero-card { transform: none !important; }
  body::after { display: none; }
}

/* ===========================================================
   v3 — headshot portrait + hero calling-card stat
   =========================================================== */

/* the photo fills the editorial portrait frame */
.portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%; display: block;
}
.portrait .ph-init, .portrait .ph-note { display: none; }

/* calling-card stat (replaces the single-letter monogram) */
.hero-card .hc-stat { margin-top: 18px; }
.hero-card .hc-num {
  display: block; font-family: var(--font-head); font-size: 3rem; line-height: 1;
  color: var(--ink); letter-spacing: -.01em;
}
.hero-card .hc-num .plus { color: var(--gold); }
.hero-card .hc-lbl {
  display: block; margin-top: 9px; font-size: .76rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted); font-weight: 600; max-width: 15rem;
}
.hero-card .hc-stat::after {
  content: ""; display: block; width: 42px; height: 2px; background: var(--gold); margin: 22px 0 24px;
}

/* ===========================================================
   v4 — official AP seal logo in header + footer
   =========================================================== */
.brand { align-items: center; }
.brand-seal { width: 40px; height: 40px; flex: 0 0 auto; display: block; }
.site-footer .brand-mark { display: inline-flex; align-items: center; gap: 11px; }
.site-footer .brand-seal { width: 32px; height: 32px; }
@media (max-width: 720px) { .brand-seal { width: 36px; height: 36px; } }
