/* Size-matched fallbacks: if a web font arrives late, the swap from the fallback barely changes line widths (keeps CLS near 0 on slow connections) */
@font-face { font-family: "Manrope Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 102%; }
@font-face { font-family: "Space Grotesk Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 110%; }@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/space-grotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); }

:root {
  --bg: #f6f1e7; --bg-2: #efe8d9; --paper: #fbf8f1;
  --ink: #16140f; --ink-2: #4d473c; --ink-3: #6f675a;
  --line: #e2d9c6; --line-2: #d4c9b2;
  --accent: #c4502f; --accent-ink: #a23f22; --accent-tint: #f3dfd4;
  --dark: #14120e; --dark-2: #1e1b16; --dark-line: #2f2b24; --dark-ink: #ece6d8; --dark-ink-2: #a39b8b;
  --ok: #4f6b3a;
  --sans: "Manrope", "Manrope Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --disp: "Space Grotesk", "Space Grotesk Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --edge: clamp(16px, 5vw, 64px);
  --max: 1200px;
  --r: 14px; --r-lg: 20px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-family: var(--disp); font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
em.it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.01em; }
::selection { background: var(--accent-tint); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--edge); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* labels */
.label { display: inline-flex; align-items: center; gap: 10px; font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.label::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 1px; }
.dark .label { color: var(--dark-ink-2); }
@media (max-width: 520px) { .hide-sm { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--sans); border: 1px solid transparent; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .25s var(--ease); white-space: nowrap; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: #2a261e; }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.dark .btn-line { border-color: var(--dark-line); color: var(--dark-ink); }
.dark .btn-line:hover { border-color: var(--dark-ink); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- header ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,253,249,.96); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.top.scrolled { border-bottom-color: var(--line); }
.top { transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.top.on-hero:not(.menu-open) { background: rgba(20,18,14,.9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); color: var(--dark-ink); border-bottom-color: transparent; }
.top.on-hero:not(.menu-open) .brand span em { color: var(--dark-ink-2); }
.top.on-hero:not(.menu-open) .nav-links a { color: rgba(236,230,216,.72); }
.top.on-hero:not(.menu-open) .nav-links a:hover { color: #fff; }
.top.on-hero:not(.menu-open) .nav-links a::after { background: #fff; }
.top.on-hero:not(.menu-open) .btn-ink { background: var(--bg); color: var(--ink); }
.top.on-hero:not(.menu-open) .btn-ink:hover { background: #fff; }
.top.on-hero:not(.menu-open) .menu-btn { border-color: rgba(236,230,216,.3); color: var(--dark-ink); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 var(--disp); letter-spacing: -.01em; margin-right: auto; }
.brand svg { width: 26px; height: 26px; }
.brand span em { font-style: normal; color: var(--ink-3); font-weight: 500; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { position: relative; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 6px 0; transition: color .2s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease); }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn span::before { transform: translateY(-6px); } .menu-btn span::after { transform: translateY(6px); }
.menu-btn[aria-expanded="true"] span { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::before { transform: rotate(0); opacity: 0; }
.menu-btn[aria-expanded="true"] span::after { transform: rotate(-90deg); }
.drawer { position: fixed; inset: 68px 0 0 0; z-index: 49; background: var(--bg); padding: 24px var(--edge) 32px; display: flex; flex-direction: column; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
.drawer.open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.drawer a.d { font: 500 30px/1.2 var(--disp); letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer .meta { margin-top: auto; display: grid; gap: 6px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) { .nav-links, .nav .btn { display: none; } .menu-btn { display: inline-grid; } }

/* ---------- hero: full-bleed, edge to edge ----------
   CWV notes: the image (LCP) is never hidden or faded, only settles via transform;
   headline lines slide up inside a clip (transform only); every box has fixed size -> CLS 0. */
.hero { position: relative; isolation: isolate; margin-top: -68px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: max(660px, min(100svh, 980px)); background: var(--dark); color: var(--dark-ink); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; left: -260px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(196,80,47,.22), transparent); animation: glow 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { to { transform: translate(120px, 80px) scale(1.15); } }
.hero-copy { position: relative; display: flex; flex-direction: column; padding: calc(68px + clamp(28px, 5vh, 64px)) 0 clamp(28px, 4vh, 44px) var(--edge); }
.hero-copy .in-col { flex: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: calc(var(--max) * .55 - var(--edge)); margin-left: auto; padding-right: clamp(24px, 4vw, 64px); }
.hero .label { color: var(--dark-ink-2); animation: fade-up .7s .05s var(--ease) both; }
.hero h1 { font-size: clamp(36px, 3.9vw, 60px); line-height: 1.04; letter-spacing: -.04em; color: #f6f1e7; margin: 16px 0 14px; max-width: 14em; text-wrap: balance; }
.hero .sub { font-size: clamp(15.5px, 1.15vw, 17px); color: var(--dark-ink-2); max-width: 46ch; animation: fade-up .8s .4s var(--ease) both; }

/* the owner's to-do list, crossed off one by one (paint-only background-size + transform/opacity) */

.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; animation: fade-up .8s .6s var(--ease) both; }
.hero-foot .small { flex: 1 1 150px; min-width: 0; font-size: 13px; line-height: 1.45; color: var(--dark-ink-2); }
.hero-foot .small a { color: #f6f1e7; font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(246,241,231,.35); transition: text-decoration-color .2s ease; }
.hero-foot .small a:hover { text-decoration-color: #f6f1e7; }

/* word-by-word reveal; words wrap naturally (no forced breaks) */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }
.hero h1 .w.u { padding-bottom: .26em; margin-bottom: -.26em; }
.hero h1 .w > span { display: inline-block; transform: translateY(115%); animation: line-up .9s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms); }
@keyframes line-up { to { transform: none; } }
.hero h1 .it { position: relative; display: inline-block; color: #ec7a55; padding-right: .06em; }
.hero h1 .it svg { position: absolute; left: 0; right: 0; bottom: -.04em; width: 100%; height: .16em; overflow: visible; }
.hero h1 .it path { fill: none; stroke: #ec7a55; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.1s 1s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero .btn-line { border-color: rgba(236,230,216,.28); color: var(--dark-ink); }
.hero .btn-line:hover { border-color: var(--dark-ink); }

@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hero-media { position: relative; min-height: 100%; overflow: hidden; background: #2a251d; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.1); } to { transform: none; } }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20,18,14,.72) 0, transparent 24%), linear-gradient(0deg, rgba(20,18,14,.55) 0, transparent 40%); }
.rating { position: absolute; z-index: 2; top: calc(68px + 28px); right: var(--edge); display: flex; align-items: center; gap: 10px; background: rgba(20,18,14,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(236,230,216,.18); color: #f6f1e7; border-radius: 999px; padding: 10px 16px 10px 12px; font-size: 13px; animation: float-in .8s .9s var(--ease) both; }
.rating b { font: 600 18px/1 var(--disp); }
.rating svg { color: #e9b44c; }

@keyframes float-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: calc(68px + 40px) var(--edge) 48px; }
  .hero-copy .in-col { max-width: none; padding-right: 0; }
  .hero-media { min-height: 0; aspect-ratio: 4 / 4.4; }
  .hero-media::before { background: linear-gradient(180deg, var(--dark) 0, transparent 22%), linear-gradient(0deg, rgba(20,18,14,.5) 0, transparent 40%); }
  .rating { top: 20px; right: 16px; }
  
  .hero-copy { padding-bottom: 36px; }
  /* on phones a text block is the LCP candidate, so it paints immediately */
  .hero .sub, .ledger { animation: none; }
  .top.on-hero:not(.menu-open) { background: rgba(20,18,14,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}

/* ---------- stats + channels ---------- */

@media (max-width: 900px) {   .stat:nth-child(even) { border-left: 1px solid var(--line); }   }

.marquee { overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; width: max-content; gap: 56px; animation: slide 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 56px; font: 500 15px/1 var(--disp); color: var(--ink-3); white-space: nowrap; }
.marquee span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- section scaffolding ---------- */
.sec { padding: clamp(72px, 10vw, 140px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2, .h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -.035em; margin-top: 18px; }
.sec-head p { color: var(--ink-2); max-width: 52ch; font-size: 17px; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- alternating section themes ----------
   Each theme re-scopes the colour tokens, so every component inside adapts on its own. */
.sec-white { --bg: #fffdf9; --paper: #f6f1e7; background: var(--bg); color: var(--ink); }
.accent {
  --bg: #b24527; --paper: #bc5033; --bg-2: #a63f22;
  --ink: #fff8f1; --ink-2: rgba(255,248,241,.92); --ink-3: rgba(255,248,241,.84);
  --line: rgba(255,248,241,.26); --line-2: rgba(255,248,241,.5);
  --accent: #16140f; --accent-ink: #16140f; --accent-tint: rgba(22,20,15,.22); --ok: #fff8f1;
  background: var(--bg); color: var(--ink);
}
.accent ::selection { background: rgba(22,20,15,.3); }
.accent .btn-accent { color: #fff8f1; }
.accent .btn-accent:hover { background: #2a261e; }
.accent .btn-ink { background: #fff8f1; color: #16140f; }
.accent .svc .out { background: rgba(22,20,15,.2); color: #fff8f1; }
.accent .tile.big { background: #fff8f1; border-color: #fff8f1; color: #16140f; }
.accent .tile.big:hover { border-color: #fff8f1; }
.accent .tile.big p { color: #4d473c; }
.accent .tile.big .n small { color: #b24527; }
.accent .ccard { --accent: #c4502f; --accent-ink: #a23f22; background: var(--dark); color: #f6f1e7; }
.accent .ccard .btn-accent:hover { background: var(--accent-ink); }
.strip { background: var(--dark); }
.strip .marquee { padding: 26px 0; border-top: 1px solid var(--dark-line); }
.strip .marquee span { color: var(--dark-ink-2); }
.strip .marquee span::after { background: #4a443a; }
.strip .marquee span.g { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #e0704d; }
.strip .marquee span.g::after { display: none; }

/* ---------- video testimonials (click-to-load facade: no video bytes until play) ---------- */

.vcard { margin: 0; }
.vframe { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 90% at 20% 10%, #3a2f24 0, var(--dark) 60%); color: var(--dark-ink); isolation: isolate; }
.vframe img.poster, .vframe video, .vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.vframe img.poster { transition: transform 1.2s var(--ease); }
.vframe::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(20,18,14,.75) 0, rgba(20,18,14,.1) 50%, rgba(20,18,14,.25) 100%); transition: opacity .4s ease; }
.vframe.playing::after { opacity: 0; }
.vplay { position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.vplay .btn-ring { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(246,241,231,.95); color: var(--ink); transition: transform .45s var(--ease), background-color .25s ease; }
.vplay .btn-ring::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(246,241,231,.5); animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.vplay svg { margin-left: 4px; }
.vframe:hover img.poster { transform: scale(1.04); }
.vframe:hover .btn-ring, .vplay:focus-visible .btn-ring { transform: scale(1.08); background: var(--accent); color: #fff; }
.vmeta { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; align-items: end; gap: 16px; pointer-events: none; }
.vmeta b { display: block; font: 500 20px/1.2 var(--disp); letter-spacing: -.015em; color: #f6f1e7; }
.vmeta span { font-size: 13px; color: var(--dark-ink-2); }
.vmeta .dur { flex: none; font: 600 12px/1 var(--sans); letter-spacing: .06em; padding: 7px 10px; border-radius: 999px; background: rgba(20,18,14,.55); color: #f6f1e7; }
.vframe .ph { position: absolute; top: 20px; left: 22px; z-index: 2; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dark-ink-2); }
.vframe.playing .vplay, .vframe.playing .vmeta, .vframe.playing .ph { display: none; }

@media (max-width: 760px) {  .vplay .btn-ring { width: 68px; height: 68px; } }

/* ---------- services ---------- */
.svc-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 72px; }
.svc-aside { position: sticky; top: 100px; align-self: start; }
.svc-aside p { color: var(--ink-2); margin: 20px 0 28px; max-width: 36ch; }
.svc-list { border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px minmax(0, 1fr) 40px; gap: 16px; align-items: start; padding: 28px 0; }
.svc summary::-webkit-details-marker { display: none; }
.svc .ix { font: 500 13px/1.9 var(--disp); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.svc h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.025em; transition: color .2s ease; }
.svc .group { display: block; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.svc .sum { margin-top: 10px; color: var(--ink-2); max-width: 60ch; }
.svc .tog { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .25s ease, border-color .25s ease, transform .35s var(--ease), color .25s ease; }
.svc summary:hover h3 { color: var(--accent-ink); }
.svc summary:hover .tog { border-color: var(--ink); }
.svc[open] .tog { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); color: var(--bg); }
.svc .body { padding: 0 56px 32px 64px; }
.svc .out { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--ok); background: #e7ebdc; border-radius: 999px; padding: 6px 12px; margin-bottom: 20px; }
.svc .pts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.svc .pts div { padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.svc .pts b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
/* progressive smooth open where supported (Chrome 131+) */
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .svc::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
  .svc[open]::details-content { height: auto; }
}
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } .svc-aside { position: static; } .svc .body { padding: 0 0 28px; } .svc summary { grid-template-columns: 32px minmax(0,1fr) 40px; } }
@media (max-width: 600px) { .svc .pts { grid-template-columns: 1fr; } }

/* ---------- comparison: self-manage vs AtlasBNB vs traditional PM ---------- */
.cmp-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font: 600 11.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); padding-top: 16px; padding-bottom: 16px; }
.cmp tbody th { width: 22%; font: 500 15.5px/1.35 var(--disp); letter-spacing: -.01em; color: var(--ink); }
.cmp td { width: 26%; color: var(--ink-2); }
.cmp .us { background: #fbefe8; color: var(--ink); }
.cmp thead .us { background: var(--ink); color: #f6f1e7; }
.cmp thead .us b { display: block; font: 600 16px/1.2 var(--disp); letter-spacing: -.01em; text-transform: none; color: #fff; margin-top: 4px; }
.cmp .us strong { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 700; }
.cmp small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.cmp-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.split > div { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: var(--bg); }
.split > div:first-child { background: var(--ink); color: #f6f1e7; border-color: var(--ink); }
.split h3 { font-size: 22px; margin: 14px 0 16px; }
.split ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.split li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.split li svg { margin-top: 4px; }
.split > div:first-child li { color: #d9d1c2; }
.split > div:first-child .label { color: #b9b1a1; }
.split > div:last-child li { color: var(--ink-2); }
@media (max-width: 820px) {
  .cmp-wrap { border: 0; border-radius: 0; background: transparent; overflow: visible; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td, .cmp tbody th { display: block; width: auto; }
  .cmp thead { display: none; }
  .cmp tr { border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; background: var(--bg); }
  .cmp tbody th { background: var(--paper); padding: 14px 16px; }
  .cmp td { padding: 12px 16px 12px 120px; position: relative; border-bottom: 1px solid var(--line); }
  .cmp td::before { content: attr(data-l); position: absolute; left: 16px; top: 12px; width: 96px; font: 600 10.5px/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
  .cmp td:last-child { border-bottom: 0; }
  .split { grid-template-columns: 1fr; }
}

/* ---------- ownership promise (accent) ---------- */
.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pcard { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px 24px; background: rgba(255,248,241,.06); transition: transform .4s var(--ease), background-color .3s ease; }
.pcard:hover { transform: translateY(-4px); background: rgba(255,248,241,.1); }
.pcard .pi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff8f1; color: #b24527; margin-bottom: 40px; }
.pcard h3 { font-size: 21px; margin-bottom: 10px; }
.pcard p { color: var(--ink-2); font-size: 14.5px; }

.charge .label { color: #b9b1a1; }
.charge .label::before { background: #e0704d; }

@media (max-width: 1000px) { .promise { grid-template-columns: 1fr 1fr; } }

@media (max-width: 520px) { .promise { grid-template-columns: 1fr; } .pcard .pi { margin-bottom: 24px; } }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 28px 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .num { font: 500 13px/1 var(--disp); color: var(--accent); }
.step h3 { font-size: 26px; margin: 48px 0 12px; }
.step p { color: var(--ink-2); font-size: 15px; }
.step .bar { position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.step + .step .bar { left: 0; }
.in .step .bar, .step.in .bar { transform: scaleX(1); }
.step:nth-child(2) .bar { transition-delay: .15s; } .step:nth-child(3) .bar { transition-delay: .3s; } .step:nth-child(4) .bar { transition-delay: .45s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step, .step + .step { padding: 24px 20px 28px 0; border-left: 0; } .step:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); } .step h3 { margin-top: 28px; } .step:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step:nth-child(even) { padding-left: 0; border-left: 0; } .step + .step { border-top: 1px solid var(--line); } }

/* ---------- dark technology ---------- */
.dark { background: var(--dark); color: var(--dark-ink); }

.tech { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r-lg); padding: 28px; transition: border-color .3s ease, transform .4s var(--ease); }
.tile:hover { border-color: #4a443a; transform: translateY(-3px); }
.tile .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #2a261f; color: #f0b79f; margin-bottom: 36px; }
.tile h3 { font-size: 22px; margin-bottom: 10px; }
.tile p { color: var(--dark-ink-2); font-size: 15px; }
.tile.big { grid-column: span 5; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; background: var(--accent); border-color: var(--accent); color: #fff; }
.tile.big:hover { border-color: #e06a47; }
.tile.big .n { font: 500 clamp(80px, 10vw, 148px)/.9 var(--disp); letter-spacing: -.05em; }
.tile.big .n small { font-size: .3em; letter-spacing: -.02em; margin-left: 6px; }
.tile.big p { color: rgba(255,255,255,.86); max-width: 34ch; }
.tile.std { grid-column: span 7; }
.tile.half { grid-column: span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tile.half > div .ic { margin-bottom: 24px; }
.pms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pms span { font-size: 12.5px; padding: 6px 12px; border: 1px solid var(--dark-line); border-radius: 999px; color: var(--dark-ink); }
.bars { display: flex; align-items: end; gap: 6px; height: 56px; margin-top: 24px; }
.bars i { flex: 1; background: #3a342b; border-radius: 3px 3px 0 0; transform-origin: bottom; transform: scaleY(.15); transition: transform 1s var(--ease); }
.bars i.hi { background: #f0b79f; }
.in .bars i { transform: scaleY(1); }
@media (max-width: 900px) { .tile.big, .tile.std, .tile.half { grid-column: 1 / -1; } .tile.half { grid-template-columns: 1fr; } }

/* overnight timeline + side tiles */
.night-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: stretch; }
.tech-side { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tech-side .tile { grid-column: auto; }
.tech-side .tile.big { grid-row: auto; flex-direction: row; align-items: flex-end; gap: 24px; }
.tech-side .tile.big .n { font-size: clamp(64px, 6.4vw, 104px); }
.tech-side .tile.big h3 { margin-bottom: 6px; }
.tech-side .tile .ic { margin-bottom: 18px; }
.tech-side .tile.half { grid-template-columns: 1fr 1fr; }
.night { background: var(--dark); color: var(--dark-ink); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 34px); }
.night header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--dark-line); font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dark-ink-2); }
.night header em { font-style: normal; letter-spacing: .08em; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--dark-line); }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before, .tl::after { content: ""; position: absolute; left: 67px; top: 22px; bottom: 22px; width: 1px; background: var(--dark-line); }
.tl::after { background: #e0704d; transform-origin: top; transform: scaleY(0); transition: transform 2.6s var(--ease) .2s; }
.night.in .tl::after, html:not(.js) .tl::after { transform: none; }
.tl li { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 26px; align-items: center; padding: 14px 0; border-bottom: 1px dashed rgba(236,230,216,.08); }
.tl li:last-child { border-bottom: 0; }
.tl li::before { content: ""; position: absolute; left: 63px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--dark); border: 1.5px solid #e0704d; }
.tl time { font: 500 14px/1 var(--disp); color: var(--dark-ink-2); font-variant-numeric: tabular-nums; }
.tl span { font: 500 clamp(15px, 1.25vw, 17px)/1.35 var(--disp); letter-spacing: -.01em; color: #f6f1e7; }
.tl i { font-style: normal; font-size: 11.5px; font-weight: 600; color: #9cc27c; background: rgba(156,194,124,.12); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.js .night .tl li { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.25s + var(--k) * .3s); }
.js .night.in .tl li { opacity: 1; transform: none; }
@media (max-width: 1000px) { .night-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .tl::before, .tl::after { left: 51px; }
  .tl li { grid-template-columns: 42px minmax(0, 1fr); gap: 20px; }
  .tl li::before { left: 47px; }
  .tl i { grid-column: 2; justify-self: start; margin-top: -4px; }
  .tech-side .tile.big { flex-direction: column; align-items: flex-start; }
  .tech-side .tile.half { grid-template-columns: 1fr; }
}

/* ---------- team / about ---------- */

.av { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font: 600 16px/1 var(--disp); flex: none; }

.fact:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }

@media (max-width: 520px) {  .fact:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- markets ---------- */
.markets { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 72px; }

.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pgrid div { background: var(--paper); padding: 24px 20px; }
.pgrid .n { font: 500 36px/1 var(--disp); letter-spacing: -.035em; }
.pgrid .l { margin-top: 8px; font-size: 13px; color: var(--ink-3); line-height: 1.4; }

@media (max-width: 900px) { .markets { grid-template-columns: 1fr; } }

/* state tile map (pure HTML/CSS, no map library) */
.mapcard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 30px); }
.usmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); gap: clamp(3px, .5vw, 6px); }
.usmap li { grid-column: calc(var(--c) + 1); grid-row: calc(var(--r) + 1); aspect-ratio: 1; display: grid; place-items: center; border-radius: clamp(4px, .6vw, 8px); font: 600 clamp(8px, .85vw, 11.5px)/1 var(--sans); letter-spacing: .04em; color: rgba(255,248,241,.55); background: rgba(255,248,241,.08); transition: transform .3s var(--ease), background-color .3s ease; }
.usmap li.on { background: #fff8f1; color: #b24527; font-weight: 800; }
.usmap li:hover { transform: scale(1.12); }
.js .mapcard .usmap li { opacity: 0; transform: scale(.6); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--c) * 45ms + var(--r) * 25ms); }
.js .mapcard.in .usmap li { opacity: 1; transform: none; }
.js .mapcard.in .usmap li:hover { transform: scale(1.12); transition-delay: 0s; }
.maplegend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.maplegend span { display: inline-flex; align-items: center; gap: 8px; }
.maplegend i { width: 12px; height: 12px; border-radius: 3px; background: rgba(255,248,241,.16); }
.maplegend i.on { background: #fff8f1; }

/* ---------- testimonials ---------- */
.feature { text-align: center; max-width: 920px; margin: 0 auto; }
.feature blockquote { margin: 24px 0 0; font: 400 clamp(28px, 3.8vw, 50px)/1.18 var(--disp); letter-spacing: -.03em; }
.feature blockquote em { font-family: var(--serif); font-style: italic; color: var(--accent); letter-spacing: -.01em; }
.feature .who { margin-top: 28px; display: inline-flex; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-3); text-align: left; }
.feature .who b { display: block; color: var(--ink); }
.reviews { margin-top: clamp(48px, 6vw, 80px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews .track { display: flex; width: max-content; gap: 16px; animation: slide 60s linear infinite; }
.reviews:hover .track, .reviews:focus-within .track { animation-play-state: paused; }
.rev { width: 360px; flex: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 18px; }

.rev p { font-size: 15px; color: var(--ink-2); flex: 1; }
.rev .who { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.rev .who b { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }
.rev .av { width: 36px; height: 36px; font-size: 14px; background: var(--bg-2); color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.badges span b { font: 600 16px/1 var(--disp); color: var(--ink); margin-right: 6px; }
@media (max-width: 520px) { .rev { width: 290px; } }

/* ---------- FAQ + contact ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; }
.faq-aside { position: sticky; top: 100px; align-self: start; }
.faq-aside .intro { color: var(--ink-2); margin: 20px 0 32px; }
.ccard { background: var(--ink); color: var(--bg); border-radius: var(--r-lg); padding: 28px; }
.ccard h3 { font-size: 24px; letter-spacing: -.02em; margin: 14px 0 10px; }
.ccard p { color: #b9b1a1; font-size: 14.5px; }
.ccard .label { color: #b9b1a1; }

.ccard .btn-line { border-color: #3a352c; color: var(--bg); }
.ccard .btn-line:hover { border-color: var(--bg); }
.ccard .meta { margin-top: 18px; display: grid; gap: 6px; font-size: 13px; color: #9d9585; }
.ccard .meta a { color: #f6f1e7; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* assessment form */
.aform { margin-top: 22px; }
.asteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 18px; }
.asteps span { height: 3px; border-radius: 3px; background: #3a352c; overflow: hidden; position: relative; }
.asteps span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.asteps span.on::after { transform: none; }
.astep { border: 0; margin: 0; padding: 0; min-width: 0; }
.astep + .astep { margin-top: 22px; }
.js .astep + .astep { margin-top: 0; }
.js .astep:not(.cur) { display: none; }
.js .astep.cur { animation: fade-up .45s var(--ease) both; }
.astep legend { padding: 0; margin-bottom: 14px; font: 500 18px/1.3 var(--disp); letter-spacing: -.01em; color: #f6f1e7; }
.astep legend b { display: block; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #9d9585; margin-bottom: 8px; }
.astep .q { margin: 14px 0 8px; font-size: 13px; font-weight: 600; color: #cfc7b7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #3a352c; font-size: 13.5px; font-weight: 500; color: #d9d1c2; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.chips label:hover span { border-color: #6a6253; }
.chips input:checked + span { background: #f6f1e7; border-color: #f6f1e7; color: #16140f; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fld { display: grid; gap: 6px; margin-bottom: 12px; }
.fld span { font-size: 12.5px; font-weight: 600; color: #cfc7b7; }
.fld em { font-style: normal; font-weight: 400; color: #9d9585; }
.fld input { min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid #3a352c; background: #1f1c17; color: #f6f1e7; font: 500 15px var(--sans); transition: border-color .2s ease, box-shadow .2s ease; }
.fld input::placeholder { color: #6f675a; }
.fld input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196,80,47,.3); }
.aform .aerr { margin: 10px 0 0; font-size: 13px; color: #f0a58b; }
.aform .aerr:empty { display: none; }
.anav { display: flex; gap: 10px; margin-top: 18px; }
.anav .btn { flex: 1; min-height: 46px; }
.anav .btn-line { flex: 0 0 auto; }
.adone[hidden], .aform [hidden] { display: none !important; }
.adone { display: grid; justify-items: start; gap: 8px; padding: 18px 0 4px; animation: fade-up .5s var(--ease) both; }
.adone b { font: 500 20px/1.2 var(--disp); color: #f6f1e7; }
.adone span { color: #b9b1a1; font-size: 14px; }
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font: 500 clamp(17px, 1.6vw, 20px)/1.35 var(--disp); letter-spacing: -.015em; transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq summary i { flex: none; width: 28px; height: 28px; position: relative; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq[open] summary i::after { transform: rotate(0); }
.faq .a { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 68ch; }
@supports selector(::details-content) {
  .faq::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq[open]::details-content { height: auto; }
}
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-aside { position: static; } .faq .a { padding-right: 0; } }

/* ---------- CTA band + footer ---------- */
.band { padding: clamp(80px, 11vw, 150px) 0 clamp(56px, 7vw, 96px); }

.band h2 { font-size: clamp(48px, 7.4vw, 108px); line-height: .95; letter-spacing: -.045em; }
.band p { color: var(--dark-ink-2); font-size: 17px; margin-bottom: 28px; }

.foot { border-top: 1px solid var(--dark-line); margin-top: clamp(64px, 8vw, 110px); padding-top: 48px; display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px 40px; }
.foot .brand { color: var(--dark-ink); }
.foot .brand span em { color: var(--dark-ink-2); }
.foot .fnote { color: var(--dark-ink-2); font-size: 14px; margin-top: 16px; max-width: 32ch; }
.foot h4 { font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dark-ink-2); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; }
.foot ul a { color: var(--dark-ink); opacity: .85; transition: opacity .2s ease; }
.foot ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border: 1px solid var(--dark-line); border-radius: 50%; display: grid; place-items: center; transition: border-color .2s ease, background-color .2s ease; }
.social a:hover { border-color: var(--dark-ink); }
.legal { margin-top: 48px; padding: 24px 0 40px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 12.5px; color: var(--dark-ink-2); }
@media (max-width: 900px) {  .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* ---------- mobile sticky CTA ---------- */
.mcta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; transform: translateY(140%); transition: transform .45s var(--ease); }
.mcta .btn { width: 100%; box-shadow: 0 16px 32px -12px rgba(20,18,14,.5); }
.mcta.on { transform: none; }
@media (max-width: 720px) { .mcta { display: block; } }

/* ---------- scroll reveal (only below the fold; transform + opacity only -> no CLS) ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .marquee .track, .reviews .track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee [aria-hidden="true"], .reviews [aria-hidden="true"] { display: none; }
  .progress { display: none; }
}

/* =========================================================
   Multi-page additions (sub-page hero, areas, state pages)
   ========================================================= */
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.top.on-hero:not(.menu-open) .nav-links a[aria-current="page"] { color: #fff; }
.drawer a.d[aria-current="page"] { color: var(--accent-ink); }

/* sub-page hero: dark, same family as the home hero */
.phero { position: relative; isolation: isolate; overflow: hidden; margin-top: -68px; padding: calc(68px + clamp(48px, 9vh, 110px)) 0 clamp(56px, 9vh, 104px); background: var(--dark); color: var(--dark-ink); }
.phero::before { content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; left: -280px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(196,80,47,.24), transparent); animation: glow 9s ease-in-out infinite alternate; pointer-events: none; }
.phero::after { content: attr(data-mark); position: absolute; z-index: -1; right: max(var(--edge), calc(50% - var(--max) / 2 + var(--edge))); bottom: -.16em; font: 600 clamp(140px, 24vw, 340px)/1 var(--disp); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(236,230,216,.12); pointer-events: none; animation: mark-in 1.4s .2s var(--ease) both; }
@keyframes mark-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
/* photo behind the sub-page hero, under a black overlay (real <img> so it loads early for LCP) */
.phero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: settle 2.4s var(--ease) both; }
.phero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(20,18,14,.93) 0%, rgba(20,18,14,.82) 40%, rgba(20,18,14,.58) 72%, rgba(20,18,14,.45) 100%), linear-gradient(0deg, rgba(20,18,14,.8) 0%, rgba(20,18,14,0) 38%), linear-gradient(180deg, rgba(20,18,14,.65) 0%, rgba(20,18,14,0) 26%); }
.phero::before, .phero::after { z-index: 0; }
.phero > .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) { .phero-shade { background: linear-gradient(180deg, rgba(20,18,14,.78) 0%, rgba(20,18,14,.86) 60%, rgba(20,18,14,.7) 100%); } }
.phero .crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 26px; padding: 0; list-style: none; font-size: 13px; color: var(--dark-ink-2); }
.phero .crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.phero .crumbs a:hover { color: #fff; }
.phero .label { color: var(--dark-ink-2); }
.phero h1 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1; letter-spacing: -.045em; color: #f6f1e7; margin: 20px 0 22px; max-width: 15em; }
.phero h1 .it { color: #ec7a55; }
.phero .lede { font-size: clamp(16px, 1.3vw, 19px); color: var(--dark-ink-2); max-width: 58ch; }
.phero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.phero .btn-line { border-color: rgba(236,230,216,.28); color: var(--dark-ink); }
.phero .btn-line:hover { border-color: var(--dark-ink); }
.chipsrow { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: 13.5px; color: var(--dark-ink-2); }
.chipsrow b { font: 500 20px/1 var(--disp); letter-spacing: -.02em; color: #f6f1e7; margin-right: 6px; }

/* generic card grid used on sub-pages */

.icard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; background: var(--paper); transition: transform .4s var(--ease), border-color .3s ease; }
.icard:hover { transform: translateY(-4px); border-color: var(--line-2); }
.icard .num { font: 500 13px/1 var(--disp); color: var(--accent); }
.icard h3 { font-size: 21px; margin: 28px 0 10px; }
.icard p { color: var(--ink-2); font-size: 15px; }

/* areas: state cards */
.area-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.area-search { position: relative; flex: 1 1 280px; max-width: 380px; }
.area-search input { width: 100%; min-height: 48px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: 500 15px var(--sans); }
.area-search input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.area-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.area-key { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ink-3); }
.area-key span { display: inline-flex; align-items: center; gap: 8px; }
.area-key i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
 .area-key i.act { background: var(--ink); }
.states { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.scard { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 132px; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: transform .35s var(--ease), border-color .25s ease, background-color .25s ease; }
.scard .ab { font: 500 28px/1 var(--disp); letter-spacing: -.03em; color: var(--ink-3); }
.scard .nm { display: block; font: 500 16px/1.25 var(--disp); letter-spacing: -.01em; color: var(--ink); margin-top: 18px; }
.scard .st { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.scard.act .ab { color: var(--ink); }
.scard.act .st { color: var(--ink-2); font-weight: 600; }
.scard.act::after { content: ""; position: absolute; top: 18px; right: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
/* linked states (Texas, Georgia) look like every other card; only the hover and arrow hint at the link */
a.scard .ab { color: var(--ink); }
a.scard .st { color: var(--ink-2); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
a.scard .st svg { transition: transform .3s var(--ease); }
a.scard:hover { transform: translateY(-4px); border-color: var(--line-2); }
a.scard:hover .st svg { transform: translateX(4px); }
.scard[hidden] { display: none; }
.states-empty { display: none; padding: 24px 0; color: var(--ink-3); }
.states-empty.on { display: block; }
.js .states.rv .scard { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .25s ease, background-color .25s ease; transition-delay: calc(var(--i, 0) * 14ms); }
.js .states.rv.in .scard { opacity: 1; transform: none; }
.js .states.rv.in a.scard:hover { transform: translateY(-4px); transition-delay: 0s; }

/* state pages */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.why .h2 { margin-bottom: 20px; }
.why > div > p { color: var(--ink-2); font-size: 17px; }
.why-list { border-top: 1px solid var(--line); }
.why-list > div { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.why-list .n { font: 500 13px/1.8 var(--disp); color: var(--accent); }
.why-list h3 { font-size: 21px; margin-bottom: 6px; }
.why-list p { color: var(--ink-2); font-size: 15px; }

.rules { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px 72px; align-items: start; }
.rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rules li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.rules .fine { margin-top: 22px; font-size: 13px; color: var(--ink-3); }
.revs2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.revs2 .rev { width: auto; }

@media (max-width: 900px) { .why, .rules { grid-template-columns: 1fr; } .revs2 { grid-template-columns: 1fr; } }

/* contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; align-items: start; }

.cinfo { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cinfo a, .cinfo div { display: block; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cinfo small { display: block; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.cinfo b { font: 500 clamp(18px, 1.7vw, 22px)/1.3 var(--disp); letter-spacing: -.01em; }
.cinfo a:hover b { color: var(--accent-ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* illustration cards (own SVG art, lazy-loaded with fixed ratio -> no CLS) */
.art { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: #efe6d4; }
.art img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.art:hover img { transform: scale(1.035); }
.accent .art { border-color: rgba(255,248,241,.22); box-shadow: 0 30px 60px -36px rgba(20,18,14,.55); }
.art.wide { aspect-ratio: 21 / 8; margin-bottom: clamp(32px, 4vw, 48px); }
.art.wide img { height: 100%; object-fit: cover; }
.svc-aside .art { margin-top: 28px; max-width: 420px; }

.why .art, .rules .art { margin-top: 28px; }
.reach-col .art { margin-bottom: 8px; }
.media-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px 64px; align-items: center; margin-top: clamp(56px, 7vw, 96px); }
.media-split h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; margin: 16px 0 14px; }
.media-split p { color: var(--ink-2); font-size: 16.5px; }
.media-split ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.media-split li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .media-split { grid-template-columns: 1fr; } .svc-aside .art { max-width: none; } }
@media (max-width: 640px) { .art.wide { aspect-ratio: 16 / 10; } }

/* home: full-bleed assessment section (photo + black overlay + prominent form) */
.assess { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--dark-ink); }
.assess-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.assess-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(22,16,11,.9) 0%, rgba(22,16,11,.68) 45%, rgba(22,16,11,.42) 72%, rgba(22,16,11,.55) 100%), linear-gradient(0deg, rgba(22,16,11,.5), rgba(22,16,11,0) 45%), linear-gradient(180deg, rgba(22,16,11,.45), rgba(22,16,11,0) 30%); }
.assess-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 72px; align-items: center; }
.assess .label { color: var(--dark-ink-2); }
.assess h2 { font-size: clamp(36px, 4.4vw, 62px); line-height: 1; letter-spacing: -.04em; color: #f6f1e7; margin: 18px 0 18px; }
.assess h2 .it { color: #ec7a55; }
.assess .lede { color: var(--dark-ink-2); font-size: 17px; max-width: 48ch; }
.assess-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.assess-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; color: #d9d1c2; font-size: 15.5px; }
.assess-list li b { display: block; color: #f6f1e7; font-weight: 600; margin-bottom: 2px; }
.assess-list i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(236,112,85,.16); color: #ec7a55; font-style: normal; }
.assess .chipsrow { margin-top: 36px; }
.assess .ccard { position: relative; background: rgba(27,24,19,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(236,230,216,.14); box-shadow: 0 40px 90px -30px rgba(0,0,0,.75); padding: clamp(24px, 3vw, 36px); }
.assess .ccard::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(236,112,85,.7), rgba(236,112,85,0) 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

@media (max-width: 900px) { .assess-grid { grid-template-columns: 1fr; } .assess-shade { background: rgba(20,18,14,.76); } }

/* home: featured portrait video testimonial */
.vfeature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: center; }
.vcard-tall { width: 100%; max-width: 400px; justify-self: center; }
.vframe.tall { aspect-ratio: 9 / 16; box-shadow: 0 40px 80px -40px rgba(20,18,14,.55); }
.vframe.tall::after { background: linear-gradient(0deg, rgba(20,18,14,.8) 0, rgba(20,18,14,0) 38%, rgba(20,18,14,0) 80%, rgba(20,18,14,.35) 100%); }
.vframe.tall .ph { color: #f6f1e7; }
.vquote { margin: 18px 0 18px; font: 500 clamp(26px, 2.7vw, 38px)/1.18 var(--disp); letter-spacing: -.03em; color: var(--ink); }
.vquote .it { color: var(--accent); }
.vsub { color: var(--ink-2); font-size: 16px; margin-bottom: 18px; }
.vhl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.vhl li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font: italic 400 15.5px/1.45 var(--serif); color: var(--ink-2); }
.vhl li b { display: block; font: 600 14.5px/1.3 var(--sans); font-style: normal; color: var(--ink); margin-bottom: 3px; }
.vhl li i { width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-ink); }
.vresult { margin-top: 22px; padding: 18px 20px; border-radius: var(--r); background: var(--ink); color: #f6f1e7; font: 500 17px/1.45 var(--disp); letter-spacing: -.01em; }
.vresult .label { display: flex; color: #b9b1a1; margin-bottom: 10px; }
@media (max-width: 900px) { .vfeature { grid-template-columns: 1fr; } .vcard-tall { max-width: 340px; } }

/* "Who's behind it" v2: founder card + principles */
.team { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: stretch; }
.fcard { position: relative; isolation: isolate; overflow: hidden; margin: 0; min-height: 560px; border-radius: var(--r-lg); background: var(--dark); color: var(--dark-ink); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3vw, 36px); }
.fcard > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.fcard:hover > img { transform: scale(1.04); }
.fcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,14,.62) 0%, rgba(20,18,14,.35) 35%, rgba(20,18,14,.88) 72%, rgba(20,18,14,.96) 100%); }
.fcard .top-row { display: flex; justify-content: space-between; align-items: center; }
.fcard .label { color: #d9d1c2; }
.mono { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: #f6f1e7; color: var(--dark); font: 600 38px/1 var(--disp); letter-spacing: -.04em; }
.mono::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px dashed rgba(236,112,85,.8); animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fcard h3 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -.035em; color: #fff; margin: 22px 0 6px; }
.fcard .role { color: #cfc7b7; font-size: 15px; }
.ftags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ftags span { font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(246,241,231,.1); border: 1px solid rgba(246,241,231,.18); color: #f6f1e7; }
.fstats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(246,241,231,.16); }
.fstats div + div { padding-left: 14px; border-left: 1px solid rgba(246,241,231,.16); }
.fstats b { display: block; font: 500 26px/1 var(--disp); letter-spacing: -.03em; color: #fff; }
.fstats span { display: block; margin-top: 6px; font-size: 12px; color: #b9b1a1; }
.team-copy { display: flex; flex-direction: column; justify-content: center; }
.team-copy .h2 { margin-bottom: 20px; }
.team-copy > p { color: var(--ink-2); font-size: 17px; max-width: 58ch; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.pillar { position: relative; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: transform .4s var(--ease), border-color .3s ease; }
.pillar:hover { transform: translateY(-3px); border-color: var(--line-2); }
.pillar .pi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: #f0b79f; margin-bottom: 18px; }
.pillar .n { position: absolute; top: 20px; right: 20px; font: 500 12px/1 var(--disp); color: var(--ink-3); }
.pillar h3 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--ink-2); }
.stackrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 26px; font-size: 13px; color: var(--ink-3); }
.stackrow b { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.stackrow span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; }
.team-copy .link { margin-top: 24px; align-self: flex-start; }
@media (max-width: 960px) { .team { grid-template-columns: 1fr; } .fcard { min-height: 480px; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } .mono { width: 92px; height: 92px; font-size: 32px; } }

/* =========================================================
   Home page "deck": section-by-section slides
   Native CSS scroll-snap (no scroll-jacking) + transform/opacity transitions only -> CLS 0.
   ========================================================= */
html.deck { scroll-snap-type: y mandatory; scroll-padding-top: 68px; }

/* giant outlined slide number */

/* terracotta sweep across the top on arrival */

/* content rises into focus; slides you leave recede slightly */

/* dot navigation (tab-like labels on hover) */

.deck-nav button { position: relative; display: block; width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(246,241,231,.55); cursor: pointer; transition: transform .35s var(--ease), background-color .3s ease; }
.deck-nav button:hover { background: #fff; transform: scale(1.3); }
.deck-nav button[aria-current="true"] { background: #e0704d; transform: scale(1.55); }
.deck-nav button span { position: absolute; right: 22px; top: 50%; transform: translate3d(8px, -50%, 0); white-space: nowrap; padding: 6px 11px; border-radius: 999px; background: #14120e; color: #f6f1e7; font: 600 12px/1 var(--sans); letter-spacing: .02em; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .3s var(--ease); }
.deck-nav button:hover span, .deck-nav button:focus-visible span { opacity: 1; transform: translate3d(0, -50%, 0); }
/* prev / next + counter */

.deck-ctrl button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(246,241,231,.2); background: transparent; color: #f6f1e7; display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .3s var(--ease); }
.deck-ctrl button:hover { background: #e0704d; border-color: #e0704d; }
.deck-ctrl button:active { transform: scale(.94); }
.deck-ctrl button[disabled] { opacity: .35; pointer-events: none; }

/* phones, short screens, reduced motion: no forced snapping, no deck chrome */
@media (max-width: 900px), (max-height: 620px) {
  html.deck { scroll-snap-type: y proximity; }

}
@media (prefers-reduced-motion: reduce) {
  html.deck { scroll-snap-type: none; }

}

/* channel strip now lives inside the hero (spans both columns) */
.hero > .strip { grid-column: 1 / -1; min-width: 0; margin-left: 0; margin-right: 0; overflow: hidden; }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Home deck v2: one page at a time, "newspaper" page transitions (desktop only)
   Layout is applied by CSS from first paint (hero is .is-active in the HTML) -> no CLS.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html.js.deck, html.js.deck body { height: 100%; overflow: hidden; }

html.js.deck .progress { animation: none; transform: scaleX(var(--deck-p, 0)); transition: transform .9s var(--ease); }

  /* incoming page: slides in like a fresh sheet laid on the stack */

/* outgoing page: settles back into the pile */

/* shade that darkens the page underneath */

/* newspaper double rule that runs under the masthead */

/* columns being "set": content slides in from the left, one line after another */

}

/* ---------- deck v3: fit pages to one screen (desktop) + phone deck ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js.deck .mcta { display: none !important; }
  
}
/* desktop & tablet landscape: compact spacing and centre each page vertically */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {

/* owner story: video sized from the screen height */

/* services: tighter accordion rows */
  html.js.deck .svc summary { padding: 18px 0; }

/* compare */

/* promise */

/* how it works: shorter photo banner */

/* technology */

/* team */

/* testimonials + FAQ */

html.js.deck .faq summary { padding: 15px 0; }
  /* footer page */

}
/* phones & small tablets: same deck, swipe to turn, compact bottom controls */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {

html.js.deck .deck-ctrl button { width: 36px; height: 36px; }

}

/* short laptop screens: tuck away secondary details so Compare / Technology fit */

/* hero: assessment form card over the photo (same font sizes as the main form) */
.hero-form { position: absolute; z-index: 3; right: clamp(18px, 3vw, 44px); bottom: clamp(18px, 4vh, 44px); width: min(400px, calc(100% - 36px)); max-height: calc(100% - 150px); overflow: auto; border-radius: var(--r-lg); background: rgba(20,18,14,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(236,230,216,.14); box-shadow: 0 36px 80px -30px rgba(0,0,0,.75); animation: float-in .9s .6s var(--ease) both; scrollbar-width: thin; }
.hero-form .aform { margin-top: 16px; }
@media (max-width: 900px) {
  .hero-media { aspect-ratio: auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 96px 16px 16px; }
  .hero-form { position: relative; right: auto; bottom: auto; width: 100%; max-height: none; overflow: visible; }
}

/* section CTAs to the free assessment slide */
.sec-cta-col { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sec-cta-col p { color: var(--ink-2); max-width: 52ch; font-size: 17px; }
.team-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.team-ctas .link { margin-top: 0; }
.feature-cta { margin-top: 26px; display: flex; justify-content: center; }
.svc-aside .sec-cta { margin-top: 4px; }

/* =========================================================
   deck v4: each page fits one screen by LAYOUT (fonts unchanged).
   Some secondary images / lines are hidden in slide mode only.
   ========================================================= */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  /* heading-left layout */

html.js.deck #promise > .wrap > :not(.sec-head), html.js.deck #how > .wrap > :not(.sec-head), html.js.deck #markets > .wrap > :not(.sec-head) { grid-column: 2; }

/* owner story: full-height video left, words right */

/* services: 2 x 3 card grid instead of a long accordion */

html.js.deck #services .svc summary { grid-template-columns: 30px minmax(0, 1fr) 36px; gap: 10px; padding: 16px 0; }
  
  html.js.deck #services .svc .body { padding: 0 0 18px; }

/* technology: timeline + two tiles */

/* team */

/* footer page */
  
}
/* shorter laptop screens (e.g. 1366x768): trim a little more content */

/* deck v4 tuning */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  
  html.js.deck #services .svc summary { padding: 14px 0; }

}

/* deck v4 tuning 2 */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  html.js.deck #compare .cmp tbody tr:nth-child(4), html.js.deck #compare .cmp tbody tr:nth-child(6) { display: none; }
}

@media (min-width: 901px) and (max-height: 880px) and (prefers-reduced-motion: no-preference) {
  html.js.deck #compare .cmp tbody tr:nth-child(5) { display: none; }

}

/* deck v4 tuning 3: footer page headline gets the full width (2 lines instead of 4) */

/* deck v4 tuning 4: spacing only */

/* deck v4: hero fits one screen (fonts unchanged) */

/* phone deck: hero flows top to bottom and scrolls inside its page */

/* ---------- portfolio (markets) v2: map card + numbers + market chips ---------- */
.pf { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: stretch; }
.pf-map { border-radius: var(--r-lg); padding: clamp(18px, 2.2vw, 28px); background: #fff8f1; color: #16140f; box-shadow: 0 30px 60px -36px rgba(20,18,14,.55); }
.pf-map-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.pf-map-head .label { color: #6f675a; }
.pf-map-head .label::before { background: #c4502f; }
.pf-key { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #4d473c; }
.pf-key i { width: 12px; height: 12px; border-radius: 3px; background: #c4502f; }
.pf-map .usmap li { background: #efe6d4; color: #a39b8b; }
.pf-map .usmap li.on { position: relative; background: #c4502f; color: #fff; }
.pf-map .usmap li.on::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(196,80,47,.55); animation: pf-ping 2.6s ease-out infinite; }
.pf-map .usmap li.on:nth-child(3n)::after { animation-delay: .9s; }
.pf-map .usmap li.on:nth-child(3n+1)::after { animation-delay: 1.7s; }
@keyframes pf-ping { 0% { box-shadow: 0 0 0 0 rgba(196,80,47,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(196,80,47,0); } }
.pf-side { display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.pf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: var(--r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.pf-stats div { padding: 18px 18px 16px; background: var(--paper); }
.pf-stats b { display: block; font: 500 36px/1 var(--disp); letter-spacing: -.035em; }
.pf-stats span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.pf-markets { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }

.accent .pf-stats div { background: rgba(255,248,241,.07); }

@media (max-width: 900px) { .pf { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pf-map .usmap li.on::after { animation: none; } }

.pf-map { display: flex; flex-direction: column; }
.pf-map .usmap { margin: auto 0; }
.pf-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; padding-top: 16px; border-top: 1px solid #e6dccb; }
.pf-facts span { font-size: 13px; line-height: 1.35; color: #6f675a; }
.pf-facts span + span { padding-left: 14px; border-left: 1px solid #e6dccb; }
.pf-facts b { display: block; font: 500 24px/1 var(--disp); letter-spacing: -.03em; color: #16140f; margin-bottom: 6px; }

/* hero form centred on the photo, with a soft spotlight behind it */
.hero-media { display: grid; place-items: center; padding: calc(68px + 40px) clamp(20px, 3vw, 44px) 48px; }
.hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(60% 55% at 50% 55%, rgba(20,18,14,.55), rgba(20,18,14,0) 72%); }
.hero-form { position: relative; right: auto; bottom: auto; width: min(420px, 100%); max-height: none; overflow: visible; }

@media (max-width: 900px) {
  .hero-media { display: grid; place-items: center; padding: 96px 16px 24px; }
}

/* ===== Closing band v2 ("the last page"): photo, full-width headline, CTAs + contact card (all pages) ===== */
.band { position: relative; isolation: isolate; overflow: hidden; }
.band-photo { position: absolute; z-index: -2; top: 0; right: 0; width: 62%; height: min(100%, 780px); pointer-events: none; }
.band-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 0%, rgba(20,18,14,.72) 38%, rgba(20,18,14,.2) 100%), linear-gradient(0deg, var(--dark) 2%, rgba(20,18,14,0) 60%); }
.band-top .label { margin-bottom: 22px; }
.band-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.band .band-copy p { margin: 0 0 24px; max-width: 44ch; }
.band-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.band-card { border: 1px solid var(--dark-line); border-radius: 20px; background: rgba(20,18,14,.74); overflow: hidden; }
.bc-head { display: flex; align-items: center; gap: 12px; padding: 15px 22px; border-bottom: 1px dashed var(--dark-line); font: 600 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dark-ink-2); }
.bc-live { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #8fbf68; }
.bc-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #8fbf68; animation: bc-ping 2.4s ease-out infinite; }
@keyframes bc-ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3); opacity: 0; } }
.bc-cells { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.bc-cells a { position: relative; display: grid; gap: 10px; align-content: start; padding: 20px 22px 22px; transition: background-color .2s ease; }
.bc-cells a + a { border-left: 1px dashed var(--dark-line); }
.bc-cells small { font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dark-ink-2); }
.bc-cells span { font: 500 clamp(17px, 1.7vw, 21px)/1.3 var(--disp); letter-spacing: -.01em; overflow-wrap: anywhere; transition: color .2s ease; }
.bc-cells svg { position: absolute; top: 20px; right: 20px; color: var(--dark-ink-2); transition: transform .3s var(--ease), color .2s ease; }
.bc-cells a:hover { background: rgba(236,230,216,.04); }
.bc-cells a:hover span, .bc-cells a:hover svg { color: #f0b79f; }
.bc-cells a:hover svg { transform: translate(3px, -3px); }
.bc-foot { list-style: none; margin: 0; padding: 14px 22px; display: flex; flex-wrap: wrap; gap: 8px 28px; border-top: 1px dashed var(--dark-line); font-size: 13.5px; color: var(--dark-ink-2); }
.bc-foot b { font: 600 15px/1 var(--disp); color: var(--dark-ink); margin-right: 3px; }
@media (max-width: 900px) {
  .band-photo { width: 100%; height: 560px; }
  .band-photo::after { background: linear-gradient(0deg, var(--dark) 8%, rgba(20,18,14,.55) 60%, rgba(20,18,14,.35) 100%); }
  .band-row { grid-template-columns: minmax(0, 1fr); align-items: start; }
}
@media (max-width: 560px) {
  .bc-cells { grid-template-columns: minmax(0, 1fr); }
  .bc-cells a + a { border-left: 0; border-top: 1px dashed var(--dark-line); }
  .band-ctas .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { .bc-live::after { animation: none; } }

/* closing band in the home deck: compact link footer (layout only, fonts unchanged) */
.band .band-top > .label { font-size: 11.5px; margin: 0 0 22px; }

@media (min-width: 901px) and (max-height: 760px) and (prefers-reduced-motion: no-preference) {
  html.js.deck .deckfoot .band-top > .label { display: none; }
}
/* ===== Responsiveness + Core Web Vitals pass (2026-11-04) ===== */
/* Areas/markets: grid items may shrink below their content width (fixes 320px overflow) */
.mapcard, .pgrid, .pgrid > div { min-width: 0; }
.pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 400px) { .pgrid div { padding: 20px 14px; } }
/* map pulse: transform/opacity ring instead of an animated box-shadow (no repaint every frame) */
.pf-map .usmap li.on { isolation: isolate; }
.pf-map .usmap li.on::after { box-shadow: none; background: #c4502f; z-index: -1; animation: pf-ring 2.6s ease-out infinite; }
@keyframes pf-ring { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.8); opacity: 0; } }
/* bigger touch target for text links without changing layout */
.link { position: relative; }
.link::before { content: ""; position: absolute; inset: -10px -6px; }
/* keep long words and e-mail addresses from forcing horizontal scroll */
h1, h2, h3, p, li, a, td, th { overflow-wrap: break-word; }
/* home deck on narrow desktops / tablets in landscape (901-1099px wide): layout + hiding only, fonts unchanged */
/* very short desktop windows (621-700px tall) */
@media (min-width: 901px) and (max-height: 700px) and (prefers-reduced-motion: no-preference) {

html.js.deck #compare .cmp tbody tr:nth-child(3) { display: none; }
  
}@media (min-width: 901px) and (max-height: 670px) and (prefers-reduced-motion: no-preference) {
  html.js.deck #compare .cmp tbody tr:nth-child(2) { display: none; }
}
/* ===== Hero v3: "By the numbers" board (replaces the to-do ledger + stat row) ===== */
.hnums { margin: 26px 0 24px; border: 1px solid var(--dark-line); border-radius: 18px; background: linear-gradient(180deg, rgba(236,230,216,.055), rgba(236,230,216,.012)); overflow: hidden; animation: fade-up .8s .5s var(--ease) both; }

.hn { position: relative; grid-column: span 2; min-width: 0; padding: 16px 18px 18px; border-top: 1px solid var(--dark-line); animation: fade-up .7s calc(.6s + var(--k, 0) * 80ms) var(--ease) both; }

.hn.big + .hn.big, .hn:not(.big) + .hn:not(.big) { border-left: 1px solid var(--dark-line); }
.hn b { display: block; font: 500 clamp(26px, 2.2vw, 34px)/1 var(--disp); letter-spacing: -.035em; color: #f6f1e7; font-variant-numeric: tabular-nums; white-space: nowrap; }

.hn b sup { font-size: .46em; color: #ec7a55; vertical-align: top; position: relative; top: .22em; margin-left: 2px; letter-spacing: 0; }

.hn span { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.35; color: var(--dark-ink-2); }

@media (prefers-reduced-motion: reduce) { .hnums, .hn { animation: none; } }

/* desktop deck: the board replaces the ledger, so it gets the ledger's trims */

/* ===== Hero on phones and tablets (<=900px): one clean stacked layout =====
   copy (label, H1, sub, CTA, numbers) -> photo band with rating -> form card overlapping the photo -> channel strip */
@media (max-width: 900px) {
  html.js main > section.hero, html.js.deck main > section.hero, .hero { display: flex; flex-direction: column; grid-template-rows: none; min-height: 0; }
  
  .hero > .hero-copy, html.js.deck main > section.hero > .hero-copy { flex: none; height: auto; min-height: 0; overflow: visible; padding: calc(68px + 32px) var(--edge) 32px; }
  .hero-copy .in-col { max-width: none; padding-right: 0; }
  .hero-main { display: flex; flex-direction: column; }
  .hero-main > .hero-foot { order: 4; margin-top: 22px; }
  .hero-main > .hnums { order: 5; margin: 26px 0 0; }
  .hero .sub { margin: 0; }

  .hero > .hero-media, html.js.deck main > section.hero > .hero-media { flex: none; display: flex; flex-direction: column; align-items: stretch; min-height: 0; height: auto; aspect-ratio: auto; padding: 0 16px 28px; background: var(--dark); overflow: visible; }
  .hero-media img { position: relative; inset: auto; display: block; width: calc(100% + 32px); max-width: none; margin: 0 -16px; height: auto; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 50% 40%; }
  .hero-media::before { background: linear-gradient(180deg, var(--dark) 0, rgba(20,18,14,0) 26%), linear-gradient(0deg, var(--dark) 0, rgba(20,18,14,0) 34%); }
  .hero-media::after { display: none; }
  .hero-media .rating { top: 18px; right: 16px; }
  .hero-form, html.js.deck .hero-form { position: relative; z-index: 3; width: 100%; max-width: 520px; margin: -88px auto 0; right: auto; bottom: auto; }
  .hero > .strip { flex: none; }
  
}
@media (max-width: 560px) {
  .hn { padding: 14px 12px 16px; }

.hn b { font-size: 24px; }
  
  .hn span { font-size: 12px; }
  .hero-foot .btn { flex: 1 1 100%; }
}
@media (max-width: 359px) {
  .hn:not(.big) { grid-column: span 3; }
  .hn:not(.big):nth-child(5) { grid-column: 1 / -1; border-left: 0; }
  .hn:nth-child(4) { border-left: 1px solid var(--dark-line); }
}
/* hero numbers v2: four figures side by side in one row (owner request) */
.hnums-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 26px 0 24px; }
.hnums-row .hn { grid-column: auto; padding: 18px 16px 18px; border-top: 0; }
.hnums-row .hn + .hn { border-left: 1px solid var(--dark-line); }
.hnums-row .hn::before { content: ""; position: absolute; left: 16px; top: 0; width: 22px; height: 2px; background: #ec7a55; }
.hnums-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1.12fr); }
.hnums-row .hn b { font-size: clamp(28px, 2.3vw, 38px); letter-spacing: -.04em; }
.hnums-row .hn b sup { font-size: .42em; }
.hnums-row .hn span { margin-top: 9px; font-size: 12.5px; }

@media (max-width: 900px) { .hero-main > .hnums-row { margin: 26px 0 0; } }
@media (max-width: 560px) {
  .hnums-row .hn { padding: 16px 10px; }
  .hnums-row .hn::before { left: 10px; }
  .hnums-row .hn b { font-size: 26px; }
  .hnums-row .hn span { font-size: 11.5px; }
}
@media (max-width: 400px) {
  .hnums-row .hn { padding: 14px 8px; }
  .hnums-row .hn::before { left: 8px; }
  .hnums-row .hn b { font-size: 22px; letter-spacing: -.03em; }
  .hnums-row .hn span { font-size: 11px; margin-top: 7px; }
}
@media (max-width: 359px) {
  .hnums-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hnums-row .hn:nth-child(3) { border-left: 0; }
  .hnums-row .hn:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
  .hnums-row .hn b { font-size: 30px; }
  .hnums-row .hn { padding: 16px 14px; }
  .hnums-row .hn::before { left: 14px; }
}
@media (min-width: 901px) and (max-width: 1099px) and (max-height: 760px) and (prefers-reduced-motion: no-preference) {
  html.js.deck .hero-form > .label { display: none; }
  
}
/* home "Who AtlasBNB is" slide: two audience notes in place of the market chips */
.pf-aud .aud { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid rgba(255,248,241,.22); }
.pf-aud .aud:first-of-type { margin-top: 12px; }
.pf-aud .aud b { font: 600 15px/1.3 var(--disp); color: #fff8f1; }
.pf-aud .aud span { font-size: 13.5px; line-height: 1.45; color: rgba(255,248,241,.82); }/* home copy v2 (2026-11-04): longer hero H1 and services intro need these short-screen trims */

/* about page v2 (2026-11-04) */
.about-snippet { max-width: 74ch; font-size: 17px; color: var(--ink-2); margin: 0 0 clamp(28px, 4vw, 40px); }
.about-snippet a, .about-p a, .weeks a, .why-list p a, .split li a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.why-list > div > div { min-width: 0; }
.promise-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aquote { margin: 28px 0 0; padding: 22px 24px; border-left: 3px solid var(--accent); background: var(--paper); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.aquote blockquote { margin: 0; font: 400 clamp(18px, 1.7vw, 22px)/1.4 var(--disp); letter-spacing: -.01em; color: var(--ink); }
.aquote figcaption { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.aquote figcaption b { color: var(--ink); margin-right: 6px; }
.about-p { color: var(--ink-2); font-size: 16px; margin: 18px 0 22px; }
.rules .stackrow { margin-top: 10px; }
.weeks { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: w; display: grid; gap: 0; border-top: 1px solid var(--line); }
.weeks li { counter-increment: w; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.weeks li::before { content: "0" counter(w); font: 500 13px/1.8 var(--disp); color: var(--accent); }
.weeks li b { color: var(--ink); font-weight: 600; }
.about-close .h2 { margin: 16px 0 14px; }
.about-close > p { max-width: 56ch; margin: 0 auto; font-size: 17px; }
.about-close .ctas { justify-content: center; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.about-close .small { margin-top: 16px; font-size: 14.5px; }
.about-close .small a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .promise-3 { grid-template-columns: minmax(0, 1fr); } }
/* about v2 fixes: one grid cell per list line, aligned platform rows, tinted option-two card */
.split li > span { min-width: 0; }
#what-we-do .split > div:last-child { background: var(--paper); }
#what-we-do .split > div:last-child li > span a { color: var(--accent-ink); font-weight: 600; }
#what-we-do .split ul { gap: 12px; }
.weeks li > span { min-width: 0; }
.weeks li b { display: block; margin-bottom: 2px; }
.plat-rows { margin-top: 4px; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.plat-rows .stackrow { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plat-rows .stackrow b { flex: 0 0 96px; }
@media (max-width: 560px) { .plat-rows .stackrow b { flex-basis: 100%; } }
/* services page v2 (2026-11-05) */
.svc-p { margin-top: 14px; }
.svc-prose p { color: var(--ink-2); font-size: 15.5px; max-width: 64ch; }
.svc-prose p + p { margin-top: 12px; }
.svc-prose a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.svc-statement { max-width: 860px; }
.svc-statement .h2 { margin: 16px 0 18px; }
.svc-statement > p { max-width: 64ch; margin: 0 auto; font-size: 17px; }
.svc-statement > p + p { margin-top: 14px; }
@media (min-width: 821px) { .cmp-2 tbody th { width: 28%; } .cmp-2 td { width: 36%; } }
.qcard { margin: 0; display: flex; flex-direction: column; }
.qcard .pi { margin-bottom: 24px; }
.qcard blockquote { margin: 0 0 20px; font: 400 18px/1.45 var(--disp); letter-spacing: -.01em; color: #fff8f1; }
.qcard figcaption { margin-top: auto; font-size: 13px; color: rgba(255,248,241,.75); }
.qcard figcaption b { display: block; color: #fff8f1; font-weight: 600; font-size: 14px; }
.pm-ctas { margin-top: 26px; }
.faq-aside .pm-line { margin-top: 18px; font-size: 14.5px; }
.faq-aside .pm-line a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#pm-support .why-list a, #why .why-list a { color: inherit; }

/* ===== Page-to-page transition (cross-document View Transitions: Chrome/Edge 126+, Safari 18.2+; other browsers just navigate)
   The old page sinks into a rounded card over terracotta while the new page wipes up over it. Header stays in place.
   transform / opacity / clip-path only, ~0.5s, nothing runs on reduced motion. ===== */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  .top { view-transition-name: site-top; }
  ::view-transition { background: #b24527; }
  ::view-transition-old(root) { animation: vt-out .52s cubic-bezier(.7, 0, .25, 1) both; transform-origin: 50% 40%; }
  ::view-transition-new(root) { animation: vt-in .52s cubic-bezier(.7, 0, .25, 1) both; }
  ::view-transition-group(site-top) { animation-duration: .52s; animation-timing-function: cubic-bezier(.7, 0, .25, 1); }
  ::view-transition-old(site-top), ::view-transition-new(site-top) { animation-duration: .3s; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@keyframes vt-out {
  0% { transform: none; opacity: 1; clip-path: inset(0 round 0); }
  100% { transform: scale(.92) translateY(-1.5%); opacity: .55; clip-path: inset(0 round 28px); }
}
@keyframes vt-in {
  0% { clip-path: inset(100% 0 0 0 round 28px 28px 0 0); transform: translateY(6%); }
  100% { clip-path: inset(0 0 0 0 round 0); transform: none; }
}
/* Texas page v2 (2026-11-05) */
.tx-about { margin-bottom: clamp(48px, 6vw, 80px); }
.tx-about-copy p { font-size: 16.5px; }
.tx-about-copy p + p { margin-top: 14px; }
.tx-why-head { margin-bottom: 28px; padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(255,248,241,.24); }
.tx-why-head .h2 { margin-top: 14px; max-width: 18ch; }
.promise-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.promise-2 .pcard .pi { margin-bottom: 24px; }
.promise-2 .pcard p { font-size: 15px; }
.promise-2 .pcard a { color: #fff8f1; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) { .promise-2 { grid-template-columns: minmax(0, 1fr); } }

/* ===== Sub-page hero v2 (2026-11-05): copy left, floating "message card" right, CWV-safe motion =====
   The H1 and the hero photo (LCP) are never hidden; only the card, badge and decorative layers animate (transform/opacity). */
.phero-bg { animation: settle 2.4s var(--ease) both, phero-drift 26s 2.4s ease-in-out infinite alternate; transform-origin: 60% 45%; }
@keyframes phero-drift { from { transform: scale(1); } to { transform: scale(1.07) translate3d(-1%, -1%, 0); } }
.phero-shade::after { content: ""; position: absolute; inset: -20% -60%; background: linear-gradient(100deg, transparent 42%, rgba(255,240,225,.07) 50%, transparent 58%); transform: translateX(-60%); animation: phero-sheen 9s 1.6s ease-in-out infinite; pointer-events: none; }
@keyframes phero-sheen { 0% { transform: translateX(-60%); } 45%, 100% { transform: translateX(60%); } }

/* travelling glow on the edge: a rotating conic layer, masked by an inner panel */

@keyframes pc-row { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .phero-bg, .phero-shade::after, .phero-aside, .phero-card::before, .phero-badge, .pc-rows li, .pc-chips li { animation: none !important; opacity: 1 !important; transform: none !important; }
  
}
/* Texas city cards (2026-11-05) */
.tx-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.txc { position: relative; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 24px 22px; background: var(--paper); transition: transform .4s var(--ease), border-color .3s ease, box-shadow .4s var(--ease); }
.txc:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 50px -30px rgba(22,20,15,.35); }
.txc-top { position: relative; display: flex; justify-content: space-between; align-items: flex-end; margin: 0 -24px 18px; padding: 18px 24px 14px; min-height: 92px; background: linear-gradient(135deg, #1e1b16, #14120e 70%); color: var(--dark-ink); overflow: hidden; }
.txc-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #e0704d, #b24527); transform: scaleX(.25); transform-origin: left; transition: transform .6s var(--ease); }
.txc:hover .txc-top::after { transform: scaleX(1); }
.txc-code { font: 600 54px/1 var(--disp); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px rgba(236,122,85,.85); transition: transform .5s var(--ease); }
.txc:hover .txc-code { transform: translateY(-3px); }
.txc-region { font: 600 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dark-ink-2); padding: 6px 9px; border: 1px solid rgba(236,230,216,.2); border-radius: 999px; }
.txc h3 { font-size: 22px; letter-spacing: -.02em; }
.txc-peak { align-self: flex-start; margin: 10px 0 16px; font-size: 12px; font-weight: 600; color: var(--accent-ink); background: #fbefe8; border-radius: 999px; padding: 6px 11px; }
.txc dl { margin: auto 0 0; display: grid; gap: 0; }
.txc dl > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.txc dt { font: 600 10.5px/1.7 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.txc dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 1000px) { .tx-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tx-cities { grid-template-columns: minmax(0, 1fr); } .txc-code { font-size: 46px; } }
/* city pages + links (2026-11-05) */

.txc h3 a { color: inherit; text-decoration: none; }
.txc h3 a:hover { color: var(--accent-ink); }
.txc-more { align-self: flex-start; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.txc-more:hover { color: var(--ink); }
/* ===== STATE hero: "map hero" (Texas, Georgia, 2026-11-05) =====
   Outline draws itself (stroke-dashoffset, paint only), fill fades in, pins pop in, city-guide pins pulse and link to city pages. */

/* ===== CITY hero: "postcard hero" (Houston, Dallas, Fort Worth, Arlington, 2026-11-05) =====
   No full-bleed photo: dark textured panel, photo framed as a tall postcard with a city code tag, a ticket stub overlaps it. */

/* postcard legibility: dark corner behind the city code, wider ticket */

/* ===== STATE hero v3: "Atlas" (cream paper, giant state name filled with the photo, map + city index) 2026-11-05 ===== */

.phero--atlas .label { color: var(--ink-3); }

/* map redrawn in ink on paper */

/* city index */

/* ===== CITY hero v3: "Departure board" (cinematic banner with the H1 on the photo + amber flip board) 2026-11-05 ===== */

/* ===== CITY hero v4: "Magazine cover" (owner pick, 2026-11-05) =====
   Full-bleed photo; giant masthead sized to fill the width per city (--len = letters); cover lines; real H1 at the bottom; spinning seal. */

/* ===== CITY hero v5: "Cinematic" (owner pick 2026-11-05: minimal, premium, centered) =====
   Full-screen photo + vignette, centered eyebrow / H1 / one intro line / CTAs, slim frosted fact bar. Nothing else. */
.phero--cine { display: flex; min-height: max(640px, min(100svh, 960px)); padding: calc(68px + 18px) 0 clamp(26px, 4vh, 40px); background: #0f0e0b; text-align: center; }
.phero--cine::before, .phero--cine::after { display: none; }
.phero--cine > .wrap { display: flex; flex-direction: column; width: 100%; }
.cine-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; animation: cine-zoom 30s ease-out both; }
@keyframes cine-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.cine-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 75% 65% at 50% 48%, rgba(12,11,9,.52) 0%, rgba(12,11,9,.28) 55%, rgba(12,11,9,.6) 100%), linear-gradient(180deg, rgba(12,11,9,.55) 0%, rgba(12,11,9,0) 22%, rgba(12,11,9,0) 62%, rgba(12,11,9,.82) 100%); }
.phero--cine .crumbs { justify-content: center; margin: 0; color: rgba(246,241,231,.72); }
.cine-center { margin: auto; padding: clamp(28px, 6vh, 64px) 0; max-width: 900px; }
.cine-eyebrow { display: inline-flex; align-items: center; gap: 16px; font: 600 12px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: rgba(246,241,231,.9); animation: fade-up .9s .1s var(--ease) both; }
.cine-eyebrow::before, .cine-eyebrow::after { content: ""; width: 44px; height: 1px; background: rgba(246,241,231,.55); }
.phero--cine h1 { margin: 22px auto 0; max-width: 15em; font-size: clamp(40px, 5.6vw, 82px); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; color: #fff; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.phero--cine h1 .it { color: #f2c1a6; }
.cine-intro { margin: 22px auto 0; max-width: 54ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: rgba(246,241,231,.86); animation: fade-up .9s .35s var(--ease) both; }
.phero--cine .ctas { justify-content: center; margin-top: 32px; animation: fade-up .9s .5s var(--ease) both; }
.phero--cine .btn-line { border-color: rgba(246,241,231,.4); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(255,255,255,.04); }
.phero--cine .btn-line:hover { border-color: #fff; }
.cine-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 940px; margin: 0 auto; border: 1px solid rgba(246,241,231,.18); border-radius: 18px; background: rgba(18,16,13,.38); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); animation: fade-up 1s .7s var(--ease) both; }
.cine-bar > div { padding: 16px 20px; text-align: left; }
.cine-bar > div + div { border-left: 1px solid rgba(246,241,231,.14); }
.cine-bar dt { font: 600 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #f2c1a6; }
.cine-bar dd { margin: 8px 0 0; font: 500 15.5px/1.3 var(--disp); letter-spacing: -.01em; color: #fff; }
@media (max-width: 760px) {
  .phero--cine { min-height: 0; }
  .cine-eyebrow { letter-spacing: .24em; gap: 10px; } .cine-eyebrow::before, .cine-eyebrow::after { width: 24px; }
  .cine-bar { grid-template-columns: minmax(0, 1fr); }
  .cine-bar > div + div { border-left: 0; border-top: 1px solid rgba(246,241,231,.14); }
  .cine-bar > div { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) { .cine-bg, .cine-eyebrow, .cine-intro, .phero--cine .ctas, .cine-bar { animation: none !important; } }
/* ===== STATE hero v4: "Panorama + city selector" (owner pick 2026-11-05) =====
   Wide photo with the H1 on it, then a dark panel: one intro line + CTAs, and a row of big city tabs. */
.phero--pano { padding: 0; background: #0f0e0b; }
.phero--pano::before, .phero--pano::after { display: none; }
.pano-photo { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(420px, 60vh, 600px); padding: calc(68px + 24px) 0 clamp(28px, 4.5vh, 46px); overflow: hidden; }
.pano-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; animation: cine-zoom 30s ease-out both; }
.pano-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(12,11,9,.6) 0%, rgba(12,11,9,.1) 30%, rgba(12,11,9,.25) 55%, rgba(12,11,9,.92) 100%), linear-gradient(90deg, rgba(12,11,9,.55) 0%, rgba(12,11,9,0) 60%); }
.pano-head { position: relative; display: flex; flex-direction: column; width: 100%; }
.phero--pano .crumbs { position: absolute; top: calc(-1 * clamp(240px, 36vh, 380px)); left: 0; margin: 0; color: rgba(246,241,231,.75); }
.pano-head { min-height: 100%; }

.phero--pano h1 { margin: 18px 0 0; max-width: 14em; font-size: clamp(40px, 5.4vw, 80px); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; color: #fff; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.phero--pano h1 .it { color: #f2c1a6; }
.pano-panel { padding: clamp(26px, 4vh, 40px) 0 clamp(40px, 6vh, 64px); background: linear-gradient(180deg, #0f0e0b, #14120e); border-top: 1px solid rgba(246,241,231,.08); }
.pano-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; }
.pano-intro { flex: 1 1 420px; max-width: 62ch; margin: 0; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.55; color: rgba(246,241,231,.82); }
.phero--pano .ctas { margin: 0; flex: none; }
.phero--pano .btn-line { border-color: rgba(246,241,231,.35); color: #fff; }
.phero--pano .btn-line:hover { border-color: #fff; }
.pano-cities { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: clamp(24px, 4vh, 36px); }
.pano-city { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 6px; min-height: 128px; padding: 18px 18px 16px; border-radius: 18px; border: 1px solid rgba(246,241,231,.12); background: rgba(246,241,231,.03); color: #f6f1e7; text-decoration: none; overflow: hidden; isolation: isolate; opacity: 0; transform: translate3d(0, 14px, 0); animation: pc-row .7s var(--ease) forwards; transition: border-color .3s ease, transform .4s var(--ease); }
.pano-city:nth-child(1) { animation-delay: .35s; } .pano-city:nth-child(2) { animation-delay: .43s; } .pano-city:nth-child(3) { animation-delay: .51s; } .pano-city:nth-child(4) { animation-delay: .59s; } .pano-city:nth-child(5) { animation-delay: .67s; }
.pano-city::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, #d0603d, #a23f22); transform: translateY(101%); transition: transform .45s var(--ease); }
.pano-city:hover, .pano-city:focus-visible { border-color: transparent; transform: translate3d(0, -3px, 0); }
.pano-city:hover::before, .pano-city:focus-visible::before { transform: none; }
.pcn { font: 500 12px/1 var(--disp); color: #ec7a55; transition: color .3s ease; }
.pano-city b { font: 500 clamp(19px, 1.6vw, 23px)/1.15 var(--disp); letter-spacing: -.02em; }
.pcs { font-size: 12.5px; line-height: 1.35; color: rgba(246,241,231,.62); transition: color .3s ease; }
.pano-city i { position: absolute; right: 16px; bottom: 14px; font-style: normal; font-size: 18px; color: #ec7a55; transition: transform .35s var(--ease), color .3s ease; }
.pano-city:hover .pcn, .pano-city:hover .pcs, .pano-city:hover i { color: #fff; }
.pano-city:hover i { transform: translateX(4px); }
.pano-city.is-all { background: rgba(236,122,85,.1); border-color: rgba(236,122,85,.35); }
@media (max-width: 1000px) { .pano-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pano-city.is-all { grid-column: span 2; } }
@media (max-width: 640px) {
  .pano-photo { min-height: 440px; }
  .pano-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pano-city { min-height: 104px; padding: 14px 14px 12px; }
  .pano-city.is-all { grid-column: 1 / -1; min-height: 0; }
   
}
@media (prefers-reduced-motion: reduce) { .pano-bg, .pano-eyebrow, .pano-city { animation: none !important; opacity: 1 !important; transform: none !important; } }/* panorama: breadcrumb at the top of the photo, eyebrow + H1 at the bottom (flex, no offsets) */
.pano-photo { align-items: stretch; }
.pano-head { flex: 1; }
.phero--pano .crumbs { position: static; top: auto; margin: 0 0 auto; padding-bottom: 28px; }/* state panorama: no eyebrow, centered heading, more room under the breadcrumb (owner request) */
.phero--pano .crumbs { padding-bottom: clamp(56px, 9vh, 96px); }
.phero--pano h1 { margin: 0 auto; text-align: center; max-width: 16em; }
.phero--pano .pano-head > nav { margin-bottom: 0; }
.phero--pano .crumbs { padding-bottom: clamp(48px, 7vh, 72px); }
.phero--pano h1 { margin: auto; }

/* ===== Houston city page v2 (2026-11-05): long-form city guide components ===== */
.hx-about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.h3x { margin: 14px 0 18px; font: 500 clamp(22px, 2vw, 28px)/1.15 var(--disp); letter-spacing: -.02em; }
.why-list p a, .hx-after a, #weather a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* five demand markets (accent) */
.hx-markets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hxm .hxm-n { font: 500 13px/1 var(--disp); color: #fff8f1; opacity: .7; }
.hxm h3 { margin: 18px 0 8px; font-size: 21px; }
.hxm-tag { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255,248,241,.14); font-size: 12px; font-weight: 600; color: #fff8f1; }
.hxm p:last-child { font-size: 14.5px; }
.hxm-note { display: flex; flex-direction: column; justify-content: center; background: rgba(20,18,14,.18); border-style: dashed; }
.hxm-note h3 { margin-top: 0; }
.hxm-note .pc-more { margin-top: 14px; align-self: flex-start; font-size: 13.5px; font-weight: 600; color: #fff8f1; border-bottom: 1px solid rgba(255,248,241,.6); padding-bottom: 2px; }
/* rules (white) */
.hx-snippet { font-size: 16.5px; color: var(--ink-2); border-left: 3px solid var(--accent); padding-left: 16px; }
.hx-lead { margin: 6px 0 18px; font: 500 20px/1.3 var(--disp); letter-spacing: -.01em; }
.hx-layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hxl { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; background: var(--paper); }
.hxl-n { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #f6f1e7; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.hxl h3 { margin: 16px 0 8px; font-size: 22px; }
.hxl p { font-size: 14.5px; color: var(--ink-2); }
.dtable-wrap { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.dtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.dtable caption { caption-side: top; text-align: left; padding: 14px 20px; background: var(--paper); font: 600 11.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.dtable th, .dtable td { text-align: left; vertical-align: top; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.dtable tr:last-child th, .dtable tr:last-child td { border-bottom: 0; }
.dtable tbody th { width: 24%; font: 500 15.5px/1.35 var(--disp); color: var(--ink); }
.dtable td { color: var(--ink-2); }
.dtable thead th { font: 600 11px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); }
.dtable th small { display: block; margin-top: 4px; font: 400 12.5px/1.4 var(--sans); color: var(--ink-3); }
.dtable-on-accent { background: #fffaf3; border-color: rgba(255,248,241,.4); color: var(--ink); }
.dtable-on-accent .dtable caption, .dtable-on-accent .dtable thead th { background: #f6ecdf; color: #6f675a; border-color: #eadfcd; }
.dtable-on-accent .dtable th, .dtable-on-accent .dtable td { border-color: #eadfcd; }
.dtable-on-accent .dtable tbody th { color: #16140f; }
.dtable-on-accent .dtable td { color: #4d473c; }
.hx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; margin-top: 32px; }
.hx-two h3 { font-size: 21px; margin-bottom: 8px; }
.hx-two p { color: var(--ink-2); font-size: 15px; }
.hx-disclaimer { margin-top: 24px; font-size: 13px; color: var(--ink-3); }
.hx-sources { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.hx-sources summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hx-sources p { margin-top: 10px; font-size: 12.5px; line-height: 1.6; color: var(--ink-3); }
.hx-after { margin-top: 20px; max-width: 80ch; font-size: 15.5px; }
/* hard truth (accent) */
.hx-truths { display: grid; gap: 14px; }
.hxt { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 24px 26px; border-radius: var(--r-lg); background: rgba(20,18,14,.16); border: 1px solid rgba(255,248,241,.18); }
.hxt-n { font: 600 56px/.9 var(--disp); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.4px #fff8f1; }
.hxt h3 { font-size: 22px; margin-bottom: 8px; }
.hxt p { font-size: 15px; color: rgba(255,248,241,.86); }
/* what we handle (white) */
.hx-handle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hx-handle h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line-2); }
.hx-handle h3 a:hover { color: var(--accent-ink); border-color: currentColor; }
.hx-handle .icard h3 { margin-top: 22px; }
.hx-price { margin-top: 24px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); font-size: 16px; }
.hx-price a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hx-near a { white-space: nowrap; }
@media (max-width: 1000px) { .hx-markets, .hx-layers, .hx-handle { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hx-about { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .hx-markets, .hx-layers, .hx-handle, .hx-two { grid-template-columns: minmax(0, 1fr); }
  .hxt { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px; }
  .hxt-n { font-size: 40px; }
  .dtable tbody th { width: 38%; }
  .dtable-4 thead { display: none; }
  .dtable-4 tr { display: block; padding: 12px 16px; border-bottom: 1px solid #eadfcd; }
  .dtable-4 th, .dtable-4 td { display: block; width: auto; padding: 4px 0; border: 0; }
  .dtable-4 td::before { content: attr(data-l); display: block; font: 600 10.5px/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #8d8577; }
}/* Houston markets: wider heading, paragraph below it (owner request) */
.hx-markets-sec .sec-head { display: block; }
.hx-markets-sec .sec-head h2 { max-width: 22em; }
.hx-markets-sec .sec-head > p { margin-top: 20px; max-width: 72ch; }/* long section titles on location pages: heading runs wide, intro text sits under it (owner request) */
.sec-head--wide { display: block; }
.sec-head--wide h2 { max-width: 22em; }
.sec-head--wide > p, .sec-head--wide > .sec-cta-col { margin-top: 20px; max-width: 72ch; }
.sec-head--wide > .sec-cta-col p { margin: 0 0 18px; }
/* ===== Georgia state guide (2026-11-05) ===== */
.ga-steps { list-style: none; counter-reset: gs; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; }
.ga-steps li { counter-increment: gs; position: relative; padding: 22px 22px 22px 70px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.ga-steps li::before { content: counter(gs, decimal-leading-zero); position: absolute; left: 20px; top: 18px; font: 600 30px/1 var(--disp); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.ga-steps b { display: block; font: 500 18px/1.25 var(--disp); color: var(--ink); margin-bottom: 6px; }
.ga-steps span { display: block; font-size: 14.5px; color: var(--ink-2); }

.ga-table tbody th { width: 15%; }

.ga-cal tbody th { width: 18%; }
@media (max-width: 1000px) { .ga-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 760px) { .ga-steps { grid-template-columns: minmax(0, 1fr); }  .ga-table tbody th, .ga-cal tbody th { width: auto; } }
@media (max-width: 760px) { .phero--pano .ctas { flex: 1 1 100%; min-width: 0; } }

/* ===== Georgia jurisdictions: region-grouped cards (replaces the 5-column table, 2026-11-05) ===== */
.gj-intro { margin-top: 40px; max-width: 78ch; font-size: 16px; color: var(--ink-2); }
.gj-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; }
.gj-jump a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.gj-jump a span { font: 500 12px/1 var(--disp); color: var(--accent); }
.gj-jump a b { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--ink); color: #f6f1e7; font-size: 11.5px; }
.gj-jump a:hover { border-color: var(--accent); transform: translateY(-1px); }
.gj-region { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 28px 40px; padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.gj-rhead { align-self: start; position: sticky; top: 96px; }
.gj-rn { font: 600 44px/.9 var(--disp); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.gj-rhead h3 { margin: 14px 0 8px; font-size: 24px; }
.gj-rhead p { font-size: 14.5px; color: var(--ink-2); }
.gj-count { display: inline-block; margin-top: 14px; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.gj-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.gj { display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.gj-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.gj-kind { font: 600 10.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.gj h4 { margin-top: 6px; font: 500 22px/1.15 var(--disp); letter-spacing: -.02em; }
.gj-fee { flex: none; max-width: 48%; text-align: right; }
.gj-fee span { display: block; font: 600 10px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.gj-fee b { display: block; margin-top: 4px; font: 500 16px/1.25 var(--disp); color: var(--accent-ink); }
.gj-fee i { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: #f4e3c4; color: #7a5513; font: 600 10.5px/1.2 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.gj-fee.is-none b { color: var(--ink-3); font-size: 14px; }
.gj-key { padding: 14px 16px; border-radius: 12px; background: var(--bg); border-left: 3px solid var(--accent); }
.gj-key span, .gj-dl dt { display: block; margin-bottom: 6px; font: 600 10.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.gj-key span { color: var(--accent-ink); }
.gj-key p { font-size: 15px; color: var(--ink); }
.gj-dl { display: grid; gap: 14px; margin: 0; }
.gj-dl dd { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.gj-flag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #f6f1e7; font-size: 12.5px; font-weight: 600; }
.gj-flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.gj-after { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font: 500 19px/1.4 var(--disp); max-width: 52ch; color: var(--ink); }
@media (max-width: 1100px) { .gj-region { grid-template-columns: minmax(0, 1fr); } .gj-rhead { position: static; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; } .gj-rhead h3 { margin: 0; } .gj-rhead p, .gj-count { grid-column: 2; } .gj-count { margin-top: 6px; } }
@media (max-width: 760px) { .gj-cards { grid-template-columns: minmax(0, 1fr); } .gj { padding: 18px; } .gj-top { flex-direction: column; gap: 10px; } .gj-fee { max-width: none; text-align: left; } .gj-rn { font-size: 34px; } }
/* ===== Blog page (2026-11-05) ===== */
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.blog-filter button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: 600 13.5px/1 var(--sans); color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.blog-filter button:hover { border-color: var(--ink); color: var(--ink); }
.blog-filter button.is-on { background: var(--ink); border-color: var(--ink); color: #f6f1e7; }
.post-feature, .post { display: flex; flex-direction: column; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.post-feature:hover, .post:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(20,18,14,.35); border-color: #d6cab3; }
.post-feature[hidden], .post[hidden] { display: none; }
.post-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-bottom: 18px; }
.pf-img, .post-img { display: block; overflow: hidden; background: var(--line); }
.pf-img img, .post-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-feature:hover img, .post:hover img { transform: scale(1.04); }
.pf-img { aspect-ratio: 16 / 10; }
.post-img { aspect-ratio: 16 / 9; }
.pf-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(24px, 3vw, 44px); }
.post > .post-meta, .post > .post-title, .post > .post-ex, .post > .post-more { margin-left: 22px; margin-right: 22px; }
.post > .post-meta { margin-top: 20px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-3); }
.post-meta b { padding: 4px 9px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font: 600 10.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.post-title { display: block; margin-top: 10px; font: 500 20px/1.2 var(--disp); letter-spacing: -.015em; color: var(--ink); }
.post-feature .post-title { margin-top: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.post-ex { display: block; margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.post-feature .post-ex { margin-top: 0; font-size: 16px; }
.post-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 16px 0 20px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.post-feature .post-more { padding: 6px 0 0; }
.post-more svg { transition: transform .3s var(--ease); }
.post:hover .post-more svg, .post-feature:hover .post-more svg { transform: translateX(4px); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.posts-empty { margin-top: 20px; color: var(--ink-3); }
.mk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mk { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 56px 22px 22px; border-radius: var(--r-lg); border: 1px solid rgba(255,248,241,.24); background: rgba(20,18,14,.14); color: #fff8f1; text-decoration: none; transition: background-color .3s, transform .3s var(--ease); }
.mk:hover { background: rgba(20,18,14,.28); transform: translateY(-2px); }
.mk-n { font: 600 34px/1 var(--disp); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.1px #fff8f1; margin-bottom: 10px; }
.mk b { font: 500 21px/1.2 var(--disp); }
.mk span:not(.mk-n) { font-size: 14px; color: rgba(255,248,241,.82); }
.mk i { position: absolute; right: 22px; top: 22px; font-style: normal; font-size: 20px; transition: transform .3s var(--ease); }
.mk:hover i { transform: translateX(4px); }
.mk-more { margin-top: 22px; font-size: 15px; }
.mk-more a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ask { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; }
.ask p { margin-top: 14px; max-width: 56ch; color: var(--ink-2); }
.ask-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 1000px) { .posts, .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .post-feature { grid-template-columns: minmax(0, 1fr); } .ask { grid-template-columns: minmax(0, 1fr); align-items: start; } .ask-ctas { justify-content: flex-start; } }
@media (max-width: 640px) { .posts, .mk-grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== Case studies page (2026-11-05) ===== */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.case { display: flex; flex-direction: column; gap: 16px; padding: 26px 24px; border-radius: var(--r-lg); background: #fffaf3; color: #16140f; border: 1px solid rgba(255,248,241,.4); }
.case-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #eadfcd; }
.case-n { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #a23f22; }
.case-src { font-size: 12.5px; color: #6f675a; }
.case h3 { font: 500 22px/1.2 var(--disp); letter-spacing: -.015em; color: #16140f; }
.case-dl { display: grid; gap: 10px; margin: 0; }
.case-dl dt { font: 600 10.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8d8577; }
.case-dl dd { margin: 3px 0 0; font-size: 14.5px; color: #4d473c; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-tags a { padding: 5px 10px; border-radius: 999px; background: #f6ecdf; color: #4d473c; font-size: 12.5px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.case-tags a:hover { background: #16140f; color: #f6f1e7; }
.case-q { margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid #eadfcd; font: 500 18px/1.4 var(--disp); color: #16140f; }
.case .who { display: flex; gap: 12px; align-items: center; font-size: 13px; color: #6f675a; }
.case .who b { display: block; color: #16140f; font-size: 14px; }
.case .av { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: #b24527; color: #fff8f1; font: 600 15px/1 var(--disp); }
.case-guest { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid #eadfcd; display: grid; gap: 14px; }
.case-guest q { display: block; font: 500 15.5px/1.4 var(--disp); color: #16140f; quotes: "\201C" "\201D"; }
.case-guest span { display: block; margin-top: 4px; font-size: 12.5px; color: #6f675a; }
.cs-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,248,241,.3); border-bottom: 1px solid rgba(255,248,241,.3); }
.cs-nums div { padding: 26px 20px; border-left: 1px solid rgba(255,248,241,.3); }
.cs-nums div:first-child { border-left: 0; padding-left: 0; }
.cs-nums b { display: block; font: 500 clamp(36px, 4vw, 54px)/1 var(--disp); letter-spacing: -.04em; }
.cs-nums span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,248,241,.82); }
.cs-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 1000px) { .cases { grid-template-columns: minmax(0, 1fr); max-width: 680px; } }
@media (max-width: 700px) { .cs-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cs-nums div:nth-child(3) { border-left: 0; padding-left: 0; } .cs-nums div:nth-child(n+3) { border-top: 1px solid rgba(255,248,241,.3); } }

/* header with 8 links: tighter gaps on mid-size desktops */
@media (max-width: 1240px) { .nav-links { gap: 18px; } }
@media (max-width: 1080px) { .nav-links { gap: 14px; } }
/* deck footer on short screens: Company list grew to 8 links (Case studies, Blog); drop Home and Contact there, both are already one click away */

/* ===== Dallas city guide (2026-11-05) ===== */
.hx-intro { max-width: 980px; margin-bottom: clamp(36px, 5vw, 56px); padding-bottom: clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.hx-intro .hx-lead { margin: 0; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; }
.hx-intro .hx-after { margin-top: 16px; color: var(--ink-2); }
.dx-status { display: inline-block; margin: 0 6px 6px 0; padding: 5px 10px; border-radius: 999px; background: #f6ecdf; color: #6f675a; font: 600 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.dx-status.is-live { background: #16140f; color: #f6f1e7; }
.dx-status.is-live::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #e0704d; vertical-align: 1px; }
.dx-force tbody th { width: 26%; }
.dx-force td:nth-of-type(1) { width: 24%; }
.dx-court h3, .accent .hx-two h3 { color: inherit; }
.accent .hx-two p { color: rgba(255,248,241,.86); }
.dx-addr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dx-addr .hxl p + p { margin-top: 10px; }
.dx-cal { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; align-items: start; }
.dx-cal .dtable-wrap { margin-top: 0; }
.dx-note { font: 500 19px/1.45 var(--disp); letter-spacing: -.01em; color: var(--ink); }
.dx-market tbody th { width: 30%; white-space: nowrap; }
.dx-ring tbody th { width: 18%; }
.dx-handle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dx-handle article { padding: 22px; border-radius: var(--r-lg); border: 1px solid rgba(255,248,241,.24); background: rgba(20,18,14,.14); }
.dx-handle h3 { font-size: 19px; margin-bottom: 8px; }
.dx-handle h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,248,241,.45); }
.dx-handle h3 a:hover { border-color: #fff8f1; }
.dx-handle p { font-size: 14.5px; color: rgba(255,248,241,.86); }
.dx-handle .dx-wide { grid-column: span 2; background: rgba(20,18,14,.26); }
.accent .hx-disclaimer, .accent .hx-sources summary, .accent .hx-sources p { color: rgba(255,248,241,.78); }
.accent .hx-sources { border-color: rgba(255,248,241,.25); }
@media (max-width: 1000px) { .dx-cal { grid-template-columns: minmax(0, 1fr); } .dx-handle { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dx-handle .dx-wide { grid-column: auto; } }
@media (max-width: 760px) { .dx-addr, .dx-handle { grid-template-columns: minmax(0, 1fr); } .dx-market tbody th { white-space: normal; } .dx-force tbody th, .dx-force td:nth-of-type(1), .dx-ring tbody th { width: auto; } }
.dtable-on-accent .dtable th small { color: #6f675a; }

/* ===== Sub-page hero, centred single column (owner request 2026-11-06): about, team, services, areas, case studies, blog, contact ===== */
.phero-center { display: flex; flex-direction: column; align-items: center; text-align: center; }

.phero-center h1 { max-width: 16em; margin-left: auto; margin-right: auto; }
.phero-center .lede { max-width: 62ch; margin-left: auto; margin-right: auto; }
.phero-center .ctas { justify-content: center; }
.phero-center .chipsrow { justify-content: center; }
/* form spam trap: hidden from people and screen readers, bots fill it in */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ===== Texas city guides v2 (2026-11-06): Fort Worth, Arlington, Galveston, San Antonio ===== */
.fw-snippet { font-size: 16.5px; border-left: 3px solid currentColor; padding-left: 16px; }
.accent .fw-snippet { color: rgba(255,248,241,.92); border-color: rgba(255,248,241,.6); }
/* Fort Worth zoning columns */
.zn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.zn-col { padding: 24px; border-radius: var(--r-lg); background: #fffaf3; color: #16140f; }
.zn-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.zn-col.is-yes .zn-tag { background: #e3ecd8; color: #3c5a2a; }
.zn-col.is-no .zn-tag { background: #f6e0d8; color: #a23f22; }
.zn-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.zn ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.zn li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #eadfcd; font-size: 14.5px; color: #4d473c; }
.zn li b { font: 500 17px/1.2 var(--disp); color: #16140f; }
.fw-steps { list-style: none; counter-reset: fs; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding: 0; }
.fw-steps li { counter-increment: fs; padding: 18px; border-radius: var(--r-lg); border: 1px solid rgba(255,248,241,.25); background: rgba(20,18,14,.16); font-size: 14px; color: rgba(255,248,241,.86); }
.fw-steps li::before { content: counter(fs, decimal-leading-zero); display: block; margin-bottom: 10px; font: 600 13px/1 var(--disp); color: #fff8f1; opacity: .7; }
.fw-steps b { display: block; margin-bottom: 4px; font: 500 17px/1.25 var(--disp); color: #fff8f1; }
/* court timeline */
.tl2 { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.tl2::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl2 li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 32px; padding: 14px 0; position: relative; }
.tl2 li::after { content: ""; position: absolute; left: 114px; top: 21px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink-3); }
.tl2 time { font: 600 13px/1.4 var(--sans); color: var(--ink-3); text-align: right; padding-top: 2px; }
.tl2 p { color: var(--ink-2); font-size: 15px; }
.tl2 li.is-key::after { background: var(--accent); border-color: var(--accent); width: 13px; height: 13px; left: 112px; top: 19px; }
.tl2 li.is-key time, .tl2 li.is-key p { color: var(--ink); font-weight: 600; }
/* tax bar */
.taxbar { display: flex; gap: 4px; margin: 0 0 22px; border-radius: 14px; overflow: hidden; }
.tb-seg { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: #fffaf3; color: #16140f; font-size: 13.5px; min-width: 0; }
.tb-seg b { font: 600 clamp(24px, 3vw, 34px)/1 var(--disp); letter-spacing: -.03em; }
.tb-seg small { font-size: 11.5px; color: #6f675a; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.tb-seg.tb-plat { background: rgba(20,18,14,.3); color: #fff8f1; }
.tb-seg.tb-plat small { color: rgba(255,248,241,.75); }
/* Arlington zone map */
.az { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 28px; align-items: center; }
.az-map { margin: 0; padding: 18px; border-radius: var(--r-lg); background: #fffaf3; }
.az-map svg { display: block; width: 100%; height: auto; }
.az-map figcaption { margin-top: 8px; font-size: 12.5px; color: #6f675a; }
.az-zone { fill: #f6e0d8; stroke: #b24527; stroke-width: 2; stroke-dasharray: 6 5; }
.az-road { stroke: #c9bda6; stroke-width: 6; stroke-linecap: round; }
.az-hwy { stroke: #a99d86; stroke-width: 9; }
.az-lbl { font: 600 11px var(--sans); fill: #6f675a; text-anchor: middle; letter-spacing: .04em; }
.az-big { font: 600 22px var(--disp); fill: #a23f22; text-anchor: middle; }
.az-small { font: 500 12px var(--sans); fill: #a23f22; text-anchor: middle; }
.az-in { font: 600 11px var(--sans); fill: #16140f; text-anchor: middle; }
.az-dot { fill: #b24527; opacity: .85; }
.az-list { display: grid; gap: 12px; }
.az-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.az-item span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff8f1; color: #b24527; font: 600 15px/1 var(--disp); }
.az-item p { font-size: 15px; color: rgba(255,248,241,.88); }
.az-item b { color: #fff8f1; }
/* Arlington permit */
.ar-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.ar-grid .dtable-wrap { margin-top: 0; }
.ar-h { font-size: 19px; margin: 0 0 12px; }
.ar-h + .ar-check + .ar-h { margin-top: 26px; }
.ar-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ar-check li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.ar-check li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 5px; background: var(--paper); border: 1px solid var(--line); }
.ar-check li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 6px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ar-math tbody th { width: 50%; }
.ar-note { padding: 12px 20px 16px; font-size: 13.5px; color: var(--ink-3); }
/* Galveston clock + strikes + registration grid */
.clock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-radius: var(--r-lg); overflow: hidden; background: #fffaf3; color: #16140f; }
.ck-step { padding: 24px; border-left: 1px solid #eadfcd; }
.ck-step:first-child { border-left: 0; }
.ck-t { display: block; font: 600 clamp(34px, 4vw, 48px)/1 var(--disp); letter-spacing: -.04em; color: #b24527; margin-bottom: 12px; }
.ck-step b { display: block; font: 500 18px/1.2 var(--disp); margin-bottom: 6px; }
.ck-step p { font-size: 14.5px; color: #4d473c; }
.strikes { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; margin-top: 18px; padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid rgba(255,248,241,.25); background: rgba(20,18,14,.16); }
.sk { display: flex; gap: 8px; }
.sk-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff8f1; }
.sk-dot.is-on { background: #fff8f1; }
.strikes p { font-size: 15px; color: rgba(255,248,241,.88); }
.strikes b { color: #fff8f1; }
.gv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
/* San Antonio blockface */
.bf { margin: 0 0 8px; padding: 20px; border-radius: var(--r-lg); background: #fffaf3; }
.bf svg { display: block; width: 100%; height: auto; }
.bf-road { fill: #e6dccb; }
.bf-dash { stroke: #fffaf3; stroke-width: 2; stroke-dasharray: 14 10; }
.bf-x { fill: #e6dccb; }
.bf-homes rect { fill: #efe6d6; stroke: #c9bda6; stroke-width: 1.5; rx: 3; }
.bf-homes rect.is-t2 { fill: #b24527; stroke: #b24527; }
.bf-homes rect.is-q { fill: #fffaf3; stroke: #16140f; stroke-dasharray: 4 3; }
.bf-lbl { font: 600 11px var(--sans); fill: #16140f; text-anchor: middle; }
.bf-cap { font: 500 12.5px var(--sans); fill: #6f675a; text-anchor: middle; }
.sa-types thead th:first-child { width: 22%; }
@media (max-width: 1000px) {
  .fw-steps, .gv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .az, .ar-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .zn, .fw-steps, .gv-grid, .clock { grid-template-columns: minmax(0, 1fr); }
  .ck-step { border-left: 0; border-top: 1px solid #eadfcd; }
  .ck-step:first-child { border-top: 0; }
  .tl2::before { left: 6px; }
  .tl2 li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-left: 28px; }
  .tl2 li::after { left: 2px; }
  .tl2 li.is-key::after { left: 0; }
  .tl2 time { text-align: left; }
  .taxbar { flex-direction: column; }
  .tb-seg { flex: none !important; }
  .strikes { grid-template-columns: minmax(0, 1fr); }
  .sa-types thead th:first-child { width: auto; }
}
/* footer on small phones: equal columns that can shrink, long email addresses wrap instead of pushing the grid wider */
@media (max-width: 900px) { .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot a { overflow-wrap: anywhere; } }

/* small phones: 2-3 column info tables stack into cards; long buttons wrap instead of widening the page */
@media (max-width: 560px) {
  .fw-cal thead, .ar-cal thead, .sa-cal thead, .gv-cal thead, .dx-market thead, .ga-cal thead { display: none; }
  .fw-cal tr, .ar-cal tr, .sa-cal tr, .gv-cal tr, .dx-market tr, .ga-cal tr { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .fw-cal tr:last-child, .ar-cal tr:last-child, .sa-cal tr:last-child, .gv-cal tr:last-child, .dx-market tr:last-child, .ga-cal tr:last-child { border-bottom: 0; }
  .fw-cal th, .fw-cal td, .ar-cal th, .ar-cal td, .sa-cal th, .sa-cal td, .gv-cal th, .gv-cal td, .dx-market th, .dx-market td, .ga-cal th, .ga-cal td { display: block; width: auto !important; padding: 3px 0; border: 0; white-space: normal; }
  .fw-cal th, .ar-cal th, .sa-cal th, .gv-cal th, .dx-market th, .ga-cal th { color: var(--accent-ink); }
}
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; } }
/* ===== Blog article pages (2026-11-06) ===== */

.post-body { max-width: 72ch; }
.post-body p { font-size: 17px; line-height: 1.7; margin-top: 16px; }
.sec-white .post-body p { color: var(--ink-2); }
.accent .post-body p { color: rgba(255,248,241,.9); }

.post-body .label + .post-h2 { margin-top: 14px; }

.post-tax tbody th { width: 16%; }

/* ===== Blog article design "Ledger" (2026-11-06): magazine layout, one continuous page, not the white/terracotta band rhythm ===== */
.lg { background: var(--bg); }
.lg-cover { position: relative; margin-top: -68px; padding: calc(68px + clamp(40px, 7vh, 80px)) 0 0; background: var(--dark); color: var(--dark-ink); overflow: visible; }
.lg-cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(236,230,216,.05) 1px, transparent 1px); background-size: 100% 34px; pointer-events: none; }

.lg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--dark-ink-2); }
.lg-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 16px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
.lg-pill { padding: 7px 12px; border-radius: 999px; background: var(--accent); color: #fff8f1; text-decoration: none; }
.lg-cover h1 { margin: 24px 0 20px; font-size: clamp(36px, 4.8vw, 66px); line-height: 1.02; letter-spacing: -.04em; color: #f6f1e7; max-width: 14em; }
.lg-cover h1 .it { color: #ec7a55; display: block; }
.lg-dek { max-width: 54ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--dark-ink-2); }
.lg-byline { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(236,230,216,.14); font-size: 13.5px; color: var(--dark-ink-2); }
.lg-byline b { color: #f6f1e7; font-size: 15px; }
.lg-byline small { font-size: 12px; opacity: .8; }
.lg-av { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #f6f1e7; color: var(--dark); font: 600 15px/1 var(--disp); letter-spacing: .02em; }

/* body */
.lg-body { display: grid; grid-template-columns: 220px minmax(0, 720px); justify-content: center; gap: clamp(40px, 6vw, 88px); padding-top: clamp(140px, 16vh, 170px); padding-bottom: clamp(72px, 10vw, 120px); }
.lg-toc { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.lg-toc-h { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.lg-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.lg-toc li { counter-increment: toc; }
.lg-toc li a { display: flex; gap: 10px; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-3); text-decoration: none; transition: color .2s, border-color .2s; }
.lg-toc li a::before { content: counter(toc, decimal-leading-zero); font: 500 12px/1.6 var(--disp); color: var(--accent-ink); opacity: .7; }
.lg-toc li a:hover, .lg-toc li a.is-on { color: var(--ink); border-left-color: var(--accent); }
.lg-toc-cta { display: block; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: var(--dark); color: #f6f1e7; font-weight: 600; text-decoration: none; line-height: 1.35; }
.lg-toc-cta span { color: #ec7a55; }
.lg-article { min-width: 0; }
.lg-sec { scroll-margin-top: 96px; }
.lg-sec + .lg-sec { margin-top: clamp(48px, 6vw, 72px); }
.lg-article p { font-size: 18px; line-height: 1.75; color: var(--ink-2); margin-top: 18px; }
.lg-article p a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.lg-lead { font: 500 clamp(22px, 2.2vw, 27px)/1.4 var(--disp) !important; letter-spacing: -.015em; color: var(--ink) !important; margin-top: 0 !important; }
.lg-drop::first-letter { float: left; margin: 6px 12px 0 0; font: 400 74px/.8 var(--serif); color: var(--accent-ink); }
.lg-h2 { display: flex; align-items: baseline; gap: 16px; margin: 0 0 6px; padding-top: 22px; border-top: 2px solid var(--ink); font: 500 clamp(26px, 2.8vw, 34px)/1.15 var(--disp); letter-spacing: -.025em; color: var(--ink); }
.lg-sec > p:first-child + .lg-h2, .lg-sec p + .lg-h2 { margin-top: 44px; }
.lg-h2 span { flex: none; font: 500 14px/1 var(--disp); color: var(--accent-ink); letter-spacing: 0; }
.lg-h3 { margin: 32px 0 0; font: 500 22px/1.25 var(--disp); letter-spacing: -.015em; }
/* chart + calendar (drawn graphics) */
.lg-chart, .lg-cal { margin: 26px 0 0; padding: 22px 22px 16px; border-radius: 18px; background: #fffdf9; border: 1px solid var(--line); }
.lg-chart svg, .lg-cal svg { display: block; width: 100%; height: auto; }
.ch-grid line { stroke: #eadfcd; stroke-width: 1; }
.ch-ax text { font: 500 11px var(--sans); fill: #8d8577; text-anchor: middle; }
.ch-city { font: 600 13px var(--sans); fill: #16140f; text-anchor: end; }
.ch-val { font: 600 13px var(--disp); fill: #16140f; }
.ch-plat { fill: #16140f; }
.ch-own { fill: #c4502f; }
.lg-chart figcaption { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.lg-key { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.lg-key i { width: 14px; height: 14px; border-radius: 4px; }
.k-plat { background: #16140f; } .k-own { background: #c4502f; }
.cal-line { stroke: #16140f; stroke-width: 2; }
.cal-ticks text { font: 500 12px var(--sans); fill: #8d8577; text-anchor: middle; }
.cal-pins circle { fill: #c4502f; stroke: #fffdf9; stroke-width: 3; }
.cal-pins text { font: 600 13px var(--sans); fill: #16140f; text-anchor: middle; }
.cal-pins text.cal-end { text-anchor: end; }
.cal-cap { font: italic 400 13px var(--serif); fill: #6f675a; text-anchor: middle; }
/* table */
.lg-table-wrap { margin-top: 18px; overflow-x: auto; }
.lg-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lg-table thead th { padding: 0 12px 10px 0; text-align: left; font: 600 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-bottom: 2px solid var(--ink); }
.lg-table tbody th, .lg-table td { padding: 14px 12px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.lg-table tbody th { font: 500 16px/1.3 var(--disp); color: var(--ink); width: 18%; }
.lg-table tbody th a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.lg-table td small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }
.lg-fine { font-size: 13px !important; color: var(--ink-3) !important; }
/* groups + pull quote */
.lg-groups { display: grid; gap: 14px; margin-top: 24px; }
.lg-group { position: relative; padding: 24px 24px 22px 92px; border-radius: 18px; background: #fffdf9; border: 1px solid var(--line); }
.lg-g-n { position: absolute; left: 24px; top: 20px; font: 600 48px/1 var(--disp); color: transparent; -webkit-text-stroke: 1.3px var(--accent); }
.lg-group h3 { font: 500 21px/1.25 var(--disp); letter-spacing: -.015em; }
.lg-article .lg-g-c { margin-top: 4px; font: 600 12px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.lg-article .lg-group p:last-child { font-size: 16px; margin-top: 10px; }
.lg-pull { margin: 40px 0 0; padding: 4px 0 4px 28px; border-left: 4px solid var(--accent); }
.lg-article .lg-pull p { margin: 0; font: italic 400 clamp(24px, 2.6vw, 32px)/1.3 var(--serif); color: var(--ink); }
/* photo, late list, callout, faq */
.lg-photo { margin: 26px 0 0; }
.lg-photo img { display: block; width: 100%; height: auto; border-radius: 18px; }
.lg-photo figcaption { margin-top: 10px; font: italic 400 14px/1.4 var(--serif); color: var(--ink-3); }
.lg-late { margin: 26px 0 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.lg-late div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lg-late dt { font: 500 17px/1.3 var(--disp); color: var(--ink); }
.lg-late dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.lg-callout { padding: clamp(26px, 4vw, 40px); border-radius: 22px; background: var(--dark); color: var(--dark-ink); }
.lg-callout .lg-h2 { color: #f6f1e7; border-top-color: rgba(236,230,216,.3); }
.lg-callout .lg-h2 span { color: #ec7a55; }
.lg-article .lg-callout p { color: var(--dark-ink-2); }
.lg-callout .btn { margin-top: 24px; }
.lg-faq { margin-top: 18px; border-top: 1px solid var(--line); }
.lg-faq .faq { border-bottom: 1px solid var(--line); }
/* end, related */
.lg-end { margin-top: clamp(56px, 7vw, 80px); }
.lg-author { display: flex; gap: 20px; padding: 26px; border-radius: 22px; background: #fffdf9; border: 1px solid var(--line); }
.lg-av-lg { width: 64px; height: 64px; font-size: 20px; background: var(--dark); color: #f6f1e7; }
.lg-article .lg-author-k { margin: 0; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.lg-author b { display: block; margin-top: 8px; font: 500 22px/1.2 var(--disp); }
.lg-author > div > span { display: block; font-size: 14px; color: var(--ink-3); }
.lg-article .lg-author p:last-child { font-size: 15.5px; margin-top: 12px; }
.lg-sources { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.lg-sources summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.lg-article .lg-sources p { font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.lg-related { padding: clamp(64px, 8vw, 100px) 0; background: #fffdf9; border-top: 1px solid var(--line); }
.lg-rel-h { font: 500 clamp(28px, 3vw, 40px)/1.1 var(--disp); letter-spacing: -.03em; margin-bottom: 26px; }
.lg-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lg-rel { display: block; color: inherit; text-decoration: none; }
.lg-rel img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; transition: transform .5s var(--ease); }
.lg-rel:hover img { transform: scale(1.02); }
.lg-rel-c { display: block; margin-top: 14px; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.lg-rel b { display: block; margin-top: 8px; font: 500 19px/1.3 var(--disp); }
@media (max-width: 1000px) {

.lg-body { grid-template-columns: minmax(0, 1fr); }
  .lg-toc { position: static; padding: 18px 20px; border-radius: 16px; background: #fffdf9; border: 1px solid var(--line); }
  .lg-rel-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
@media (max-width: 640px) {
  .lg-article p { font-size: 17px; }
  .lg-group { padding: 70px 20px 20px; }
  .lg-g-n { top: 18px; left: 20px; font-size: 40px; }
  .lg-late div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .lg-table thead { display: none; }
  .lg-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .lg-table tbody th, .lg-table td { display: block; width: auto; padding: 3px 0; border: 0; }
  .lg-table td::before { content: attr(data-l); display: block; font: 600 10.5px/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
  .lg-author { flex-direction: column; }
  .lg-chart, .lg-cal { padding: 14px 10px 12px; }
}
.lg-byline b { display: block; margin-bottom: 2px; }

/* Ledger article: full-bleed photo cover (owner pick 2026-11-06) */
.lg-cover--full { display: flex; align-items: flex-end; min-height: min(100svh, 880px); padding: calc(68px + 48px) 0 clamp(40px, 7vh, 72px); overflow: hidden; isolation: isolate; }
.lg-cover--full::before { content: none; }
.lg-cover--full picture { position: absolute; inset: 0; z-index: -2; }
.lg-cover-bg { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; animation: lg-zoom 18s var(--ease) both; }
@keyframes lg-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.lg-cover-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,14,.7) 0%, rgba(20,18,14,.15) 30%, rgba(20,18,14,.25) 52%, rgba(20,18,14,.92) 100%), linear-gradient(90deg, rgba(20,18,14,.7) 0%, rgba(20,18,14,0) 65%); }
.lg-cover-inner { position: relative; width: 100%; }
.lg-cover--full h1 { max-width: 13em; font-size: clamp(38px, 5.6vw, 82px); text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.lg-cover--full .lg-dek { color: rgba(246,241,231,.86); max-width: 52ch; }
.lg-cover--full .lg-meta { color: rgba(246,241,231,.82); }
.lg-cover-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(246,241,231,.22); }
.lg-cover-foot .lg-byline { margin: 0; padding: 0; border: 0; color: rgba(246,241,231,.8); }
.lg-cover-jump { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(246,241,231,.4); color: #f6f1e7; font-weight: 600; font-size: 14px; text-decoration: none; backdrop-filter: blur(6px); background: rgba(20,18,14,.25); transition: background-color .2s, border-color .2s; }
.lg-cover-jump:hover { background: rgba(246,241,231,.12); border-color: #f6f1e7; }
.lg-cover-jump span { display: inline-block; animation: lg-bob 2.4s ease-in-out infinite; }
@keyframes lg-bob { 50% { transform: translateY(3px); } }
.lg-cover-credit { position: absolute; right: 0; top: calc(-1 * min(100svh, 880px) + 140px); font: italic 400 13px var(--serif); color: rgba(246,241,231,.7); }
.lg-cover--full + .lg-body { padding-top: clamp(64px, 8vw, 104px); }
@media (max-width: 700px) {
  .lg-cover--full { min-height: 100svh; }
  .lg-cover-credit { display: none; }
  .lg-cover-shade { background: linear-gradient(180deg, rgba(20,18,14,.75) 0%, rgba(20,18,14,.2) 28%, rgba(20,18,14,.55) 55%, rgba(20,18,14,.95) 100%); }
}
@media (prefers-reduced-motion: reduce) { .lg-cover-bg, .lg-cover-jump span { animation: none; } }
.lg-cover--full .lg-cover-inner { position: static; }
.lg-cover--full .lg-cover-credit { top: calc(68px + 28px); right: var(--edge); }

/* Ledger articles: checklist, closing-day flow, 2027 year timeline (2026-11-06) */
.lg-steps { list-style: none; counter-reset: st; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.lg-steps li { counter-increment: st; position: relative; padding: 18px 20px 18px 66px; border-radius: 16px; background: #fffdf9; border: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.lg-steps li::before { content: counter(st); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--dark); color: #f6f1e7; font: 600 14px/1 var(--disp); }
.lg-steps b { display: block; font: 500 18px/1.3 var(--disp); color: var(--ink); margin-bottom: 2px; }
.flow-t text { font: 600 14px var(--disp); fill: #16140f; text-anchor: middle; }
.flow-t text.cal-end { text-anchor: end; }
.flow-t text:first-child { text-anchor: start; }
.flow-t text:nth-child(2) { text-anchor: start; }
.flow-t .flow-s { font: 500 12.5px var(--sans); fill: #6f675a; }
.lg-chart--year svg { min-width: 0; }
.yr-grid { stroke: #eadfcd; stroke-width: 1; }
.yr-m { font: 600 10.5px var(--sans); fill: #8d8577; text-anchor: middle; letter-spacing: .08em; }
.yr-ev { font: 600 11px var(--sans); fill: #16140f; }
.yr-wx { fill: #e8dcc6; }
.yr-wxt { font: 600 10px var(--sans); fill: #6f675a; }
.k-wx { background: #e8dcc6; }
@media (max-width: 640px) { .lg-chart--year { overflow-x: auto; } .lg-chart--year svg { width: 640px; max-width: none; } .lg-steps li { padding: 64px 18px 18px; } .lg-steps li::before { top: 18px; } }
/* Phones: lift the small uppercase labels to a 12px minimum for legibility (raising only, never shrinking) */
@media (max-width: 640px) {
  .txc dt, .txc-region, .cine-bar dt, .case-dl dt, .gj-key span, .gj-dl dt, .gj-kind, .gj-fee span, .gj-count,
  .dtable-4 td::before, .lg-table td::before, .cmp td::before, .dtable thead th, .lg-table thead th,
  .hxl-n, .zn-tag, .dx-status, .case-n, .post-meta b, .lg-toc-h, .lg-article .lg-author-k, .lg-rel-c,
  .contact-rows small, .cinfo small, .bc-cells small, .foot h4, .vframe .ph, .astep legend b { font-size: 12px; }
}
/* Owner rule 2026-11-06: never split a word across two lines in headings (lines break only between words) */
h1, h2, h3, h4, .h2, .h3x, .post-title, .lg-h2 { overflow-wrap: normal; word-break: normal; hyphens: manual; }

/* Home services: wider heading column so 'management,' fits on one line without shrinking the font */
@media (min-width: 901px) { .svc-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; } }

/* Assessment form step 1: free-text custom service (2026-11-06) */
.acustom { display: block; margin-top: 14px; }
.acustom span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: inherit; opacity: .85; }
.acustom input { width: 100%; min-height: 44px; padding: 11px 14px; border-radius: 12px; border: 1px solid rgba(236,230,216,.28); background: rgba(236,230,216,.06); color: inherit; font: 500 15px/1.3 var(--sans); }
.acustom input::placeholder { color: inherit; opacity: .5; }
.acustom input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

/* Phone readability + tap targets (CWV / Lighthouse audit 2026-11-10): labels at 12px, links and toggles at least 24px tall */
@media (max-width: 700px) {
  .label, .band .band-top > .label, .night header span { font-size: 12px; }
  .fld input, .acustom input { font-size: 16px; } /* below 16px iPhone Safari zooms the page on focus */
  .lg-table th a { display: inline-block; padding: 2px 0; }
  .foot ul { gap: 4px; }
  .foot ul a { display: inline-block; padding: 4px 0; }
  .phero .crumbs a { display: inline-block; padding: 4px 0; }
  .ccard .meta a { display: inline-block; padding: 3px 0; }
  .hx-sources summary, .lg-sources summary { padding: 6px 0; }
}

/* Team hero: people photo anchored to the top so heads are never cropped (2026-11-18) */
.phero-bg.phero-bg--top { object-position: 55% 0%; transform-origin: 55% 0%; }

/* Atlanta "What we handle": screen work vs door work (2026-11-18) */
.atl-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 900px) { .atl-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } }
.atl-col { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 36px); }
.atl-col--city { background: var(--dark); border-color: transparent; color: var(--dark-ink); }
.atl-tag { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
.atl-col--city .atl-tag { color: #e07a55; }
.atl-col h3 { font: 600 clamp(20px, 2vw, 24px)/1.2 var(--disp); margin: 0 0 14px; }
.atl-col--city h3 { color: #fff; }
.atl-rows { list-style: none; margin: 0; padding: 0; }
.atl-rows li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.atl-col--city .atl-rows li { border-top-color: rgba(236, 230, 216, .14); }
.atl-n { font: 500 13px/1.7 var(--disp); color: var(--ink-3); }
.atl-col--city .atl-n { color: var(--dark-ink-2); }
.atl-rows a { font: 600 17px/1.35 var(--disp); color: inherit; text-decoration: none; display: inline-block; padding: 2px 0; }
.atl-rows a:hover { text-decoration: underline; text-underline-offset: 3px; }
.atl-rows p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.atl-col--city .atl-rows p, .atl-foot { color: var(--dark-ink-2); }
.atl-foot { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(236, 230, 216, .14); font-size: 14px; line-height: 1.6; }
.atl-alt { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; align-items: center; padding: 24px clamp(22px, 3vw, 36px); border-radius: 22px; background: var(--accent-ink); color: #fff; text-decoration: none; }
.atl-alt .atl-tag { color: rgba(255, 255, 255, .82); margin-bottom: 8px; }
.atl-alt b { font: 600 clamp(18px, 2vw, 22px)/1.25 var(--disp); }
.atl-alt-p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.atl-alt > :not(i) { grid-column: 1; }
.atl-alt i { grid-column: 2; grid-row: 1 / span 3; font-style: normal; font-size: 26px; transition: transform .3s var(--ease); }
.atl-alt:hover i { transform: translateX(6px); }

/* Internal links inside running text (2026-11-18): underlined so they read as links */
a.inline-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a.inline-link:hover { text-decoration-thickness: 2px; }
