/* South Carolina Insurance Appraiser — "harbor ledger" design system
   Dark blue base (#153a70 / deep #0a1f3f), pale harbor tint, copper accent.
   Newsreader serif display + Albert Sans text. Squared, editorial, photo-led. */

:root {
  --n-950: #06142b;
  --n-900: #0a1f3f;
  --n-800: #0f2b55;
  --navy: #153a70;
  --n-600: #1f4f93;
  --sky: #8db3e2;
  --tint: #e9f0f9;
  --tint-2: #f4f7fc;
  --copper: #c2773a;
  --copper-d: #9a5823;
  --copper-l: #f6e6d6;
  --sand: #f8f5f0;
  --white: #fff;
  --ink: #0d1b2e;
  --text: #3a4658;
  --muted: #667387;
  --line: #dbe3ee;
  --ok: #24704a;
  --shade: linear-gradient(160deg, #1f4f93 0%, #153a70 45%, #0a1f3f 100%);
  --shadow-sm: 0 2px 10px rgba(10, 31, 63, .06);
  --shadow: 0 14px 40px rgba(10, 31, 63, .12);
  --shadow-lg: 0 30px 70px rgba(10, 31, 63, .22);
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --display: "Newsreader", "Iowan Old Style", "Times New Roman", serif;
  --body: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --head-h: 76px;
  --ease: cubic-bezier(.22, .9, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--n-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper-d); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; font-weight: 600; letter-spacing: -.012em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 500; }
h3 { font-size: 1.32rem; }
h1 em, h2 em { font-style: italic; color: var(--copper); }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; color: #fff; }

/* ---------- labels & buttons ---------- */
.kicker { display: flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-d); margin: 0 0 16px; }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--copper); flex: none; }
.kicker.lt { color: #f0c9a6; }
.kicker.lt::before { background: #e2a06a; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 .97rem/1.2 var(--body); padding: 15px 24px; border-radius: var(--r-sm); border: 0; background: var(--navy); color: #fff; text-decoration: none; cursor: pointer; transition: background .25s, transform .25s var(--ease), box-shadow .25s; box-shadow: 0 8px 20px rgba(21, 58, 112, .22); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: var(--n-800); color: #fff; transform: translateY(-2px); }
.btn.cu { background: var(--copper); color: #fff; box-shadow: 0 8px 20px rgba(194, 119, 58, .3); }
.btn.cu:hover { background: var(--copper-d); color: #fff; }
.btn.line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn.line:hover { background: var(--navy); color: #fff; }
.btn.ol { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn.ol:hover { background: #fff; color: var(--n-900); }
.btn.sm { padding: 10px 16px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.more { font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--copper); padding-bottom: 2px; }
.more::after { content: " →"; }
.more:hover { color: var(--copper-d); }

/* ---------- header (no backdrop-filter: the drawer lives outside it anyway) ---------- */
.head { position: sticky; top: 0; z-index: 60; background: var(--n-900); transition: background .3s, box-shadow .3s; }
.head .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); gap: 18px; }
.home .head { margin-bottom: calc(-1 * var(--head-h)); background: transparent; }
.home .head.solid, .head.solid { background: var(--n-900); box-shadow: 0 8px 30px rgba(6, 20, 43, .35); }
.brand, .brand:hover, .brand:focus, .brand:visited { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand b { display: block; font: 600 1.18rem/1.05 var(--display); color: #fff; letter-spacing: -.005em; }
.brand small { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #9fb6d6; margin-top: 4px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.menu li { position: relative; }
.menu > li > a, .menu > li > button { display: flex; align-items: center; gap: 6px; padding: 10px 13px; font: 600 .93rem var(--body); color: #e6edf7; text-decoration: none; background: none; border: 0; cursor: pointer; border-bottom: 2px solid transparent; }
.menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button { color: #fff; border-bottom-color: var(--copper); }
.chev { width: 11px; height: 11px; transition: transform .25s; }
.menu li.open .chev { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; list-style: none; margin: 0; border-top: 3px solid var(--copper); }
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.mega.cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 500px; }
.menu li.open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-size: .92rem; border-radius: var(--r-sm); }
.mega a:hover { background: var(--tint); color: var(--navy); }
.mega .all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.mega .all a { font-weight: 700; color: var(--copper-d); }
.head-cta { padding: 11px 18px; font-size: .9rem; }
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.3); background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.burger span { width: 20px; height: 2px; background: #fff; }

/* ---------- mobile drawer (sibling of the header) ---------- */
.drawer-bg { position: fixed; inset: 0; background: rgba(6, 20, 43, .6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 150; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(400px, 88vw); background: #fff; z-index: 151; transform: translateX(-100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; display: flex; flex-direction: column; }
.drawer-open .drawer { transform: none; visibility: visible; box-shadow: 20px 0 60px rgba(6, 20, 43, .35); }
.drawer-open .drawer-bg { opacity: 1; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--n-900); }
.drawer-top .brand b { font-size: 1.02rem; }
.drawer-close { width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; flex: none; }
.drawer-body { overflow-y: auto; padding: 8px 18px 20px; flex: 1; overscroll-behavior: contain; }
.drawer-body > ul { list-style: none; margin: 0; padding: 0; }
.drawer-body > ul > li { border-bottom: 1px solid var(--line); }
.drawer-body > ul > li > a, .acc-btn { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 15px 2px; font: 600 1.12rem var(--display); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.acc-btn .chev { width: 14px; height: 14px; color: var(--copper); }
.acc-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc-panel > ul { overflow: hidden; list-style: none; margin: 0; padding: 0 0 0 10px; border-left: 2px solid var(--copper-l); }
.acc-btn[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; }
.acc-panel a { display: block; padding: 8px 10px; color: var(--text); text-decoration: none; font-size: .97rem; }
.acc-panel a:hover { color: var(--navy); background: var(--tint); }
.acc-panel li:last-child { padding-bottom: 10px; }
.drawer-foot { padding: 16px 18px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--tint-2); }
.drawer-foot .btn { width: 100%; }
.drawer-foot small { text-align: center; color: var(--muted); }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: min(100vh, 900px); display: flex; align-items: center; color: #fff; overflow: hidden; padding: calc(var(--head-h) + 56px) 0 80px; background: var(--n-950); isolation: isolate; }
.hero-bg { position: absolute; inset: -8% 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,20,43,.94) 0%, rgba(10,31,63,.84) 42%, rgba(10,31,63,.45) 75%, rgba(10,31,63,.3) 100%), linear-gradient(0deg, rgba(6,20,43,.7), transparent 40%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { color: #f0b582; }
.hero .lede { font-size: 1.15rem; color: #d3deec; max-width: 620px; margin-bottom: 28px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .9rem; color: #c5d3e6; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 16px; height: 16px; color: #f0b582; flex: none; }
.lead-card { background: #fff; color: var(--text); border-radius: var(--r); border-top: 4px solid var(--copper); padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 12px; }
.lead-card h2 { font-size: 1.6rem; margin: 0; }
.lead-card .sub { font-size: .92rem; color: var(--muted); margin: 0 0 4px; }
.lead-card .fine { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); margin: 2px 0 0; }
.lead-card .fine svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

/* ---------- counters band ---------- */
.ledger { background: var(--n-900); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.ledger .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ledger div div { padding: 30px 22px; border-left: 1px solid rgba(255,255,255,.12); }
.ledger div div:first-child { border-left: 0; }
.ledger b { display: block; font: 500 clamp(2.2rem, 4vw, 3.1rem)/1 var(--display); color: #f0b582; }
.ledger span { display: block; margin-top: 8px; font-size: .9rem; color: #b8c8de; }

/* ---------- sections ---------- */
.sec { padding: 100px 0; }
.sec.tint { background: var(--tint-2); }
.sec.sand { background: var(--sand); }
.sec.deep { background: var(--n-900); color: #c8d5e7; }
.sec.deep h2, .sec.deep h3 { color: #fff; }
.sec.deep a:not(.btn) { color: #f0c9a6; }
.sec.deep a:not(.btn):hover { color: #fff; }
.sec.deep .form, .sec.deep .tool, .cta-photo .tool { color: var(--text); }
.sec.deep .form h3, .sec.deep .tool h3 { color: var(--ink); }
.sec.deep .form a:not(.btn), .sec.deep .tool a:not(.btn) { color: var(--n-600); }
.sec.deep .form a:not(.btn):hover, .sec.deep .tool a:not(.btn):hover { color: var(--copper-d); }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head.c { margin-inline: auto; text-align: center; }
.sec-head.c .kicker { justify-content: center; }
.sec-head p { font-size: 1.08rem; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.two.top { align-items: start; }
.two > * { min-width: 0; }

/* intro photo stack */
.photo-stack { position: relative; padding: 0 0 60px 40px; }
.photo-stack figure { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.photo-stack .p1 { aspect-ratio: 4 / 3; }
.photo-stack .p1 img, .photo-stack .p2 img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .p2 { position: absolute; left: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 6px solid #fff; }
.photo-stack figcaption { position: absolute; right: 16px; bottom: 76px; background: var(--n-900); color: #fff; font-size: .82rem; padding: 10px 14px; border-left: 3px solid var(--copper); max-width: 240px; }
.fitlist { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 64px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.fitlist > div { padding: 30px 32px; min-width: 0; }
.fitlist > div + div { border-left: 1px solid var(--line); background: var(--sand); }
.fitlist h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.fitlist h3 span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .9rem var(--body); }
.fitlist > div + div h3 span { background: var(--copper); }
.fitlist ul { margin: 0; padding-left: 1.1em; }
.fitlist li { margin-bottom: 6px; }

/* photo cards (services / tools / guides / locations) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--text); transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; min-width: 0; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; color: var(--text); }
.card .ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .ph img { transform: scale(1.07); }
.card .num { position: absolute; left: 0; bottom: 0; background: var(--n-900); color: #f0b582; font: 600 .82rem var(--body); letter-spacing: .1em; padding: 6px 12px; }
.card .cb { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3, .card h2 { font-size: 1.28rem; margin: 0; color: var(--ink); }
.card p { margin: 0; font-size: .95rem; }
.card .go { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: .88rem; color: var(--copper-d); }
.card .go::after { content: " →"; }
.card .meta { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cards.four .card h3, .cards.four .card h2 { font-size: 1.12rem; }
.cards.four .card .cb { padding: 16px 18px 18px; }

/* county marquee */
.marquee { overflow: hidden; background: var(--copper-l); border-block: 1px solid #ecd3bc; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marq 90s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { white-space: nowrap; font: italic 500 1.12rem var(--display); color: var(--copper-d); padding: 0 18px; }
.marquee span::after { content: "·"; margin-left: 36px; color: var(--copper); font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }

/* regions mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 14px; }
.region { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; isolation: isolate; grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; min-width: 0; }
.region:nth-child(1), .region:nth-child(2) { grid-column: span 3; }
.region img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.region:hover img { transform: scale(1.06); }
.region::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,20,43,.95) 15%, rgba(6,20,43,.62) 55%, rgba(6,20,43,.2)); }
.region h3 { color: #fff; margin: 0 0 6px; font-size: 1.45rem; }
.region p { margin: 0; font-size: .9rem; color: #d4dfee; }
.region .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.region .tags li { font-size: .74rem; font-weight: 700; letter-spacing: .05em; padding: 3px 9px; background: rgba(194,119,58,.85); border-radius: 2px; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--copper) 0 8px, transparent 8px 14px); }
.step { padding: 0 14px; text-align: center; position: relative; min-width: 0; }
.step .n { width: 56px; height: 56px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font: 500 1.35rem var(--display); border: 5px solid var(--tint-2); position: relative; }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { font-size: .9rem; margin: 0; }

/* tools split */
.tool-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: start; }
.tool-list { display: grid; gap: 12px; }
.trow { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); transition: box-shadow .3s, border-color .3s; }
.trow:hover { box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.trow .ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); }
.trow .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.trow:hover .ph img { transform: scale(1.08); }
.trow h3 { font-size: 1.08rem; margin: 0 0 2px; }
.trow p { margin: 0; font-size: .88rem; line-height: 1.5; }

/* storm strip */
.storms { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.storm { scroll-snap-align: start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-top: 3px solid var(--copper); border-radius: var(--r-sm); padding: 22px; min-width: 0; }
.storm b { display: block; font: 500 2.1rem/1 var(--display); color: #f0b582; }
.storm h3 { font-size: 1.15rem; margin: 10px 0 6px; }
.storm p { margin: 0; font-size: .9rem; color: #b8c8de; }

/* roles */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.role { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: #fff; min-width: 0; }
.role.us { border: 2px solid var(--navy); box-shadow: var(--shadow); }
.role h3 { font-size: 1.3rem; }
.role dl { margin: 0; display: grid; gap: 10px; }
.role dt { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.role dd { margin: 0; color: var(--ink); font-weight: 500; }

/* cities */
.citylist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.citylist a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); background: #fff; font-weight: 600; min-width: 0; }
.citylist a small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.citylist a svg { width: 16px; height: 16px; color: var(--copper); flex: none; }
.citylist a:hover { border-color: var(--navy); color: var(--navy); }

/* parallax CTA */
.cta-photo { position: relative; padding: 120px 0; color: #fff; overflow: hidden; isolation: isolate; text-align: center; background: var(--n-950); }
.cta-photo .bg { position: absolute; inset: -15% 0; width: 100%; height: 130%; object-fit: cover; z-index: -2; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6,20,43,.78); }
.cta-photo h2 { color: #fff; max-width: 820px; margin-inline: auto; }
.cta-photo p { color: #cfdbeb; max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; }
.cta-photo .btn-row { justify-content: center; }

/* contact block */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.lines { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 16px; }
.lines li { display: flex; gap: 14px; align-items: flex-start; }
.lines li > div { min-width: 0; }
.lines a, .foot-contact a, .lead-card a, .form a { overflow-wrap: anywhere; }
.lines .ic { width: 42px; height: 42px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-sm); flex: none; color: #f0b582; }
.lines .ic svg { width: 20px; height: 20px; }
.lines span { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #93a8c6; }
.lines a, .lines b { color: #fff; font-weight: 600; text-decoration: none; }
.sec.deep .lines a { color: #fff; }

/* ---------- forms ---------- */
label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
input, select, textarea { width: 100%; font: 500 .97rem var(--body); color: var(--ink); background: #fff; border: 1px solid #c9d4e3; border-radius: var(--r-sm); padding: 12px 13px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--n-600); box-shadow: 0 0 0 3px rgba(31,79,147,.15); }
textarea { min-height: 120px; resize: vertical; }
.form { background: #fff; color: var(--text); border-radius: var(--r); padding: 32px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--copper); }
.form h3 { margin-bottom: 4px; font-size: 1.55rem; color: var(--ink); }
.form .sub { font-size: .92rem; color: var(--muted); margin-bottom: 20px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid > div { min-width: 0; }
.fgrid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .84rem; color: var(--muted); margin: 0; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.hp { position: absolute !important; left: -5000px; }
.form-msg { margin-top: 14px; padding: 12px 14px; font-size: .93rem; display: none; border-radius: var(--r-sm); }
.form-msg.ok { display: block; background: #e5f3eb; color: #17472f; }
.form-msg.err { display: block; background: var(--copper-l); color: #6e3b13; }
.form-msg a { color: inherit; font-weight: 700; }

/* ---------- interior pages ---------- */
.page-hero { position: relative; padding: 76px 0 70px; color: #fff; overflow: hidden; isolation: isolate; background: var(--n-950); }
.page-hero .bg { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,20,43,.95) 0%, rgba(10,31,63,.86) 55%, rgba(10,31,63,.55) 100%); }
.page-hero h1 { color: #fff; font-size: clamp(2.05rem, 4.4vw, 3.4rem); max-width: 900px; }
.page-hero .lede { font-size: 1.12rem; max-width: 720px; color: #d3deec; margin-bottom: 26px; }
.page-hero .facts { display: flex; flex-wrap: wrap; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; gap: 0; }
.page-hero .facts div { padding: 2px 26px 2px 0; margin-right: 26px; border-right: 1px solid rgba(255,255,255,.18); }
.page-hero .facts div:last-child { border-right: 0; }
.page-hero .facts small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #93a8c6; font-weight: 700; }
.page-hero .facts b { font: 500 1.12rem var(--display); color: #fff; }
.crumbs { font-size: .84rem; color: #93a8c6; margin-bottom: 20px; }
.crumbs a { color: #d3deec; text-decoration: none; }
.crumbs a:hover { color: #f0b582; }
.crumbs span { margin: 0 8px; color: var(--copper); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; padding: 72px 0 96px; align-items: start; }
.prose { min-width: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: 8px; }
.prose ul { padding-left: 1.2em; }
.prose ul li::marker { color: var(--copper); }
.prose .lead-img { border-radius: var(--r); overflow: hidden; margin: 0 0 36px; aspect-ratio: 16 / 8; }
.prose .lead-img img { width: 100%; height: 100%; object-fit: cover; }
.note { background: var(--tint-2); border-left: 4px solid var(--copper); padding: 18px 22px; margin: 1.7em 0; font-size: .97rem; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.note b.h { display: block; font: 600 1.05rem var(--display); color: var(--n-800); margin-bottom: 4px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin: 1.4em 0; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--n-900); color: #fff; font-weight: 600; }
tbody th { color: var(--ink); font-weight: 600; }
.aside { position: sticky; top: 96px; display: grid; gap: 20px; min-width: 0; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.box-t { font-size: 1.18rem; margin-bottom: 12px; }
.box.call { background: var(--n-900); color: #c8d5e7; border: 0; border-top: 4px solid var(--copper); }
.box.call .box-t { color: #fff; }
.box.call .big { display: block; font: 600 1.4rem var(--display); color: #fff; text-decoration: none; margin: 6px 0 16px; }
.box.call .big:hover { color: #f0b582; }
.box.call .btn { width: 100%; }
.box ul { list-style: none; padding: 0; margin: 0; }
.box li a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 6px; border-bottom: 1px solid var(--tint); text-decoration: none; color: var(--ink); font-size: .93rem; }
.box li:last-child a { border-bottom: 0; }
.box li a:hover, .box li a[aria-current] { color: var(--navy); background: var(--tint-2); }
.box li a[aria-current] { font-weight: 700; }
.box li a span { color: var(--copper); }
.local { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 2em; }
.local > div { background: var(--sand); border-radius: var(--r); padding: 20px 22px; min-width: 0; }
.local h2 { font-size: 1.1rem; margin: 0 0 8px; font-family: var(--body); font-weight: 700; letter-spacing: .02em; }
.local ul { margin: 0; padding-left: 1.1em; font-size: .94rem; }
.local p { margin: 0; font-size: .94rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0 !important; margin: 0; }
.chips li { font-size: .8rem; font-weight: 600; padding: 4px 10px; background: #fff; border: 1px solid var(--line); border-radius: 2px; margin: 0; }
.chips li::marker { content: none; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.related a { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; text-decoration: none; color: var(--ink); font: 600 1.05rem var(--display); transition: border-color .2s, box-shadow .2s; min-width: 0; }
.related a:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); color: var(--navy); }
.related a small { display: block; font: 700 .7rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--copper-d); margin-bottom: 4px; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font: 600 1.1rem var(--display); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 1.7rem var(--body); color: var(--copper); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 18px; }
.faq .a p:last-child { margin: 0; }
.sec.deep .faq, .sec.deep .faq details { border-color: rgba(255,255,255,.14); }
.sec.deep .faq summary { color: #fff; }
.glossary dt { font: 600 1.18rem var(--display); color: var(--ink); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.glossary dd { margin: 4px 0 0; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.az a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 700; border-radius: var(--r-sm); }
.az a:hover { background: var(--navy); color: #fff; }
.filter { margin-bottom: 18px; }
.index-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.index-cols > div { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; min-width: 0; }
.index-cols h2 { font-size: 1.3rem; }
.index-cols ul { margin: 0; padding-left: 1.1em; }
.steplist { counter-reset: st; list-style: none; padding: 0; margin: 0; }
.steplist > li { position: relative; padding: 0 0 8px 64px; counter-increment: st; }
.steplist > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 500 1.2rem var(--display); }
.steplist > li::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--copper-l); }
.steplist h2 { margin-top: 0; padding-top: 4px; }

/* ---------- tools ---------- */
.tool { background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); color: var(--text); text-align: left; }
.tool-head { background: var(--n-900); color: #fff; padding: 14px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; font: 600 1.05rem var(--display); border-bottom: 3px solid var(--copper); }
.tool-head i { font: 600 .78rem var(--body); color: #f0c9a6; align-self: center; letter-spacing: .06em; text-transform: uppercase; }
.tool-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tool-in { padding: 28px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.tool-out { padding: 28px; background: var(--tint-2); border-left: 1px solid var(--line); display: grid; gap: 16px; align-content: start; min-width: 0; }
.tool .hint, .hint { display: block; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row2 > div { min-width: 0; }
.range { display: flex; align-items: center; gap: 12px; }
.range input { flex: 1; padding: 0; accent-color: var(--copper); border: 0; }
.range output { font-weight: 700; color: var(--navy); min-width: 48px; text-align: right; }
.out-big small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.out-big b { display: block; font: 500 clamp(2.1rem, 4vw, 2.8rem)/1.1 var(--display); color: var(--navy); }
.out-rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.out-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.out-rows b { color: var(--ink); white-space: nowrap; }
.out-msg { margin: 0; font-size: .93rem; background: #fff; border-left: 3px solid var(--copper); padding: 12px 14px; }
.stack { display: flex; height: 16px; border-radius: 2px; overflow: hidden; background: var(--line); }
.stack span { display: block; height: 100%; width: 0; transition: width .4s var(--ease); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 2px; display: block; }
.dep-table { width: 100%; font-size: .88rem; }
.dep-table th, .dep-table td { padding: 6px 4px; border: 0; }
.dep-table thead th { background: none; color: var(--muted); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.dep-table input { padding: 8px; font-size: .9rem; }
.dep-table .x { width: 32px; height: 32px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); cursor: pointer; color: var(--muted); font-size: 1.1rem; line-height: 1; }
.seg { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.seg label { flex: 1; margin: 0; text-align: center; padding: 10px; cursor: pointer; font-size: .88rem; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label:has(input:checked) { background: var(--navy); color: #fff; }
.days-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.days-grid > div { min-width: 0; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li { background: #fff; border-left: 4px solid var(--navy); padding: 12px 14px; font-size: .9rem; }
.timeline li.soon { border-left-color: var(--copper); }
.timeline li.past { border-left-color: #b8c3d2; opacity: .8; }
.timeline b { display: flex; justify-content: space-between; gap: 8px; color: var(--ink); }
.timeline em { font-style: normal; font-size: .78rem; color: var(--copper-d); white-space: nowrap; }
.quiz { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: q; }
.quiz li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .93rem; }
.yn { display: flex; gap: 6px; flex: none; }
.yn button { font: 700 .82rem var(--body); padding: 7px 13px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); cursor: pointer; color: var(--text); }
.yn .yes[aria-pressed="true"] { background: var(--ok); color: #fff; border-color: var(--ok); }
.yn .no[aria-pressed="true"] { background: var(--copper); color: #fff; border-color: var(--copper); }
.tool-wide .tool-body { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.gauge { width: 100%; max-width: 260px; margin: 0 auto; }
.gauge-num { text-align: center; font: 500 3rem/1 var(--display); color: var(--navy); margin-top: -46px; }
.todo-h { font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.split-bars { display: grid; gap: 10px; }
.split-bars div { display: grid; grid-template-columns: 120px minmax(0, 1fr) 90px; gap: 10px; align-items: center; font-size: .86rem; }
.split-bars .bar { height: 12px; background: var(--line); border-radius: 2px; overflow: hidden; }
.split-bars .bar i { display: block; height: 100%; width: 0; transition: width .4s var(--ease); }
.split-bars b { text-align: right; color: var(--ink); }
.disclaim { font-size: .82rem; color: var(--muted); margin-top: 14px; }

/* ---------- footer ---------- */
.foot { background: var(--n-950); color: #9fb1c9; padding: 80px 0 110px; font-size: .94rem; }
.foot a { color: #d3deec; text-decoration: none; }
.foot a:not(.brand):not(.btn):hover { color: #f0b582; text-decoration: underline; }
.foot .brand, .foot .brand:hover { color: #fff; text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-grid > div { min-width: 0; }
.foot-t { font: 600 1.05rem var(--display); color: #fff; margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-contact { display: grid; gap: 6px; margin-top: 18px; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; font-size: .86rem; }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-disc { font-size: .8rem; color: #7d8fa9; margin: 20px 0 0; max-width: 980px; }
.to-top { position: fixed; right: 18px; bottom: 22px; width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--copper); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; z-index: 50; box-shadow: var(--shadow); }
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.callbar { display: none; }

/* ---------- reveal (only once JS has run; without JS everything is visible) ---------- */
html:not(.no-js) .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
html:not(.no-js) .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .menu, .head-cta { display: none; }
  .burger { display: flex; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .steps::before { display: none; }
}
@media (max-width: 960px) {
  .hero .wrap, .two, .tool-split, .contact-grid, .layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .aside { position: static; }
  .cards, .roles, .index-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.four, .citylist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .region, .region:nth-child(1), .region:nth-child(2) { grid-column: span 1; }
  .region:nth-child(1) { grid-column: 1 / -1; }
  .ledger .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger div div:nth-child(3) { border-left: 0; }
  .ledger div div { border-top: 1px solid rgba(255,255,255,.08); }
  .tool-body, .tool-wide .tool-body { grid-template-columns: minmax(0, 1fr); }
  .tool-out { border-left: 0; border-top: 1px solid var(--line); }
  .sec { padding: 72px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .wrap { width: calc(100% - 32px); }
  .brand b { font-size: 1rem; }
  .brand small { display: none; }
  .brand svg { width: 38px; height: 38px; }
  .hero { min-height: 0; padding: calc(var(--head-h) + 30px) 0 50px; }
  .cards, .cards.four, .roles, .index-cols, .related, .citylist, .fitlist, .local, .row2, .fgrid, .days-grid { grid-template-columns: minmax(0, 1fr); }
  .fitlist > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .mosaic { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 230px; }
  .region:nth-child(1) { grid-column: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 16px; text-align: left; padding: 0; }
  .step .n { grid-row: span 2; margin: 0; }
  .photo-stack { padding-left: 0; }
  .photo-stack figcaption { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .page-hero .facts div { border-right: 0; margin-right: 0; padding-right: 22px; }
  .tool-in, .tool-out, .form, .lead-card { padding: 20px; }
  .quiz li { flex-direction: column; align-items: flex-start; }
  .split-bars div { grid-template-columns: 90px minmax(0, 1fr) 76px; }
  .trow { grid-template-columns: 88px minmax(0, 1fr); }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; box-shadow: 0 -6px 20px rgba(6,20,43,.25); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 8px; font-weight: 700; text-decoration: none; color: #fff; background: var(--n-900); }
  .callbar a svg { width: 18px; height: 18px; }
  .callbar a + a { background: var(--copper); }
  .to-top { bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html:not(.no-js) .rv { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
