/* Local directory template — taste direction "split-stage" (dealt seed 2109105376, 2026-11-03).
   A printed guide card — the paper sheet — scrolls beside a sticky photograph of the trade's world, both set on
   charcoal. One face (Erode), five type steps, surfaces as tone steps; no rules, no shadows, no gradients.
   Each site sets only --accent (a theme is one CSS file layered over this). */
:root {
  --bg: #1c1c1c;          /* charcoal: the ground the panels sit on */
  --paper: #f1f1ef;       /* the reading sheet */
  --paper-2: #e6e5de;     /* one tone step down on paper: hover fills, quiet surfaces */
  --ink: #1c1c1c;         /* full ink on paper */
  --ink-2: #565850;       /* soft ink on paper: secondary notes only */
  --ink-inv: #f1f1ef;     /* ink on charcoal */
  --ink-inv-2: #a8a9a3;   /* soft ink on charcoal */
  --field: #c8c5ba;       /* pale concrete band */
  --yes: #1f7a4d; --no: #b0433b; --unk: #6d746d;
  --accent: #8fa68e;      /* each directory sets its own accent */
  --radius: 20px;         /* panels */
  --radius-s: 10px;       /* controls, rows */
  --serif: "Erode", Georgia, "Times New Roman", serif;
  --t-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --t-mid: clamp(1rem, 0.97rem + 0.14vw, 1.0625rem);
  --t-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --t-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --t-head: clamp(1.625rem, 1.15rem + 2vw, 2.65rem);
  --t-display: clamp(1.625rem, 3.4vw, 2.7rem);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink-inv); font: 400 var(--t-body)/1.5 var(--serif); }
h1, h2, h3, p, dl, ol, ul { margin: 0; }
h1 { font: 500 var(--t-display)/0.98 var(--serif); letter-spacing: -0.025em; text-wrap: balance; }
h2 { font: 500 var(--t-head)/1.04 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
h3 { font: 600 var(--t-body)/1.3 var(--serif); }
p { max-width: 62ch; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: color-mix(in srgb, var(--accent) 72%, var(--ink)); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--accent); color: var(--paper); }

/* ---- the split stage: paper sheet left, sticky photograph right ---- */
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 16px; align-items: start; }
.sheet { position: relative; z-index: 2; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding-bottom: 24px; }
.sheet > * { margin-inline: clamp(22px, 4.2vw, 62px); }
.sheet-head { position: sticky; top: 16px; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px clamp(22px, 4.2vw, 62px); margin-inline: 0; background: var(--paper); border-radius: var(--radius) var(--radius) 0 0; }
.brand { display: flex; gap: 10px; align-items: center; font: 600 20px/1.1 var(--serif); letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--accent); }
.brand .mark { color: var(--accent); width: 22px; height: 22px; }
.sheet-head nav { display: flex; gap: 20px; align-items: center; font-size: var(--t-small); font-weight: 500; }
.sheet-head nav a { color: var(--ink); text-decoration: none; }
.sheet-head nav a:hover { color: var(--accent); }
.sheet-head .cta { background: var(--ink); color: var(--paper); padding: 9px 16px; border-radius: 999px; }
.sheet-head .cta:hover { background: var(--accent); color: var(--ink); }

.crumbs { padding-top: 28px; font-size: var(--t-small); color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.crumbs span[aria-current] { color: var(--ink); }

/* the photograph half: one image always shown, the others crossfading in as sections arrive */
.cine { position: sticky; top: 16px; height: calc(100svh - 32px); min-height: 420px; border-radius: var(--radius); overflow: hidden; background: #111; }
.cine img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.cine img:first-of-type { opacity: 1; }
.cine img.on { opacity: 1; }
.cine-bar { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; gap: 18px;
  background: var(--paper); color: var(--ink); border-radius: 12px; padding: 13px 20px; font-size: 1rem; }
.cine-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cine-bar b { font-weight: 600; }
/* the find page's half: the same shots, stacked and still — the tool page's wall of work */
.cine.strip { display: grid; gap: 12px; height: auto; min-height: 0; align-content: start; background: transparent; }
.cine.strip .cs { margin: 0; border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 4 / 3; background: #111; }
.cine.strip .cs:first-child { aspect-ratio: 3 / 4; }
.cine.strip .cs img { position: static; inset: auto; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.cine.strip .cine-bar { position: static; }

/* ---- the sheet's content ---- */
.hero { padding: clamp(40px, 7vh, 84px) 0 12px; }
.hero h1 { margin-bottom: 22px; }
.lede { font-size: var(--t-lead); line-height: 1.42; max-width: 30em; color: var(--ink); }
.hero .lede { margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; gap: 10px; align-items: center; font: 600 var(--t-body)/1 var(--serif); letter-spacing: 0;
  background: var(--ink); color: var(--paper); border: 0; border-radius: var(--radius-s); padding: 17px 24px; cursor: pointer;
  text-decoration: none; transition: background .18s ease, transform .18s ease; }
.btn:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: var(--paper-2); color: var(--ink); }
.btn.ghost:hover { background: color-mix(in srgb, var(--accent) 22%, var(--paper-2)); color: var(--ink); }
.btn .i { width: 19px; height: 19px; }
.note { font-size: var(--t-mid); color: var(--ink-2); max-width: none; }

/* the live thing: city jump */
.find { display: flex; gap: 10px; max-width: 560px; }
.find input { flex: 1; min-width: 0; font: 400 var(--t-body)/1.3 var(--serif); color: var(--ink); padding: 16px 18px;
  border: 1px solid #b9b8b0; border-radius: var(--radius-s); background: #fff; }
.find input::placeholder { color: #8a8c84; }

/* sections inside the sheet */
.section { padding: clamp(44px, 9vh, 96px) 0 4px; }
.section > h2 { margin-bottom: 26px; }

/* the ranked ledger: two-ended rows, no boxes */
.list { list-style: none; padding: 0; display: grid; gap: 2px; counter-reset: rank; }
.row { display: grid; grid-template-columns: 1.9rem 44px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 13px 14px 13px 10px; border-radius: var(--radius-s); text-decoration: none; color: var(--ink);
  transition: background .18s ease, transform .18s ease; }
.row:hover { background: var(--paper-2); transform: translateX(6px); }
.rk { font-size: var(--t-small); font-variant-numeric: tabular-nums; color: var(--accent); font-weight: 600; }
.row-main { min-width: 0; }
.row-head { display: flex; gap: 12px; align-items: center; }
.row h3 { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .18s ease; }
.row:hover h3 { text-decoration-color: currentColor; }
.logo { flex: none; display: grid; place-items: center; border-radius: 50%; overflow: hidden; width: 44px; height: 44px; }
.logo img { width: 100%; height: 100%; object-fit: cover; }
.logo.mono { background: color-mix(in srgb, var(--accent) 16%, var(--paper)); color: var(--accent); font: 600 15px/1 var(--serif); }
.sub { margin-top: 4px; font-size: var(--t-mid); line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sub .srv { color: var(--ink); }
.val { display: flex; gap: 6px; align-items: baseline; font-variant-numeric: tabular-nums; white-space: nowrap; }
.val .stars { display: inline-flex; gap: 5px; align-items: baseline; color: var(--ink); font-weight: 600; font-size: var(--t-body); }
.val .star { width: 15px; height: 15px; fill: #d99a06; stroke: none; align-self: center; }
.val .rv { font-size: var(--t-small); color: var(--ink-2); }
.stars { display: inline-flex; gap: 5px; align-items: baseline; }
.star { fill: #d99a06; stroke: none; width: 15px; height: 15px; align-self: center; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; margin: 14px 0 0; color: var(--ink-2); font-size: var(--t-small); }
.meta .stars b { color: var(--ink); font-weight: 600; font-size: var(--t-body); }

/* trade copy and figures inside the sheet */
.copy { padding-top: clamp(76px, 12vh, 120px); }
.copy h2 { margin: 36px 0 14px; }
.copy h2:first-child { margin-top: 0; }
.copy p, .copy li { color: var(--ink); }
.copy ul { padding-left: 22px; display: grid; gap: 8px; }
figure { margin: 0; }
.fig { margin: 10px 0 6px; border-radius: var(--radius-s); overflow: hidden; }
.fig img { display: block; width: 100%; height: auto; }
figcaption { font-size: var(--t-mid); color: var(--ink-2); padding-top: 10px; }

/* business page */
.biz-title { display: flex; gap: 18px; align-items: center; margin: 10px 0 8px; }
.biz-title .logo { width: 64px; height: 64px; }
.biz-title h1 { font-size: clamp(1.9rem, 1rem + 2.6vw, 2.9rem); }
.biz-lede { margin-top: 20px; }
.qa { width: 100%; border-collapse: collapse; margin-top: 8px; }
.qa th, .qa td { text-align: left; vertical-align: top; padding: 13px 10px 13px 0; border-bottom: 1px solid #d5d4cc; font-size: var(--t-body); font-weight: 400; }
.qa tr:last-child th, .qa tr:last-child td { border-bottom: 0; }
.qa th { font-weight: 400; color: var(--ink-2); padding-right: 18px; width: 46%; }
.ans { white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.ans .i { width: 16px; height: 16px; }
.ans.yes { color: var(--yes); } .ans.no { color: var(--no); } .ans.unknown { color: var(--unk); }
.src { font-size: var(--t-small); color: var(--ink-2); margin-left: 8px; white-space: nowrap; }
.facts { display: grid; grid-template-columns: minmax(86px, auto) 1fr; gap: 10px 18px; font-size: var(--t-body); }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }
.profile h3 { margin: 26px 0 10px; }
.mini { list-style: none; padding: 0; display: grid; gap: 2px; font-size: var(--t-body); }
.mini li { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 9px 10px 9px 6px; border-radius: var(--radius-s); }
.mini li:hover { background: var(--paper-2); }
.mini a { color: var(--ink); text-decoration: none; }
.mini a:hover { color: var(--accent); text-decoration: underline; }

/* ---- full-width breaks: the split opens to the whole page ---- */
.band { padding: clamp(72px, 14vh, 140px) clamp(20px, 6vw, 96px); }
.band > h2 { margin-bottom: 44px; }
.cities-band { background: var(--bg); color: var(--ink-inv); }
.cities { list-style: none; padding: 0; columns: 4; column-gap: 36px; }
.cities li { break-inside: avoid; }
.cities a { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 9px 10px 9px 4px; border-radius: var(--radius-s);
  color: var(--ink-inv); text-decoration: none; font-size: clamp(1.15rem, 1.4vw, 1.35rem); line-height: 1.4; transition: color .18s ease, padding-left .18s ease; }
.cities a:hover { color: var(--accent); padding-left: 12px; }
.cities span { font-size: var(--t-small); color: var(--ink-inv-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.method { background: var(--field); color: var(--ink); }
.method .argue { max-width: 68ch; display: grid; gap: 22px; font-size: var(--t-body); }
.method strong { font-weight: 600; }

/* the closing photograph: text beside it, never on a busy half */
.cta-bleed { position: relative; height: 88svh; min-height: 480px; overflow: hidden; }
.cta-bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.78); }
.cta-bleed .txt { position: absolute; right: clamp(20px, 6vw, 96px); bottom: clamp(40px, 12vh, 120px); width: min(52%, 620px); color: var(--paper); }
.cta-bleed h2 { color: var(--paper); font-size: clamp(1.55rem, 3vw, 2.6rem); margin-bottom: 18px; }
.cta-bleed p { color: var(--paper); opacity: .92; margin-bottom: 28px; max-width: 34em; }
.cta-bleed .btn { background: var(--paper); color: var(--ink); }
.cta-bleed .btn:hover { background: var(--ink); color: var(--paper); }

/* ---- footer: photograph half, menu half ---- */
.foot { display: grid; grid-template-columns: 1fr 1fr; min-height: 78svh; }
.foot-photo { position: relative; overflow: hidden; }
.foot-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foot-menu { background: var(--bg); color: var(--ink-inv); padding: clamp(48px, 9vh, 84px) clamp(24px, 4vw, 64px) 28px;
  display: flex; flex-direction: column; }
.foot-menu .brand { color: var(--ink-inv); margin-bottom: 44px; }
.foot-menu .brand:hover { color: var(--accent); }
.foot-nav { display: grid; gap: 26px; justify-items: end; text-align: right; }
.foot-nav a { color: var(--ink-inv); text-decoration: none; font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.1; font-weight: 500; letter-spacing: -0.015em;
  transition: transform .18s ease, color .18s ease; width: fit-content; }
.foot-nav a:hover { color: var(--accent); transform: translateX(-12px); }
.foot-cols { margin-top: auto; padding-top: 56px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: flex-end; font-size: var(--t-mid); color: var(--ink-inv-2); }
.foot-cols a { color: var(--ink-inv); }
.foot-cols p { max-width: 46ch; font-size: var(--t-mid); }
.legal { margin-top: 26px; font-size: var(--t-mid); color: var(--ink-inv-2); }
.legal p { max-width: none; font-size: var(--t-mid); }

/* ---- motion: entrances staggered, the photograph drifts, controls answer ---- */
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: no-preference) {
  .rv-on .rv { opacity: 0; transform: translateY(18px);
    transition: opacity .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
  .rv-on .rv.in { opacity: 1; transform: none; }
  .cine img { transition: opacity 1.6s ease; }
  .cine img.on { transform: scale(1.05); transition: opacity 1.6s ease, transform 7s ease; }
  .kb { animation: kb 26s ease-in-out infinite alternate; will-change: transform; }
}

/* ---- the phone is its own composition: photograph first, sheet slides over it ---- */
@media (max-width: 840px) {
  .stage { grid-template-columns: 1fr; }
  .cine { order: -1; height: 48svh; min-height: 320px; }
  .sheet { margin-top: calc(-16svh); min-height: 40vh; border-radius: var(--radius) var(--radius) 0 0; }
  .sheet-head { top: 8px; padding-top: 14px; padding-bottom: 14px; }
  .sheet-head nav a:not(.cta) { display: none; }
  .row { grid-template-columns: 1.4rem 40px minmax(0, 1fr); }
  .row .val { grid-column: 3; margin-top: 2px; }
  .cities { columns: 2; column-gap: 20px; }
  .band { padding-top: 64px; padding-bottom: 64px; }
  .cta-bleed { height: auto; min-height: 0; }
  .cta-bleed img { position: static; height: 62svh; }
  .cta-bleed .txt { position: static; width: auto; padding: 40px 20px 64px; background: var(--bg); }
  .foot { grid-template-columns: 1fr; min-height: 0; }
  .foot-photo { height: 44svh; }
  .find { flex-direction: column; }
  .biz-title h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  /* the tool page keeps the phone composition: one lead photograph, then the sheet */
  .cine.strip { height: 48svh; }
  .cine.strip .cs { aspect-ratio: auto; height: 100%; }
  .cine.strip .cs:not(:first-child), .cine.strip .cine-bar { display: none; }
}
