/*
Theme Name: Americal Insurance
Theme URI: https://aulanidesign.com/
Author: Aula Ni Design
Author URI: https://aulanidesign.com/
Description: A premium, editorial WordPress theme for Americal Insurance. Navy-and-cream design system, Source Serif 4 and Source Sans 3 typography, native app-feel transitions, and a two-step quote intake. Built for iPhone-first browsing with composed desktop layouts.
Version: 1.3.4
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: americal
Tags: custom-menu, featured-images, full-width-template, translation-ready, threaded-comments, two-columns
*/

/* ============================================================
   AMERICAL INSURANCE v1.3.2 - HOLLYWOOD-PREMIUM DESIGN SYSTEM
   Tokens, type, and motion per the design panel verdict:
   "The report's authority, the theme's funnel, Hollywood's finish."
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root{
  /* v1.2.3: palette reverted to the documented v1.2.1 values per the PM
   * ruling (2026-09-15) and the standing palette-hold color ruling. The
   * v1.2.2 drift (navy #0B1930, cream #F6F1E7, ink #101C33) was unapproved
   * scope and is fully reverted here. Transaction gold: exactly one primary
   * CTA per viewport, pressed chips, link affordances on dark, and the
   * eyebrow tick. Never body text, never underlines on light, never
   * decoration. */
  --navy:#1E3A5F;
  --navy-deep:#1B2A5B;
  --navy-ink:#1E3A5F;
  --gold:#D9AD35;
  --gold-deep:#B98F2B;  /* approved functional hover/active shade of --gold; gold is actions-only */
  --cream:#FBF8F0;
  --paper:#FAF8F3;
  --white:#FFFFFF;
  --ink:#1F2937;
  --muted:#4A5568;
  --hairline:#E6E0D2;

  /* Status colors: documented functional tokens, not part of the brand palette. */
  --status-error:#B42318;
  --status-error-bg:#FDECEA;
  --status-error-border:#F5C6C0;
  --status-error-dark:#FFC9C2;  /* error text on dark surfaces */
  --status-ok:#1E5B33;
  --status-ok-bg:#EAF7EE;
  --status-ok-border:#BFE3C9;

  /* v1.2.2: focus ring is a darkened bronze inner (#8a6d1f, ~4.6:1 on
   * white) plus a navy-ink outer. Raw brand gold as a focus ring on white
   * (2.1:1) is retired per the design contract. */
  --focus-inner:#8a6d1f;
  --focus-outer:var(--navy-ink);

  /* ---------- Fall/Winter 2026 seasonal tokens (R-ADD-1, v1.2.3). ----------
   * DarkStar directive "use fall 2026 colors if not clashy"; clash calls by
   * the color expert, recorded in experts/pantone-2027-color.md (FW26
   * addendum). EDITORIAL AND CAMPAIGN SURFACES ONLY: never navigation,
   * CTAs, buttons, links, forms, default typography, footer, or logo lockup.
   * No CTA adjacent to the terracotta treatments. Hex values are
   * third-party reference conversions, NOT Pantone-published values.
   * Rendered appearance is gated on the art director's iPhone sign-off;
   * any token that looks cheap is CUT, not adjusted.
   * RETIREMENT NOTE: review after the FW26/27 season; remove or replace,
   * never promote into the permanent palette. */
  --seasonal-deep-warm:#60373D;   /* Red Mahogany, PANTONE 19-1521 TCX. ONE editorial section only. Warm Cream text over it (9.37:1); gold rule accents permitted (4.73:1, accents/large elements only). */
  --seasonal-clay:#D29380;        /* Muted Clay, PANTONE 16-1330 TCX. Small warm accents inside editorial surfaces only (pull-quote rules, caption accents, section dividers). Never a text color on cream; never touches a CTA. */
  --seasonal-tan:#BFA387;         /* Candied Ginger, PANTONE 15-1213 TCX (core classic). Light warm band backgrounds behind photography/editorial content. Ink text (6.15:1) or navy headings (4.82:1); cream text decorative-only on this ground. */

  --font-serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --font-sans:"Source Sans 3",system-ui,-apple-system,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;

  /* v1.2.2: motion is user-action feedback or spatial orientation only,
   * max 300ms, cubic-bezier only, no springs or bounce. Names match the
   * design contract: press (120-140ms), ui (standard), expand (mega menu). */
  --ease-press:cubic-bezier(0.33,1,0.68,1);    /* press feedback, 120-140ms */
  --ease-material:cubic-bezier(0.4,0,0.2,1);  /* UI motion, <=200ms */
  --ease-expand:cubic-bezier(0.32,0.72,0,1);   /* mega menu reveal, <=260ms */
  --ease-glow:cubic-bezier(0.2,0,1);           /* focus glow only */

  --shadow-1:0 1px 2px rgba(15,34,64,.06),0 4px 16px rgba(15,34,64,.06);
  --shadow-2:0 2px 6px rgba(15,34,64,.08),0 18px 44px rgba(15,34,64,.16);

  --container:1200px;
}

/* ---------- 2. RESET + BASE ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:auto;scroll-padding-top:112px;scroll-padding-bottom:120px;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(30,58,95,.15)}
/* v1.2.6 (P2-5): horizontal-overflow containment. `clip` does not create a
 * scroll container so position:sticky keeps working; `hidden` is the
 * iOS <16 fallback. Hardens against the negative-margin call-rail link
 * causing a sideways pan if ever placed full-bleed. */
html,body{overflow-x:hidden}
html,body{overflow-x:clip}
body{
  margin:0;
  font-family:var(--font-sans);
  font-size:17px;
  line-height:1.62;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
button,input,select,textarea{font:inherit;color:inherit}
/* v1.2.3 (FAIL-11 / T3): suppress native control chrome on design-controlled
 * buttons and submits (button ruling plumbing; iOS Safari adds its own inner
 * shadow/highlight without the reset). Never on select: the native iOS
 * select stays native per the button ruling. */
button,[type="button"],[type="submit"]{-webkit-appearance:none;appearance:none}
/* v1.2.4 (P1-10): kill the double-tap-zoom delay on every interactive
 * element. `manipulation` keeps pan and pinch-zoom intact. */
a,button,input,select,textarea,summary,[role="button"]{touch-action:manipulation}
::selection{background:var(--navy);color:#fff}

/* ---------- 3. TYPOGRAPHY ---------- */
.kicker{
  font-family:var(--font-sans);
  font-weight:600;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--navy);
  margin:0 0 12px;
}
.kicker--light{color:rgba(255,255,255,.72)}
@media (min-width:1024px){
  .kicker{font-size:12px;letter-spacing:.16em;margin-bottom:16px}
}

h1,.h1{
  font-family:var(--font-serif);
  font-weight:600;
  font-size:44px;
  line-height:1.02;
  letter-spacing:-.03em;
  text-wrap:balance;
  max-width:12ch;
  margin:0 0 20px;
}
h2,.h2{
  font-family:var(--font-serif);
  font-weight:600;
  font-size:32px;
  line-height:1.08;
  letter-spacing:-.025em;
  text-wrap:balance;
  margin:0 0 16px;
}
h3,.h3{
  font-family:var(--font-sans);
  font-weight:700;
  font-size:20px;
  line-height:1.25;
  letter-spacing:-.01em;
  margin:0 0 8px;
}
.lead{
  font-family:var(--font-serif);
  font-weight:400;
  font-size:20px;
  line-height:1.55;
  color:var(--muted);
}
.small{font-size:14px;line-height:1.5}
.caption{
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.04em;
  color:var(--muted);
}
@media (min-width:1024px){
  body{font-size:18px;line-height:1.65}
  h1,.h1{font-size:clamp(2.75rem,7vw,5.25rem);margin-bottom:24px}
  h2,.h2{font-size:52px;line-height:1.06;margin-bottom:20px}
  h3,.h3{font-size:24px;line-height:1.3;margin-bottom:10px}
  .lead{font-size:22px;line-height:1.55;max-width:56ch}
}

/* ---------- 4. LINKS, FOCUS, LAYOUT ---------- */
a{color:var(--navy);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--navy-ink)}
:focus-visible{
  outline:2px solid var(--focus-outer);
  outline-offset:3px;
  box-shadow:0 0 0 3px var(--focus-inner);  /* inner ring: 0-3px gold, outer ring: 3-5px navy-ink */
  border-radius:2px;
}
.container{
  width:min(var(--container),calc(100% - 32px));
  margin-inline:auto;
}
@media (min-width:700px){
  .container{width:min(var(--container),calc(100% - 64px))}
}
.section{padding:56px 0}
.section--tight{padding:40px 0}
@media (min-width:1024px){
  .section{padding:96px 0}
  .section--tight{padding:64px 0}
}
.section-title{max-width:760px;margin:0 0 32px}
.section-title p:last-child{color:var(--muted)}
@media (min-width:1024px){.section-title{margin-bottom:48px}}

/* Accessible helpers */
.screen-reader-text{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
}
.skip-link{
  position:absolute;left:16px;top:-60px;z-index:1200;
  background:var(--navy-ink);color:#fff;padding:12px 18px;border-radius:8px;
  font-weight:700;text-decoration:none;transform:translateY(-72px);transition:transform .2s var(--ease-material);
}
.skip-link:focus{transform:none;color:#fff}

/* ---------- 5. BUTTONS (gold = interactive only) ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;
  padding:14px 26px;
  font-family:var(--font-sans);
  font-weight:700;font-size:15.5px;letter-spacing:.02em;line-height:1.2;
  color:var(--navy-ink);
  background:var(--gold);
  border:1px solid var(--gold);
  /* v1.2.0: 8px radius sitewide -- sharper corners read younger; still friendly. */
  border-radius:8px;
  text-decoration:none;cursor:pointer;
}
.btn:hover{color:var(--navy-ink);background:var(--gold-deep);border-color:var(--gold-deep)}
.btn:active{transform:scale(.98)}
.btn-ghost{
  background:transparent;border-color:rgba(255,255,255,.55);color:#fff;
}
.btn-ghost:hover{background:rgba(255,255,255,.1);border-color:#fff;color:#fff}
.btn-dark{background:var(--navy);border-color:var(--navy);color:#fff}
.btn-dark:hover{background:var(--navy-ink);border-color:var(--navy-ink);color:#fff}
.btn-quiet{background:transparent;border-color:var(--hairline);color:var(--navy)}
.btn-quiet:hover{border-color:var(--navy);color:var(--navy-ink)}
.btn--full{width:100%}
@media (min-width:1024px){.btn{font-size:16px;min-height:52px;padding:15px 30px}}
.linklike{
  background:none;border:0;padding:0;color:var(--navy);
  font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer;
}

/* ---------- 6. CHIPS ---------- */
.chips{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 20px}
.chip{
  min-height:48px;padding:12px 20px;
  font-weight:600;font-size:15px;
  color:#fff;background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.35);border-radius:999px;
  cursor:pointer;
}
.chip:hover{border-color:rgba(255,255,255,.7)}
.chip[aria-pressed="true"]{background:var(--gold);border-color:var(--gold);color:var(--navy-ink)}
.chip:active{transform:scale(.97)}
.chip--light{background:rgba(30,58,95,.06);border-color:var(--hairline);color:var(--ink)}
.chip--light:hover{border-color:var(--navy)}
.chip--light[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.chip--light:active{transform:scale(.97)}

/* ---------- 7. FORMS ---------- */
.field{margin:0 0 18px}
.field label,.field-label{
  display:block;font-weight:700;font-size:14px;margin:0 0 8px;
}
.field .optional{font-weight:400;color:var(--muted)}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea{
  width:100%;min-height:52px;
  padding:13px 16px;font-size:16px;
  color:var(--ink);background:var(--paper);
  border:1px solid var(--hairline);border-radius:10px;
}
.field textarea{min-height:120px;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:#8A94A0}  /* v1.2.3 (T7): darkened from #B5BCC5 (~1.75:1 on paper) to ~3:1 */
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--gold);
  box-shadow:0 0 0 2px var(--focus-inner),0 0 0 5px var(--focus-outer);  /* dual focus ring: gold 0-2px, navy-ink 2-5px */
}
.field-hint{font-size:13.5px;color:var(--muted);margin-top:8px;line-height:1.5}
.field-error{font-size:13.5px;color:var(--status-error);font-weight:600;margin-top:8px}
.consent{
  display:flex;gap:12px;align-items:flex-start;
  font-size:14.5px;line-height:1.55;margin:4px 0 22px;cursor:pointer;
}
.consent input{width:24px;height:24px;margin:2px 0 0;accent-color:var(--gold);flex:none}

/* v1.3.2: EZLynx Consumer Quoting embed slot. The iframe is viewport-height
 * so tall rating apps never break on phones; a button/link embed variant
 * stays centered instead of stretching inside the full-width wrapper. */
.ezlynx-embed{width:100%}
.ezlynx-embed iframe{width:100%;border:0;display:block;min-height:70vh}
.ezlynx-embed>a,.ezlynx-embed>button{display:table;margin-inline:auto}

/* Dark-surface intake overrides (hero) */
.intake .field label,.intake .field-label{color:#fff}
.intake .field-hint{color:rgba(255,255,255,.72)}
.intake .consent{color:rgba(255,255,255,.88)}
.intake .field input{
  background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.32);color:#fff;
}
.intake .field input::placeholder{color:rgba(255,255,255,.45)}
.intake .field input:focus{border-color:var(--gold);box-shadow:0 0 0 2px var(--focus-inner),0 0 0 5px var(--focus-outer)}  /* dual focus ring on dark */
.intake .field-error{color:var(--status-error-dark)}
.intake .linklike{color:#fff}

/* ---------- 8. HEADER + NAVIGATION ---------- */
.utility-bar{
  display:none;
  /* v1.1.4: safe-area top for consistency with the sticky header (no-op on desktop). */
  padding-top:env(safe-area-inset-top);
  background:var(--navy-ink);color:rgba(255,255,255,.82);
  font-size:13.5px;
}
.utility-bar a{color:#fff;text-decoration:none;font-weight:600}
.utility-bar a:hover{text-decoration:underline}
@media (min-width:1024px){
  .utility-bar{display:block}
  .utility-inner{
    display:flex;justify-content:space-between;align-items:center;
    padding-top:8px;padding-bottom:8px;
  }
  .utility-hours{letter-spacing:.02em}
  .utility-right{display:flex;gap:24px;align-items:center}
  .utility-right .toll{color:rgba(255,255,255,.6)}
}
.site-header{
  position:sticky;top:0;z-index:900;
  /* v1.1.4: with viewport-fit=cover the sticky header reaches into the
   * Dynamic Island / status-bar zone; pad it so the brand row clears it. */
  padding-top:env(safe-area-inset-top);
  background:rgba(255,255,255,.92);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--hairline);
}
.header-inner{
  display:flex;align-items:center;gap:16px;
  padding-top:12px;padding-bottom:12px;
}
.brand{margin-right:auto;line-height:0}
/* v1.2.3 (FAIL-12): the brand link is a tap target; the logo renders at
 * 44px so the link clears the 44px minimum without padding distortion. */
.brand img{height:44px;width:auto}
@media (min-width:1024px){.brand img{height:44px}}
.desktop-cta{display:none}
@media (min-width:1024px){.desktop-cta{display:inline-flex;white-space:nowrap;flex-shrink:0}}
.nav-toggle{
  display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;flex:none;
  width:48px;height:48px;background:none;border:1px solid var(--hairline);
  border-radius:10px;cursor:pointer;
}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--navy-ink);border-radius:2px;transition:transform .22s var(--ease-material),opacity .18s var(--ease-material)}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (min-width:1024px){.nav-toggle{display:none}}
.primary-nav{
  display:none;
  position:absolute;top:100%;left:0;right:0;
  background:var(--paper);
  border-bottom:1px solid var(--hairline);
  box-shadow:var(--shadow-2);
  /* v1.2.6 (S-4): 100vh fallback for iOS <15.4, where 100dvh is dropped. */
  max-height:calc(100vh - 76px);
  max-height:calc(100dvh - 76px);overflow:auto;
}
.primary-nav.is-open{display:block}
@media (min-width:1024px){
  .primary-nav{
    display:block;position:static;background:none;border:0;box-shadow:none;
    max-height:none;overflow:visible;
  }
}
/* v1.2.3 (FAIL-7): rules for the shipped nav markup
 * (ul.nav-list > li.nav-item > a.nav-link / button.nav-link). The old
 * .primary-nav .menu rules matched no markup and are removed. */
.nav-list{
  display:flex;flex-direction:column;
  list-style:none;margin:0;padding:8px 16px 4px;
}
.nav-item{border-bottom:1px solid var(--hairline)}
.nav-link{
  display:flex;align-items:center;width:100%;min-height:48px;
  padding:12px 4px;margin:0;background:none;border:0;cursor:pointer;
  font-family:var(--font-sans);font-weight:700;font-size:16.5px;color:var(--ink);text-decoration:none;
  text-align:left;
}
.nav-link:hover{color:var(--navy)}
@media (min-width:1024px){
  .nav-list{flex-direction:row;gap:4px;padding:0;align-items:center}
  .nav-item{border:0}
  .nav-link{width:auto;min-height:44px;padding:12px 14px;font-size:15.5px}
}
.menu-ctas{padding:16px}
.menu-group{border:1px solid var(--hairline);border-radius:10px;margin-bottom:10px;overflow:hidden}
.menu-group summary{
  padding:14px 16px;font-weight:700;font-size:15.5px;cursor:pointer;
  list-style:none;display:flex;justify-content:space-between;align-items:center;
}
.menu-group summary::-webkit-details-marker{display:none}
.menu-group summary::after{content:"+";font-size:20px;color:var(--gold-deep);font-weight:400}
.menu-group[open] summary::after{content:"\2212"}
.menu-group ul{padding:0 16px 12px}
.menu-group ul a{
  display:block;padding:10px 0;font-size:15px;color:var(--ink);
  text-decoration:none;border-top:1px solid var(--hairline);
}
.menu-group ul a:hover{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.menu-cta{width:100%;margin:6px 0 10px}
.menu-call{
  display:block;text-align:center;padding:14px;
  font-weight:700;color:var(--navy);text-decoration:none;
}
@media (min-width:1024px){.menu-ctas{display:none}}

/* ---------- 9. HERO ---------- */
.hero{
  position:relative;overflow:hidden;
  /* v1.2.2: flat ink navy #1E3A5F. Gradients are retired per the design
   * contract -- dark surfaces are flat, never gradient. No watermark, no
   * pattern, no illustration. */
  background:var(--navy-ink);
  color:#fff;
  /* v1.1.5: hairline frame removed per client verdict ("looks cheap") --
   * replaced with generous, confident whitespace. The expensive look is
   * restraint, not decorative boxes. */
  padding:96px 0 104px;
}
/* v1.1.6: mobile hero top padding tightened per client verdict ("too much
 * empty blue headroom") -- on phones the eyebrow now starts close under the
 * sticky header, confident rather than cavernous. Bottom padding stays
 * generous to separate the CTAs from the locked line. 480px+ rhythm unchanged. */
@media (max-width:479px){
  .hero{padding-top:40px;padding-bottom:88px;}
}
/* v1.2.0: hero ghost "1959" watermark REMOVED per the young-wealthy
 * reposition -- heritage must not be the visual opening line (it remains
 * a trust footnote in the trust strip, the why-us body, and the footer
 * fineprint). The hero is a clean navy field: no ghost numeral, no lines,
 * no decorative boxes. This also resolves the desktop overlap where the
 * watermark's leftmost digit sat behind the quote-form column. */
/* v1.2.0: ONE 28x2px gold tick above the hero eyebrow -- bank stationery,
 * not ornament. Scoped to the hero-copy eyebrow only (the intake step-2
 * kicker inside .hero is excluded) so it can never touch or cross text. */
.hero-copy > .kicker::before{
  content:"";display:block;width:28px;height:2px;background:var(--gold);margin-bottom:14px;
}
.hero-grid{position:relative;z-index:1}
@media (min-width:1024px){
  .hero{padding:140px 0}
  .hero-grid{
    display:grid;grid-template-columns:repeat(12,1fr);gap:32px;align-items:center;
  }
  .hero-copy{grid-column:1/7}
  .hero .intake{grid-column:8/13}
}
.hero h1{
  color:#fff;
  /* v1.2.3 (T1): cap reduced 4.5rem to 3rem. Measured with the real Source
   * Serif 4: at 4.5rem/72px the headline widowed ("One person / handles
   * your / insurance.") at 375/390/430px and 1024/1440px, falsifying the old
   * "no single-word orphans" claim (it only held with fallback Georgia).
   * At the 3rem cap the verified breaks are: 375/390/430px "One person /
   * handles / your insurance." (nbsp-joined final words, never a widow);
   * 768/1024/1440px "One person handles / your insurance.", clean 2-line.
   * 48px is 2.8x body: presence kept, composition fixed. Tight tracking;
   * left-aligned at every breakpoint. */
  font-size:clamp(2.5rem,11vw,3rem);
  line-height:1.02;
  letter-spacing:-0.015em;
  max-width:22ch;
  text-wrap:balance;
}
@media (min-width:1024px){.hero h1{line-height:1.0}}
.hero .lead{
  /* v1.2.0: de-serifed per the design panel -- serif subheads were the
   * "estate attorney" tell. Sans 19px/1.5 on mobile, 21px at desktop, white
   * 84%, 38/40ch measure (stays narrower in px than the H1 block). */
  font-family:var(--font-sans);font-weight:400;
  font-size:19px;line-height:1.5;color:rgba(255,255,255,.84);
  max-width:38ch;margin:0 0 32px;
}
@media (min-width:1024px){.hero .lead{font-size:21px;max-width:40ch}}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 8px}
/* v1.2.0: below 480px the hero CTAs stack full-bleed -- one confident action
 * per row, 56px min-height. Side-by-side 50% CTAs read budget-template. */
@media (max-width:479px){
  .hero .actions{flex-direction:column;align-items:stretch}
  .hero .actions .btn{width:100%;min-height:56px;font-size:16.5px}
}
/* v1.2.0: the gold primary gets a soft shadow on navy for depth. Flat gold
 * on flat navy read template; depth reads expensive. No button gradients. */
.hero .btn:not(.btn-ghost){box-shadow:0 8px 24px rgba(0,0,0,.28)}

/* ---------- 9b. LARGE-PHONE REFINEMENT (v1.1.4) ----------
 * iPhone 18 Pro Max (440px) and Duo unfolded (487px) are wider-phone
 * canvases, not tablets: a touch more air and a comfortable measure,
 * the same premium composition. */
@media (min-width:480px){
  .hero{padding:112px 0 120px}
  .section{padding:64px 0}
}

/* ---------- 10. HERO INTAKE (two-step) ---------- */
.intake{margin-top:44px;position:relative}
@media (min-width:1024px){.intake{margin-top:0}}
.intake-step h2{color:#fff;font-size:26px}
.intake-summary{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);
  border-radius:10px;padding:12px 16px;margin:0 0 20px;
  font-size:15px;color:rgba(255,255,255,.92);
}
.intake-summary .linklike{
  flex:none;
  /* v1.1.4: enlarged hit area for thumb reach (visual size unchanged). */
  padding:12px 8px;margin:-12px -8px -12px 4px;
}
.intake-cta{width:100%}
.intake-back{margin-top:16px;text-align:center}
/* A9: same padded 44px hit-area treatment the "Edit" link already has. */
.intake-back .linklike{display:inline-block;padding:12px 20px;margin:-10px -20px}
.intake-done h2{color:#fff}
.intake-done p,.intake-done li{color:rgba(255,255,255,.88)}
.intake-done ol{list-style:decimal;padding-left:24px;margin:16px 0 24px;display:grid;gap:10px}
.intake-done .btn-ghost{margin-top:4px}

/* v1.2.2: trust strip section deleted from the homepage per the PM ruling;
 * its verified facts are rehomed into the accountability line, the final CTA
 * band, and the footer fine print. */

/* ---------- 12. COVERAGE HUB CARDS ---------- */
.hub-grid{display:grid;gap:24px}
@media (min-width:1024px){
  .hub-grid{grid-template-columns:1fr 1px 1fr;gap:48px;align-items:start}
  .hub-divider{background:var(--hairline);align-self:stretch}
}
.hub-card{
  background:var(--paper);
  border:1px solid var(--hairline);border-radius:16px;
  padding:32px 28px;
  box-shadow:var(--shadow-1);
}
.hub-card .kicker{margin-bottom:8px}
.hub-card h3{font-size:24px;margin-bottom:20px}
.service-index{margin:0 0 28px;display:grid;gap:2px}
.service-index a{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:12px 4px;color:var(--ink);text-decoration:none;
  border-bottom:1px solid var(--hairline);
  font-weight:600;font-size:16px;
}
.service-index a::after{
  content:"\2192";color:var(--gold-deep);font-weight:400;flex:none;
}
.service-index a:hover{color:var(--navy)}
.service-index a:hover::after{transform:translateX(3px)}
.service-index a::after{transition:transform .18s var(--ease-material)}
.hub-card .btn{width:100%}

/* ---------- 13. DISASTER BAND (navy-deep, cinematic) ---------- */
.disaster-band{
  position:relative;overflow:hidden;
  background:var(--navy-deep);color:#fff;
  padding:72px 0;
}
.disaster-arc{
  position:absolute;top:50%;right:-18%;
  width:min(120vw,900px);height:auto;
  transform:translateY(-50%);
  opacity:.5;pointer-events:none;
}
.disaster-band .container{position:relative;z-index:1}
.disaster-band h2{color:#fff;max-width:14ch}
.disaster-band .body-copy{color:rgba(255,255,255,.82);max-width:56ch;margin:0 0 32px;text-wrap:pretty}
@media (min-width:1024px){.disaster-band{padding:120px 0}.disaster-arc{right:-8%}}

/* ---------- 14. HERITAGE (cream) ---------- */
.heritage{background:var(--cream)}
.heritage-grid{display:grid;gap:40px}
@media (min-width:1024px){
  .heritage-grid{grid-template-columns:1.5fr 1fr;gap:64px;align-items:start}
}
.heritage-main .lead{color:var(--ink);margin-bottom:24px}
.heritage-main p+p{margin-top:16px}
.heritage-main p{color:var(--ink)}
.heritage-table{margin:32px 0;border-top:1px solid var(--hairline)}
.heritage-table > div{
  display:grid;grid-template-columns:130px 1fr;gap:16px;
  padding:14px 0;border-bottom:1px solid var(--hairline);
}
.heritage-table dt{
  font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--muted);padding-top:4px;
}
.heritage-table dd{font-weight:600;color:var(--ink)}
.check-list{margin:24px 0 0;display:grid;gap:12px}
.check-list li{
  display:flex;gap:12px;align-items:flex-start;font-weight:600;
}
.check-list li::before{
  content:"";flex:none;width:20px;height:20px;margin-top:3px;
  background:var(--navy);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='white' stroke-width='2.5' d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='white' stroke-width='2.5' d='M4 10.5l4 4 8-9'/%3E%3C/svg%3E") center/contain no-repeat;
}
.logo-mount{
  background:var(--paper);border:1px solid var(--hairline);border-radius:16px;
  padding:32px;box-shadow:var(--shadow-1);margin:0 0 32px;
}
.logo-mount img{width:100%;max-width:280px;margin:0 auto 16px}
.logo-mount figcaption{text-align:center}
.team-list{display:grid;gap:14px;margin-top:16px}
.team-member{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
/* v1.2.0: first-person team bios render below the initials/name row, never
 * squeezed beside the initials. */
.team-bio{flex:1 1 100%;font-size:15px;line-height:1.55;color:var(--ink);margin:2px 0 0;max-width:56ch}
.team-initials{
  flex:none;width:48px;height:48px;border-radius:50%;
  background:var(--navy);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-serif);font-weight:600;font-size:18px;
}
.team-member b{display:block;font-size:16px}
.team-member span{font-size:13.5px;color:var(--muted)}

/* ---------- 15. CARDS (client paths, hub detail cards) ---------- */
.card-grid{display:grid;gap:20px}
@media (min-width:700px){.card-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.card-grid--4{grid-template-columns:repeat(4,1fr)}}
@media (min-width:1024px){.card-grid--3{grid-template-columns:repeat(3,1fr)}}
.card-grid--wide{grid-template-columns:1fr}
@media (min-width:700px){.card-grid--wide{grid-template-columns:repeat(2,1fr)}}
.card{
  background:var(--paper);border:1px solid var(--hairline);border-radius:14px;
  padding:28px;box-shadow:var(--shadow-1);
}
.card p{color:var(--muted);font-size:16px;margin:0 0 20px}
.card .btn-quiet{width:100%}
.notice{
  background:var(--cream);border:1px solid var(--hairline);border-radius:10px;
  padding:16px 20px;font-size:14px;color:var(--muted);margin:0 0 32px;
}

/* ---------- 16. QUOTE BAND (navy-ink closing argument) ---------- */
.quote-band{background:var(--navy-ink);color:#fff;padding:72px 0}
.quote-band .section-title h2{color:#fff}
.quote-band .section-title > p{color:rgba(255,255,255,.75)}
.quote-band .section-title > .locked-line{
  font-family:var(--font-serif);font-style:italic;font-weight:400;
  font-size:20px;color:rgba(255,255,255,.9);
  margin-top:16px;
  text-wrap:balance;
}
.quote-panel{
  background:var(--paper);color:var(--ink);
  border-radius:18px;box-shadow:var(--shadow-2);
  padding:32px 28px;max-width:720px;
}
@media (min-width:1024px){.quote-band{padding:110px 0}.quote-panel{padding:44px}}
.quote-panel .field label{color:var(--ink)}
.quote-panel .field-hint{color:var(--muted)}
.quote-panel .consent{color:var(--ink)}
.quote-panel h3{margin-bottom:16px}
.quiet-hours{margin-top:20px;font-size:14px;color:var(--muted);text-align:center}

/* ---------- 17. FAQ ---------- */
.faq-grid{display:grid;gap:32px}
@media (min-width:1024px){.faq-grid{grid-template-columns:1fr 1.2fr;gap:64px;align-items:start}}
.faq-item{
  border:1px solid var(--hairline);border-radius:12px;margin-bottom:12px;
  background:var(--paper);overflow:hidden;
}
.faq-item summary{
  padding:20px 24px;font-weight:700;font-size:16.5px;cursor:pointer;
  list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"+";flex:none;font-size:24px;font-weight:400;color:var(--gold-deep);
  transition:transform .2s var(--ease-material);
}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item .faq-answer{padding:0 24px 24px;color:var(--muted);font-size:16px}
.faq-item .faq-answer p+p{margin-top:12px}

/* ---------- 18. FOOTER ---------- */
.site-footer{
  background:var(--cream);
  border-top:1px solid var(--hairline);
  padding:56px 0 0;
}
.footer-brand{margin-bottom:32px}
.footer-brand img{height:32px;width:auto}
/* v1.2.3 (FAIL-12): the footer brand link keeps its 32px visual logo but
 * gets a 44px hit area via flex centering. */
.footer-brand a.brand{display:inline-flex;align-items:center;min-height:44px}
.footer-grid{display:grid;gap:36px;margin-bottom:40px}
@media (min-width:1024px){
  .footer-grid{grid-template-columns:1.3fr 1fr 1fr;gap:48px}
}
.footer-col h2{
  font-family:var(--font-sans);font-weight:700;font-size:12px;
  letter-spacing:.2em;text-transform:uppercase;color:var(--muted);
  margin:0 0 16px;
}
.nap-table > div{
  display:grid;grid-template-columns:92px 1fr;gap:12px;
  padding:10px 0;border-bottom:1px solid var(--hairline);
}
.nap-table dt{
  font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted);padding-top:4px;
}
.nap-table dd{font-weight:600}
.nap-table dd a{display:inline-flex;align-items:center;min-height:44px;color:var(--navy-ink);text-decoration:none;font-weight:700}
.nap-table dd a:hover{text-decoration:underline;text-underline-offset:3px}
.footer-nav{display:grid;gap:4px}
/* v1.2.3 (FAIL-12): footer text links were 24px tap targets; flex centering
 * with a 44px minimum guarantees the native-iOS-patterns commitment. */
.footer-nav a{
  display:flex;align-items:center;min-height:44px;padding:6px 0;color:var(--ink);text-decoration:none;font-size:15.5px;
}
.footer-nav a:hover{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.fineprint{
  border-top:1px solid var(--hairline);
  padding:24px 0 calc(24px + env(safe-area-inset-bottom));
  font-size:13.5px;color:var(--muted);line-height:1.6;
  overflow-wrap:break-word;  /* v1.2.3 (T6): long license strings must not overflow 375px columns */
}
.fineprint p+p{margin-top:8px}

/* ---------- 19. STICKY ACTION BAR ---------- */
.sticky-bar{
  position:fixed;z-index:950;
  left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));
  display:flex;gap:10px;
  background:rgba(255,255,255,.88);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border:1px solid var(--hairline);border-radius:16px;
  box-shadow:var(--shadow-2);
  padding:10px;
  transition:transform .26s var(--ease-expand),opacity .26s var(--ease-material);
}
.sticky-bar .btn{flex:1;min-height:52px;padding:12px 8px;font-size:15px}
.sticky-bar{align-items:center}
/* v1.2.6 (P1-6): the sticky bar keeps ONE gold CTA. "Call me" is demoted to
 * a plain-text tel: link in the call-rail voice: 44px tap target, inherited
 * navy ink, no competing button. Keeps data-event="CallTap" in markup. */
.sticky-call{
  flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;min-width:44px;padding:0 14px;white-space:nowrap;
  color:var(--navy-ink);font-weight:700;font-size:15px;text-decoration:none;
}
.sticky-call:hover{text-decoration:underline;text-underline-offset:3px}
/* v1.2.6 (P1-5): reserve bottom clearance for the fixed bar so it never
 * covers body copy. The JS toggles has-sticky-bar alongside is-visible.
 * Mobile-only: the bar is display:none on desktop. */
@media (max-width:1023px){
  body.has-sticky-bar{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
}
html.js .sticky-bar{transform:translateY(150%);opacity:0;pointer-events:none}
html.js .sticky-bar.is-visible{transform:translateY(0);opacity:1;pointer-events:auto}
@media (min-width:1024px){
  /* Desktop has the utility bar, header CTAs, and hero actions: the floating
   * pill would overlap page copy, so it stays mobile-only. */
  .sticky-bar{display:none}
}

/* ---------- 20. SCROLL REVEALS (below the fold only) ---------- */
/* v1.2.2: scroll reveals deleted -- hero, display type, body copy, logo,
 * headings, and images remain still per the motion contract. */

/* 21. View transitions removed: motion contract allows transform/opacity only. */

/* ---------- 22. PAGE / ENTRY CONTENT ---------- */
.page-hero{
  /* v1.2.2: flat ink navy #1E3A5F, same field as the homepage hero.
   * Gradients retired per the design contract. */
  background:var(--navy-ink);
  color:#fff;
  /* v1.2.0: dead-space band killed -- 48/40px mobile, 64/56px desktop, in the
   * same rhythm as the homepage hero's tightened 40px top. */
  padding:48px 0 40px;position:relative;overflow:hidden;
}
/* v1.1.5: the hairline box frame was removed site-wide per client verdict.
 * Legitimate thin section dividers elsewhere are untouched. */
.page-hero .container{position:relative}
.page-hero .kicker{
  /* v1.2.2: never gold text (retired per the design contract). Kicker is
   * ivory text with the short gold rule above it. */
  color:rgba(255,255,255,.9);font-size:13px;margin:0 0 14px;
}
.page-hero .kicker::before{
  content:"";display:block;width:28px;height:2px;background:var(--gold);
  margin-bottom:14px;
}
.page-hero h1{
  /* v1.2.0: explicit composed size instead of the giant inherited global h1 --
   * 32px floor on phones (the smallest a heading still reads as a heading),
   * 44px cap on desktop; the homepage keeps the biggest type on the site.
   * Tight leading, left-aligned (the luxury posture), balanced. */
  color:#fff;max-width:20ch;
  font-size:clamp(2rem,7vw,2.75rem);line-height:1.05;letter-spacing:-0.015em;
  text-wrap:balance;
}
.page-hero-value{
  font-family:var(--font-sans);font-size:16px;line-height:1.5;
  color:rgba(255,255,255,.84);margin:14px 0 4px;max-width:44ch;
}
.page-hero-cta{margin:0}
.page-hero-cta a:not(.btn){
  /* v1.2.2: quiet text link with a white underline -- gold underlines are
   * retired per the design contract. Inline-block + padding keeps the 44px
   * minimum tap target without a button treatment.
   * v1.2.6: :not(.btn) -- page.php renders a real .btn here, and this rule's
   * 0,1,1 specificity used to beat .btn's 0,1,0, painting white text on gold.
   * Buttons keep the CTA system's navy-on-gold; text links stay quiet white. */
  display:inline-block;min-height:44px;padding:12px 4px 12px 0;
  color:#fff;font-weight:700;font-size:16px;text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.55);text-decoration-thickness:2px;text-underline-offset:5px;
}
.page-hero-cta a:not(.btn):hover{text-decoration-color:#fff}
.page-hero .lead{color:rgba(255,255,255,.82)}
@media (min-width:1024px){.page-hero{padding:64px 0 56px}}
.entry-content{font-size:17px;line-height:1.7;text-wrap:pretty;overflow-wrap:break-word}
.entry-content > * + *{margin-top:24px}
.entry-content h2{margin-top:48px}
.entry-content h3{margin-top:36px}
.entry-content ul{list-style:disc;padding-left:24px;display:grid;gap:8px}
.entry-content ol{list-style:decimal;padding-left:24px;display:grid;gap:8px}
.entry-content blockquote{
  font-family:var(--font-serif);font-style:italic;font-size:22px;line-height:1.5;
  color:var(--navy);border-left:3px solid var(--navy);
  padding-left:24px;margin:36px 0;
}
.wp-block-image img{border-radius:12px}

/* 404 */
.not-found{text-align:center;padding:80px 0}
.not-found h1{max-width:none}

/* ---------- 23. REDUCED MOTION ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
  @view-transition{navigation:none}
  .btn:active,.chip:active,.chip--light:active{transform:none}
  html.js .sticky-bar{transform:none;opacity:1;pointer-events:auto}
  html.js .sticky-bar.is-visible{transform:none;opacity:1}
}

/* ---------- 24. PRINT ---------- */
@media print{
  .site-header,.sticky-bar,.quote-band,.disaster-band,.actions{display:none}
  body{font-size:12pt;color:#000}
  .hero{background:#fff;color:#000;padding:0}
  .hero h1,.hero .lead{color:#000}
}

/* ---------- 25. SERVER QUOTE FORM (quote band panel) ---------- */
.quote-form.two-col{display:grid;gap:0 20px}
@media (min-width:700px){
  .quote-form.two-col{grid-template-columns:1fr 1fr}
  .quote-form .span-2{grid-column:1/-1}
}
.quote-form .field{margin-bottom:18px}
.form-note{font-size:13.5px;color:var(--muted);margin:0 0 18px}
/* A8: visible required-field legend on both forms. */
.form-legend{font-size:13.5px;color:var(--muted);margin:0 0 16px}
.intake .form-legend{color:rgba(255,255,255,.72)}
.intake .field .optional{color:rgba(255,255,255,.72)}
/* v1.2.4 (L1/L2/L8/L10): conversation-first form composition elements. */
.form-preamble{font-size:16px;line-height:1.6;margin:0 0 10px;max-width:62ch;text-wrap:pretty}
.trust-block{font-size:16.5px;line-height:1.65;margin:0 0 20px;max-width:60ch;text-wrap:pretty}
.intake .form-preamble{color:rgba(255,255,255,.88)}
.intake .trust-block{color:#fff}
/* v1.2.6 (P0-1): explicit tel: link inside the trust block. iOS Safari's data
 * detector injects its own anchor around plain-text numbers and paints it
 * navy-on-navy; the explicit link is deterministic and this scoping keeps it
 * visible on every surface. The :hover repetition is load-bearing:
 * a:hover{color:var(--navy-ink)} ties .trust-block a on specificity. */
.trust-block a,
.trust-block a:hover{color:inherit;text-decoration:none;white-space:nowrap}
.mercury-line{font-size:14px;color:var(--muted);margin:0 0 18px;max-width:64ch;text-wrap:pretty}
.intake .mercury-line{color:rgba(255,255,255,.72)}
.nowrap{white-space:nowrap}
/* v1.2.4 (L10): the peer call rail. Compact small print in a consistent
 * position; the tel: link carries its own real 44px tap target. */
.call-rail{font-size:14px;color:var(--muted);margin:18px 0 0;text-align:center}
.intake .call-rail{color:rgba(255,255,255,.72)}
.call-rail a{font-weight:700;color:inherit;display:inline-block;min-height:44px;line-height:44px;padding:0 14px;margin:0 -14px}
/* v1.2.4 (L7): the situation textarea caps at 3 visible rows. */
.field textarea.situation{min-height:0}
/* Dark-surface intake textarea (hero step-1 situation field). */
.intake .field textarea{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.32);color:#fff}
.intake .field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 2px var(--focus-inner),0 0 0 5px var(--focus-outer)}
/* v1.2.4 (P1-12): quiet hours on navy surfaces, light-on-navy (>=4.5:1). */
.intake .quiet-hours{color:rgba(255,255,255,.92)}
/* v1.2.5 (F1): the hero step-2 locked line is plain .locked-line inside
 * .intake on the navy hero, so the dark treatment hooks here, not on a
 * separate modifier. Matches the quote-band treatment. */
.intake .locked-line{color:rgba(255,255,255,.9)}
/* v1.2.4 (P1-7): 404 coverage-group links. */
.four-oh-four-groups{margin:24px 0 0;display:grid;gap:8px}
.four-oh-four-groups a{display:inline-block;min-height:44px;line-height:44px;font-weight:600;color:var(--navy)}
.form-message{
  border-radius:10px;padding:16px 20px;margin:0 0 24px;
  font-weight:600;font-size:15.5px;
}
.form-success{background:var(--status-ok-bg);border:1px solid var(--status-ok-border);color:var(--status-ok)}
.form-error{background:var(--status-error-bg);border:1px solid var(--status-error-border);color:var(--status-error)}

/* ---------- 26. SUBPAGE WRAPPERS ---------- */
.entry-wrap{padding:48px 0 64px}
@media (min-width:1024px){.entry-wrap{padding:72px 0 96px}}

/* ---------- 26. V1.2.2 SERVICE IA ---------- */

/* Header call link: secondary top-level link on desktop, in the menu on mobile. */
.header-call{display:none}
@media (min-width:1024px){
  /* v1.2.3 (FAIL-12): vertical padding puts the header call link over the 44px minimum. */
  .header-call{display:inline-block;margin-left:16px;padding:10px 0;color:var(--navy);font-weight:700;font-size:15px;text-decoration:none;white-space:nowrap}
  .header-call:hover{text-decoration:underline;text-underline-offset:3px}
}

/* Coverage mega menu. Desktop: full-width panel, all three groups visible.
 * Mobile: the Coverage item opens the panel; each group is an independent
 * accordion. Motion: opacity/translateY only, <=260ms, user-action only. */
.nav-coverage{position:static}
.mega{display:none}
.nav-coverage.is-open .mega{display:block}
@media (min-width:1024px){
  .nav-coverage{position:static}
  .mega{
    position:absolute;left:0;right:0;top:100%;z-index:800;
    background:var(--white);border-bottom:1px solid var(--hairline);
    box-shadow:0 24px 48px rgba(30,58,95,.12);
    padding:32px 0;
  }
  .nav-coverage.is-open .mega{display:block;animation:mega-in .22s var(--ease-expand)}
  @keyframes mega-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
  .mega-inner{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;max-width:var(--container);margin:0 auto;padding:0 24px}
  .mega-head{display:block;margin:0;font-family:var(--font-sans);font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
  .mega-group-toggle{display:none}
  .mega-links{display:block!important;list-style:none;margin:12px 0 0;padding:0;display:grid;gap:2px}
  .mega-links a{display:block;padding:9px 0;color:var(--ink);text-decoration:none;font-size:15.5px}
  .mega-links a:hover{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
  .mega-all{grid-column:1/-1;margin:20px 0 0;padding-top:20px;border-top:1px solid var(--hairline)}
  .mega-all a{color:var(--navy);font-weight:700;text-decoration:none}
  .mega-all a:hover{text-decoration:underline;text-underline-offset:3px}
}
@media (max-width:1023px){
  .mega{padding:8px 0 16px}
  .mega-group{border-top:1px solid var(--hairline)}
  .mega-head{display:none}
  .mega-group-toggle{
    display:flex;align-items:center;justify-content:space-between;width:100%;
    min-height:56px;padding:14px 4px;background:none;border:0;cursor:pointer;
    font-family:var(--font-sans);font-weight:700;font-size:16px;color:var(--ink);text-align:left;
  }
  .mega-chev{width:10px;height:10px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .18s var(--ease-material)}
  .mega-group.is-open .mega-chev{transform:rotate(-135deg)}
  .mega-links{display:none;list-style:none;margin:0 0 8px;padding:0}
  .mega-group.is-open .mega-links{display:block}
  .mega-links a{display:block;padding:12px 4px;min-height:44px;color:var(--ink);text-decoration:none;font-size:16px}
  .mega-all{margin:12px 0 0}
  .mega-all a{display:block;padding:12px 4px;min-height:44px;color:var(--navy);font-weight:700}
}

/* Breadcrumbs. */
.crumbs{font-size:13.5px;color:var(--muted);margin:0 0 20px}
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.crumbs li{display:flex;align-items:center;gap:8px}
.crumbs li+li::before{content:"/";opacity:.55}
/* v1.2.7 (F2): same 44px treatment as F1. The -12px vertical margins hold the
 * compact breadcrumb row while the 44px border box stays fully tappable. */
.crumbs a{display:inline-block;min-height:44px;line-height:44px;padding:0 4px;margin:-12px 0;color:var(--navy);font-weight:600;text-decoration:none}
.crumbs a:hover{text-decoration:underline;text-underline-offset:2px}
.crumbs [aria-current="page"]{font-weight:400}

/* Homepage hub cards: three groups, flagship names as inline text links. */
.hub-grid{display:grid;gap:24px}
@media (min-width:1024px){.hub-grid{grid-template-columns:repeat(3,1fr);gap:32px}}
.hub-card{background:var(--white);border:1px solid var(--hairline);border-radius:16px;padding:32px 28px}
.hub-card h3{font-size:24px;margin:0 0 10px}
.hub-sub{color:var(--muted);font-size:16px;margin:0 0 16px}
.hub-flagships{font-size:15.5px;margin:0 0 20px;line-height:2}
/* v1.2.7 (F1): 44px tap boxes on the 8 hub links. inline-block keeps each link
 * atomic; the -6px vertical margins hold the 31px list rhythm while the 44px
 * border box stays fully tappable (same idiom as .call-rail a). */
.hub-flagships a{display:inline-block;min-height:44px;line-height:44px;padding:0 2px;margin:-6px 0;color:var(--navy);font-weight:600;text-decoration:none}
.hub-flagships a:hover{text-decoration:underline;text-underline-offset:3px}
.hub-flagships span{color:var(--muted);margin:0 6px}
/* v1.2.3 (FAIL-10): gold link underlines are banned by the design
 * contract. The hub CTA is a navy text link; the underline appears on hover
 * only. v1.2.3 (FAIL-12): 44px minimum tap target. */
.hub-cta{display:inline-flex;align-items:center;min-height:44px;color:var(--navy);font-weight:700;font-size:16px;text-decoration:none;padding:10px 0}
.hub-cta:hover{text-decoration:underline;text-underline-offset:3px}

/* Step label: quiet sans, not a competing headline. */
.step-label{font-family:var(--font-sans);font-size:14px;font-weight:600;color:rgba(255,255,255,.75);margin:0 0 12px}

/* Services index: numbered rows, serif names, teaser lines, slate chevrons. */
.svc-index{padding:48px 0 72px}
.svc-group{margin:0 0 16px}
.svc-group-head{margin:40px 0 4px}
.svc-group-head .kicker{margin-bottom:6px}
.svc-group-head h2{font-size:30px;margin:0 0 8px}
.svc-group-intro{color:var(--muted);font-size:17px;max-width:60ch;margin:0 0 8px}
.svc-rows{list-style:none;margin:16px 0 0;padding:0;border-top:1px solid var(--hairline)}
.svc-row{border-bottom:1px solid var(--hairline);background:var(--white)}
.svc-row-link,.svc-row-btn{
  display:grid;grid-template-columns:40px 1fr 20px;gap:12px;align-items:center;
  width:100%;min-height:76px;padding:18px 16px;text-align:left;
  background:none;border:0;cursor:pointer;color:inherit;text-decoration:none;font:inherit;
}
.svc-row-link:active,.svc-row-btn:active{transform:scale(.995);transition:transform .12s var(--ease-press)}
.svc-num{font-family:var(--font-sans);font-size:14px;color:var(--muted)}
.svc-name{font-family:var(--font-serif);font-size:20px;color:var(--ink);line-height:1.25}
.svc-teaser{display:block;font-family:var(--font-sans);font-size:15px;color:var(--muted);margin-top:4px;line-height:1.5}
.svc-chev{width:10px;height:10px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(-45deg);justify-self:end}
.svc-row-btn .svc-chev{transform:rotate(45deg)}
.svc-row.is-open .svc-row-btn .svc-chev{transform:rotate(-135deg)}
.svc-fallback-body{display:none;padding:0 16px 24px 52px;max-width:64ch}
.svc-row.is-open .svc-fallback-body{display:block}
.svc-fallback-body p{color:var(--muted);font-size:16px;margin:0 0 16px;text-wrap:pretty}
@media (min-width:1024px){
  .svc-name{font-size:23px}
  .svc-row-link,.svc-row-btn{grid-template-columns:56px 1fr 20px;padding:22px 24px}
  .svc-fallback-body{padding-left:80px}
}

/* Service detail page. */
.svc-detail{padding:0 0 72px}
.svc-detail .page-hero{padding:40px 0 48px}
.svc-kicker{font-family:var(--font-sans);font-weight:600;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.9);margin:0 0 14px}
.svc-kicker::before{content:"";display:block;width:28px;height:2px;background:var(--gold);margin-bottom:14px}
.svc-lede{font-size:19px;line-height:1.6;color:rgba(255,255,255,.88);max-width:44ch;margin:16px 0 28px}
.svc-body{padding:48px 0 0}
.svc-body h2{font-size:26px;margin:40px 0 16px}
.svc-body h2:first-child{margin-top:0}
.svc-facts{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.svc-facts li{padding-left:24px;position:relative;font-size:17px;line-height:1.6}
.svc-facts li::before{content:"";position:absolute;left:2px;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--gold)}
.svc-prose{font-size:17px;line-height:1.7;max-width:66ch;text-wrap:pretty;overflow-wrap:break-word}
.svc-related{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.svc-related a{display:inline-block;padding:10px 0;color:var(--navy);font-weight:600;font-size:17px;text-decoration:none;min-height:44px}
.svc-related a:hover{text-decoration:underline;text-underline-offset:3px}
.svc-related-extra{margin-top:8px;font-size:16px;color:var(--muted)}
.svc-related-extra a{color:var(--navy);font-weight:600}
.svc-closer{margin:56px 0 0;padding:40px 0 0;border-top:1px solid var(--hairline)}
.svc-closer .locked-line{margin-bottom:24px}
.talk-through{margin:20px 0 0;font-size:16px;color:var(--muted)}
.talk-through a{display:inline-block;min-height:44px;line-height:44px;padding:0 12px;color:var(--navy);font-weight:700}
.heritage-stamp{margin:24px 0 0;font-size:14px;color:var(--muted)}

/* Locked line: the grandfathered quote line, serif italic.
 * v1.2.5 (F1/F2): the base color is ink for light closers; dark-band
 * instances carry white variants (.quote-band above, .intake .locked-line
 * below). Base rule carries text-wrap:balance for all instances. */
.locked-line{font-family:var(--font-serif);font-style:italic;font-size:19px;line-height:1.5;color:var(--ink);text-wrap:balance}

/* Footer: four zones. */
@media (min-width:1024px){
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:48px}
}
.footer-col h2{letter-spacing:.16em}
.license-line{font-size:13.5px;color:var(--muted);margin-top:16px}

/* Quiet hours: the exact locked line under quote forms. */
.quiet-hours{font-size:14px;color:var(--muted);margin:16px 0 0}

/* ---------- 22. PAPER GRAIN (v1.2.6, S-6) ----------
 * Stationery micro-texture on LIGHT surfaces only. Navy fields stay flat
 * per the design contract: the gold CTA pops against flat navy, and grain
 * on dark reads as photographic noise.
 * One SVG fractal-noise data-URI, 160px tile, stitchTiles, desaturated,
 * rect at 0.05 opacity: luminance shift on cream is under 1.5%, no
 * contrast-token impact. Static: prefers-reduced-motion has nothing to
 * honor. Fully reversible: deleting this section restores v1.2.5 exactly. */
:root{
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
body,
.heritage,
.site-footer{
  background-image:var(--grain);
  background-size:160px 160px;
  background-repeat:repeat;
}

/* ---------- 23. CLIENT REVIEWS (v1.3.1) ----------
 * About page only: editorial, quiet. Three stacked verbatim quotes in a
 * single centered column, hairline dividers, no cards, no star graphics,
 * no carousel. Static: no animation, nothing for reduced-motion to honor.
 * The section carries zero CTAs; the foot link is a text link. */
.reviews-section{padding:64px 0 72px}
.reviews-inner{max-width:640px;margin:0 auto}
.reviews-kicker{text-align:center;margin-bottom:4px}
.review-item{margin:0;padding:44px 0;border-top:1px solid var(--hairline)}
.review-item:first-of-type{border-top:0}
.review-text{margin:0 0 18px}
.review-text p{font-family:var(--font-serif);font-size:19px;line-height:1.6;color:var(--navy-ink);margin:0}
.review-item--single .review-text p{font-size:24px;line-height:1.5}
.review-attr{margin:0}
.review-name{display:block;font-family:var(--font-sans);font-weight:600;font-size:14px;color:var(--ink);margin:0 0 6px}
.review-source{display:block;font-family:var(--font-sans);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.review-foot{margin:8px 0 0;text-align:center}
.reviews-quiet-link{display:inline-flex;align-items:center;min-height:44px;font-family:var(--font-sans);font-size:14px;color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.reviews-quiet-link:hover{color:var(--navy-deep)}
.reviews-fallback{padding:40px 0;text-align:center}
@media (min-width:1024px){
  .reviews-section{padding:80px 0 88px}
  .review-item{padding:48px 0}
}
