/* Montgomery Tax & Accounting Services */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 450 600;
  font-display: swap;
  src: url("fonts/newsreader-v2-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/publicsans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0F273C;
  --navy-900: #0A1B2B;
  --navy-800: #13304A;
  --navy-700: #1C3D5C;
  --navy-line: rgba(245, 243, 232, .14);
  --cream: #F5F3E8;
  --cream-2: #EAE5D2;
  --cream-3: #DDD6BD;
  --paper: #FBFAF4;
  --brass: #D9A441;
  --brass-hi: #E8B85A;
  --brass-ink: #8A5F14;
  --ink: #102338;
  --ink-2: #3F5063;
  --on-navy: #F5F3E8;
  --on-navy-2: #C4CCD4;
  --green: #2F7D5B;
  --rust: #A8432C;
  --rule: rgba(15, 39, 60, .12);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 14px;
  --wrap: 1200px;
  --z-dropdown: 30;
  --z-sticky: 40;
  --z-overlay: 50;
  --z-toast: 60;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 .5em; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); letter-spacing: -0.028em; font-weight: 560; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); letter-spacing: -0.022em; font-weight: 560; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); }
h4 { font-size: 1.15rem; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 650; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 40px, 720px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: var(--z-toast); background: var(--brass); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.num, .tab { font-variant-numeric: tabular-nums lining-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Ledger texture: faint ruled lines like accounting paper */
.ledger-bg {
  background-color: var(--cream);
  background-image:
    linear-gradient(90deg, transparent 0 56px, rgba(168, 67, 44, .10) 56px 57px, transparent 57px),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule) 31px 32px);
}
.navy-bg { background: var(--navy); color: var(--on-navy); }
.navy-bg a:not(.btn) { color: var(--on-navy); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--brass);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.35em;
  border-radius: 999px; border: 2px solid transparent;
  font: 650 1rem/1.1 var(--sans); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-brass { background: var(--brass); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(217, 164, 65, .8); }
.btn-brass:hover { background: var(--brass-hi); box-shadow: 0 16px 30px -14px rgba(217, 164, 65, .9); }
.btn-ghost { border-color: rgba(245, 243, 232, .45); color: var(--on-navy); background: transparent; }
.btn-ghost:hover { border-color: var(--on-navy); background: rgba(245, 243, 232, .08); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-700); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--cream); }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 650; text-decoration: none; color: var(--brass-ink); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.navy-bg .link-arrow { color: var(--brass); }

/* ---------- Header ---------- */
.nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  height: var(--header-h);
  background-color: var(--navy);
  color: var(--on-navy);
  border-bottom: 1px solid transparent;
  transition: background-color .25s, box-shadow .25s;
}
.site-header.scrolled { background-color: var(--navy-900); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .6); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-navy); flex: none; }
.brand img { width: 30px; height: auto; transition: transform .35s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
.brand-name { display: flex; flex-direction: column; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.brand-name small { font-family: var(--sans); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-2); margin-top: 5px; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list > li > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  height: var(--header-h); padding: 0 14px;
  background: none; border: 0; color: var(--on-navy);
  font: 550 .97rem/1 var(--sans); text-decoration: none; cursor: pointer;
  position: relative;
}
.nav-list > li > a::after, .nav-trigger::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list > li > a:hover::after, .nav-trigger:hover::after, .nav-trigger[aria-expanded="true"]::after,
.nav-list > li > a[aria-current="page"]::after, .nav-trigger[aria-current="page"]::after { transform: scaleX(1); }
.chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.nav-trigger[aria-expanded="true"] .chev { transform: translateY(1px) rotate(-135deg); }
.header-call { min-height: 44px; padding: .6em 1.1em; font-size: .95rem; flex: none; }
.menu-toggle { display: none; }

/* Services mega panel: flush to the trigger, breathing room is padding inside */
.drop-menu {
  position: absolute; top: 100%; left: -180px; z-index: var(--z-dropdown);
  width: 760px; padding-top: 0;
}
.drop-menu[hidden] { display: none; }
.drop-inner {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 0;
  background: var(--paper); color: var(--ink); border-radius: 0 0 18px 18px;
  box-shadow: 0 30px 60px -24px rgba(10, 27, 43, .55); overflow: hidden;
  border-top: 3px solid var(--brass);
}
.drop-links { list-style: none; margin: 0; padding: 14px; display: grid; gap: 2px; }
.drop-links a { display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none; transition: background-color .2s; }
.drop-links a:hover, .drop-links a:focus-visible { background: var(--cream-2); }
.drop-links strong { display: block; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; }
.drop-links span { display: block; font-size: .88rem; color: var(--ink-2); line-height: 1.4; }
.drop-aside { background: var(--navy-800); color: var(--on-navy); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.drop-aside p { font-size: .92rem; color: var(--on-navy-2); margin: 0; }
.drop-aside .big { font-family: var(--serif); font-size: 1.5rem; color: var(--on-navy); line-height: 1.15; }

/* Hover preview cards for plain nav links (pointer devices only) */
.nav-peek { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 1041px) {
  .has-peek .nav-peek {
    display: block; position: absolute; top: 100%; left: 50%; z-index: var(--z-dropdown);
    width: 290px; padding: 0;
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .has-peek:hover .nav-peek, .has-peek:focus-within .nav-peek {
    opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
  }
  .nav-peek-card { background: var(--paper); color: var(--ink); border-radius: 0 0 14px 14px; border-top: 3px solid var(--brass); padding: 18px 20px; box-shadow: 0 24px 50px -24px rgba(10, 27, 43, .6); }
  .nav-peek-card strong { font-family: var(--serif); font-size: 1.15rem; display: block; margin-bottom: 4px; }
  .nav-peek-card p { font-size: .88rem; color: var(--ink-2); margin: 0 0 8px; line-height: 1.45; }
  .nav-peek-card em { font-style: normal; font-size: .8rem; font-weight: 650; color: var(--brass-ink); }
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px; order: 3;
    height: 44px; padding: 0 14px; border-radius: 999px;
    background: transparent; border: 1.5px solid rgba(245, 243, 232, .4); color: var(--on-navy);
    font: 600 .95rem var(--sans); cursor: pointer;
  }
  .menu-toggle .bars { width: 18px; height: 12px; position: relative; }
  .menu-toggle .bars::before, .menu-toggle .bars::after, .menu-toggle .bars i { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
  .menu-toggle .bars::before { top: 0; } .menu-toggle .bars i { top: 5px; } .menu-toggle .bars::after { bottom: 0; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars i { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }
  .main-nav { order: 3; margin-left: 0; }
  .header-call { margin-left: auto; }
  .nav-list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: 8px 20px 24px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
  }
  .nav-list[hidden] { display: none; }
  .nav-list > li > a, .nav-trigger { height: 56px; width: 100%; padding: 0 4px; font-size: 1.1rem; border-bottom: 1px solid var(--navy-line); justify-content: space-between; }
  .nav-list > li > a::after, .nav-trigger::after { display: none; }
  .drop-menu { position: static; width: auto; }
  .drop-inner { grid-template-columns: 1fr; border-radius: 12px; margin: 10px 0; }
  .drop-aside { display: none; }
}
@media (min-width: 1041px) { .nav-list[hidden] { display: flex; } }
@media (max-width: 560px) {
  .header-call .call-text { display: none; }
  .header-call { width: 44px; padding: 0; }
  .brand-name { font-size: 1.12rem; }
  .brand-name small { font-size: .56rem; letter-spacing: .08em; }
  .menu-toggle .label { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 80px); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(180deg, transparent 0 39px, rgba(245, 243, 232, .045) 39px 40px);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.hero::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; pointer-events: none;
  background: radial-gradient(circle, rgba(217, 164, 65, .16), transparent 62%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--on-navy); max-width: 14ch; font-size: clamp(2.5rem, 4.6vw, 4.1rem); }
.hero h1 em { font-style: normal; font-weight: 450; color: var(--brass); }
.hero-lead { font-size: 1.18rem; color: var(--on-navy-2); max-width: 54ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--navy-line); font-size: .87rem; font-weight: 550; color: var(--on-navy); background: rgba(245, 243, 232, .04); }
.chips li svg { width: 15px; height: 15px; color: var(--brass); }

/* The return card: a stylized 1040 that fills itself in */
.return-card {
  position: relative; background: var(--paper); color: var(--ink); border-radius: 18px;
  padding: 26px 26px 22px; box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .05);
  transform: rotate(1.2deg);
  font-size: .92rem;
}
.return-card::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; border-radius: 18px; background: #C9C2A6; z-index: -1; transform: rotate(-3deg); opacity: .28; }
.rc-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 8px; }
.rc-head .form { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; }
.rc-head .form small { display: block; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.rc-head .yr { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--ink-2); }
.rc-lines { list-style: none; margin: 0; padding: 0; }
.rc-lines li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed var(--rule); }
.rc-lines .ln { font-size: .72rem; font-weight: 700; color: var(--brass-ink); }
.rc-lines .v { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.rc-lines .total { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 4px; padding-top: 12px; }
.rc-lines .total .v { font-size: 1.7rem; color: var(--green); }
.rc-stamp {
  position: absolute; right: 22px; bottom: 16px;
  border: 3px solid var(--rust); color: var(--rust); border-radius: 10px;
  padding: 6px 12px; font: 800 .8rem/1.15 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-align: center;
  transform: rotate(-12deg); opacity: .85; mix-blend-mode: multiply;
}
.rc-note { margin: 16px 0 0; font-size: .75rem; color: var(--ink-2); max-width: 60%; min-height: 3.2em; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; max-width: 52ch; }
.navy-bg .section-head p { color: var(--on-navy-2); }
.section-head h2 { margin: 0; }
.kicker { font-family: var(--serif); font-style: normal; font-weight: 500; font-size: 1.15rem; letter-spacing: .005em; color: var(--brass-ink); margin-bottom: 10px; display: block; }
.navy-bg .kicker { color: var(--brass); }

/* Stat counters */
.stats { background: var(--navy-900); color: var(--on-navy); border-top: 1px solid var(--navy-line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid var(--navy-line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .n { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 500; line-height: 1; color: var(--brass); font-variant-numeric: tabular-nums; }
.stat p { margin: 10px 0 0; font-size: .95rem; color: var(--on-navy-2); line-height: 1.4; max-width: 24ch; }

/* Need picker */
.picker { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.picker-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pchip {
  font: 600 1rem/1.2 var(--sans); color: var(--navy); background: var(--paper);
  border: 1.5px solid var(--cream-3); border-radius: 999px; padding: 12px 18px; cursor: pointer;
  transition: transform .25s var(--ease), border-color .2s, background-color .2s, color .2s, box-shadow .25s;
  text-align: left;
}
.pchip:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 10px 20px -14px rgba(15, 39, 60, .6); }
.pchip[aria-expanded="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.picker-answers { position: relative; min-height: 260px; }
.panswer { background: var(--paper); border-radius: 20px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -40px rgba(15, 39, 60, .6); border: 1px solid var(--rule); }
.panswer[hidden] { display: none; }
.panswer h3 { margin-bottom: 12px; }
.panswer p { color: var(--ink-2); }
.panswer .empty-icon { width: 56px; margin-bottom: 16px; }

/* Services as a ledger list */
.ledger { border-top: 2px solid var(--ink); }
.ledger-row {
  position: relative; display: grid; grid-template-columns: 150px 1.1fr 1.4fr 44px; gap: 24px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink);
  transition: background-color .3s, padding .3s var(--ease);
}
.ledger-row .code { font: 700 .8rem var(--sans); letter-spacing: .08em; color: var(--brass-ink); }
.ledger-row h3 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 560; }
.ledger-row .line { color: var(--ink-2); margin: 0; font-size: 1rem; }
.ledger-row .arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy); display: grid; place-items: center; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.ledger-row .arrow svg { width: 18px; height: 18px; }
.ledger-row:hover { background: var(--paper); }
.ledger-row:hover .arrow { background: var(--navy); color: var(--cream); transform: rotate(-45deg); }
.peek {
  grid-column: 2 / 4; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease);
}
.peek > div { overflow: hidden; }
.peek ul { margin: 0; padding: 14px 0 2px; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.peek li { font-size: .88rem; font-weight: 550; background: var(--cream-2); padding: 6px 12px; border-radius: 999px; }
.peek em { display: block; font-style: normal; font-size: .85rem; font-weight: 700; color: var(--brass-ink); padding-top: 10px; }
@media (hover: hover) and (pointer: fine) {
  .ledger-row:hover .peek, .ledger-row:focus-visible .peek { grid-template-rows: 1fr; }
}

/* Calculator */
.calc-band { position: relative; overflow: hidden; }
.calc-band::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, transparent 0 79px, rgba(245, 243, 232, .04) 79px 80px); pointer-events: none; }
.calc { position: relative; background: var(--paper); color: var(--ink); border-radius: 24px; box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .8); overflow: hidden; }
.calc-tabs { display: flex; gap: 6px; padding: 10px; background: var(--cream-2); border-bottom: 1px solid var(--rule); }
.calc-tab { flex: 1; font: 650 1rem var(--sans); color: var(--ink-2); background: transparent; border: 0; border-radius: 14px; padding: 14px 18px; cursor: pointer; transition: background-color .25s, color .25s; text-align: center; }
.calc-tab small { display: block; font-weight: 500; font-size: .8rem; margin-top: 2px; }
.calc-tab[aria-selected="true"] { background: var(--paper); color: var(--navy); box-shadow: 0 6px 18px -10px rgba(15, 39, 60, .5); }
.calc-panel { display: grid; grid-template-columns: 1fr 1fr; }
.calc-panel[hidden] { display: none; }
.calc-inputs { padding: clamp(24px, 3.5vw, 44px); border-right: 1px solid var(--rule); }
.calc-output { padding: clamp(24px, 3.5vw, 44px); background: linear-gradient(180deg, var(--paper), var(--cream)); display: flex; flex-direction: column; }
.field { margin-bottom: 26px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.field label, .field .lbl { font-weight: 650; font-size: .97rem; }
.field output { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--navy); }
.field .hint { font-size: .82rem; color: var(--ink-2); margin: 8px 0 0; }
.seg { display: flex; background: var(--cream-2); border-radius: 12px; padding: 4px; gap: 4px; }
.seg label { flex: 1; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 9px; font-size: .9rem; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--navy); color: var(--cream); }
.seg input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 1px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--navy) var(--p), var(--cream-3) var(--p)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--cream-3); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--navy); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--brass); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--navy), 0 6px 14px -4px rgba(15, 39, 60, .6); transition: transform .2s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--brass); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--navy); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--brass-hi), 0 0 0 1.5px var(--navy); }
.result-label { font-weight: 650; font-size: .95rem; color: var(--ink-2); margin: 0 0 4px; }
.result-big { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-bottom: 8px; transition: color .3s; }
.result-big.good { color: var(--green); }
.result-big.owe { color: var(--rust); }
.result-sub { font-size: .95rem; color: var(--ink-2); margin-bottom: 22px; }
.breakdown { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1.5px solid var(--ink); }
.breakdown li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--rule); font-size: .95rem; }
.breakdown li span:last-child { font-weight: 650; font-variant-numeric: tabular-nums; }
.bracket-bar { margin-bottom: 8px; }
.bracket-bar .bar { display: flex; height: 38px; border-radius: 10px; overflow: hidden; background: var(--cream-2); }
.bracket-bar .seg-b { height: 100%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--cream); overflow: hidden; white-space: nowrap; transition: flex-basis .45s var(--ease); flex: 0 0 0%; }
.bracket-bar p { font-size: .82rem; color: var(--ink-2); margin: 8px 0 0; }
.compare { display: grid; gap: 14px; margin-bottom: 22px; }
.compare-row .top { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: 6px; }
.compare-row .top b { font-variant-numeric: tabular-nums; }
.compare-row .track { height: 16px; border-radius: 99px; background: var(--cream-2); overflow: hidden; }
.compare-row .fill { height: 100%; border-radius: 99px; background: var(--navy); width: 0; transition: width .45s var(--ease); }
.compare-row.s .fill { background: var(--brass); }
.calc-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .8rem; color: var(--ink-2); line-height: 1.5; }
.calc-foot p { margin: 0 0 10px; }
.calc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.calc-cta .btn { min-height: 46px; font-size: .95rem; }

/* Tips carousel */
.tips-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.tips-top h2 { margin: 0; max-width: 16ch; }
.car-btns { display: flex; gap: 10px; }
.car-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.car-btn:hover { background: var(--navy); color: var(--cream); }
.car-btn:active { transform: scale(.94); }
.car-btn svg { width: 20px; height: 20px; }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 360px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 28px; margin: 0 -20px; scrollbar-width: thin; scrollbar-color: var(--cream-3) transparent; overscroll-behavior-x: contain; }
.carousel.dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.tip {
  scroll-snap-align: start; position: relative; display: flex; flex-direction: column; min-height: 360px;
  background: var(--paper); border-radius: 20px; padding: 28px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--rule); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tip:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 30px 50px -30px rgba(15, 39, 60, .55); }
.tip .tag { font-size: .78rem; font-weight: 700; color: var(--brass-ink); margin-bottom: 18px; }
.tip h3 { font-size: 1.55rem; margin-bottom: 12px; }
.tip p { color: var(--ink-2); font-size: .98rem; }
.tip .link-arrow { margin-top: auto; }
.tip.featured { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.tip.featured p { color: var(--on-navy-2); }
.tip.featured .tag, .tip.featured .link-arrow { color: var(--brass); }
.tip .big-num { font-family: var(--serif); font-size: 4.2rem; line-height: .9; font-weight: 500; color: var(--brass); margin-bottom: 10px; }

/* Office strip */
.office { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.office-card { background: var(--navy); color: var(--on-navy); border-radius: 24px; padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.office-card::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 240px; height: 320px; background: url("images/mark-cream.webp") no-repeat center / contain; opacity: .06; transform: rotate(-12deg); }
.hours { list-style: none; margin: 0 0 20px; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--navy-line); font-size: .97rem; }
.hours li.today { color: var(--brass); font-weight: 650; }
.open-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 650; padding: 6px 12px; border-radius: 999px; background: rgba(245, 243, 232, .08); margin-bottom: 18px; }
.open-pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--on-navy-2); }
.open-pill.is-open i { background: #5FD19B; box-shadow: 0 0 0 0 rgba(95, 209, 155, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(95, 209, 155, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 209, 155, 0); } }
.address { font-style: normal; line-height: 1.55; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink); font: 600 clamp(1.15rem, 1.8vw, 1.35rem)/1.3 var(--serif); }
.faq-q .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--navy); position: relative; transition: transform .35s var(--ease), background-color .25s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: background-color .25s; }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--navy); }
.faq-q[aria-expanded="true"] .pm::before, .faq-q[aria-expanded="true"] .pm::after { background: var(--cream); }
.faq-a { overflow: hidden; }
.faq-a > div { padding: 0 60px 24px 0; color: var(--ink-2); }
.faq-a > div p:last-child { margin: 0; }

/* Where to next */
.next { padding: clamp(56px, 7vw, 96px) 0; background: var(--cream-2); }
.next h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 28px; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.next-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; min-height: 200px; background: var(--paper); border-radius: 18px; text-decoration: none; color: var(--ink); border: 1px solid var(--rule); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.next-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.next-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(15, 39, 60, .6); }
.next-card:hover::before { transform: scaleX(1); }
.next-card .lab { font-size: .8rem; font-weight: 700; color: var(--brass-ink); }
.next-card strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.15; }
.next-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.next-card .link-arrow { margin-top: auto; }

/* CTA band */
.cta-band { background: var(--navy); color: var(--on-navy); padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; left: -120px; top: -140px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(217, 164, 65, .14), transparent 65%); pointer-events: none; }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: center; }
.cta-grid h2 { color: var(--on-navy); margin: 0 0 10px; }
.cta-grid p { color: var(--on-navy-2); margin: 0; }
.contact-doors { display: grid; gap: 10px; }
.door { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 16px; background: rgba(245, 243, 232, .05); border: 1px solid var(--navy-line); text-decoration: none; color: var(--on-navy); transition: background-color .25s, transform .3s var(--ease), border-color .25s; }
.door:hover { background: rgba(245, 243, 232, .1); transform: translateX(4px); border-color: rgba(217, 164, 65, .5); }
.door .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--brass); color: var(--navy); display: grid; place-items: center; }
.door .ic svg { width: 22px; height: 22px; }
.door b { display: block; font-size: 1.05rem; }
.door span { font-size: .9rem; color: var(--on-navy-2); }
.door .go { font-size: 1.2rem; color: var(--brass); transition: transform .3s var(--ease); }
.door:hover .go { transform: translateX(4px); }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--on-navy-2); padding: 64px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h3 { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--on-navy-2); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--brass); }
.footer-brand img { width: 44px; margin-bottom: 16px; }
.footer-brand .name { font-family: var(--serif); font-size: 1.5rem; color: var(--on-navy); line-height: 1.15; margin-bottom: 12px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--navy-900); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .5); }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; font-weight: 650; font-size: .95rem; text-decoration: none; color: var(--on-navy); border: 1px solid var(--navy-line); }
  .action-bar a:first-child { background: var(--brass); color: var(--navy); border-color: var(--brass); }
  .action-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: 72px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: var(--on-navy); padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(180deg, transparent 0 39px, rgba(245, 243, 232, .04) 39px 40px); pointer-events: none; }
.page-hero .wrap { position: relative; }
.crumbs { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--on-navy-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--on-navy-2); text-decoration: none; }
.crumbs a:hover { color: var(--brass); }
.page-hero h1 { color: var(--on-navy); font-size: clamp(2.3rem, 4.6vw, 4rem); max-width: 18ch; }
.page-hero .lead { font-size: 1.15rem; color: var(--on-navy-2); max-width: 60ch; }
.svc-hero-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 48px; align-items: end; }
.glance { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 24px 26px; box-shadow: 0 40px 60px -40px rgba(0, 0, 0, .7); }
.glance h2 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 600; }
.glance dl { margin: 0; display: grid; }
.glance dl div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--rule); font-size: .92rem; }
.glance dt { color: var(--ink-2); }
.glance dd { margin: 0; font-weight: 600; }

/* Service body with sticky rail */
.svc-body { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.rail { position: sticky; top: calc(var(--header-h) + 28px); }
.rail p { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.rail ol { list-style: none; margin: 0 0 28px; padding: 0; border-left: 2px solid var(--cream-3); }
.rail ol a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-2); font-size: .95rem; transition: color .2s, border-color .2s; }
.rail ol a:hover, .rail ol a.active { color: var(--navy); border-left-color: var(--brass); font-weight: 600; }
.rail .btn { width: 100%; min-height: 46px; font-size: .95rem; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--brass-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a.btn { text-decoration: none; }
.prose a.btn-navy { color: var(--cream); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 700; background: var(--cream-2); }
.callout { background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 24px 26px; margin: 28px 0; }
.callout h3, .callout h4 { margin-top: 0; }
.callout.navy { background: var(--navy); color: var(--on-navy); border: 0; }
.callout.navy p { color: var(--on-navy-2); }
.callout.navy a:not(.btn) { color: var(--brass); }
.split-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.split-list li { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 16px 18px; margin: 0; }
.split-list li b { display: block; font-family: var(--serif); font-size: 1.15rem; margin-bottom: 4px; }

/* Checklist */
.checklist { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.checklist label { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 12px 14px; background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.checklist input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--navy); border-radius: 7px; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.checklist input::after { content: ""; width: 7px; height: 12px; border-right: 3px solid var(--cream); border-bottom: 3px solid var(--cream); transform: translateY(-2px) rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.checklist input:checked { background: var(--navy); }
.checklist input:checked::after { transform: translateY(-2px) rotate(45deg) scale(1); }
.checklist input:checked + span { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--brass); }
.checklist-meter { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--ink-2); margin-bottom: 18px; }
.checklist-meter .track { flex: 1; height: 8px; border-radius: 99px; background: var(--cream-3); overflow: hidden; }
.checklist-meter .fill { height: 100%; width: 0; background: var(--brass); border-radius: 99px; transition: width .4s var(--ease); }

/* Article */
.progress { position: fixed; top: var(--header-h); left: 0; right: 0; height: 4px; background: var(--brass); transform-origin: left; transform: scaleX(0); z-index: var(--z-sticky); }
.article-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); }
.article-hero .crumbs, .article-hero .crumbs a { color: var(--ink-2); }
.article-hero h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); max-width: 20ch; }
.article-hero .dek { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; color: var(--ink-2); max-width: 46ch; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--ink-2); margin-top: 20px; }
.short { background: var(--navy); color: var(--on-navy); border-radius: 20px; padding: 26px 30px; margin: 0 0 40px; }
.short h2 { font-size: 1.3rem; color: var(--brass); margin: 0 0 12px; font-weight: 600; }
.short ul { margin: 0; padding-left: 1.1em; }
.short li { margin-bottom: 6px; color: var(--on-navy); }
.pull { font-family: var(--serif); font-style: normal; font-weight: 450; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; color: var(--navy); margin: 40px 0; padding: 8px 0 8px 28px; border-left: 1px solid var(--brass); }
.article-body { padding-bottom: clamp(56px, 7vw, 96px); }

/* Tips hub */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.hub-grid .tip { min-height: 300px; }
.hub-grid .tip:first-child { grid-column: span 2; }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.quick div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--rule); }
.quick b { display: block; font-family: var(--serif); font-size: 1.25rem; margin-bottom: 6px; }
.quick p { margin: 0; color: var(--ink-2); font-size: .97rem; }

/* About */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.big-quote { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; font-weight: 450; color: var(--navy); margin: 0; }
.timeline { position: relative; padding: 0 0 0 44px; }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--cream-3); }
.timeline .tl-line { position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--brass); transform-origin: top; transform: scaleY(1); }
html.js .timeline .tl-line { transform: scaleY(0); }
.timeline li { position: relative; padding-bottom: 40px; }
.timeline li::before { content: ""; position: absolute; left: -40px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--navy); }
.timeline .yr { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--brass-ink); line-height: 1; margin-bottom: 6px; }
.timeline h3 { font-size: 1.35rem; margin-bottom: 6px; }
.timeline p { color: var(--ink-2); margin: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--on-navy); }
.values div { padding: 28px 28px 28px 0; }
.values div + div { padding-left: 28px; border-left: 1px solid var(--navy-line); }
.values b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--on-navy); margin-bottom: 8px; font-weight: 550; }
.values p { color: var(--on-navy-2); margin: 0; }

/* Contact */
.doors-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.door-big { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: 22px; background: var(--paper); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s; min-height: 250px; }
.door-big:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(15, 39, 60, .6); }
.door-big .ic { width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: var(--brass); display: grid; place-items: center; transition: transform .35s var(--ease); }
.door-big:hover .ic { transform: rotate(-10deg) scale(1.06); }
.door-big .ic svg { width: 26px; height: 26px; }
.door-big h2 { font-size: 1.6rem; margin: 0; }
.door-big p { margin: 0; color: var(--ink-2); }
.door-big .val { margin-top: auto; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); word-break: break-word; }
.door-big.primary { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.door-big.primary p { color: var(--on-navy-2); }
.door-big.primary .ic { background: var(--brass); color: var(--navy); }
.door-big.primary .val { color: var(--brass); }
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; }
.map-shell { position: relative; border-radius: 22px; overflow: hidden; min-height: 380px; background: var(--navy-800); color: var(--on-navy); display: grid; place-items: center; text-align: center; padding: 24px; }
.map-shell::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(245, 243, 232, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 243, 232, .06) 1px, transparent 1px); background-size: 36px 36px; }
.map-shell > * { position: relative; }
.map-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-pin { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--brass); }

/* Calculator page */
.method { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px 48px; }
.method h3 { font-size: 1.3rem; }
.method p, .method li { color: var(--ink-2); font-size: .97rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- Reveal (content visible by default; hidden only under html.js) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(20px); }
html.js [data-stagger] > * { opacity: 0; transform: translateY(18px); }
html.js.reveal-all [data-reveal], html.js.reveal-all [data-stagger] > * { opacity: 1; transform: none; }
html.js .hero [data-hero] { opacity: 0; transform: translateY(16px); }
html.js.reveal-all .hero [data-hero] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-stagger] > *, html.js .hero [data-hero] { opacity: 1 !important; transform: none !important; }
  html.js .timeline .tl-line { transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid, .picker, .office, .cta-grid, .about-intro, .visit, .svc-hero-grid { grid-template-columns: 1fr; }
  .return-card { max-width: 460px; transform: rotate(.8deg); }
  .section-head { grid-template-columns: 1fr; }
  .calc-panel { grid-template-columns: 1fr; }
  .calc-inputs { border-right: 0; border-bottom: 1px solid var(--rule); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-body { grid-template-columns: 1fr; }
  .rail { position: static; }
  .rail ol { display: none; }
  .rail .btn { width: auto; }
  .doors-big { grid-template-columns: 1fr; }
  .door-big { min-height: 0; }
  .hub-grid .tip:first-child { grid-column: auto; }
}
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 18px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .ledger-row { grid-template-columns: 1fr 44px; gap: 8px 16px; padding: 22px 4px; }
  .ledger-row .code { grid-column: 1 / -1; }
  .ledger-row .line { grid-column: 1 / 2; }
  .ledger-row .arrow { grid-row: 2 / 4; grid-column: 2; }
  .peek { display: none; }
  .next-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--navy-line); }
  .split-list { grid-template-columns: 1fr; }
  .tips-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .wrap, .narrow { width: min(100% - 32px, var(--wrap)); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .faq-a > div { padding-right: 0; }
  .calc-tab { padding: 12px 8px; font-size: .92rem; }
  .carousel { margin: 0 -16px; padding: 8px 16px 28px; grid-auto-columns: 82%; }
  .result-big { font-size: 2.9rem; }
  .return-card { padding: 20px 18px 18px; }
  .rc-stamp { right: 10px; }
}

/* Hours list on light surfaces */
.ledger-bg .hours li, .section:not(.navy-bg) > .wrap > div > .hours li { border-bottom-color: var(--rule); }
.ledger-bg .hours li.today { color: var(--brass-ink); }
.prose tbody th { background: none; font-weight: 600; }
@media (max-width: 560px) { .prose table { font-size: .86rem; } .prose th, .prose td { padding: 8px 6px; } }
@media (min-width: 1041px) {
  .hub-grid { grid-template-columns: repeat(3, 1fr); }
  .hub-grid .tip:first-child { grid-column: span 2; grid-row: span 2; }
  .hub-grid .tip:first-child h3 { font-size: 2.2rem; }
  .hub-grid .tip:first-child .big-num { font-size: 7rem; }
}

.result-big.neutral { color: var(--navy); }
.calc-tab small { white-space: nowrap; }
@media (max-width: 560px) { .calc-tabs { gap: 4px; padding: 6px; } .calc-tab { padding: 10px 4px; font-size: .86rem; } .calc-tab small { font-size: .7rem; } }
