/* ==========================================================
   Local Lot: shared styles
   Colours live in :root so the whole site can be re-themed
   by changing a handful of values.
   ========================================================== */

/* Self-hosted fonts (SIL Open Font License, from Google Fonts). Latin subset only.
   Bricolage Grotesque: headings, set like painted shop signs.
   Atkinson Hyperlegible Next: body text, designed for maximum legibility. */
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
  src: url("fonts/bricolage-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/atkinson-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/atkinson-italic-latin.woff2") format("woff2");
}

:root {
  /* Shopfront palette: painted fascia black, sign yellow, chalk and kerb grey */
  --paper: #fafaf6;      /* chalk */
  --paper-2: #ecebe4;    /* kerb grey */
  --card: #ffffff;
  --ink: #1d1b18;        /* fascia black */
  --ink-soft: #48443c;
  --muted: #6b665b;
  --line: #d8d4c7;
  --yellow: #f9c80e;     /* sign yellow */
  --yellow-2: #e6b600;
  --open: #1e8a4c;       /* open-sign green, status only */
  --green: #1d1b18;      /* primary dark (kept name for compatibility) */
  --green-2: #36322b;
  --green-tint: #fbefb5;
  --brick: #7a5a00;      /* readable dark gold for small accent text */
  --brick-dark: #5c4400;
  --gold: #f9c80e;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: none;
  --max: 1160px;
  --serif: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: "Atkinson Hyperlegible Next", Verdana, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-2); }
a:hover { color: var(--brick); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--tint { background: var(--paper-2); }
.section--green { background: var(--green); color: #eef3ee; }
.section--green h2, .section--green h3 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 14px;
}
.section--green .eyebrow { color: var(--gold); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brick); color: #fff; }
.btn--primary:hover { background: var(--brick-dark); color: #fff; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-2); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { background: var(--gold); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 251, 240, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 38px; height: 38px; flex-shrink: 0; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.brand-name span { color: var(--brick); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brick); }
.nav-links .btn { padding: 10px 18px; font-size: .95rem; color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none; padding: 8px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border: 0; margin-top: 12px; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { padding: 80px 0 96px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--brick); }
.hero-note { margin-top: 20px; font-size: .95rem; color: var(--muted); }
.price-badge {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.price-badge::before {
  content: ""; position: absolute; inset: 10px; border: 1.5px dashed var(--line); border-radius: 16px; pointer-events: none;
}
.price-big { font-family: var(--serif); font-size: 5.2rem; line-height: 1; color: var(--green); font-weight: 700; }
.price-big small { font-size: 1.4rem; color: var(--ink-soft); font-weight: 500; }
.tick-list { list-style: none; padding: 0; margin: 20px 0 0; }
.tick-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.section--green .tick-list li::before { background-color: rgba(255,255,255,.14); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
}

/* ---------- Bunting ---------- */
.bunting { height: 26px; width: 100%; display: block; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 4px; }
.card p:last-child { margin-bottom: 0; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 14px;
}
.icon-circle {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-tint); color: var(--green);
  margin-bottom: 14px;
}
.icon-circle svg { width: 26px; height: 26px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Comparison ---------- */
.compare { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.compare thead th.us { background: var(--green); }
.compare td.us { background: var(--green-tint); font-weight: 600; color: var(--green); }
.compare tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ---------- Towns ---------- */
.town {
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  position: relative;
}
.town h3 { font-size: 1.6rem; margin-bottom: 4px; }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.tag--live { background: var(--green); color: #fff; }
.tag--soon { background: var(--paper-2); color: var(--ink-soft); border: 1px solid var(--line); }
.tag--cat { background: var(--green-tint); color: var(--green); text-transform: none; letter-spacing: 0; font-size: .8rem; }
.tag--example { background: #fff3d6; color: #7a5a12; text-transform: none; letter-spacing: 0; font-size: .75rem; }

/* ---------- Directory ---------- */
.dir-controls {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin: 32px 0 12px;
}
@media (max-width: 760px) { .dir-controls { grid-template-columns: 1fr; } }
.input, .select, textarea {
  width: 100%; padding: 14px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s ease;
}
.input:focus, .select:focus, textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 3px var(--green-tint); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink-soft);
  padding: 7px 14px; border-radius: 999px; font: inherit; font-size: .9rem; cursor: pointer;
}
.chip:hover { border-color: var(--green-2); color: var(--green); }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.dir-count { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }

.biz-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.biz-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(31,42,36,.08), 0 14px 32px rgba(31,42,36,.1); color: var(--ink); }
.biz-cover { height: 120px; display: grid; place-items: center; position: relative; }
.biz-cover svg { width: 48px; height: 48px; color: rgba(255,255,255,.92); }
.biz-cover .tag { position: absolute; top: 12px; right: 12px; }
.biz-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.biz-body h3 { margin: 0; font-size: 1.2rem; }
.biz-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.biz-body p { font-size: .95rem; color: var(--ink-soft); margin: 4px 0 0; }
.biz-url { margin-top: auto; padding-top: 10px; font-size: .85rem; color: var(--green-2); font-weight: 500; word-break: break-all; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); }

/* ---------- Pricing ---------- */
.pricing-card {
  background: var(--card); border: 2px solid var(--green); border-radius: 22px; padding: 40px;
  box-shadow: var(--shadow); max-width: 560px; margin: 0 auto;
}
.pricing-card .price-big { font-size: 4.6rem; }
.pricing-sub { color: var(--muted); margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 36px auto 0; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 12px; padding: 0 22px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brick); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding-bottom: 20px; margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.form-success {
  display: none; background: var(--green-tint); border: 1px solid var(--green-2); color: var(--green);
  padding: 18px 20px; border-radius: var(--radius-sm); font-weight: 500;
}
.form-success.show { display: block; }

/* ---------- Manifesto ---------- */
.manifesto { counter-reset: m; list-style: none; padding: 0; margin: 0; }
.manifesto li {
  counter-increment: m; position: relative; padding: 22px 0 22px 72px; border-bottom: 1px solid rgba(255,255,255,.15);
}
.manifesto li::before {
  content: counter(m, decimal-leading-zero);
  position: absolute; left: 0; top: 18px;
  font-family: var(--serif); font-size: 2rem; color: var(--gold); font-weight: 600;
}
.manifesto strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: #fff; margin-bottom: 4px; font-weight: 600; }
.manifesto.dark li { border-color: var(--line); }
.manifesto.dark strong { color: var(--ink); }
.manifesto.dark li::before { color: var(--brick); }

/* ---------- Quote band ---------- */
.quote-band { text-align: center; }
.quote-band blockquote {
  font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-style: italic; line-height: 1.3;
  max-width: 880px; margin: 0 auto; color: var(--ink);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--brick); color: #fff; border-radius: 24px; padding: 56px 48px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.88); margin: 0; }
.cta .btn-row { justify-content: flex-end; margin: 0; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; padding: 40px 28px; } .cta .btn-row { justify-content: flex-start; } }

/* ---------- Page header ---------- */
.page-head { padding: 64px 0 40px; }
.page-head .lead { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d1cb; padding: 64px 0 32px; margin-top: 0; }
.site-footer a { color: #e7ece8; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #98a39b;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   Partner business page (business.html)
   ========================================================== */
.partner-bar {
  background: var(--ink); color: #dfe6e1; font-size: .85rem; padding: 8px 0;
}
.partner-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.partner-bar a { color: var(--gold); text-decoration: none; font-weight: 600; }
.partner-hero { color: #fff; padding: 88px 0 72px; }
.partner-hero h1 { color: #fff; }
.partner-hero .lead { color: rgba(255,255,255,.9); }
.partner-hero .biz-meta { color: rgba(255,255,255,.8); font-size: 1rem; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border: 0; }
.info-list svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 500; }
.hours tr.today td { color: var(--brick); font-weight: 700; }
.services { display: grid; gap: 12px; }
.service { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.service strong { display: block; }
.service span { color: var(--muted); font-size: .92rem; }
.service .price { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--green); white-space: nowrap; }

/* Restaurant-style category menu (only when business has menu data) */
.p-menu { padding-top: 48px; padding-bottom: 24px; }
.p-menu-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 28px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.p-menu-head h2 { margin: 4px 0 0; }
.p-menu-note { max-width: 42rem; margin-top: 8px; }
.p-menu-select-wrap { display: flex; flex-direction: column; gap: 6px; min-width: min(100%, 260px); }
.p-menu-select-label {
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.p-menu-select { min-width: 220px; cursor: pointer; }
.p-menu-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.p-menu-tab {
  appearance: none; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: .92rem; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.p-menu-tab:hover { border-color: var(--p-main, var(--ink)); }
.p-menu-tab.is-active {
  background: var(--p-main, var(--ink)); border-color: var(--p-main, var(--ink)); color: #fff;
}
.p-menu-panel {
  background: var(--p-paper, var(--paper)); border: 1px solid var(--line); border-radius: var(--radius, 16px);
  padding: 22px 24px 8px;
}
.p-menu-cat-head { margin-bottom: 8px; }
.p-menu-cat-head h3 { margin: 0 0 4px; font-size: 1.25rem; }
.p-menu-cat-head .small { margin: 0; }
.p-menu-tags {
  display: inline-block; font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--p-main, var(--muted));
  background: color-mix(in srgb, var(--p-main, #0d7377) 12%, transparent);
  padding: 2px 7px; border-radius: 6px; margin-left: 6px; vertical-align: middle;
}
.p-menu-items .service:last-child { border-bottom: 0; }
.partner .p-menu-items .price { color: var(--p-main, var(--green)); }
@media (max-width: 640px) {
  .p-menu-tabs { display: none; } /* select is the control on small screens */
  .p-menu-panel { padding: 18px 16px 4px; }
}

.notice {
  background: #fff3d6; border: 1px solid #ecd28e; color: #6b4e0e; border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: .92rem;
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.small { font-size: .9rem; color: var(--muted); }
.reveal { transition: transform .5s ease; }
.reveal.pre { transform: translateY(10px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.copy-box { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 14px 16px; white-space: pre-wrap; font-size: .92rem; margin: 12px 0; user-select: all; }


/* ==========================================================
   Yellow & black refresh + photography
   ========================================================== */
.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 2px 0 var(--ink); }
.btn--primary:hover { background: var(--yellow-2); color: var(--ink); }
.btn--green { background: var(--ink); color: var(--yellow); }
.btn--green:hover { background: #2a2d34; color: var(--yellow); }
.btn--light { background: var(--ink); color: var(--yellow); }
.btn--light:hover { background: #2a2d34; color: #fff; }
.section--green .btn--light, .partner-hero .btn--light { background: var(--yellow); color: var(--ink); }
.step-num { background: var(--ink); color: var(--yellow); }
.brand-name span { color: var(--ink); background: var(--yellow); padding: 0 6px; margin-left: 3px; border-radius: 6px; }
.site-footer .brand-name span { color: var(--ink); }
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; }
.hero h1 em { color: var(--ink); font-style: italic; background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 .08em; }
.cta { background: var(--yellow); color: var(--ink); }
.cta h2 { color: var(--ink); }
.cta p { color: var(--ink-soft); }
.compare td.us { color: var(--ink); }
.compare thead th.us { background: var(--yellow); color: var(--ink); }
.chip.active { color: var(--yellow); }
.tag--live { background: var(--yellow); color: var(--ink); }

/* Hero photo */
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 35%;
  border-radius: 24px; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--yellow);
}
.sticker {
  position: absolute; top: -26px; left: -26px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); border: 3px solid var(--ink);
  display: grid; place-content: center; text-align: center; transform: rotate(-10deg);
  box-shadow: 0 6px 18px rgba(22,24,29,.18);
}
.sticker strong { font-family: var(--serif); font-size: 2.6rem; line-height: .9; font-weight: 800; }
.sticker span { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.photo-note {
  position: absolute; right: 16px; bottom: 16px; background: rgba(255,255,255,.95); color: var(--ink);
  padding: 10px 14px; border-radius: 12px; font-size: .9rem; font-weight: 600; max-width: 250px;
  box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center;
}
.photo-note .dot { width: 10px; height: 10px; border-radius: 50%; background: #2fb35a; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(47,179,90,.18); }
@media (max-width: 900px) { .sticker { top: -18px; left: 8px; width: 108px; height: 108px; } .sticker strong { font-size: 2.1rem; } }

/* Ribbon under hero */
.ribbon { background: var(--ink); color: #fff; padding: 16px 0; }
.ribbon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-weight: 500; }
.ribbon li { display: flex; align-items: center; gap: 8px; }
.ribbon li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316181d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; flex-shrink: 0; }
.ribbon strong { color: var(--yellow); }

/* Faces mosaic */
.faces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.face { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); }
.face img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.face:hover img { transform: scale(1.04); }
.face figcaption {
  position: absolute; left: 10px; bottom: 10px; background: var(--yellow); color: var(--ink);
  font-weight: 700; font-size: .85rem; padding: 5px 10px; border-radius: 999px;
}
.face:nth-child(even) { transform: translateY(18px); }
@media (max-width: 900px) {
  .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .face:nth-child(even) { transform: none; }
  .face:nth-child(n+4) { display: none; }
}
.photo-credit { font-size: .75rem; color: var(--muted); margin-top: 30px; text-align: center; }

/* Towns over a real street */
.section--photo { position: relative; color: #fff; background: var(--ink) center / cover no-repeat; }
.section--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,24,29,.62), rgba(22,24,29,.82)); }
.section--photo > .container { position: relative; }
.section--photo h2 { color: #fff; }
.section--photo .eyebrow { color: var(--yellow); }
.section--photo .lead { color: rgba(255,255,255,.85); }
.section--photo .town { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); backdrop-filter: blur(4px); }
.section--photo .town h3 { color: #fff; }
.section--photo .town .small { color: rgba(255,255,255,.75); }
.section--photo .town a { color: var(--yellow); }
.section--photo .tag--soon { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }

/* Photo beside text on inner pages */
.side-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--yellow); }
.side-photo figcaption { font-size: .8rem; color: var(--muted); margin-top: 18px; }


/* ==========================================================
   Partner pages: each one themed from its own shopfront
   (--p-main, --p-deep, --p-accent, --p-paper set per business)
   ========================================================== */
.partner { background: var(--p-paper); }
.partner .partner-bar { background: var(--p-deep); }
.partner .partner-bar a { color: var(--p-accent); }
.p-hero { background: radial-gradient(120% 90% at 0% 0%, var(--p-main) 0%, var(--p-deep) 70%); color: #fff; padding: 64px 0 72px; overflow: hidden; }
.p-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.p-hero-photo { margin: 0; order: 2; position: relative; }
.p-hero-photo img { width: 100%; height: auto; aspect-ratio: 899 / 1020; object-fit: cover; border-radius: 20px; border: 4px solid var(--p-accent); box-shadow: 0 24px 60px rgba(0,0,0,.45); transform: rotate(1.5deg); }
.p-hero-photo figcaption { position: absolute; left: -14px; bottom: 28px; background: var(--p-accent); color: var(--p-deep); font-weight: 800; padding: 8px 14px; border-radius: 8px; transform: rotate(-3deg); box-shadow: 0 6px 16px rgba(0,0,0,.25); font-size: .95rem; }
.p-hero-copy { order: 1; }
.p-hero h1 { color: var(--p-accent); font-size: clamp(2.4rem, 5.4vw, 4.2rem); line-height: 1.02; text-transform: uppercase; letter-spacing: -.01em; margin: 6px 0 16px; text-shadow: 0 3px 0 rgba(0,0,0,.25); }
.p-kicker { margin: 18px 0 0; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: rgba(255,255,255,.75); }
.p-lead { font-size: 1.25rem; color: rgba(255,255,255,.92); max-width: 560px; }
.p-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.p-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: 7px 14px; border-radius: 999px; font-size: .92rem; }
.p-badge svg { width: 16px; height: 16px; color: var(--p-accent); fill: var(--p-accent); }
.p-badge--rating strong { color: var(--p-accent); }
.p-dot { width: 9px; height: 9px; border-radius: 50%; background: #b8b8b8; }
.p-badge--open .p-dot { background: #3ddc6f; box-shadow: 0 0 0 4px rgba(61,220,111,.25); }
.p-btn { background: var(--p-accent); color: var(--p-deep); font-weight: 800; }
.p-btn:hover { background: #fff; color: var(--p-deep); }
.p-btn-ghost { border: 2px solid rgba(255,255,255,.8); color: #fff; background: transparent; }
.p-btn-ghost:hover { background: #fff; color: var(--p-deep); }
.p-btn svg, .p-btn-ghost svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .p-hero { padding: 36px 0 48px; }
  .p-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .p-hero-photo { order: 0; max-width: 420px; }
  .p-hero-photo img { transform: none; }
  .p-hero-photo figcaption { left: 10px; }
}

/* The sign board: product tiles in the shop's own colours */
.p-board { background: var(--p-main); padding: 44px 0 52px; border-top: 4px solid var(--p-accent); border-bottom: 4px solid var(--p-accent); }
.p-board-title { color: var(--p-accent); text-align: center; text-transform: uppercase; letter-spacing: .06em; font-size: 1.5rem; margin-bottom: 24px; }
.p-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.p-tile { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 18px 14px; color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.p-tile-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--p-accent); color: var(--p-deep); display: grid; place-items: center; margin-bottom: 4px; }
.p-tile-icon svg { width: 28px; height: 28px; }
.p-tile strong { font-size: 1rem; line-height: 1.25; }
.p-tile span:last-child { font-size: .82rem; color: rgba(255,255,255,.75); }
@media (max-width: 960px) { .p-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .p-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.p-about h2 { color: var(--p-deep); }
.p-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--p-main); margin-bottom: 12px; }
.p-highlights { display: grid; gap: 14px; margin-top: 24px; }
.p-highlight { border-left: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; gap: 4px; }
.p-highlight h3 { margin: 0; color: var(--p-main); font-size: 1.15rem; }
.p-highlight p { margin: 0; color: var(--ink-soft); }
.p-visit { background: #fff; border: 2px solid var(--p-main); border-radius: 18px; padding: 28px; box-shadow: 8px 8px 0 var(--p-accent); }
.p-visit h3 { color: var(--p-deep); }
.p-visit .info-list svg { color: var(--p-main); }
.p-visit .hours tr.today td { color: var(--p-main); }
.p-visit a { color: var(--p-main); font-weight: 600; }
.p-strip { background: var(--p-deep); color: #fff; padding: 40px 0; }
.p-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.p-strip h2 { color: var(--p-accent); margin: 0 0 4px; }
.p-strip p { margin: 0; color: rgba(255,255,255,.8); }

/* Directory photo cards + "your business here" */
.biz-cover--photo { height: 170px; }
.biz-cover--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.rating-pill { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; padding: 4px 10px; border-radius: 999px; }
.rating-pill small { color: var(--muted); font-weight: 500; }
.biz-card--next { background: transparent; border: 2px dashed var(--line); box-shadow: none; }
.biz-card--next .biz-cover { background: var(--paper-2); }
.biz-card--next .biz-cover svg { color: var(--ink); }


/* ==========================================================
   v2 additions
   ========================================================== */

/* Directory cards: keep the photo inside its cover so the text shows */
.biz-cover { flex-shrink: 0; overflow: hidden; }
.biz-cover--photo { display: block; height: 170px; }
.biz-cover--photo img { display: block; width: 100%; height: 170px; object-fit: cover; object-position: 50% 20%; }
.tag--example-card {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: #fff; color: var(--ink); border: 1.5px solid var(--ink);
  text-transform: none; letter-spacing: 0; font-size: .8rem; font-weight: 700;
}

/* Example bar on business pages */
.example-bar { background: var(--yellow); color: var(--ink); font-size: .92rem; padding: 10px 0; border-bottom: 2px solid var(--ink); }
.example-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.example-bar a { color: var(--ink); font-weight: 700; }
.p-example { display: inline-block; background: var(--yellow); color: var(--ink); padding: 2px 8px; border-radius: 6px; margin-right: 6px; letter-spacing: .06em; }

/* Form messages */
.form-success.form-error { background: #fde8e6; border-color: #b3362b; color: #6b1d16; }
.form-success:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* [TO CONFIRM] placeholders: easy to spot */
.tbc { background: #ffe58a; color: #5a3d00; padding: 0 .25em; border-radius: 4px; font-weight: 600; }
.placeholder-note { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--yellow); padding: 4px 0 4px 12px; }
.legal h2 { font-size: 1.5rem; margin-top: 40px; }
.legal h3 { font-size: 1.15rem; margin-top: 24px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }

/* Photo credit under stock images */
.face-credit { font-size: .75rem; color: var(--muted); margin-top: 28px; text-align: center; }

/* Mobile */
@media (max-width: 600px) {
  .hero .btn-row { flex-direction: row; flex-wrap: wrap; }
  .hero .btn-row { gap: 10px; }
  .hero .btn-row .btn { width: auto; flex: 0 0 auto; padding: 11px 16px; font-size: .95rem; }

  .faces {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; margin-left: -20px; margin-right: -20px; padding: 0 20px 12px;
    scroll-padding: 0 20px;
  }
  .face, .face:nth-child(n+4) { display: block; flex: 0 0 72%; scroll-snap-align: start; transform: none; }
  .face:nth-child(even) { transform: none; }
}
.faces-hint { display: none; font-size: .85rem; color: var(--muted); text-align: center; margin: 8px 0 0; }
@media (max-width: 600px) { .faces-hint { display: block; } }
.hero-photo .photo-credit-line { font-size: .75rem; color: var(--muted); margin-top: 18px; }
.photo-credit-line a, .side-photo figcaption a, .photo-credit a { color: inherit; }
.credits-list { list-style: none; padding: 0; display: grid; gap: 20px; }
.credits-list li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.credits-list img { width: 160px; height: 110px; object-fit: cover; border-radius: 8px; }
@media (max-width: 520px) { .credits-list li { grid-template-columns: 1fr; } .credits-list img { width: 100%; height: 160px; } }
.hero-photo .photo-note { bottom: 60px; }
@media (max-width: 600px) { .hero-photo .photo-note { bottom: 64px; right: 10px; font-size: .82rem; } }
.p-hero-inner--solo { grid-template-columns: 1fr; }
.p-hero-inner--solo .p-lead { max-width: 720px; }

/* Videos: 16:9 click-to-load YouTube */
.video-grid { align-items: start; }
.video-card { margin: 0; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--yellow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer; color: #fff; font: inherit; text-align: left;
  background: radial-gradient(120% 120% at 0% 0%, #33363d 0%, var(--ink) 65%);
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; padding: 24px 28px;
}
.video-play:hover .video-play-icon, .video-play:focus-visible .video-play-icon { transform: scale(1.06); background: var(--yellow-2); }
.video-play:focus-visible { outline: 3px solid var(--yellow); outline-offset: -6px; }
.video-play-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; transition: transform .15s ease; }
.video-play-icon svg { width: 34px; height: 34px; margin-left: 4px; }
.video-play-text strong { display: block; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; margin-bottom: 4px; }
.video-play-text span { color: rgba(255,255,255,.75); font-size: .95rem; }
.video-play-note { position: absolute; left: 28px; bottom: 18px; font-size: .8rem; color: rgba(255,255,255,.6); }
.video-card figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: 18px; }
@media (max-width: 600px) {
  .video-play { padding: 16px 18px; gap: 14px; }
  .video-play-icon { width: 56px; height: 56px; }
  .video-play-icon svg { width: 26px; height: 26px; }
  .video-play-text strong { font-size: 1.15rem; }
  .video-play-note { left: 18px; bottom: 10px; font-size: .72rem; }
}

/* ---------- Plans (join page) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
}
.plan h3 { margin: 0 0 6px; font-size: 1.35rem; }
.plan--main { border: 2px solid var(--ink); background: #fffdf5; }
.plan-tag {
  position: absolute; top: -13px; left: 24px; background: var(--yellow); color: var(--ink);
  font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--ink);
}
.plan-price { font-family: var(--serif); font-size: 2.8rem; font-weight: 700; line-height: 1.1; color: var(--ink); }
.plan-price small { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.plan-sub { color: var(--ink-soft); margin: 8px 0 0; font-size: .97rem; }
.plan .tick-list { margin-top: 16px; font-size: .97rem; flex: 1; }
.plan-actions { margin-top: 18px; }
.plan-actions .btn { width: 100%; justify-content: center; text-align: center; }
.pay-note {
  margin: 12px 0 0; padding: 10px 12px; font-size: .9rem; line-height: 1.45;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.plans-notes { max-width: 760px; margin: 32px auto 0; font-size: .97rem; color: var(--ink-soft); }
.plans-notes p { margin: 0 0 10px; }
.plans-notes strong { color: var(--ink); }
.muted-line { color: var(--muted); font-size: .88rem; }
.manage-box {
  max-width: 760px; margin: 24px auto 0; display: flex; flex-wrap: wrap; gap: 14px 20px;
  align-items: center; justify-content: space-between;
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px 22px; background: var(--card);
}
.manage-box > div { display: flex; flex-direction: column; }
.manage-box span { color: var(--ink-soft); font-size: .95rem; }
.manage-box .pay-note { flex-basis: 100%; margin-top: 0; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* Short plans line on the home and how-it-works pages */
.plans-mini { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 18px; font-size: .97rem; color: var(--ink-soft); }
.plans-mini strong { color: var(--ink); }

/* ---------- Local promotion (home, coming soon) ---------- */
.promo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.promo-text h2 { margin-bottom: 10px; }
.promo-list { list-style: none; padding: 0; margin: 22px 0 18px; }
.promo-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.promo-list .icon-circle { flex: 0 0 auto; width: 42px; height: 42px; margin: 0; }
.promo-list .icon-circle svg { width: 20px; height: 20px; }
.promo-examples {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.promo-examples h3 { font-size: 1.2rem; margin: 0 0 16px; }
.promo-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.promo-chip {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px;
  align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.promo-chip:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.promo-chip-icon {
  grid-row: 1 / span 2; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; color: #fff;
}
.promo-chip-icon svg { width: 20px; height: 20px; }
.promo-chip-body { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.promo-chip-body strong { font-size: .95rem; }
.promo-chip-body span { font-size: .82rem; color: var(--muted); }
.promo-chip .tag { justify-self: start; }
.promo-note { margin-top: 16px; color: var(--ink-soft); }
.promo-mention {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  max-width: 820px; margin: 36px auto 0; padding: 16px 20px;
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius);
}
.promo-mention p { flex: 1 1 300px; }
@media (max-width: 900px) { .promo { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 520px) { .promo-chips { grid-template-columns: 1fr; } .promo-examples { padding: 20px; } }

/* Small print with the billed amount, next to each payment button */
.plan-fine { margin: 8px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.plan-price--text { font-size: 2rem; padding: 6px 0 4px; }

/* ---------- Business page: menu markers and photo gallery ----------
   Only used on business.html, and only when a listing has `popular` / `veg`
   menu items or a `gallery`. Listings without them are unaffected. */
.partner .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.p-menu-badge {
  display: inline-block; font-family: var(--sans); font-size: .7rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase; line-height: 1.5;
  padding: 1px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle;
}
.p-menu-badge--popular { background: var(--p-accent, #ffd43b); color: var(--p-deep, #16181d); }
.p-menu-badge--veg {
  background: #e3f2e6; color: #1f6b35; border: 1px solid #a9d3b3;
  min-width: 1.6em; text-align: center; padding: 0 5px;
}
.p-menu-key { margin: 6px 0 0; display: flex; align-items: center; gap: 2px; }
.p-menu-key .p-menu-badge { margin-left: 0; margin-right: 4px; }

.p-gallery { padding-top: 24px; }
.p-gallery h2 { color: var(--p-deep); margin: 4px 0 20px; }
.p-gallery-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.p-gallery-grid--cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .p-gallery-grid--cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.p-gallery-item {
  display: block; width: 100%; padding: 0; border: 0; background: var(--p-main);
  border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.p-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.p-gallery-item:hover img { transform: scale(1.04); }
.p-gallery-item:focus-visible { outline: 3px solid var(--p-main); outline-offset: 3px; }
@media (max-width: 640px) {
  .p-gallery-grid, .p-gallery-grid--cols3, .p-gallery-grid--cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p-gallery-item { aspect-ratio: 1 / 1; }
}
.p-lightbox {
  border: 0; padding: 0; background: transparent; color: #fff;
  max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden;
}
.p-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.p-lightbox::backdrop { background: rgba(10,10,12,.88); }
.p-lightbox-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 16px 24px; }
.p-lightbox-fig img { max-width: min(92vw, 1100px); max-height: 78vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.p-lightbox-fig figcaption { font-size: .95rem; text-align: center; max-width: 40rem; color: #f2f2f2; }
.p-lightbox-btn {
  position: fixed; border: 0; cursor: pointer; font: inherit; line-height: 1;
  width: 48px; height: 48px; border-radius: 999px; font-size: 2rem;
  background: rgba(255,255,255,.14); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.p-lightbox-btn:hover, .p-lightbox-btn:focus-visible { background: rgba(255,255,255,.28); }
.p-lightbox-close { top: 14px; right: 14px; }
.p-lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.p-lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .p-lightbox-prev, .p-lightbox-next { top: auto; bottom: 16px; transform: none; }
}


/* ==========================================================
   Shopfront theme (Oct 2026)
   One bold moment: the hero is a painted shop fascia with a
   hanging "Open" sign. Everything else stays flat and calm.
   ========================================================== */
body { font-size: 18px; line-height: 1.65; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 800; font-stretch: 90%; letter-spacing: -.005em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 700; font-stretch: 92%; line-height: 1.2; }
.lead { font-size: 1.18rem; line-height: 1.6; max-width: 62ch; }
p { max-width: 70ch; }
.center p, .center .lead { margin-left: auto; margin-right: auto; }

/* Small section labels: sentence case, no tracking */
.eyebrow { text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 700; color: var(--brick); margin-bottom: 10px; }
.section--green .eyebrow, .section--photo .eyebrow { color: var(--yellow); }

/* Header */
.site-header { background: rgba(250, 250, 246, .94); border-bottom: 1px solid var(--line); }
.brand-name { font-family: var(--serif); font-weight: 800; font-stretch: 85%; font-size: 1.6rem; }
.brand-name span { border-radius: 4px; }
.nav-links a { font-weight: 700; }
.nav-links a:not(.btn) { background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 3px no-repeat; transition: background-size .2s ease; padding-bottom: 2px; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"]:not(.btn) { color: var(--ink); background-size: 100% 3px; }

/* Buttons: painted sign plates that press in */
.btn { border-radius: 8px; font-weight: 700; font-size: 1.02rem; border: 2px solid var(--ink); padding: 13px 22px; transition: transform .08s ease, box-shadow .08s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: none; }
.btn--primary, .nav-links .btn { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn--primary:hover { background: var(--yellow-2); color: var(--ink); }
.btn--ghost { background: var(--card); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn--ghost:hover { background: var(--paper-2); color: var(--ink); }
.btn--green, .btn--light { background: var(--ink); color: var(--yellow); box-shadow: 0 4px 0 var(--yellow-2); }
.btn--green:hover, .btn--light:hover { background: var(--green-2); color: var(--yellow); }
.section--green .btn--light { background: var(--yellow); color: var(--ink); border-color: var(--yellow); box-shadow: 0 4px 0 #000; }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, .input:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--yellow); }

/* ---------- Hero: the shopfront ---------- */
.hero--shop { padding: 40px 0 88px; overflow: visible; }
.fascia {
  position: relative; background: var(--ink); color: var(--yellow);
  border-radius: 8px 8px 0 0; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px) clamp(30px, 4vw, 52px);
  box-shadow: inset 0 0 0 6px var(--ink), inset 0 0 0 8px rgba(249, 200, 14, .55);
}
.fascia::after { /* scalloped awning edge, echoing the logo */
  content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px;
  background: radial-gradient(circle at 15px 0, var(--yellow) 14px, transparent 14.5px) 0 0 / 30px 18px repeat-x;
}
.fascia-kicker { margin: 0 0 14px; color: #f3e7b8; font-weight: 700; font-size: 1.05rem; max-width: none; }
.fascia h1 {
  color: var(--yellow); margin: 0; font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; font-stretch: 88%;
  line-height: 1; letter-spacing: -.005em; max-width: 19ch;
}
.hero--shop .hero-grid { margin-top: 64px; grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; }
.hero--shop .lead { font-size: 1.25rem; color: var(--ink); margin-top: 0; }
.assurances { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .98rem; color: var(--ink-soft); }
.assurances li { display: flex; align-items: center; gap: 8px; }
.assurances li::before { content: ""; width: 8px; height: 8px; background: var(--ink); border-radius: 2px; }
.hero-call { margin: 18px 0 0; font-size: 1.05rem; }
.hero-call a { color: var(--ink); font-weight: 700; }

.shop-window { position: relative; margin: 0; }
.shop-window img {
  width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 35%;
  border: 10px solid var(--ink); border-radius: 6px; box-shadow: none;
}
.hang-sign {
  position: absolute; top: -50px; right: 26px; z-index: 2;
  background: var(--card); border: 3px solid var(--ink); border-radius: 8px;
  padding: 10px 18px 12px; text-align: center; transform-origin: 50% -34px;
  animation: sign-swing 2.2s cubic-bezier(.3, .6, .3, 1) .4s both;
}
.hang-sign::before { /* the strings and hook */
  content: ""; position: absolute; left: 50%; top: -34px; width: 70%; height: 34px; transform: translateX(-50%);
  background:
    linear-gradient(to top right, transparent calc(50% - 1.5px), var(--ink) calc(50% - 1px), var(--ink) calc(50% + 1px), transparent calc(50% + 1.5px)) left / 50% 100% no-repeat,
    linear-gradient(to top left, transparent calc(50% - 1.5px), var(--ink) calc(50% - 1px), var(--ink) calc(50% + 1px), transparent calc(50% + 1.5px)) right / 50% 100% no-repeat;
}
.hang-sign::after { content: ""; position: absolute; left: 50%; top: -40px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); }
.hang-sign strong { display: block; font-family: var(--serif); font-weight: 800; font-stretch: 80%; font-size: 2.2rem; line-height: 1; color: var(--open); }
.hang-sign span { display: block; font-weight: 700; font-size: 1rem; color: var(--ink); white-space: nowrap; }
@keyframes sign-swing {
  0% { transform: rotate(-16deg); } 30% { transform: rotate(10deg); } 55% { transform: rotate(-5deg); }
  75% { transform: rotate(2.5deg); } 100% { transform: rotate(0); }
}
.shop-window .photo-note { bottom: 64px; right: 22px; border-radius: 6px; border: 2px solid var(--ink); box-shadow: none; }
.shop-window .photo-credit-line { margin-top: 12px; }
@media (max-width: 900px) {
  .hero--shop { padding-top: 24px; }
  .hero--shop .hero-grid { grid-template-columns: 1fr; gap: 72px; margin-top: 48px; }
  .hang-sign { right: 16px; top: -46px; padding: 8px 14px 10px; }
  .hang-sign strong { font-size: 1.8rem; }
}

/* Ribbon */
.ribbon { background: var(--ink); }
.ribbon li { font-weight: 700; }

/* Flat panels with painted-sign edges, no floating shadows */
.card, .plan, .promo-examples, .faq details, .town, .biz-card, .p-visit, .p-highlight { box-shadow: none; }
.card { border: 1px solid var(--line); border-radius: var(--radius); }
.card h3 { font-size: 1.35rem; }
.icon-circle { border-radius: 8px; background: var(--yellow); color: var(--ink); }
.step-num { border-radius: 8px; font-family: var(--serif); font-stretch: 85%; font-weight: 800; }
.face { border-radius: 8px; }
.face figcaption { border-radius: 4px; }
.hero-photo img, .side-photo img { box-shadow: none; }
.side-photo img { border: 10px solid var(--ink); border-radius: 6px; }
.video { box-shadow: none; border-width: 10px; border-radius: 6px; }
.plan--main { border: 3px solid var(--ink); background: #fffbe6; }
.plan-price { font-stretch: 85%; }
.biz-card { border-radius: var(--radius); }
.biz-card:hover { transform: none; box-shadow: none; border-color: var(--ink); }

/* Values list on black: plain rules, no fake numbering */
.manifesto { counter-reset: none; }
.manifesto li { padding-left: 34px; }
.manifesto li::before { content: ""; top: 30px; width: 14px; height: 14px; background: var(--yellow); border-radius: 3px; }
.manifesto strong { font-family: var(--serif); font-weight: 800; font-stretch: 88%; font-size: 1.45rem; }

/* Quote */
.quote-band blockquote { font-family: var(--serif); font-style: normal; font-weight: 700; font-stretch: 85%; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.15; max-width: 24ch; }

/* Closing call to action: a sign board */
.cta { background: var(--yellow); border: 3px solid var(--ink); border-radius: 10px; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta p { color: var(--ink); }

/* FAQ: answers slide open */
.faq details { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--card); transition: border-color .15s ease; }
.faq details[open] { border-color: var(--ink); }
.faq summary { font-family: var(--serif); font-weight: 700; font-stretch: 92%; font-size: 1.2rem; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 700; font-size: 1.6rem; color: var(--ink); transition: transform .2s ease; }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq details[open] > p { animation: faq-open .25s ease both; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Tags */
.tag { border-radius: 4px; }

/* Footer */
.site-footer .brand-name { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hang-sign, .faq details[open] > p { animation: none; }
  .btn, .nav-links a { transition: none; }
}
.hero-call a, [data-phone] { white-space: nowrap; }

/* ---------- Business page: hero video + Google reviews ---------- */
.p-hero-photo video { width: 100%; height: auto; aspect-ratio: 899 / 1020; object-fit: cover; display: block; border-radius: 20px; border: 4px solid var(--p-accent); box-shadow: 0 24px 60px rgba(0,0,0,.45); transform: rotate(1.5deg); }
.p-hero-photo--wide img, .p-hero-photo--wide video { aspect-ratio: 693 / 288; }
@media (max-width: 900px) { .p-hero-photo video { transform: none; } .p-hero-photo--wide { max-width: 560px; } }
@media (prefers-reduced-motion: reduce) { .p-hero-photo video { animation: none; } }
.p-reviews { background: var(--p-paper); }
.p-reviews h2 { color: var(--p-deep); margin: 4px 0 0; }
.p-reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.p-reviews-score { display: grid; justify-items: end; line-height: 1.1; }
.p-reviews-score strong { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 3rem; font-weight: 800; color: var(--p-deep); }
.p-reviews-score small { color: #555; }
.p-stars { color: #f5a400; letter-spacing: 2px; font-size: 1.1rem; }
.p-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.p-review { margin: 0; background: #fff; border: 2px solid var(--p-deep); border-radius: 12px; padding: 20px; box-shadow: 0 4px 0 var(--p-main); display: flex; flex-direction: column; gap: 10px; }
.p-review blockquote { margin: 0; font-size: 1.1rem; line-height: 1.45; color: #1d1b18; flex: 1; }
.p-review figcaption { font-size: .9rem; color: #555; }
@media (max-width: 600px) { .p-reviews-score { justify-items: start; } }
.p-hero-photo--wide { padding-bottom: 22px; }
.p-hero-photo--wide figcaption { bottom: 0; }

/* ---------- Business page: full-width looping shopfront video behind the hero ---------- */
.p-hero--video { position: relative; padding: calc(100vw / 2.45 * .56) 0 64px; background: var(--p-deep); isolation: isolate; }
.p-hero-media { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 1600 / 654; z-index: -1; overflow: hidden; }
.p-hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.p-hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, transparent 0%, transparent 34%, color-mix(in srgb, var(--p-deep) 55%, transparent) 55%, color-mix(in srgb, var(--p-deep) 92%, transparent) 78%, var(--p-deep) 99%),
    linear-gradient(90deg, color-mix(in srgb, var(--p-deep) 55%, transparent) 0%, transparent 60%);
}
.p-hero--video .p-hero-copy { max-width: 680px; }
.p-hero--video h1 { color: #fff; text-shadow: 0 3px 18px rgba(0,0,0,.45); }
.p-hero--video .p-lead { text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.p-hero--video .p-badge { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(0,0,0,.35); }
.p-hero-pause {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.85); background: rgba(0,0,0,.45); color: #fff;
  display: grid; place-items: center; cursor: pointer; z-index: 2;
}
.p-hero-pause:hover { background: rgba(0,0,0,.7); }
.p-hero-pause:focus-visible { outline: 3px solid var(--yellow, #f9c80e); outline-offset: 2px; }
@media (max-width: 700px) {
  .p-hero--video { padding: calc(100vw / 2 * .9) 0 44px; }
  .p-hero-media { aspect-ratio: 2 / 1; }
  .p-hero-media::after { background: linear-gradient(180deg, transparent 0%, transparent 55%, color-mix(in srgb, var(--p-deep) 80%, transparent) 82%, var(--p-deep) 99%); }
  .p-hero-pause { top: 10px; right: 10px; width: 34px; height: 34px; }
}
.p-gallery-grid--cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-gallery-grid--cols2 .p-gallery-item { aspect-ratio: 16 / 10; }
@media (max-width: 600px) { .p-gallery-grid--cols2 { grid-template-columns: 1fr; } }

/* ---------- Trade layouts: text-led hero, hours banner, signature sections ---------- */
.p-hero--text { padding: 56px 0 64px; }
.p-hero-inner--text { grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.p-hero--text h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.p-hero--text .p-badges { margin-bottom: 4px; }
.p-hero-icon { width: 200px; height: 200px; border-radius: 50%; background: var(--p-accent); color: var(--p-deep); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.12); flex: none; }
.p-hero-icon svg { width: 96px; height: 96px; }
.p-hero-call { display: inline-flex; flex-direction: column; gap: 2px; background: var(--p-accent); color: var(--p-deep); border-radius: 14px; padding: 12px 24px 14px; text-decoration: none; box-shadow: 0 5px 0 rgba(0,0,0,.35); }
.p-hero-call:hover { background: #fff; color: var(--p-deep); }
.p-hero-call-label { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.p-hero-call-num { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: clamp(1.9rem, 7vw, 3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
@media (max-width: 760px) {
  .p-hero-inner--text { grid-template-columns: 1fr; gap: 24px; }
  .p-hero-icon { width: 88px; height: 88px; order: -1; box-shadow: 0 0 0 6px rgba(255,255,255,.12); }
  .p-hero-icon svg { width: 44px; height: 44px; }
  .p-hero-call { width: 100%; align-items: center; }
}

.p-banner { background: var(--p-accent); color: var(--p-deep); padding: 28px 0 30px; border-bottom: 4px solid var(--p-deep); }
.p-banner-eyebrow { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.p-banner-head { margin: 4px 0 2px; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; }
.p-banner-sub { margin: 0; font-weight: 600; }

.p-sig { background: var(--p-paper); padding: 44px 0 40px; border-bottom: 1px solid var(--line); }
.p-sig--bare { padding: 28px 0 8px; border-bottom: 0; }
.p-sig h2 { color: var(--p-deep); margin: 4px 0 8px; }
.p-sig-sub { margin: 0 0 8px; color: var(--ink-soft); max-width: 40rem; }
.p-sig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.p-sig--bare .p-sig-grid { margin-top: 0; }
.p-card { background: #fff; border: 2px solid var(--p-main); border-radius: 14px; padding: 18px 20px; box-shadow: 0 4px 0 var(--p-accent); display: flex; flex-direction: column; gap: 6px; }
.p-card h3 { margin: 0; color: var(--p-main); font-size: 1.05rem; }
.p-card p { margin: 0; }
.p-card .btn-row { margin-top: 10px; gap: 8px; }
.p-sig-tbc, .p-sig-hours { grid-column: 1 / -1; margin: 0; }
.p-sig-hours { font-size: 1.1rem; color: var(--p-deep); }
.p-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.p-chips li { background: var(--p-main); color: #fff; border-radius: 999px; padding: 5px 13px; font-size: .92rem; font-weight: 600; }
.p-act { background: var(--p-main); color: #fff; border-color: var(--p-deep); box-shadow: none; padding: 10px 18px; }
.p-act:hover { background: var(--p-deep); color: #fff; }
.p-act--ghost { background: transparent; color: var(--p-main); border-color: var(--p-main); }
.p-act--ghost:hover { background: var(--p-main); color: #fff; }
.p-board-note { margin: 18px 0 0; text-align: center; }

/* ==========================================================
   v8 "Golden hour" revamp (Oct 2026)
   Same brand colours (fascia black, sign yellow, chalk), now
   cinematic: a filmed high street behind the home hero, layered
   scroll parallax, condensed poster headings and calmer motion.
   Parallax: any element with data-depth gets --py from main.js
   (setupParallax). Reveal uses the separate `translate` property
   so it never fights a parallax transform.
   ========================================================== */
:root {
  --dusk: #14120f;          /* deeper fascia black for film sections */
  --glow: #ffb547;          /* golden-hour warmth, gradients only */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 14px;
  --header-h: 72px;
}
body { background: var(--paper); }
h1, h2 { font-stretch: 78%; letter-spacing: -.012em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: .98; }
.section { padding: clamp(72px, 10vw, 124px) 0; }

/* Section labels: small caps line with a sign-yellow tab */
.eyebrow, .p-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: .82rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow::before, .p-eyebrow::before {
  content: ""; width: 22px; height: 8px; border-radius: 2px; background: var(--yellow);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.p-eyebrow { color: var(--p-main); }
.p-eyebrow::before { background: var(--p-accent); box-shadow: inset 0 0 0 1.5px var(--p-deep); }
.section--green .eyebrow, .section--photo .eyebrow, .cine .eyebrow { color: rgba(255, 255, 255, .8); }

/* Parallax layers */
[data-depth] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* Scroll reveal: fade and rise, staggered with --i (set in main.js) */
.reveal { transition: opacity .8s var(--ease-out), translate .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.pre { opacity: 0; translate: 0 28px; transform: none; }
.reveal.pre[data-depth] { transform: translate3d(0, var(--py, 0px), 0); }

/* ---------- Header: floats over the film on the home page ---------- */
.site-header { transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(20, 18, 15, .6); }
body[data-page="home"] .site-header { margin-bottom: calc(-1 * var(--header-h)); }
.site-header.is-over { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-over .brand-name,
.site-header.is-over .nav-toggle,
.site-header.is-over .nav-links a:not(.btn) { color: #fff; }
.site-header.is-over .nav-links a:not(.btn):hover,
.site-header.is-over .nav-links a[aria-current="page"]:not(.btn) { color: #fff; }
.site-header.is-over .brand svg { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
@media (max-width: 860px) {
  .site-header.is-over .nav-links a:not(.btn),
  .site-header.is-over .nav-links a:not(.btn):hover { color: var(--ink); }
  .site-header.is-over:has(.nav-links.open) { background: var(--paper); }
  .site-header.is-over:has(.nav-links.open) .brand-name,
  .site-header.is-over:has(.nav-links.open) .nav-toggle { color: var(--ink); }
}

/* ---------- Home hero: the filmed high street ---------- */
.cine {
  position: relative; isolation: isolate; overflow: clip;
  min-height: min(100svh, 1000px); display: grid; align-items: end;
  padding: calc(var(--header-h) + 120px) 0 clamp(64px, 9vh, 104px);
  background: var(--dusk) url("img/home-hero-poster.jpg") 58% 50% / cover no-repeat; color: #fff;
}
.cine-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.cine-media[data-depth] { transform: translate3d(0, var(--py, 0px), 0) scale(1.06); }
.cine-video { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; display: block; }
.cine-scrim {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 18, 15, .62) 0%, rgba(20, 18, 15, 0) 24%, rgba(20, 18, 15, 0) 42%, rgba(20, 18, 15, .7) 76%, rgba(20, 18, 15, .94) 100%),
    linear-gradient(90deg, rgba(20, 18, 15, .78) 0%, rgba(20, 18, 15, .25) 52%, rgba(20, 18, 15, 0) 75%);
}
.cine-bunting { position: absolute; left: -4%; right: -4%; top: calc(var(--header-h) + 18px); z-index: -1; pointer-events: none; }
.cine-bunting .bunting { height: 46px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.cine-copy { position: relative; }
.cine-copy[data-depth] { opacity: var(--fade, 1); }
.cine-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-weight: 700; font-size: 1rem; color: #fff; max-width: none;
}
.cine-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #3ddc6f; box-shadow: 0 0 0 5px rgba(61, 220, 111, .25); }
.cine h1 {
  color: #fff; margin: 0; max-width: 12.5ch;
  font-size: clamp(3rem, 9vw, 7.4rem); font-weight: 800; font-stretch: 75%; line-height: .9;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.cine-plate {
  display: inline-block; margin-top: .1em; padding: .04em .18em .08em;
  background: var(--yellow); color: var(--ink); text-shadow: none;
  border-radius: 6px; transform: rotate(-1.4deg); box-shadow: 0 .09em 0 var(--ink);
}
.cine .lead { color: rgba(255, 255, 255, .9); font-size: clamp(1.08rem, 1.6vw, 1.3rem); margin: 26px 0 0; max-width: 54ch; }
.cine .btn-row { margin-top: 30px; }
.cine .btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: #fff; box-shadow: 0 4px 0 rgba(255, 255, 255, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cine .btn--ghost:hover { background: #fff; color: var(--ink); }
.cine .assurances { color: rgba(255, 255, 255, .85); }
.cine .assurances li::before { background: var(--yellow); }
.cine .assurances a, .cine .hero-call a { color: #fff; }
.cine .hero-call { color: rgba(255, 255, 255, .85); }
.cine-sign { position: absolute; top: calc(var(--header-h) + 52px); right: clamp(20px, 7vw, 120px); z-index: 1; }
.cine-sign .hang-sign { position: relative; top: 0; right: 0; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .55); }
.cine-tools { position: absolute; right: 20px; bottom: 18px; display: flex; align-items: center; gap: 12px; z-index: 2; }
.cine-credit { margin: 0; font-size: .75rem; color: rgba(255, 255, 255, .7); max-width: 34ch; text-align: right; }
.cine-pause {
  width: 40px; height: 40px; border-radius: 50%; flex: none; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .85); background: rgba(0, 0, 0, .4); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.cine-pause:hover { background: rgba(0, 0, 0, .7); }
.cine-pause:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.cine-scroll {
  position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px;
}
.cine-scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: cine-scroll 1.8s var(--ease-out) infinite; }
@keyframes cine-scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (max-width: 900px) {
  .cine { padding-top: calc(var(--header-h) + 150px); }
  .cine-scroll { display: none; }
  .cine-sign { top: calc(var(--header-h) + 40px); }
  .cine-sign .hang-sign { padding: 7px 12px 9px; }
  .cine-sign .hang-sign strong { font-size: 1.5rem; }
  .cine-sign .hang-sign span { font-size: .85rem; }
}
@media (max-width: 600px) {
  .cine { padding-bottom: 84px; }
  .cine h1 { font-size: clamp(2.7rem, 13.5vw, 4rem); }
  .cine-bunting .bunting { height: 30px; }
  .cine-tools { left: 16px; right: 16px; justify-content: space-between; }
  .cine-credit { text-align: left; }
  .cine .btn-row .btn { padding: 12px 16px; }
}

/* Ticker under the hero (was the ribbon) */
.ticker { background: var(--ink); color: #fff; overflow: hidden; border-bottom: 3px solid var(--yellow); }
.ticker-track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { list-style: none; margin: 0; padding: 17px 0; display: flex; gap: 46px; padding-right: 46px; flex: none; font-weight: 700; }
.ticker li { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.ticker li::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--yellow); transform: rotate(45deg); }
.ticker strong { color: var(--yellow); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Cards, faces, directory cards ---------- */
.card { position: relative; border-radius: var(--radius); transition: translate .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s ease, opacity .8s var(--ease-out); }
.card::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 4px; border-radius: 0 0 4px 4px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.card:hover { box-shadow: 0 26px 50px -30px rgba(20, 18, 15, .45); border-color: var(--ink); }
.card:hover::before { transform: scaleX(1); }
.section--green .card, .section--photo .card { background: rgba(255, 255, 255, .06); }

.faces { gap: 16px; }
.face { border-radius: var(--radius); box-shadow: 0 30px 50px -36px rgba(20, 18, 15, .7); }
.faces .face:nth-child(even) { transform: translate3d(0, calc(26px + var(--py, 0px)), 0); }
.face img { transition: transform .9s var(--ease-out); }
.face figcaption { border-radius: 6px; box-shadow: 0 3px 0 var(--ink); }
.faces-note { font-size: .78rem; color: var(--muted); text-align: center; margin: 64px auto 0; }
@media (max-width: 900px) { .faces-note { margin-top: 20px; } }
@media (max-width: 900px) { .faces .face:nth-child(even) { transform: none; } }

.biz-card { border-radius: var(--radius); transition: translate .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .25s ease, opacity .8s var(--ease-out); }
.biz-card:hover { translate: 0 -4px; box-shadow: 0 26px 50px -30px rgba(20, 18, 15, .5); border-color: var(--ink); }
.biz-cover--photo, .biz-cover--photo img { height: 200px; }
.biz-cover--photo img { transition: transform .9s var(--ease-out); }
.biz-card:hover .biz-cover--photo img { transform: scale(1.06); }
.biz-body h3 { font-size: 1.3rem; }
.biz-card--next { border-radius: var(--radius); }

/* "AI-generated image" label: on cards and on business page photos */
.ai-label {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20, 18, 15, .78); color: #fff; font-family: var(--sans);
  font-size: .74rem; font-weight: 700; letter-spacing: .02em; line-height: 1;
  padding: 6px 9px; border-radius: 6px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.ai-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.ai-label--card { left: 12px; bottom: 12px; }
.ai-label--hero { left: 14px; top: 14px; transform: rotate(-1.5deg); }

/* ---------- Photo sections with a parallax layer ---------- */
.section--photo { overflow: clip; isolation: isolate; background-image: none !important; }
.photo-layer { position: absolute; inset: -22% 0; z-index: -2; background: var(--ink) center / cover no-repeat; }
.section--photo::before { z-index: -1; background: linear-gradient(180deg, rgba(20, 18, 15, .7), rgba(20, 18, 15, .86)); }
.section--photo .town { border-radius: var(--radius); background: rgba(20, 18, 15, .35); }

.side-photo-frame { display: block; overflow: hidden; border: 10px solid var(--ink); border-radius: 10px; }
.side-photo-frame img, .side-photo .side-photo-frame img { border: 0; border-radius: 0; }
.side-photo img[data-depth] { transform: translate3d(0, var(--py, 0px), 0) scale(1.14); }
.side-photo figcaption { padding: 0 4px; }

/* Dark band: a warm glow behind the values list */
.section--green { background: radial-gradient(70% 90% at 100% 0%, rgba(255, 181, 71, .18), transparent 60%), var(--dusk); }
.manifesto li { border-color: rgba(255, 255, 255, .12); }

/* Quote: big and warm */
.quote-band blockquote { font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-stretch: 75%; line-height: .98; }
.quote-band p { margin-left: auto; margin-right: auto; }
.quote-band blockquote::after { content: ""; display: block; width: 88px; height: 8px; margin: 28px auto 0; border-radius: 2px; background: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Closing CTA: the sign board, with bunting along the top */
.cta { position: relative; border-radius: var(--radius); padding-top: 72px; overflow: hidden; }
.cta::before, .page-head::after, .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; height: 22px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 22'%3E%3Cpath d='M0 1.5h120' stroke='%231d1b18' stroke-opacity='.45'/%3E%3Cpath d='M4 2h28L18 20z' fill='%23f9c80e' stroke='%231d1b18' stroke-width='1'/%3E%3Cpath d='M44 2h28L58 20z' fill='%231d1b18'/%3E%3Cpath d='M84 2h28L98 20z' fill='%23fffbf0' stroke='%231d1b18' stroke-width='1'/%3E%3C/svg%3E") 0 0 / 120px 22px repeat-x;
}
.cta::before { top: 14px; }

/* ---------- Inner page heads ---------- */
.page-head {
  position: relative; overflow: clip;
  padding: clamp(56px, 9vw, 112px) 0 clamp(52px, 7vw, 88px);
  background: radial-gradient(80% 110% at 100% 0%, rgba(249, 200, 14, .26), transparent 62%), var(--paper);
}
.page-head::after { bottom: 0; }
.page-head h1 { font-size: clamp(2.7rem, 7.4vw, 5.6rem); font-weight: 800; font-stretch: 75%; line-height: .92; max-width: 15ch; }
.page-head.legal h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.page-head .center h1, .page-head.center h1 { margin-left: auto; margin-right: auto; }

/* ---------- FAQ, plans, forms: softer corners, clearer focus ---------- */
.faq details { border-radius: 10px; }
.faq details[open] { box-shadow: 0 4px 0 var(--yellow), 0 0 0 1px var(--ink); }
.plan { border-radius: var(--radius); }
.plan--main { box-shadow: 0 8px 0 var(--yellow), 0 0 0 0 var(--ink); }
.input, .select, textarea { border-radius: 10px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--dusk); padding-top: 92px; }
.site-footer::before { top: 0; }
.site-footer::after {
  content: "Local Lot"; display: block; text-align: center; overflow: hidden; white-space: nowrap;
  font-family: var(--serif); font-weight: 800; font-stretch: 75%; line-height: .8;
  font-size: clamp(4.5rem, 19vw, 15rem); color: rgba(255, 255, 255, .05); margin: 40px 0 -18px; letter-spacing: -.02em;
}

/* ---------- Business pages: layered hero ---------- */
.p-hero { position: relative; isolation: isolate; overflow: clip; }
.p-hero-glow {
  position: absolute; z-index: -1; pointer-events: none; width: 70vmax; height: 70vmax; right: -24vmax; top: -30vmax;
  border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--p-accent) 32%, transparent) 0%, transparent 62%);
}
.p-hero-photo { border-radius: 20px; }
.p-hero-photo img { transition: box-shadow .4s ease; }
.p-hero h1 { font-stretch: 78%; }
.p-card, .p-highlight, .p-visit, .p-review { transition: translate .35s var(--ease-out), opacity .8s var(--ease-out); }
.p-tile { transition: translate .35s var(--ease-out), background-color .25s ease, opacity .8s var(--ease-out); }
.p-tile:hover { translate: 0 -3px; background: rgba(0, 0, 0, .28); }

/* ---------- Reduced motion: everything still, nothing loops ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-depth], .cine-media[data-depth], .side-photo img[data-depth] { transform: none !important; }
  .faces .face:nth-child(even) { transform: translateY(26px) !important; }
  .cine-copy[data-depth] { opacity: 1; }
  .reveal, .reveal.pre { opacity: 1; translate: none; transition: none; }
  .ticker-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .ticker ul { flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 16px 20px; }
  .ticker ul[aria-hidden="true"] { display: none; }
  .cine-scroll::after { animation: none; }
  .card, .card::before, .biz-card, .face img, .biz-cover--photo img { transition: none; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .faces .face:nth-child(even) { transform: none !important; } }

/* Stagger for scroll reveals. Kept last so component transitions (cards etc.) still pick it up;
   main.js clears --i after the reveal so hovers are instant. */
.reveal { transition-delay: calc(var(--i, 0) * 80ms); }
.ai-label--hero { max-width: calc(100% - 28px); line-height: 1.3; }
/* Phones: the portraits sit in a sideways swipe row, so show them straight away */
@media (max-width: 600px) { .faces .reveal.pre { opacity: 1; translate: none; } }

/* Ticker pause button (touch and keyboard users); hover and focus pause it too */
.ticker { position: relative; }
.ticker.is-paused .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-pause {
  position: absolute; right: 0; top: 0; bottom: 0; z-index: 1; width: 56px; padding: 0 0 0 14px; cursor: pointer;
  border: 0; color: var(--yellow); display: grid; place-items: center;
  background: linear-gradient(90deg, rgba(29, 27, 24, 0) 0%, var(--ink) 38%);
}
.ticker-pause:focus-visible { outline: 3px solid var(--yellow); outline-offset: -4px; }
@media (prefers-reduced-motion: reduce) { .ticker-pause { display: none; } }

/* AI caption on a business page hero video */
.ai-label--video { left: 14px; top: 14px; max-width: calc(100% - 80px); line-height: 1.3; }
@media (max-width: 700px) { .ai-label--video { left: 10px; top: 10px; font-size: .68rem; } }

/* Floating WhatsApp button (every page except business pages). Sits above the home film's
   pause button: .cine-tools is lifted clear of it on the right. */
.wa-float {
  position: fixed; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center; background: #25D366; color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3); transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.wa-float:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.cine-tools { right: 88px; }
@media (max-width: 760px) { .cine-tools { left: 16px; right: 88px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } .wa-float:hover { transform: none; } }
