/* Cyprus map core (core/web/map-core.js): the generic parts. Each site sets the look through these variables:
   --cmap-paper (cards, buttons)   --cmap-ink (text, icons)   --cmap-line (borders)   --cmap-radius (corners)
   --cmap-shadow (popup card)      --cmap-shadow-ctrl (buttons)   --cmap-font (UI font)   --cmap-water (map background)
   --cmap-pop-width (desktop card) --cmap-sheet-radius (top corners of the phone sheet)   --cmap-hint-bg (wheel hint) */
.cmap { position: relative; overflow: hidden; background: var(--cmap-water, #DCE3E4); }
.cmap-canvas { position: absolute; inset: 0; }
.cmap-off .cmap-canvas { display: flex; align-items: center; justify-content: center; }
.cmap-fallback { max-width: 380px; padding: 24px; text-align: center; font: 500 14px/1.6 var(--cmap-font, system-ui, sans-serif);
  color: var(--cmap-ink, #333); }

/* "Use ⌘ + scroll to zoom the map" */
.cmap-hint { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; pointer-events: none;
  background: var(--cmap-hint-bg, rgba(24,35,59,.45)); color: #fff; font: 700 18px/1.3 var(--cmap-font, system-ui, sans-serif);
  text-align: center; padding: 0 24px; opacity: 0; transition: opacity .25s; }
.cmap-hint.on { opacity: 1; }

/* own zoom buttons, bottom right (above Google's terms line) */
.cmap-zoom { position: absolute; right: 12px; bottom: 28px; z-index: 4; display: flex; flex-direction: column;
  background: var(--cmap-paper, #fff); border-radius: var(--cmap-radius, 6px); box-shadow: var(--cmap-shadow-ctrl, 0 4px 12px -6px rgba(0,0,0,.4)); overflow: hidden; }
.cmap-zoom button { width: 40px; height: 40px; border: none; background: none; color: var(--cmap-ink, #333); font: 400 22px/1 var(--cmap-font, system-ui, sans-serif);
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cmap-zoom button + button { border-top: 1px solid var(--cmap-line, #ddd); }
.cmap-zoom button:hover { background: rgba(0,0,0,.04); }

/* coastline credit (ODbL), top left, small */
.cmap-credit { position: absolute; left: 8px; top: 6px; z-index: 3; font: 500 10px/1.2 var(--cmap-font, system-ui, sans-serif);
  color: var(--cmap-ink, #333); opacity: .55; text-decoration: none; background: rgba(255,255,255,.6); padding: 2px 5px; border-radius: 3px; }
.cmap-credit:hover { opacity: .9; }
.cmap-off .cmap-credit, .cmap-off .cmap-zoom { display: none; }

/* area circles: the label sits on the centre (the site fills it) */
.cmap-area-label { position: absolute; transform: translate(-50%, -50%); border: none; background: none; padding: 0; cursor: pointer;
  font: inherit; color: inherit; }

/* popup: a card in the map's bottom-left corner on desktop, a bottom sheet fixed to the screen on phones */
.cmap-pop { position: absolute; z-index: 6; width: var(--cmap-pop-width, 340px); max-width: calc(100% - 32px); overflow-y: auto;
  overscroll-behavior: contain; background: var(--cmap-paper, #fff); border-radius: var(--cmap-radius, 6px);
  box-shadow: var(--cmap-shadow, 0 20px 40px -18px rgba(0,0,0,.45)); }
.cmap-pop[hidden] { display: none; }
.cmap-pop-head { position: sticky; top: 0; height: 0; z-index: 2; }
.cmap-pop-x { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--cmap-paper, #fff); color: var(--cmap-ink, #333); font: 600 18px/1 var(--cmap-font, system-ui, sans-serif);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px -3px rgba(0,0,0,.35); }
.cmap-pop-grab { display: none; }
.cmap-pop.is-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none; z-index: 1200;
  border-radius: var(--cmap-sheet-radius, 14px) var(--cmap-sheet-radius, 14px) 0 0;
  padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 40px -12px rgba(0,0,0,.4); }
.cmap-pop.is-sheet .cmap-pop-body { padding-top: 16px; }
.cmap-pop.is-sheet .cmap-pop-grab { display: block; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; margin-left: -20px;
  border-radius: 2px; background: var(--cmap-line, #ccc); }
.cmap-pop.is-sheet .cmap-pop-x { top: 34px; }

/* pulse rings on every visible pin and group (map-core.js refreshRings), staggered by --d; the selected pin has the
   bigger pulse. Colours come from the site (ringColor, groupRingColor, pulseColor). Events map, Tim 2026-10-26/28. */
.cmap-rings { position: absolute; left: 0; top: 0; pointer-events: none; }
.cmap-ring, .cmap-pulse { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.cmap-ring::before, .cmap-ring::after { content: ""; position: absolute; width: var(--s); height: var(--s); left: calc(var(--s) / -2);
  top: calc(var(--s) / -2); border-radius: 50%; border: 2.5px solid var(--c); box-sizing: border-box; opacity: 0;
  animation: cmap-ring 1.8s ease-out infinite; animation-delay: var(--d); }
.cmap-ring::after { animation-delay: calc(var(--d) - .9s); }
@keyframes cmap-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }
.cmap-pulse::before, .cmap-pulse::after { content: ""; position: absolute; width: 30px; height: 30px; left: -15px; top: -15px;
  border-radius: 50%; border: 3px solid var(--c); box-sizing: border-box; animation: cmap-pulse 1.6s ease-out infinite; }
.cmap-pulse::after { animation-delay: .8s; }
@keyframes cmap-pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cmap-ring { display: none; }
  .cmap-pulse::before, .cmap-pulse::after { animation: none; transform: scale(1.8); opacity: .5; }
}

/* Cyprus Wedding Map design system (design handoff in sites/weddings/design/, README "Design tokens").
   Light mode only. Breakpoints: header hamburger < 1100px, map module mobile < 860px, phones < 600px. */

:root {
  --navy: #1E2A44; --navy-deep: #18233B; --navy-viewer: #141C2E;
  --gold: #B9995A; --gold-logo: #C9A961; --gold-light: #CDB37E; --gold-text: #8A6E36;
  --olive: #5B6346; --olive-tint: #EEF0E6; --olive-line: #CDD1BC; --olive-text: #454B33;
  --ivory: #F7F4EE; --paper: #FBF9F5; --sand-1: #F1ECE2; --sand-2: #EFE9DE;
  --line: #E1D9CB; --line-2: #D9D1C2; --line-3: #EAE3D6; --line-4: #EEE8DD; --price-off: #D3CAB8;
  --text-2: #454B58; --text-3: #5A6070; --muted: #8A8F9C;
  --on-navy: #C9CEDA; --on-navy-2: #A9B0C0; --on-navy-3: #8F97AA;
  --serif: 'EB Garamond', Georgia, serif; --sans: Manrope, system-ui, sans-serif; --script: 'Pinyon Script', cursive;
  --shadow-card: 0 1px 0 #EDE6D9, 0 18px 40px -28px rgba(24,35,59,.35);
  --shadow-pop: 0 20px 40px -18px rgba(24,35,59,.45);
  --shadow-modal: 0 30px 80px -20px rgba(24,35,59,.5);
  --shadow-pill: 0 6px 16px -8px rgba(24,35,59,.45);
  --page: 1360px; --gutter: 24px;
  /* boxes (Tim 2026-10-28): 7px corners, a soft shade instead of a border, alternate rows on a second paper */
  --r: 7px; --shadow-box: 0 1px 2px rgba(24,35,59,.06), 0 8px 22px -12px rgba(24,35,59,.24); --paper-alt: #F3EEE4;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--navy); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
a:hover { color: var(--gold-text); }
button { font-family: inherit; cursor: pointer; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) { :root { --gutter: 16px; } }

/* type */
.eyebrow { font: 600 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow.rules { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow.rules::before, .eyebrow.rules::after { content: ""; width: 36px; height: 1px; background: var(--gold); }
.on-navy .eyebrow { color: var(--gold-light); }
.script { font: 400 38px/1 var(--script); color: var(--gold-text); }
:lang(el) .script, :lang(ru) .script { font: italic 400 23px/1.1 var(--serif); }
.h1-hero { font-size: clamp(36px, 5vw, 62px); line-height: 1.04; letter-spacing: -.01em; }
.h1-hero em, .h1-page em { font-style: italic; color: var(--gold-text); }
.h1-page { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; }
.h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.h2-lg { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; }
.lede { font: 400 16px/1.6 var(--sans); color: var(--text-3); }
.body { font: 400 16px/1.75 var(--sans); color: var(--text-2); display: flex; flex-direction: column; gap: 16px; }
.meta { font: 500 13px var(--sans); color: var(--text-3); }
.diamond { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); display: inline-block; }
.link-caps { font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; }

/* buttons */
/* Main call-to-action buttons (Tim 2026-10-28): solid gold with one lighter gold shine, curved, no gradient, and a
   small soft shade (no black edges). The shine is ::before, under the label (isolation keeps it above the button's
   own background). Outline, util and ghost buttons stay plain and secondary. */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 16px 22px; border-radius: var(--r); font: 700 12.5px var(--sans); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; border: 1px solid var(--gold-logo); background: var(--gold-logo); color: var(--navy-deep);
  box-shadow: 0 2px 6px -1px rgba(24, 35, 59, .28); transition: background .15s, transform .15s, box-shadow .15s; }
.btn::before { content: ""; position: absolute; z-index: -1; left: -25%; right: -8%; top: -40%; height: 92%;
  border-radius: 0 0 65% 35% / 0 0 100% 55%; background: #E2CD98; pointer-events: none; transition: transform .25s; }
.btn:hover { color: var(--navy-deep); background: #D2B36C; box-shadow: 0 4px 10px -2px rgba(24, 35, 59, .32); }
.btn:hover::before { transform: translateY(6%); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 3px rgba(24, 35, 59, .28); }
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.btn.outline, .btn.ghost-navy, .btn.util { isolation: auto; overflow: visible; box-shadow: none; font-weight: 600; }
.btn.outline::before, .btn.ghost-navy::before, .btn.util::before { content: none; }
.btn.outline:active, .btn.ghost-navy:active, .btn.util:active { transform: none; }
.btn.outline { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.btn.outline:hover { background: var(--paper); color: var(--navy); }
.btn.sm { padding: 11px 18px; font-size: 12px; }
.btn.ghost-navy { background: transparent; border: 1px solid #4A577A; color: #F3EFE7; }
.btn.util { background: var(--paper); border: 1px solid var(--line-2); color: var(--navy); padding: 12px 18px; font: 600 12px var(--sans);
  letter-spacing: 0; text-transform: none; }
/* the cookie choices look the same, so neither is pushed (as on the events site) */
.cookie .btn, .cookie .btn.outline { isolation: auto; overflow: visible; box-shadow: none; background: var(--navy); border: 1px solid var(--navy);
  color: var(--paper); font-weight: 600; }
.cookie .btn::before { content: none; }
.cookie .btn:hover { background: var(--navy-deep); color: var(--paper); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.form-err { margin: 4px 0 0; font: 500 13.5px/1.5 var(--sans); color: #9B2C2C; }

/* badges, chips, price marker */
.badge { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font: 600 10.5px var(--sans); letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); color: var(--navy); }
.badge.sm { font-size: 10px; padding: 4px 8px; }
.badge.verified { background: var(--gold-logo); border-color: var(--gold-logo); font-weight: 700; box-shadow: 0 2px 6px -2px rgba(24,35,59,.35); }
.badge.verified::before { content: ""; width: 12px; height: 12px; flex-shrink: 0; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.6 6.2l1.6 1.6 3.2-3.4' fill='none' stroke='%23E6CF96' stroke-width='1.6'/%3E%3C/svg%3E") center/12px no-repeat; }
.badge.unclaimed { border: 1px dashed var(--muted); color: var(--text-2); font-weight: 700; }
.badge.cat { background: var(--olive); border-color: var(--olive); color: var(--paper); letter-spacing: .14em; }
.chip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border-radius: 999px; padding: 8px 15px;
  font: 500 13px var(--sans); background: var(--paper); border: 1px solid var(--line-2); color: var(--navy); text-decoration: none; }
.chip.on { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.chip .count { background: var(--gold); color: var(--navy); border-radius: 999px; min-width: 20px; height: 20px; display: inline-flex;
  align-items: center; justify-content: center; font: 700 11px var(--sans); }
.pill { font: 500 11.5px var(--sans); padding: 4px 9px; border: 1px solid #DDD5C7; border-radius: 999px; white-space: nowrap; }
.price { font: 600 13px var(--sans); letter-spacing: .08em; white-space: nowrap; }
.price .off { color: var(--price-off); }
.price.lg { font-size: 18px; }
.serves { display: inline-flex; align-items: center; gap: 7px; font: 500 13px var(--sans); color: var(--olive-text); }
.serves::before { content: ""; width: 12px; height: 12px; flex-shrink: 0; border-radius: 50%; border: 1.5px dashed var(--olive); }

/* photos and placeholders */
.ph { position: relative; overflow: hidden; background: repeating-linear-gradient(135deg, #EEE8DD 0 10px, #E7E0D2 10px 20px); border-radius: var(--r); }
.ph.vendor { background: repeating-linear-gradient(135deg, #ECEEE4 0 10px, #E2E5D7 10px 20px); }
.ph.navy { background: repeating-linear-gradient(135deg, #273553 0 10px, #2E3D5E 10px 20px); border: 1px solid #3B4A6B; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
/* stock photos (kit.stock_photo): the photo fills the box; a small credit sits in its corner */
.ph.photo { background: #E7E0D2; }
.ph.photo.navy { background: #273553; border: 0; }
.ph.photo img { position: absolute; inset: 0; transition: transform .6s ease; }
.ph-credit { position: absolute; right: 6px; bottom: 6px; z-index: 2; max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; font: 500 10px/1.3 var(--sans); letter-spacing: .01em; color: #fff; text-decoration: none; padding: 3px 8px;
  background: rgba(24,35,59,.48); border-radius: 999px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ph-credit:hover, .ph-credit:focus-visible { color: #fff; background: rgba(24,35,59,.78); max-width: none; text-decoration: underline; }
/* small arched type tiles: just the photographer's name until the credit is hovered or focused */
.type .ph-credit:not(:hover):not(:focus-visible) .pc-x { display: none; }
/* tiles that link somewhere hold the photo (its credit is a link) and one link stretched over the whole tile */
.tile { position: relative; }
.tile > a::after, .tile > .txt > a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tile:has(> a:focus-visible, > .txt > a:focus-visible) { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: var(--r); }
.tile > a:focus-visible, .tile > .txt > a:focus-visible { outline: none; }
.tile:hover .ph.photo img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .ph.photo img { transition: none; } .tile:hover .ph.photo img { transform: none; } }
/* listing pictures (the business's share image or a Commons photo): a plain-text credit, as cards are links */
.ph-credit-s { pointer-events: none; font: 500 9.5px/1.3 var(--sans); padding: 2px 6px; border-radius: 4px; background: rgba(24,35,59,.55);
  color: rgba(255,255,255,.9); white-space: nowrap; }
.ccard .ph-credit-s, .vp-near .ph-credit-s { display: none; }
.mosaic.one { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mosaic.one .ph:first-child { grid-row: auto; }
/* a listing without a picture: its own card (kit.monogram), every colour and shape placed from its id: --mt/--mi
   colours, --mf frame inset, --aw/--ax/--ay the arch, --ma/--mo the curved line */
.ph.mono { container-type: inline-size; background: var(--mt); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; color: var(--mi); }
.ph.mono::before { content: ""; position: absolute; inset: var(--mf); border: 1px solid color-mix(in srgb, var(--mi) 30%, transparent);
  border-radius: calc(var(--r) - 3px); pointer-events: none; }
.ph.mono.round::before { border-radius: 50%; }
.ph.mono::after { content: ""; position: absolute; width: 150%; aspect-ratio: 1; left: var(--mo); top: 38%; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--mi) 24%, transparent); transform: translateX(-50%) rotate(var(--ma)); pointer-events: none; }
.mono-a { position: absolute; left: var(--ax); top: var(--ay); width: var(--aw); aspect-ratio: .78; border-radius: 999px 999px 2px 2px;
  border: 1px solid color-mix(in srgb, var(--mi) 26%, transparent); background: color-mix(in srgb, var(--mi) 7%, transparent); }
.mono-i { position: relative; z-index: 1; font: 500 clamp(14px, 26cqw, 72px)/1 var(--serif); letter-spacing: .04em; }
/* the card waits hidden under a listing picture and shows if the picture fails to load (kit.listing_img) */
.ph.photo > .mono-a, .ph.photo > .mono-i, .ph.photo > .mono-c { display: none; }
.vp-vendor-ph .ph-credit-s, .dp-thumb .ph-credit-s { display: none; }
.mono-c { position: relative; z-index: 1; font: 600 9.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .85;
  max-width: 86%; text-align: center; }
@container (max-width: 120px) { .mono-c { display: none; } }
.lfig { margin: 0; }
.lfig .ph { aspect-ratio: 16/9; box-shadow: var(--shadow-box); }
.lfig figcaption { margin-top: 8px; font: 400 12px/1.5 var(--sans); color: var(--text-3); }
.lfig figcaption a { color: inherit; }
.ph .ph-label { position: absolute; left: 10px; bottom: 8px; font: 500 9.5px ui-monospace, Menlo, monospace; color: #8A8273; }
.ph.nophoto { display: flex; align-items: center; justify-content: center; }
.ph.nophoto::after { content: ""; width: 40px; height: 32px; opacity: .55;
  background: url("assets/logo-symbol-navy.svg") center/contain no-repeat; }

/* header */
.hdr { position: sticky; top: 0; z-index: 1000; background: rgba(251,249,245,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #E4DDD0; }
.hdr-in { max-width: var(--page); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-width: 0; }
.logo svg { flex-shrink: 0; }
.logo span { font: 500 16px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 26px; margin-left: 12px; font: 600 13px var(--sans); letter-spacing: .02em; }
.nav a { text-decoration: none; }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--gold); }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.langs { display: flex; gap: 2px; border: 1px solid #DDD5C7; border-radius: 999px; padding: 3px; }
.langs a { border-radius: 999px; padding: 5px 9px; font: 600 11px var(--sans); letter-spacing: .06em; text-decoration: none; color: var(--navy); }
.langs a.on { background: var(--navy); color: var(--paper); }
.langs .soon { padding: 5px 9px; font: 600 11px var(--sans); letter-spacing: .06em; color: var(--muted); cursor: default; }
.saved-link { font: 600 13px var(--sans); text-decoration: none; white-space: nowrap; }
.saved-link b { font-weight: 700; color: var(--gold-text); }
.menu { display: none; margin-left: auto; }
.menu > summary { list-style: none; width: 44px; height: 44px; border: 1px solid #DDD5C7; background: var(--paper); border-radius: var(--r);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary i { width: 18px; height: 1.5px; background: var(--navy); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; border-top: 1px solid #E4DDD0; background: var(--paper);
  padding: 8px var(--gutter) 24px; display: flex; flex-direction: column; box-shadow: 0 20px 30px -20px rgba(24,35,59,.3); }
.menu-panel > a { font: 500 24px var(--serif); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line-4); }
.menu-langs { display: flex; gap: 8px; margin-top: 18px; }
.menu-langs a { min-width: 48px; height: 44px; border: 1px solid #DDD5C7; border-radius: var(--r); display: inline-flex; align-items: center;
  justify-content: center; font: 600 12px var(--sans); letter-spacing: .06em; text-decoration: none; }
.menu-langs a.on { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.menu-langs .soon { min-width: 48px; height: 44px; border: 1px dashed #DDD5C7; border-radius: var(--r); display: inline-flex; align-items: center;
  justify-content: center; font: 600 12px var(--sans); color: var(--muted); }
.menu-panel .btn { margin-top: 16px; }
@media (max-width: 1099px) { .nav, .hdr-right { display: none; } .menu { display: block; } }

/* sections */
.sec { padding-top: 56px; padding-bottom: 56px; }   /* top and bottom only: .wrap keeps its side gutters */
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-bottom: 40px; }
.grid-fill { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(var(--min, 240px), 1fr)); }

/* hero */
.hero { padding-top: 72px; padding-bottom: 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .script { margin-top: 14px; }
.hero h1 { margin: 14px 0 18px; }
.hero .lede { max-width: 560px; }
.hero .sub-phone { display: none; font: 400 14px/1.5 var(--sans); color: var(--text-3); max-width: 340px; margin-top: 6px; }
.search { margin-top: 32px; width: 100%; max-width: 640px; display: flex; align-items: center; gap: 8px; background: var(--paper);
  border: 1px solid #CFC5B3; border-radius: 999px; padding: 5px 5px 5px 18px; box-shadow: 0 14px 30px -22px rgba(24,35,59,.4); }
.search .mag { width: 14px; height: 14px; border-radius: 50%; border: 1.6px solid var(--navy); flex-shrink: 0; position: relative; }
.search .mag::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 6px; height: 1.6px; background: var(--navy); transform: rotate(45deg); }
.search input { flex: 1; min-width: 0; height: 44px; border: none; background: none; outline: none; font: 500 15px var(--sans); color: var(--navy); }
.filter-btn { position: relative; flex-shrink: 0; width: 44px; height: 44px; border: none; border-radius: 50%; background: var(--navy);
  display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.filter-btn i { height: 1.6px; background: var(--paper); }
.filter-btn i:nth-child(1) { width: 18px; } .filter-btn i:nth-child(2) { width: 12px; } .filter-btn i:nth-child(3) { width: 6px; }
.try { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 12px; font: 500 12.5px var(--sans); color: var(--text-3); }
.try button { border: none; background: none; padding: 0; font: inherit; color: var(--navy); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: var(--gold); }
@media (max-width: 859px) {
  .hero { padding-top: 18px; padding-bottom: 14px; }
  .hero .eyebrow, .hero .script, .hero .lede, .try { display: none; }
  .hero h1 { font-size: 30px; margin: 0; }
  .hero .sub-phone { display: block; }
  .search { margin-top: 14px; }
}

/* the homepage map module: web/css/05-map-home.css */

/* cards */
.vcard { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--navy); }
.vcard .ph { aspect-ratio: 4/3; }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.heart { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); border: none;
  display: flex; align-items: center; justify-content: center; font: 15px var(--sans); color: var(--navy); }
.heart[aria-pressed="true"] { color: #B4384A; }
.vcard .title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.vcard .name { font: 500 23px/1.15 var(--serif); }
.vcard .meta { margin-top: -4px; }
.vcard .extras { display: flex; gap: 5px; flex-wrap: wrap; }
.vcard .from { font: 500 13px var(--sans); color: var(--text-3); border-top: 1px solid var(--line-2); padding-top: 10px; }
.vcard .from strong { color: var(--navy); font-size: 15px; }
.vcard .vc-langs { font: 500 13px var(--sans); color: var(--text-3); }
.ccard { display: flex; gap: 14px; padding: 10px; background: var(--paper); text-decoration: none; color: var(--navy); border-radius: var(--r); box-shadow: var(--shadow-box); }
.ccard.sel { background: #FAF3E4; box-shadow: 0 0 0 1.5px var(--gold), var(--shadow-box); }
/* every other listing in a list gets the second paper, so neighbouring listings are easy to tell apart */
.ccard:nth-of-type(even):not(.sel), .vp-vendor:nth-of-type(even) { background: var(--paper-alt); }
.ccard .ph { width: 128px; min-height: 118px; flex-shrink: 0; }
.ccard .ph.round { width: 96px; height: 96px; min-height: 0; border-radius: 50%; }
.ccard .body-c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ccard .name { font: 500 20px/1.15 var(--serif); }
.ccard .meta { font-size: 12.5px; }
.ccard .foot { margin-top: auto; display: flex; justify-content: space-between; font: 500 12.5px var(--sans); color: var(--text-3); }
.ccard .foot strong { color: var(--navy); }
.kicker-olive { font: 600 10px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 4/3; }
.mosaic .ph:first-child { grid-row: 1 / 3; }
.vcard .mosaic .ph { aspect-ratio: auto; }

/* area tiles, type band, guide cards */
.area { text-decoration: none; color: var(--navy); display: flex; flex-direction: column; gap: 12px; }
.area .ph { aspect-ratio: 4/3; }
.area .row { color: inherit; text-decoration: none; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.area .row span:first-child { font: 500 24px var(--serif); }
.area .row span:last-child { font: 500 12px var(--sans); color: var(--text-3); white-space: nowrap; }
.band { background: var(--navy); color: #F3EFE7; margin-top: 40px; }
.band .wrap { padding-top: 80px; padding-bottom: 80px; }
/* the venue types in two even rows (Tim 2026-10-28: 10 types as 5 + 5, not 8 + 2); --cols = half the tiles, phones 2 */
.type-grid { display: grid; gap: 14px; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); max-width: calc(var(--cols, 5) * 196px); margin: 0 auto; }
@media (max-width: 760px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.type { text-decoration: none; color: #F3EFE7; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.type .ph { width: 100%; aspect-ratio: 3/4; border-radius: 999px 999px var(--r) var(--r); }
.type .tn { font: 500 21px var(--serif); color: inherit; text-decoration: none; }
.type .tn:hover { color: var(--gold-light); }
.type .tc { font: 500 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); margin-top: -8px; }
.gcard { text-decoration: none; color: var(--navy); background: var(--paper); padding: 12px; display: flex; flex-direction: column; gap: 16px; border-radius: var(--r); box-shadow: var(--shadow-box); }
.gcard .ph { aspect-ratio: 16/10; }
.gcard .txt { padding: 0 8px 10px; display: flex; flex-direction: column; gap: 8px; }
.gcard .k { font: 600 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.gcard .t { font: 500 25px/1.15 var(--serif); color: inherit; text-decoration: none; }
.gcard .d { font: 400 14px/1.6 var(--sans); color: var(--text-3); }

/* intro two columns */
.intro { max-width: 1100px; margin: 0 auto; padding: 96px var(--gutter) 40px; display: grid; gap: 48px; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.intro h2 { margin-top: 14px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; padding: 64px var(--gutter) 96px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span:first-child { font: 500 21px/1.3 var(--serif); }
.faq summary span:last-child { font: 300 24px var(--sans); color: var(--gold-text); width: 24px; text-align: center; flex-shrink: 0; }
.faq summary span:last-child::before { content: "+"; }
.faq details[open] summary span:last-child::before { content: "−"; }
.faq details p { margin: 0 0 22px; font: 400 15px/1.7 var(--sans); color: var(--text-2); max-width: 680px; }

/* empty state */
.empty { background: var(--paper); padding: 40px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; border-radius: var(--r); box-shadow: var(--shadow-box); }
.empty b { font: 500 24px var(--serif); }

/* footer */
.ftr { background: var(--navy-deep); color: var(--on-navy); }
.ftr .wrap { padding-top: 56px; padding-bottom: 28px; }
.ftr-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid #2C3957; }
.ftr-cta b { display: block; font: 400 30px/1.15 var(--serif); color: #F3EFE7; }
.ftr-cta span { font: 400 14px var(--sans); color: var(--on-navy-2); }
.ftr-cta .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ftr-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px; padding: 40px 0; }
.ftr-cols div { display: flex; flex-direction: column; gap: 10px; font: 500 14px var(--sans); }
.ftr-cols p { font: 600 10.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.ftr-cols a { color: var(--on-navy); text-decoration: none; }
.ftr-cols a:hover { color: #fff; }
.ftr-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid #2C3957;
  font: 500 12.5px var(--sans); color: var(--on-navy-3); }
.ftr-legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
.ftr-legal a, .ftr-legal button { color: var(--on-navy-3); text-decoration: none; background: none; border: none; padding: 0; font: inherit; }

/* cookie banner */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 1500; max-width: min(400px, calc(100vw - 32px)); background: var(--paper); box-shadow: 0 20px 40px -20px rgba(24,35,59,.4); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; border-radius: var(--r); }
.cookie[hidden] { display: none; }
.cookie b { font: 500 20px var(--serif); }
.cookie span { font: 400 13.5px/1.55 var(--sans); color: var(--text-2); }
.cookie div { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { flex: 1; padding: 12px 14px; font-size: 12px; letter-spacing: .06em; }

/* skip link (first thing in the header; visible on keyboard focus) */
.skip { position: absolute; left: 12px; top: 10px; z-index: 2000; background: var(--navy); color: var(--paper); padding: 10px 16px;
  font: 600 13px var(--sans); text-decoration: none; }
.skip:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { color: var(--paper); }

/* breadcrumbs (kit.crumbs); pages add their own spacing */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font: 500 12.5px var(--sans); color: var(--text-3); }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-current] { color: var(--navy); }

/* Save / Share pills on venue and vendor pages (kit.save_pill, kit.share_pill; site.js) */
.pill-btn { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line-2); background: var(--paper); color: var(--navy);
  padding: 9px 14px; border-radius: 999px; font: 600 12px var(--sans); white-space: nowrap; }
.pill-btn:hover { border-color: var(--navy); }
.pill-btn[aria-pressed="true"] { background: #F3EAD6; }
.pill-btn [hidden] { display: none; }

/* "Details compiled from public sources" and data credits (kit.sources_note) */
.src-note { font: 400 13.5px/1.6 var(--sans); color: var(--text-3); margin-top: -4px; }

/* form fields (kit.field): the quote modal, the business forms, contact */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font: 600 11px var(--sans); letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3); }
.field.wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; height: 48px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: #fff; padding: 0 14px; font: 500 15px var(--sans); color: var(--navy); letter-spacing: 0; text-transform: none; }
.field select { padding: 0 12px; }
.field textarea { height: auto; padding: 12px; font: 400 15px/1.5 var(--sans); resize: vertical; }
.field :focus-visible { outline: 2px solid var(--gold); outline-offset: -1px; border-color: var(--gold); }
.field ::placeholder { color: #A5A9B3; }
.field :user-invalid { border-color: #B4384A; }

/* sent states: a form's confirmation in place of the form */
.sent { padding: 44px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; outline: none; }
.sent[hidden] { display: none; }
.sent h2, .sent h3 { font: 400 30px/1.15 var(--serif); }
.sent p { font: 400 14.5px/1.6 var(--sans); color: var(--text-2); }
.sent > .diamond { width: 10px; height: 10px; }
.sent > .btn { margin-top: 6px; }

/* Request-a-quote modal (kit.quote_modal; site.js): a centred modal on desktop, a bottom sheet on phones */
html.lock { overflow: hidden; }
.qm { position: fixed; inset: 0; z-index: 2500; }
.qm[hidden] { display: none; }
.qm-scrim { position: absolute; inset: 0; background: rgba(24,35,59,.5); }
.qm-sheet { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 32px)); max-height: 90vh;
  background: var(--paper); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--shadow-modal); border-radius: var(--r); }
.qm-grab { display: none; }
.qm-form { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.qm-form[hidden] { display: none; }
.qm-head { padding: 24px 26px 18px; border-bottom: 1px solid var(--line-3); display: flex; justify-content: space-between; gap: 16px; }
.qm-ttl { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qm-k { font: 600 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.qm-name { font: 400 28px/1.1 var(--serif); }
.qm-x { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: 1px solid #DDD5C7; background: none; color: var(--navy);
  font: 400 18px/1 var(--sans); }
.qm-body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 26px; display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.qm-body .field input, .qm-body .field select { height: 46px; padding: 0 12px; }
.qm-note { grid-column: 1 / -1; font: 400 12.5px/1.5 var(--sans); color: var(--text-3); }
.qm-foot { padding: 16px 26px; border-top: 1px solid var(--line-3); display: flex; }
.qm-foot .btn { padding: 16px; font-size: 13px; }
.qm-sent { padding: 48px 32px 40px; overflow-y: auto; gap: 14px; }
.sent-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.sent-ic .diamond { width: 14px; height: 14px; }
.sent-t { font: 400 34px/1.1 var(--serif); outline: none; }
.sent-d { font: 400 15px/1.6 var(--sans); color: var(--text-2); max-width: 380px; }
.sent-d b { font-weight: 600; color: var(--navy); }
.sent-btns { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 340px; margin-top: 10px; }
.sent-btns .btn { white-space: normal; font-size: 12px; padding: 15px; }
@media (max-width: 859px) {
  .qm-sheet { top: auto; left: 0; right: 0; bottom: 0; transform: none; width: auto; max-height: 92vh; border-radius: 14px 14px 0 0; }
  .qm-grab { display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 8px auto 0; flex-shrink: 0; }
  .qm-head { padding: 14px 20px; }
  .qm-body { padding: 18px 20px; }
  .qm-foot { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) { .qm-name { font-size: 24px; } }

/* preview ribbon (builds with example data only) */
.preview-note { background: #F4E9CF; color: var(--navy); font: 600 12px var(--sans); text-align: center; padding: 8px 16px; }

/* legal and plain text pages */
.prose { max-width: 720px; margin: 0 auto; padding: 64px var(--gutter) 96px; }
.prose h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.05; margin: 12px 0 8px; }
.prose h2 { font-size: 26px; margin: 36px 0 10px; }
.prose p, .prose li { font: 400 16px/1.8 var(--sans); color: var(--text-2); }
.prose p + p { margin-top: 14px; }

/* 404 */
.nf { padding: 96px var(--gutter) 120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.nf .big { font: 400 clamp(110px, 18vw, 180px)/1 var(--serif); }
.nf .big em { color: var(--gold); }
.nf .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }

/* Small Google maps (web/js/minimap.js). */
.gmap { position: relative; background: #EFEAE1; min-height: 260px; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow-box); }
.gmap-off { display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(0deg, #EDE6D9 0 40px, #E8E0D1 40px 41px); }
.gmap-fallback { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 20px;
  font: 500 13px/1.5 var(--sans); color: var(--text-3); max-width: 420px; }
.gmap-area-label { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; background: var(--olive); color: var(--paper);
  border: 2px solid var(--paper); border-radius: 999px; padding: 4px 10px; font: 700 11.5px var(--sans); box-shadow: var(--shadow-pill); }
.gmap-area-label.on { background: var(--navy); }

/* Homepage map module (pages/home.py, web/js/map-weddings.js on the shared /core/map-core.js).
   Design: README "Map pieces" and "Screens > 1. Homepage"; desktop list 440px + map, phones (< 860px) List / Map tabs. */

.mapsec { scroll-margin-top: 84px; }
.mapmod [hidden], .fsheet[hidden], .try [hidden], .search [hidden] { display: none !important; }
.mapmod { background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-box); overflow: hidden; }
/* desktop height from the window width, so the island gets an even gap on every side (README "Fitting Cyprus") */
.mbody { display: flex; height: max(420px, calc((min(100vw, 1360px) - 491px - 96px) / 1.664 + 96px)); }
.mtabs { display: none; }
.mlist { width: 440px; flex-shrink: 0; display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line-3); }
.mpills.in-list { display: none; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px 10px; }
.mcount { font: 500 22px var(--serif); }
.mclear, .fs-clear { border: none; background: none; padding: 0; font: 600 12px var(--sans); color: var(--gold-text);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.area-note { margin: 0 18px 10px; display: flex; align-items: center; gap: 10px; background: var(--olive-tint); border: 1px solid var(--olive-line);
  border-radius: var(--r); padding: 7px 8px 7px 12px; font: 500 13px var(--sans); color: var(--olive-text); }
.area-note .ring { width: 14px; height: 14px; border-radius: 50%; border: 1.5px dashed var(--olive); flex-shrink: 0; }
.area-note .txt { flex: 1; }
.area-note button { border: none; background: none; width: 30px; height: 30px; font: 600 17px var(--sans); color: var(--olive-text); }
.mscroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 18px 18px; }
.mcards { display: flex; flex-direction: column; gap: 12px; }
.mcards .ccard { cursor: pointer; transition: background .12s; }
.mcards .ccard:hover:not(.sel) { background: #F6F1E7; }
/* alternate rows by what's shown (kit's nth-of-type counts hidden cards too) */
.mcards .ccard:nth-of-type(even):not(.sel) { background: var(--paper); }
.mcards .ccard.alt:not(.sel) { background: var(--paper-alt); }
.mcards .ccard.alt:hover:not(.sel) { background: #EEE7DA; }
.mempty { box-shadow: none; padding: 40px 12px; }
.mempty .meta { max-width: 290px; font: 400 14px/1.5 var(--sans); }
.mempty .btn { margin-top: 6px; }

/* the map */
.mmap { flex: 1; min-width: 0; position: relative;
  --cmap-paper: var(--paper); --cmap-ink: var(--navy); --cmap-line: var(--line-2); --cmap-radius: var(--r); --cmap-font: var(--sans);
  --cmap-shadow: var(--shadow-pop); --cmap-shadow-ctrl: var(--shadow-pill); --cmap-water: #DCE3E4; --cmap-pop-width: 340px;
  --cmap-hint-bg: rgba(24,35,59,.5); }
.mpills { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.mpills.on-map { position: absolute; top: 14px; right: 14px; left: 14px; z-index: 7; pointer-events: none; }
.mappill { pointer-events: auto; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper);
  color: var(--navy); font: 600 13px var(--sans); display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-pill);
  white-space: nowrap; cursor: pointer; }
.mappill[data-mode="venues"][aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.mappill[data-mode="vendors"][aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--paper); }
.mappill.filters { border-color: var(--navy); padding: 0 14px; }
.mappill .fl { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mappill .fl i { height: 1.5px; background: var(--navy); }
.mappill .fl i:nth-child(1) { width: 14px; } .mappill .fl i:nth-child(2) { width: 9px; } .mappill .fl i:nth-child(3) { width: 4px; }
.fcount { background: var(--gold); color: var(--navy); border-radius: 999px; min-width: 20px; height: 20px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center; font: 700 11px var(--sans); }
.mkey { position: absolute; left: 14px; bottom: 14px; z-index: 5; display: flex; gap: 12px; flex-wrap: wrap; max-width: calc(100% - 90px);
  background: rgba(251,249,245,.94); border-radius: var(--r); box-shadow: var(--shadow-pill); padding: 8px 12px;
  font: 500 11.5px var(--sans); color: #454B55; }
.mkey span { display: flex; align-items: center; gap: 6px; }
.mkey i { display: inline-block; flex-shrink: 0; }
.k-venue { width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.k-hall { width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); }
.k-group { width: 14px; height: 14px; border-radius: 50%; background: rgba(30,42,68,.16); display: inline-flex !important; align-items: center; justify-content: center; }
.k-group i { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.k-area { width: 12px; height: 12px; border-radius: 50%; border: 1.5px dashed var(--olive); background: rgba(91,99,70,.15); }
.mmap .cmap-credit { top: 14px; left: 14px; }
.mmap .cmap-zoom { bottom: 30px; }
.mmap .cmap-fallback { color: var(--text-3); }

/* vendors' areas: an olive count pill over the area name */
.cmap-area-label { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ma-c { min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--olive); color: var(--paper); border: 2px solid var(--paper);
  font: 700 12.5px var(--sans); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-pill); }
.cmap-area-label.on .ma-c { background: var(--olive-text); }
.ma-n { font: 600 11px var(--sans); color: #333926; background: rgba(251,249,245,.9); padding: 2px 6px; border-radius: 3px; white-space: nowrap; }

/* popup (desktop card, phone sheet): photo or no-photo tile, kicker, name, facts, buttons */
.mp-ph { height: 150px; margin: 10px 10px 0; }
.mp-b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.mp-k { font: 600 10px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); padding-right: 30px; }
.mp-n { font: 500 24px/1.1 var(--serif); color: var(--navy); text-decoration: none; }
.mp-n:hover { color: var(--gold-text); }
.mp-m { font: 500 13px/1.5 var(--sans); color: var(--text-3); }
.mp-btns { display: flex; gap: 8px; margin-top: 8px; }
.mp-btns .btn { flex: 1; padding: 12px 10px; font-size: 12px; letter-spacing: .06em; }
.mp-btns .btn.q { flex: 1.3; }

/* hero search: the × clear button and the filter count */
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.q-clear { width: 32px; height: 32px; flex-shrink: 0; border: none; background: none; font: 400 20px var(--sans); color: var(--text-3); }
.filter-btn .fcount { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; font-size: 10px; border: 2px solid var(--paper); padding: 0 3px; }

/* filter sheet: a right-hand drawer on desktop, a bottom sheet on phones */
.fsheet { position: fixed; inset: 0; z-index: 2000; }
.fs-scrim { position: absolute; inset: 0; background: rgba(24,35,59,.42); }
.fs-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--paper); display: flex; flex-direction: column;
  box-shadow: 0 0 60px rgba(24,35,59,.3); }
.fs-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line-3); }
.fs-title { font: 500 26px var(--serif); }
.fs-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #DDD5C7; background: none; font: 500 18px var(--sans); color: var(--navy); }
.fs-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 22px 22px; }
.fs-group { padding: 16px 0; border-bottom: 1px solid var(--line-4); }
.fs-group:last-child { border-bottom: none; }
.fs-k { font: 600 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 12px; }
.fs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-chips .chip { padding: 9px 15px; cursor: pointer; }
.fs-chips .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.seg { display: flex; background: var(--sand-1); border-radius: 999px; padding: 3px; }
.seg button { flex: 1; border: none; border-radius: 999px; padding: 11px; font: 600 13px var(--sans); background: none; color: var(--navy); }
.seg button[data-mode="venues"][aria-pressed="true"] { background: var(--navy); color: var(--paper); }
.seg button[data-mode="vendors"][aria-pressed="true"] { background: var(--olive); color: var(--paper); }
.fs-foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-3); }
.fs-clear { color: var(--navy); font-size: 13px; padding: 0 8px; }
.fs-show { flex: 1; padding: 15px; font-size: 12px; }

/* phones and small tablets: List / Map tabs (opening on Map), pills also on the List tab, no map key */
@media (max-width: 859px) {
  .mapsec { scroll-margin-top: 72px; }
  .mtabs { display: flex; border-bottom: 1px solid var(--line-3); }
  .mtabs button { flex: 1; height: 48px; border: none; background: var(--paper); font: 600 13px var(--sans); letter-spacing: .08em;
    text-transform: uppercase; color: var(--muted); }
  .mtabs button[aria-selected="true"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); }
  .mbody { height: max(380px, calc(100svh - 250px)); }
  .mlist { width: 100%; border-right: none; }
  .mpills.in-list { display: flex; padding: 12px 12px 0; }
  .mscroll { padding: 2px 12px 16px; }
  .list-head { padding: 14px 12px 10px; }
  .area-note { margin: 0 12px 10px; }
  .mapmod[data-view="map"] .mlist, .mapmod[data-view="list"] .mmap { display: none; }
  .mapmod:not([data-view]) .mtabs, .mapmod:not([data-view]) .mmap { display: none; }    /* without JS: the list only */
  .mpills.on-map { top: 12px; right: 12px; left: 12px; }
  .mkey { display: none; }
  .mmap .cmap-credit { top: auto; bottom: 28px; left: 6px; }
  .fs-panel { top: auto; left: 0; width: auto; max-height: 88vh; border-radius: 14px 14px 0 0; }
}
@media (max-width: 380px) { .mappill { padding: 0 12px; } .mappill.filters { padding: 0 11px; } }
/* a label that would overlap a bigger area's (zoomed out) keeps its count and hides its name until you zoom in */
.cmap-area-label.cmap-crowded .ma-n { display: none; }

/* Venue page, /venues/<slug>/ (design: designs/Venue Page.dc.html; README "2. Venue page"). Built by pages/venue.py,
   behaviour in web/js/venue.js. Phones < 860px: one column, 3 photos, the sidebar in normal flow, a fixed quote bar. */

.vp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.vp-k { font: 600 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.vp-crumbs { padding-top: 20px; }
.vp-top { padding-top: 16px; }

/* gallery (claimed and municipal) */
.vp-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 8px;
  border-radius: var(--r); overflow: hidden; }
.vp-tile { border: 0; margin: 0; padding: 0; width: 100%; height: 100%; border-radius: var(--r); display: block; text-align: left; cursor: zoom-in; }
.vp-tile:first-child { grid-row: 1 / 3; }
.vp-tile:hover { filter: brightness(.97); }
.vp-tile .ph-label { font-size: 10px; }
.vp-gallery.few { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-template-rows: 448px; }
.vp-gallery.few .vp-tile:first-child { grid-row: auto; }
.vp-allphotos { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  border: 1px solid var(--navy); background: var(--paper); color: var(--navy); padding: 10px 16px; border-radius: var(--r);
  font: 600 12px var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.vp-grid-ic { display: grid; grid-template-columns: 5px 5px; gap: 2px; }
.vp-grid-ic i { width: 5px; height: 5px; background: var(--navy); }

/* no photos (unclaimed) */
.vp-onephoto { max-width: 920px; }
.vp-onephoto .lfig .ph { aspect-ratio: 21/9; max-height: 440px; }
.vp-onephoto-d { margin: 6px 0 0; font: 400 13px/1.6 var(--sans); color: var(--text-2); }
@media (max-width: 700px) { .vp-onephoto .lfig .ph { aspect-ratio: 4/3; } }
.vp-nophotos { min-height: 280px; background: var(--paper); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; border-radius: var(--r); box-shadow: var(--shadow-box); }
.vp-nophotos .diamond { width: 10px; height: 10px; }
.vp-mono { width: 180px; aspect-ratio: 4/3; margin-bottom: 6px; box-shadow: var(--shadow-box); }
.vp-nophotos-t { font: 500 26px var(--serif); }
.vp-nophotos-d { font: 400 14px/1.5 var(--sans); color: var(--text-3); max-width: 420px; }
.vp-nophotos .link-caps { margin-top: 4px; }

/* layout: content plus a sticky sidebar */
.vp-layout { padding-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.vp-main { min-width: 0; display: flex; flex-direction: column; container-type: inline-size; }
.vp-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }

/* title block */
.vp-title { display: flex; flex-direction: column; gap: 12px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.vp-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.vp-h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; }
.vp-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font: 500 14px var(--sans); color: var(--text-3); }
.vp-addr > a { font-weight: 600; }
.vp-pills { margin-left: auto; display: flex; gap: 8px; }

/* key facts */
.vp-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); border-bottom: 1px solid var(--line); }
.vp-fact { padding: 22px 18px 22px 0; display: flex; flex-direction: column; gap: 6px; }
.vp-fact-v { font: 500 21px/1.2 var(--serif); }
.vp-fact-n { font: 400 12.5px/1.4 var(--sans); color: var(--text-3); }

/* sections */
.vp-sec { padding: 36px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.vp-sec-open { border-bottom: 0; padding-bottom: 8px; }
.vp-sec-last { padding-bottom: 56px; }
.vp-h2 { font: 400 32px/1.1 var(--serif); }
.vp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.vp-about { font: 400 16px/1.75 var(--sans); color: var(--text-2); max-width: 680px; margin-top: -4px; }
.vp-small { font: 400 12.5px/1.5 var(--sans); color: var(--text-3); margin-top: -6px; }

/* packages (claimed) */
.vp-pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.vp-pkg { background: var(--paper); padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; border-radius: var(--r); box-shadow: var(--shadow-box); }
.vp-pkg.feat { box-shadow: 0 0 0 1.5px var(--gold), var(--shadow-box); }
.vp-pkg-tag { align-self: flex-start; font: 700 10.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text);
  border-radius: var(--r); white-space: nowrap; }
.vp-pkg.feat .vp-pkg-tag { background: var(--gold-logo); color: var(--navy); padding: 5px 9px; }
.vp-pkg-name { font: 500 26px/1.1 var(--serif); }
.vp-pkg-from { font: 500 13px var(--sans); color: var(--text-3); }
.vp-pkg-from strong { font: 600 20px var(--sans); color: var(--navy); }
.vp-ticks { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line-4); display: flex; flex-direction: column; gap: 7px; }
.vp-ticks li { display: flex; gap: 10px; align-items: baseline; font: 400 13.5px/1.45 var(--sans); color: var(--text-2); }
.vp-ticks li::before { content: ""; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; position: relative; top: -2px; }

/* prices on request (unclaimed) */
.vp-onreq-d { font: 400 14.5px/1.6 var(--sans); color: var(--text-2); max-width: 560px; margin-top: -4px; }

/* municipal: fees, documents checklist, how to book */
.vp-fees { border-top: 1px solid var(--navy); }
.vp-fee { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.vp-fee > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.vp-fee-k { font: 500 15px var(--sans); }
.vp-fee-n { font: 400 12.5px var(--sans); color: var(--text-3); }
.vp-fee-v { font: 500 22px var(--serif); white-space: nowrap; }
.vp-fee-v.vp-fee-sm { font-size: 19px; }
.vp-fee-k a { text-decoration-color: var(--gold); }
.vp-docs { display: flex; flex-direction: column; gap: 2px; }
.vp-doc { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; padding: 14px 16px; border: 0; background: var(--paper); color: var(--navy); border-radius: var(--r); }
.vp-doc[aria-pressed="true"] { background: var(--sand-1); }
.vp-box { width: 22px; height: 22px; border: 1.5px solid var(--navy); border-radius: var(--r); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.vp-box::after { content: ""; width: 8px; height: 8px; transform: rotate(45deg); }
.vp-doc[aria-pressed="true"] .vp-box { background: var(--navy); }
.vp-doc[aria-pressed="true"] .vp-box::after { background: var(--gold); }
.vp-doc-t { display: flex; flex-direction: column; gap: 3px; }
.vp-doc-k { font: 600 14.5px var(--sans); }
.vp-doc[aria-pressed="true"] .vp-doc-k { text-decoration: line-through; }
.vp-doc-n { font: 400 13px/1.5 var(--sans); color: var(--text-3); }
.vp-docs-meta { font-weight: 500; margin-top: -8px; }
.vp-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 22px; }
.vp-steps li { display: flex; flex-direction: column; gap: 10px; }
.vp-step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--paper); display: flex; align-items: center;
  justify-content: center; font: 500 20px var(--serif); }
.vp-step-k { font: 500 20px/1.2 var(--serif); }
.vp-step-d { font: 400 13.5px/1.6 var(--sans); color: var(--text-2); }

/* location and parking */
.vp-loc { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.vp-map { min-height: 300px; }
.vp-loc-info { display: flex; flex-direction: column; gap: 16px; }
.vp-addr-b { display: flex; flex-direction: column; gap: 4px; font: 500 15px/1.5 var(--sans); }
.vp-park { display: flex; gap: 12px; align-items: flex-start; font: 400 13.5px/1.55 var(--sans); color: var(--text-2); }
.vp-p { width: 24px; height: 24px; flex-shrink: 0; border-radius: var(--r); background: var(--olive); color: var(--paper); font: 700 12px var(--sans);
  display: flex; align-items: center; justify-content: center; }
.vp-access { font: 400 13.5px/1.55 var(--sans); color: var(--text-2); }
.vp-loc-info .btn { padding: 13px; }
@container (max-width: 560px) { .vp-loc { grid-template-columns: minmax(0, 1fr); } }

/* nearby venues, vendors who work here */
.vp-nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.vp-near { text-decoration: none; color: var(--navy); display: flex; flex-direction: column; gap: 10px; }
.vp-near .ph { aspect-ratio: 4/3; }
.vp-near .ph-label { font-size: 9px; left: 9px; }
.vp-near-k { font: 600 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.vp-near-name { font: 500 21px/1.15 var(--serif); margin-top: -4px; }
.vp-near .meta { font-size: 12.5px; }
.vp-vendors { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.vp-vendor { text-decoration: none; color: var(--navy); display: flex; gap: 14px; align-items: center;
  background: var(--paper); padding: 12px; border-radius: var(--r); box-shadow: var(--shadow-box); }
.vp-vendor-ph { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: repeating-linear-gradient(135deg, #ECEEE4 0 8px, #E2E5D7 8px 16px); }
.vp-vendor-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vp-vendor-name { font: 500 19px/1.15 var(--serif); }
.vp-vendor .serves { font-size: 12px; gap: 6px; }
.vp-vendor .serves::before { width: 10px; height: 10px; }

/* sidebar */
.vp-card { background: var(--paper); box-shadow: 0 18px 40px -28px rgba(24,35,59,.35); padding: 24px;
  display: flex; flex-direction: column; gap: 16px; border-radius: var(--r); }
.vp-price { display: flex; flex-direction: column; gap: 4px; }
.vp-price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vp-from { font: 400 36px/1 var(--serif); }
.vp-from.sm { font-size: 30px; line-height: 1.1; }
.vp-price .price { font-size: 15px; }
.vp-price-n { font: 400 13px var(--sans); color: var(--text-3); }
.vp-quote-btn { padding: 17px; font-size: 13px; }
.vp-reply { font: 400 12.5px var(--sans); color: var(--text-3); text-align: center; margin-top: -6px; }
.vp-utils { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.vp-utils .btn { padding: 12px 4px; font-size: 11.5px; letter-spacing: .04em; }
.vp-claim { background: var(--navy); color: #F3EFE7; padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; border-radius: var(--r); box-shadow: var(--shadow-box); }
.vp-claim-t { font: 500 23px/1.15 var(--serif); }
.vp-claim-d { font: 400 13.5px/1.55 var(--sans); color: var(--on-navy); }
.vp-claim .btn { align-self: flex-start; padding: 12px 16px; }
.vp-office { padding: 20px 24px; display: flex; flex-direction: column; gap: 8px;
  font: 400 13.5px/1.55 var(--sans); color: var(--text-2); border-radius: var(--r); box-shadow: var(--shadow-box); }
.vp-correct { font: 500 12.5px var(--sans); color: var(--text-3); text-align: center; }

/* phone quote bar */
.vp-bar { display: none; }

/* photo viewer */
.vp-viewer { position: fixed; inset: 0; z-index: 3000; background: var(--navy-viewer); color: #F3EFE7; display: flex; flex-direction: column; }
.vp-viewer[hidden] { display: none; }
.vp-v-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.vp-v-count { font: 500 13px var(--sans); letter-spacing: .1em; min-width: 64px; }
.vp-v-name { font: 500 18px var(--serif); min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-v-top .vp-v-btn { margin-left: 20px; }
.vp-v-btn { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 1px solid #3B4A6B; background: none; color: #F3EFE7;
  font: 400 20px/1 var(--sans); display: flex; align-items: center; justify-content: center; }
.vp-v-btn:hover { border-color: var(--gold-light); }
.vp-v-btn:focus-visible, .vp-thumb:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.vp-v-btn.lg { width: 48px; height: 48px; }
.vp-v-stage { flex: 1; min-height: 0; display: flex; align-items: center; gap: 16px; padding: 0 20px; }
.vp-v-photo { flex: 1; height: 100%; max-height: 72vh; display: flex; align-items: flex-end; padding: 14px;
  background: repeating-linear-gradient(135deg, #1E2A44 0 12px, #233150 12px 24px); font: 500 11px ui-monospace, Menlo, monospace; color: #8E9AB3; }
.vp-thumbs { display: flex; gap: 8px; padding: 18px 20px; overflow-x: auto; }
.vp-thumb { width: 64px; height: 48px; flex-shrink: 0; padding: 0; border: 2px solid transparent;
  background: repeating-linear-gradient(135deg, #1E2A44 0 6px, #2A3858 6px 12px); }
.vp-thumb:first-child { margin-left: auto; }
.vp-thumb:last-child { margin-right: auto; }
.vp-thumb[aria-current="true"] { border-color: var(--gold-light); }
.vp-v-credit { text-align: center; font: 400 11.5px var(--sans); color: #8E9AB3; padding-bottom: 14px; }

@media (max-width: 859px) {
  .vp-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  .vp-aside { position: static; padding-bottom: 48px; }
  .vp-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px; }
  .vp-tile:first-child { grid-column: 1 / -1; grid-row: 1; }
  .vp-tile:nth-child(n+4) { display: none; }
  .vp-gallery.few { grid-template-rows: 220px; }
  .vp-bar { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: var(--paper); border-top: 1px solid var(--line); padding: 12px 16px; }
  .vp-bar-p { display: flex; flex-direction: column; white-space: nowrap; }
  .vp-bar-p span { font: 500 11px var(--sans); color: var(--text-3); }
  .vp-bar-p b { font: 500 22px/1 var(--serif); }
  .vp-bar .btn { flex: 1; height: 48px; padding: 0 16px; }
  body:has(.vp-bar) { padding-bottom: 72px; }
  body:has(.vp-bar) .cookie { bottom: 88px; }
}
@media (max-width: 600px) {
  .vp-h2 { font-size: 28px; }
  .vp-v-stage { gap: 8px; padding: 0 10px; }
  .vp-v-btn.lg { width: 40px; height: 40px; }
  .vp-v-top { padding: 12px 14px; }
}

/* Vendor page (design: designs/Vendor Page.dc.html, README "3. Vendor page"). Built by pages/vendor.py; behaviour in
   web/js/vendor.js. Phones (< 860px) get one column, a sticky Call / Request a quote bar and a bottom-sheet quote form. */

.dp-crumbs, .dp-hero, .dp-portfolio, .dp-body, .dp-similar { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.dp-h2 { font: 400 32px/1.1 var(--serif); }
.dp-eyebrow { font-size: 10.5px; letter-spacing: .18em; }
.dp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }

/* breadcrumb (kit.crumbs) */
.dp-crumbs { padding-top: 20px; }

/* hero: who on the left, price card on the right */
.dp-hero { padding-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; }
.dp-who { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; min-width: 0; }
.dp-logo { width: 128px; height: 128px; flex-shrink: 0; border-radius: 50%; border: 4px solid var(--paper); box-shadow: 0 0 0 1px #D8DBC9;
  display: flex; align-items: center; justify-content: center; }
.dp-who-txt { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.dp-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-h1 { font: 400 clamp(36px, 4.4vw, 54px)/1.05 var(--serif); overflow-wrap: anywhere; }
.dp-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font: 500 14px var(--sans); color: var(--text-2); }
.dp-serves { display: inline-flex; align-items: center; gap: 8px; color: var(--olive-text); }
.dp-serves::before { content: ""; width: 14px; height: 14px; flex-shrink: 0; border-radius: 50%; border: 1.5px dashed var(--olive); background: rgba(91,99,70,.12); }
.dp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.dp-card { background: var(--paper); box-shadow: 0 18px 40px -28px rgba(24,35,59,.35); padding: 22px;
  display: flex; flex-direction: column; gap: 14px; min-width: 0; border-radius: var(--r); }
.dp-from { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.dp-from span { font: 500 12.5px var(--sans); color: var(--text-3); }
.dp-from b { font: 400 36px/1 var(--serif); }
.dp-from b.dp-onreq { font-size: 28px; }
.dp-card .btn { padding: 16px; font-size: 13px; }
.dp-utils { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; }
.dp-util { text-align: center; font: 600 11.5px var(--sans); text-decoration: none; border: 1px solid var(--line-2); padding: 12px 4px;
  border-radius: var(--r); white-space: nowrap; }
.dp-util:hover { border-color: var(--navy); color: var(--navy); }

/* portfolio: filter pills over a dense masonry grid */
.dp-portfolio { padding-top: 40px; }
.dp-portfolio .dp-head { margin-bottom: 16px; }
.dp-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-filters .chip { padding: 8px 14px; }
.dp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 8px; }
.dp-tile { border-radius: var(--r); }
.dp-tile.dp-tall { grid-row: span 2; }
.dp-tile[hidden] { display: none; }
.dp-credit { margin-top: 10px; font: 400 12px var(--sans); color: var(--text-3); }
.dp-fig { margin-top: 16px; max-width: 760px; }
.dp-more { margin: 8px 0 0; font: 400 13px/1.6 var(--sans); color: var(--text-2); }
.dp-nophotos { display: flex; gap: 18px; align-items: center; padding: 20px; background: var(--paper); margin-top: 16px; border-radius: var(--r); box-shadow: var(--shadow-box); }
.dp-nophotos .ph { width: 120px; height: 90px; flex-shrink: 0; }
.dp-nophotos p { font: 400 14px/1.6 var(--sans); color: var(--text-2); }
.dp-nophotos b { display: block; font: 500 21px var(--serif); color: var(--navy); }

/* main column and sidebar */
.dp-body { padding-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.dp-main { min-width: 0; }
.dp-block { padding: 32px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.dp-block.dp-last { border-bottom: none; }
.dp-about { font: 400 16px/1.75 var(--sans); color: var(--text-2); max-width: 680px; }
.dp-svcs { border-top: 1px solid var(--navy); margin-top: 2px; }
.dp-svc { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dp-svc-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dp-svc-name { font: 500 21px/1.2 var(--serif); }
.dp-svc-note { font: 400 13.5px/1.5 var(--sans); color: var(--text-3); }
.dp-svc-price { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.dp-svc-price span { font: 500 11px var(--sans); color: var(--text-3); }
.dp-svc-price b { font: 500 22px var(--serif); white-space: nowrap; }

.dp-mapbox { position: relative; height: 360px; overflow: hidden; border-radius: var(--r); box-shadow: var(--shadow-box); }
.dp-mapbox .dp-map { position: absolute; inset: 0; min-height: 0; border: none; border-radius: 0; box-shadow: none; }
.dp-mapbox .gmap-off { align-items: flex-start; padding-top: 24px; }
.dp-nofix { position: absolute; left: 14px; bottom: 14px; z-index: 5; max-width: 260px; background: rgba(251,249,245,.95);
  padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; border-radius: var(--r); box-shadow: var(--shadow-box); }
.dp-nofix span:first-child { font: 600 10.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }
.dp-nofix span:last-child { font: 400 13px/1.5 var(--sans); color: var(--text-2); }
.dp-areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -2px; }
.dp-area { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none; font: 600 13px var(--sans); color: #333926;
  background: var(--olive-tint); border: 1px solid var(--olive-line); padding: 9px 14px; border-radius: 999px; }
.dp-area::before { content: ""; width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; border: 1.5px dashed var(--olive); }
.dp-area:hover { color: #333926; border-color: var(--olive); }

.dp-side { padding-top: 32px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.dp-side-group { display: flex; flex-direction: column; gap: 10px; }
.dp-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-lang { font: 600 12px var(--sans); padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; }
.dp-worked { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--navy); }
.dp-thumb { width: 56px; height: 44px; flex-shrink: 0; border-radius: var(--r);
  background: repeating-linear-gradient(135deg, #EEE8DD 0 7px, #E7E0D2 7px 14px); }
.dp-worked-txt { display: flex; flex-direction: column; min-width: 0; }
.dp-worked-txt span:first-child { font: 500 18px/1.15 var(--serif); }
.dp-worked-txt span:last-child { font: 500 12px var(--sans); color: var(--text-3); }
.dp-worked:hover .dp-worked-txt span:first-child { color: var(--gold-text); }
.dp-correct { font: 500 12.5px var(--sans); color: var(--text-3); align-self: flex-start; }

.dp-similar { padding-top: 24px; padding-bottom: 72px; }
.dp-similar .dp-h2 { margin-bottom: 18px; }

/* phone bar */
.dp-bar { display: none; }

@media (max-width: 1099px) {
  .dp-hero { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
  .dp-body { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
}
@media (max-width: 859px) {
  .dp-hero, .dp-body { grid-template-columns: minmax(0, 1fr); }
  .dp-hero { gap: 24px; }
  .dp-body { gap: 0; }
  .dp-side { padding-top: 0; padding-bottom: 8px; }
  .dp { padding-bottom: 76px; }
  .dp-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: var(--paper);
    border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .dp-bar .btn { height: 48px; padding: 0 14px; font-size: 12.5px; letter-spacing: .06em; }
  .dp-bar .btn.outline { width: 96px; flex-shrink: 0; letter-spacing: 0; text-transform: none; font-size: 12px; }
  .dp-bar button.btn { flex: 1; min-width: 0; }
  main:has(.dp-bar) ~ .cookie { bottom: 92px; }
}
@media (max-width: 600px) {
  .dp-who { gap: 18px; }
  .dp-logo { width: 104px; height: 104px; }
  .dp-portfolio { padding-top: 32px; }
  .dp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 118px; gap: 6px; }
  .dp-h2 { font-size: 30px; }
  .dp-svc-name { font-size: 20px; }
  .dp-mapbox { height: 300px; }
  .dp-nofix { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .dp-similar { padding-bottom: 48px; }
  /* other vendors: a swipeable row instead of four full-width cards */
  .dp-similar-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px !important; overflow-x: auto;
    scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); }
  .dp-similar-grid > * { scroll-snap-align: start; min-width: 0; }
}

/* Listing template: categories, areas, combinations and hubs (pages/listing.py; design: designs/Listing Page.dc.html). */

/* hero: copy on the left, a small map on the right (stacked below 900px) */
.lp-hero { max-width: 1240px; margin: 0 auto; padding: 22px var(--gutter) 0; display: grid; gap: 40px; align-items: stretch;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.lp-copy { display: flex; flex-direction: column; gap: 14px; padding: 20px 0 8px; min-width: 0; }
.lp-eyebrow { display: flex; align-items: center; gap: 12px; font: 600 11px var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-text); }
.lp-eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; flex-shrink: 0; }
.lp-eyebrow.olive { color: var(--olive); }
.lp-h1 { font: 400 clamp(40px, 5vw, 64px)/1.02 var(--serif); margin: 0; }
.lp-lede { font: 400 16px/1.7 var(--sans); color: var(--text-2); max-width: 560px; }
.lp-map { position: relative; min-height: 300px; overflow: hidden; background: #EFEAE1; border-radius: var(--r); box-shadow: var(--shadow-box); }
.lp-map .gmap { position: absolute; inset: 0; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
/* top-right, not bottom-right as in the prototype: Google's zoom control and terms sit in the bottom corners */
.lp-open { position: absolute; right: 12px; top: 12px; z-index: 5; background: var(--paper); border: 1px solid var(--navy); color: var(--navy);
  padding: 10px 14px; border-radius: var(--r); font: 600 11.5px var(--sans); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;  }
.lp-open:hover { background: var(--navy); color: var(--paper); }
@media (max-width: 899px) { .lp-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; } .lp-copy { padding-top: 12px; } }

/* sticky filter row: chips (scroll sideways when they don't fit), result count, sort */
.lp-results { max-width: 1240px; margin: 0 auto; padding: 36px var(--gutter) 0; }
.lp-bar { position: sticky; top: 73px; z-index: 800; background: var(--ivory); padding: 12px 0; border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lp-chips { display: flex; gap: 8px; flex: 1 1 320px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lp-chips::-webkit-scrollbar { display: none; }
.lp-chips:empty { visibility: hidden; }
.lp-chips .chip { flex-shrink: 0; cursor: pointer; }
.lp-count { font: 500 13px var(--sans); color: var(--text-3); white-space: nowrap; }
.lp-sort { height: 38px; border: 1px solid var(--line-2); background: var(--paper); padding: 0 12px; border-radius: 999px;
  font: 600 13px var(--sans); color: var(--navy); cursor: pointer; max-width: 100%; }
@media (max-width: 600px) {
  .lp-chips { flex-basis: 100%; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .lp-chips:empty { display: none; }
  .lp-sort { margin-left: auto; }
}

/* card grid */
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 28px 20px; padding-top: 24px; }
.lp-item { min-width: 0; display: flex; }
.lp-item > .vcard { flex: 1; min-width: 0; }
.lp-item[hidden] { display: none; }
.lp-empty, .lp-none { margin-top: 24px; padding: 56px 20px; }
.lp-empty[hidden] { display: none; }
.lp-empty b, .lp-none b { font-size: 26px; }
.lp-empty .btn, .lp-none .btn { margin-top: 6px; }
.lp-more { display: flex; justify-content: center; padding: 40px 0 0; }
.lp-more[hidden] { display: none; }
.lp-more .btn { padding: 14px 26px; font-size: 12px; letter-spacing: .1em; }

/* intro text and related pages */
.lp-text { max-width: 1240px; margin: 0 auto; padding: 72px var(--gutter) 0; display: grid; gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.lp-about { display: flex; flex-direction: column; gap: 14px; }
.lp-about h2 { font: 400 34px/1.1 var(--serif); }
.lp-about p { font: 400 15.5px/1.75 var(--sans); color: var(--text-2); }
.lp-related { display: flex; flex-direction: column; gap: 12px; }
.lp-k { font: 600 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.lp-rel { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-rel a { text-decoration: none; font: 500 13.5px var(--sans); padding: 9px 14px; border: 1px solid var(--line-2); background: var(--paper);
  border-radius: 999px; white-space: nowrap; }
.lp-rel a:hover { border-color: var(--navy); color: var(--navy); }

/* FAQ (kit's faq()), tightened to the listing design */
.lp-faq .faq { padding-top: 72px; }
.lp-faq .center-head { margin-bottom: 22px; }
.lp-faq .center-head .diamond { display: none; }
.lp-faq .h2 { font-size: 34px; }
@media (max-width: 600px) { .lp-text { padding-top: 56px; gap: 36px; } .lp-faq .faq { padding-top: 56px; } .lp-about h2, .lp-faq .h2 { font-size: 30px; } }

/* For businesses (pages/business.py; design: designs/For Businesses.dc.html). Classes bp-. */

/* form fields (.field) and sent states (.sent) are shared: 00-base.css. The form note is shared with contact. */
.bp-note, .sp-note { font: 400 13px/1.55 var(--sans); color: var(--text-3); }
.bp-label { font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }

/* hero */
.bp-hero { background: var(--navy); color: #F3EFE7; }
.bp-hero-in { max-width: 1100px; margin: 0 auto; padding: 80px var(--gutter) 88px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 16px; }
.bp-hero .script { font-size: 42px; color: var(--gold-light); }
:lang(el) .bp-hero .script, :lang(ru) .bp-hero .script { font-size: 25px; }
.bp-hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; max-width: 820px; }
.bp-hero p { font: 400 17px/1.7 var(--sans); color: var(--on-navy); max-width: 600px; }
.bp-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.bp-btns .btn { padding: 16px 24px; }
.bp-hero .btn.gold:hover { background: #D8C291; color: var(--navy-deep); }
.bp-hero .btn.ghost-navy:hover { border-color: var(--gold-light); color: #fff; }

/* three reasons */
.bp-reasons { max-width: 1160px; margin: 0 auto; padding: 80px var(--gutter) 40px; display: grid; gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.bp-reason { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--navy); padding-top: 20px; }
.bp-n { font: 500 15px var(--sans); color: var(--gold-text); letter-spacing: .08em; }
.bp-reason h2 { font: 500 27px/1.15 var(--serif); }
.bp-reason p { font: 400 15px/1.7 var(--sans); color: var(--text-2); }

/* basic listing against verified page */
.bp-compare { max-width: 1160px; margin: 0 auto; padding: 40px var(--gutter) 80px; }
.bp-compare > h2 { text-align: center; margin-bottom: 24px; }
.bp-plans { display: grid; gap: 16px; max-width: 860px; margin: 0 auto; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.bp-plan { background: var(--paper); padding: 26px; display: flex; flex-direction: column; gap: 12px; border-radius: var(--r); box-shadow: var(--shadow-box); }
.bp-plan.claimed { box-shadow: 0 0 0 1.5px var(--gold), 0 18px 40px -28px rgba(24,35,59,.35); }
.bp-plan .badge { align-self: flex-start; letter-spacing: .14em; }
.bp-plan-k { font: 600 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.bp-plan h3 { font: 500 28px/1.15 var(--serif); }
.bp-plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bp-plan li { display: flex; gap: 10px; align-items: baseline; font: 400 14px/1.5 var(--sans); color: var(--text-2); }
.bp-plan li::before { content: ""; width: 5px; height: 5px; background: #B6AE9F; transform: rotate(45deg); flex-shrink: 0; position: relative; top: -2px; }
.bp-plan li.gold::before { background: var(--gold); }

/* list or claim: the 4-step form */
.bp-claim { background: var(--sand-2); padding: 80px 16px; scroll-margin-top: 60px; }
.bp-form { max-width: 720px; margin: 0 auto; background: var(--paper); box-shadow: 0 24px 60px -36px rgba(24,35,59,.45); border-radius: var(--r); }
.bp-head { padding: 26px 24px 0; display: flex; flex-direction: column; gap: 16px; }
.bp-head h2 { font-size: 34px; line-height: 1.1; }
.bp-bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bp-bars li { display: flex; flex-direction: column; gap: 7px; min-width: 0; font: 600 10.5px var(--sans); letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
.bp-bars li span { height: 3px; background: #E6DFD2; }
.bp-bars li.on { color: var(--navy); }
.bp-bars li.on span { background: var(--gold); }
.bp-body { padding: 26px 24px; min-height: 360px; }
.bp-step { display: flex; flex-direction: column; gap: 16px; outline: none; }
.bp-step[hidden] { display: none; }
.bp-q { font: 500 22px/1.25 var(--serif); margin: 0; padding: 0; }
.bp-hint { font: 500 13px/1.5 var(--sans); color: var(--text-3); margin-top: -6px; }
.bp-hint[hidden] { display: none; }
.bp-matches { display: flex; flex-direction: column; gap: 8px; }
.bp-matches:empty { display: none; }
.bp-match { display: flex; align-items: center; gap: 14px; text-align: left; padding: 12px;
  background: var(--paper); color: var(--navy); font: inherit; width: 100%; border-radius: var(--r); box-shadow: var(--shadow-box); }
.bp-match:hover, .bp-match.sel { border-color: var(--gold); background: #FAF3E4; }
.bp-match .ph { width: 52px; height: 42px; flex-shrink: 0; border-radius: 0; background-size: auto; }
.bp-match-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bp-match-t b { font: 500 19px/1.2 var(--serif); }
.bp-match-t span { font: 500 12.5px/1.4 var(--sans); color: var(--text-3); }
.bp-match-a { font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); flex-shrink: 0; white-space: nowrap; }
.bp-add { align-self: flex-start; border: none; background: none; padding: 0; font: 600 13px var(--sans); color: var(--navy);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }

.bp-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.bp-full { grid-column: 1 / -1; }
.bp-only { display: contents; }
.bp-only[hidden] { display: none; }
.bp-group { display: flex; flex-direction: column; gap: 8px; }
.bp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-chips .chip { padding: 9px 14px; }
.bp-chips .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.bp-seg { display: flex; background: var(--sand-1); border-radius: 999px; padding: 3px; }
.bp-seg button { flex: 1; border: none; border-radius: 999px; padding: 11px; font: 600 13px var(--sans); background: transparent; color: var(--navy); }
.bp-seg [data-type="venue"][aria-pressed="true"] { background: var(--navy); color: var(--paper); }
.bp-seg [data-type="vendor"][aria-pressed="true"] { background: var(--olive); color: var(--paper); }

.bp-drop { border: 1.5px dashed #CFC5B3; background: var(--ivory); padding: 32px 20px; display: flex; flex-direction: column;
  align-items: center; gap: 8px; text-align: center; cursor: pointer; border-radius: var(--r); }
.bp-drop b { font: 500 21px var(--serif); }
.bp-drop span { font: 400 13px/1.5 var(--sans); color: var(--text-3); max-width: 380px; }
.bp-drop .bp-browse { font: 600 12px var(--sans); color: var(--navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.bp-drop.over, .bp-drop:focus-within { border-color: var(--gold); background: #FAF3E4; }
.bp-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 6px; }
.bp-thumbs:empty { display: none; }
.bp-thumbs span { aspect-ratio: 1; background: repeating-linear-gradient(135deg, #EEE8DD 0 7px, #E7E0D2 7px 14px) center/cover; }

.bp-fs { border: none; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.bp-fs legend { margin-bottom: 16px; }
.bp-radio { display: flex; gap: 14px; align-items: flex-start; padding: 14px; background: var(--paper); cursor: pointer; border-radius: var(--r); box-shadow: var(--shadow-box); }
.bp-radio:has(input:checked) { background: #FAF3E4; box-shadow: 0 0 0 1.5px var(--gold), var(--shadow-box); }
.bp-radio:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 1px; }
.bp-dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--navy); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.bp-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; }
input:checked + .bp-dot::after { background: var(--navy); }
.bp-radio-t { display: flex; flex-direction: column; gap: 3px; }
.bp-radio-t b { font: 600 14.5px var(--sans); }
.bp-radio-t span { font: 400 13px/1.5 var(--sans); color: var(--text-3); }

.bp-done { align-items: center; text-align: center; gap: 14px; padding: 30px 0; outline: none; }
.bp-seal { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.bp-seal::after { content: ""; width: 14px; height: 14px; background: var(--gold); transform: rotate(45deg); }
.bp-done h3 { font-size: 34px; line-height: 1.1; }
.bp-done p { font: 400 15px/1.6 var(--sans); color: var(--text-2); max-width: 420px; }
.bp-done .btn { margin-top: 8px; }

.bp-nav { padding: 16px 24px; border-top: 1px solid var(--line-3); display: flex; gap: 10px; align-items: center; }
.bp-nav[hidden] { display: none; }
.bp-back { border: none; background: none; font: 600 13px var(--sans); color: var(--navy); padding: 0 6px; white-space: nowrap; }
.bp-count { margin-left: auto; font: 500 12.5px var(--sans); color: var(--text-3); white-space: nowrap; }
.bp-count b { font-weight: 500; }
.bp-nav .btn { padding: 14px 22px; font-size: 12px; }
@media (max-width: 600px) {
  .bp-claim { padding: 56px 12px; }
  .bp-head { padding: 22px 18px 0; }
  .bp-head h2 { font-size: 30px; }
  .bp-body { padding: 22px 18px; min-height: 280px; }
  .bp-nav { padding: 14px 18px; }
  .bp-nav .btn { padding: 14px 18px; }
}

/* suggest a correction modal */
.bp-modal { width: min(520px, calc(100vw - 24px)); max-width: none; max-height: 90vh; padding: 0; border: none; background: var(--paper);
  color: var(--navy); box-shadow: var(--shadow-modal); overflow-y: auto; outline: none; border-radius: var(--r); }
.bp-modal::backdrop { background: rgba(24,35,59,.5); }
.bp-modal-head { padding: 24px 24px 18px; border-bottom: 1px solid var(--line-3); display: flex; justify-content: space-between; gap: 16px; }
.bp-modal-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bp-modal-t .eyebrow { font-size: 10.5px; letter-spacing: .18em; }
.bp-modal-name { font: 400 26px/1.1 var(--serif); }
.bp-x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #DDD5C7; background: none; font: 400 18px var(--sans); color: var(--navy); flex-shrink: 0; }
.bp-modal-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.bp-which[hidden] { display: none; }
.bp-modal-body .btn { padding: 15px; font-size: 12px; }

/* Guide pages and the /guides/ hub (pages/guide.py; design: designs/Guide Page.dc.html, README section 5). */

/* hero: centred */
.gp-hero { max-width: 900px; margin: 0 auto; padding: 56px var(--gutter) 36px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 14px; }
.gp-crumbs { justify-content: center; }
.gp-crumbs a:hover { color: var(--gold-text); }
.gp-h1 { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.02; }
.gp-orn { display: flex; align-items: center; gap: 12px; margin: 4px 0; }
.gp-orn i { width: 44px; height: 1px; background: var(--gold); }
.gp-orn b { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.gp-dek { font: 400 17px/1.7 var(--sans); color: var(--text-2); max-width: 620px; }
.gp-meta { font: 500 12.5px/1.6 var(--sans); color: var(--text-3); }

/* two columns: sticky table of contents, then the guide */
.gp-layout { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter) 80px; display: grid;
  grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.gp-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line-2); padding-left: 18px; }
.gp-toc-k { font: 600 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.gp-toc a { font: 500 14px/1.4 var(--sans); text-decoration: none; padding: 5px 0; color: var(--text-3); position: relative; }
.gp-toc a:hover { color: var(--navy); }
.gp-toc a[aria-current] { color: var(--navy); }
.gp-toc a[aria-current]::before { content: ""; position: absolute; left: -19px; top: 4px; bottom: 4px; width: 2px; background: var(--gold); }
.gp-main { min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.gp-sec { scroll-margin-top: 96px; }
@media (max-width: 959px) {
  .gp-layout { grid-template-columns: minmax(0, 1fr); }
  .gp-toc { display: none; }
}

/* headings and text */
.gp-h2 { font-size: 36px; line-height: 1.1; }
.gp-h2.sm { font-size: 32px; }
.gp-mb { margin-bottom: 26px; }
.gp-mb-s { margin-bottom: 10px; }
.gp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.gp-p { font: 400 15.5px/1.7 var(--sans); color: var(--text-2); max-width: 680px; }
.gp-p + .gp-p { margin-top: 14px; }
.gp-intro { margin-bottom: 20px; max-width: 640px; }
.gp-note { margin-top: 12px; font: 400 12.5px/1.6 var(--sans); color: var(--text-3); }
.gp-src { display: block; margin-top: 6px; font: 500 11.5px/1.6 var(--sans); color: var(--muted); }
.gp-src a { color: var(--text-3); text-decoration-color: var(--line-2); }
.gp-src a:hover { color: var(--gold-text); }

/* steps: a vertical timeline, 48px navy circles joined by a 1px line */
.gp-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gp-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; position: relative; }
.gp-step::before { content: ""; position: absolute; left: 23.5px; top: 48px; bottom: 0; width: 1px; background: #CFC5B3; }
.gp-step:last-child::before { display: none; }
.gp-num { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--paper); display: flex;
  align-items: center; justify-content: center; font: 500 22px var(--serif); position: relative; }
.gp-step-txt { padding: 8px 0 34px; display: flex; flex-direction: column; gap: 8px; }
.gp-step:last-child .gp-step-txt { padding-bottom: 0; }
.gp-when { font: 600 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.gp-step-t { font: 500 25px/1.15 var(--serif); }
.gp-step-txt p { font: 400 15.5px/1.7 var(--sans); color: var(--text-2); }

/* checklist card with the gold progress bar */
.gp-card { background: var(--paper); padding: 28px; border-radius: var(--r); box-shadow: var(--shadow-box); }
.gp-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.gp-progress { font: 600 13px var(--sans); color: var(--gold-text); white-space: nowrap; }
.gp-bar { height: 4px; background: var(--line-4); margin: 12px 0 16px; }
.gp-bar span { display: block; height: 4px; width: 0; background: var(--gold); transition: width .25s ease; }
.gp-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.gp-check { width: 100%; display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 13px 12px; border: none;
  background: transparent; color: var(--navy); border-radius: var(--r); }
.gp-check:hover { background: #F5F1E9; }
.gp-check:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.gp-box { width: 22px; height: 22px; border: 1.5px solid var(--navy); border-radius: var(--r); flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; }
.gp-box::after { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: transparent; }
.gp-check-txt { display: flex; flex-direction: column; gap: 3px; }
.gp-check-txt .k { font: 600 14.5px/1.4 var(--sans); }
.gp-check-txt .n { font: 400 13px/1.5 var(--sans); color: var(--text-3); }
.gp-check[aria-pressed="true"] { background: var(--sand-1); }
.gp-check[aria-pressed="true"] .gp-box { background: var(--navy); }
.gp-check[aria-pressed="true"] .gp-box::after { background: var(--gold); }
.gp-check[aria-pressed="true"] .k { text-decoration: line-through; }

/* mini map of municipal marriage offices, with the list below */
.gp-map { height: 380px; }
.gp-regs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 0 20px; }
.gp-regs a, .gp-reg-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 0;
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.gp-reg-n { display: flex; align-items: center; gap: 10px; font: 500 14px var(--sans); }
.gp-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); flex-shrink: 0; align-self: center; }
.gp-fee { font: 500 18px var(--serif); white-space: nowrap; }
.gp-fee.ask { font: 500 12.5px var(--sans); color: var(--text-3); }
.gp-regs a:hover .gp-reg-n { color: var(--gold-text); }
#where > .gp-src { margin-bottom: 18px; }

/* text items (church weddings, nationalities) */
.gp-items { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 8px; }
.gp-item { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px 24px; }
.gp-item h3 { font: 500 21px/1.2 var(--serif); grid-row: span 2; }
.gp-item p { font: 400 15px/1.7 var(--sans); color: var(--text-2); }
@media (max-width: 700px) { .gp-item { grid-template-columns: minmax(0, 1fr); } .gp-item h3 { grid-row: auto; } }

/* month table */
.gp-table-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-box); }
.gp-table { width: 100%; border-collapse: collapse; font: 500 14px var(--sans); min-width: 520px; }
.gp-table th, .gp-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-3); white-space: nowrap; }
.gp-table thead th { font: 600 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); background: var(--sand-1); }
.gp-table tbody th { font: 500 17px var(--serif); }
.gp-table td { color: var(--text-2); }
.gp-table tbody tr:last-child > * { border-bottom: none; }

/* linked venues */
.gp-venues { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 20px; }

/* sources */
.gp-sources { border-top: 1px solid var(--line-2); padding-top: 32px; }
.gp-checked { display: flex; align-items: center; gap: 10px; margin: 10px 0 12px; font: 600 13px var(--sans); color: var(--gold-text); }
.gp-checked .diamond { width: 7px; height: 7px; }
.gp-sources ul { margin: 14px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font: 400 13.5px/1.55 var(--sans); color: var(--text-3); }
.gp-sources li a { color: var(--text-2); }

/* navy call to action */
.gp-cta { background: var(--navy); color: #F3EFE7; padding: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; border-radius: var(--r); box-shadow: var(--shadow-box); }
.gp-cta > div { display: flex; flex-direction: column; gap: 6px; max-width: 460px; }
.gp-cta .script { color: var(--gold-light); }
:lang(en) .gp-cta .script, :lang(de) .gp-cta .script { font-size: 30px; }
.gp-cta .t { font: 400 28px/1.15 var(--serif); }
.gp-cta .btn { padding: 15px 20px; font-size: 12px; }

/* hub */
.gp-hub { max-width: 1160px; margin: 0 auto; padding: 8px var(--gutter) 96px; }
.gp-hub-grid { --min: min(100%, 320px); gap: 20px; }
.gp-gmeta { font: 500 12.5px var(--sans); color: var(--text-3); margin-top: 4px; }

@media (max-width: 600px) {
  .gp-hero { padding-top: 32px; padding-bottom: 28px; }
  .gp-h1 { font-size: 34px; }
  .gp-dek { font-size: 15.5px; }
  .gp-h2 { font-size: 30px; }
  .gp-h2.sm { font-size: 28px; }
  .gp-main { gap: 44px; }
  .gp-card { padding: 20px 16px; margin: 0 -4px; }
  .gp-check { padding: 12px 8px; }
  .gp-step { gap: 16px; }
  .gp-map { height: 300px; }
  .gp-cta { padding: 28px 22px; }
  .gp-cta .t { font-size: 25px; }
  .gp-table { min-width: 0; font-size: 13px; }
  .gp-table th, .gp-table td { padding: 10px 7px; }
  .gp-table thead th { white-space: normal; letter-spacing: .08em; font-size: 9.5px; vertical-align: bottom; }
  .gp-table tbody th { font-size: 15px; }
}

/* Standard pages (pages/standard.py; design: designs/Standard Pages.dc.html): about, contact, legal, saved. Classes sp-.
   Form fields (.field) and the sent state (.sent) come from 00-base.css; the form note is shared with 40-business.css. */

.sp-h1 { font-size: clamp(40px, 5vw, 62px); line-height: 1.04; }
.sp-lede { font: 400 17px/1.7 var(--sans); color: var(--text-2); max-width: 620px; }
.sp-h2 { font: 400 clamp(28px, 2.6vw, 34px)/1.1 var(--serif); }
.sp-h2 span { font: 500 13px var(--sans); color: var(--text-3); letter-spacing: .04em; vertical-align: middle; }
.sp-linkbtn { border: none; background: none; padding: 0; font: inherit; color: var(--navy); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: var(--gold); }
.sp-linkbtn:hover { color: var(--gold-text); }

/* about */
.sp-hero { max-width: 880px; margin: 0 auto; padding: 72px var(--gutter) 40px; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 14px; }
.sp-hero .script { font-size: 40px; }
.sp-photo-wrap { max-width: 1100px; margin: 0 auto; padding: 20px var(--gutter) 40px; }
.sp-photo { aspect-ratio: 21 / 8; border-radius: var(--r); background: repeating-linear-gradient(135deg, #EEE8DD 0 12px, #E7E0D2 12px 24px); }
.sp-photo .ph-label { left: 12px; bottom: 12px; font-size: 10px; }
.sp-hero .sp-h1 { font-size: clamp(40px, 5vw, 62px); }
.sp-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.sp-sec { max-width: 1100px; margin: 0 auto; padding: 48px var(--gutter); }
.sp-sec > .eyebrow { display: block; margin-bottom: 10px; }
.sp-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.sp-step { background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-box); padding: 26px; display: flex;
  flex-direction: column; gap: 8px; }
.sp-step-n { font: 400 40px/1 var(--serif); color: var(--gold-text); }
.sp-step h3, .sp-org-steps h3 { font: 500 22px/1.2 var(--serif); }
.sp-step p { margin: 0; font: 400 15px/1.65 var(--sans); color: var(--text-2); }

/* the navy band for businesses: heading and button left, the four steps right */
.sp-org { margin-top: 48px; }
.sp-org .wrap { max-width: 1100px; display: grid; gap: 48px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.sp-org-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.sp-org-head h2 { color: #F3EFE7; }
.sp-org-head h2 em { font-style: italic; color: var(--gold-light); }
.sp-org-head p { margin: 0 0 8px; font: 400 16px/1.7 var(--sans); color: var(--on-navy); }
.sp-org-steps { list-style: none; margin: 0; padding: 0; }
.sp-org-steps li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(201, 206, 218, .18); }
.sp-org-steps li:first-child { border-top: 1px solid rgba(201, 206, 218, .18); }
.sp-org-steps .diamond { flex-shrink: 0; margin-top: 9px; }
.sp-org-steps h3 { color: #F3EFE7; }
.sp-org-steps p { margin: 4px 0 0; font: 400 14.5px/1.6 var(--sans); color: var(--on-navy-2); }

/* questions: contact links left, the FAQ right */
.sp-qa { display: grid; gap: 40px 56px; align-items: start; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  padding-top: 72px; }
.sp-qa .sp-note { font-size: 15px; margin: 10px 0 20px; }
.sp-links { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-box); }
.sp-links a { display: flex; flex-direction: column; gap: 2px; padding: 16px 44px 16px 20px; text-decoration: none; position: relative; }
.sp-links a + a { border-top: 1px solid var(--line-3); }
.sp-links a::after { content: "›"; position: absolute; right: 20px; top: 50%; transform: translateY(-55%); font: 300 24px var(--sans);
  color: var(--gold-text); }
.sp-links b { font: 600 15px var(--sans); }
.sp-links small { font: 400 13px var(--sans); color: var(--text-3); overflow-wrap: anywhere; }
.sp-links a:hover b { color: var(--gold-text); }
.sp-faq { max-width: none; margin: 0; padding: 0; }
.sp-faq summary span:first-child { font-size: 19px; }

/* closing call to the map */
.sp-cta { background: var(--sand-1); border-radius: var(--r); padding: 56px var(--gutter); display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 14px; margin-bottom: 48px; }
@media (max-width: 600px) {
  .sp-sec { padding-top: 36px; padding-bottom: 36px; }
  .sp-btns .btn { flex: 1 1 100%; }
  .sp-cta { padding: 40px 20px; }
}

/* contact */
.sp-contact { max-width: 1100px; margin: 0 auto; padding: 72px var(--gutter) 96px; display: grid; gap: 56px; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.sp-contact-info { display: flex; flex-direction: column; gap: 16px; }
.sp-contact-info .sp-h1 { font-size: clamp(40px, 5vw, 58px); }
.sp-contact-info .sp-lede { font-size: 16px; max-width: 420px; }
.sp-details { margin: 10px 0 0; display: flex; flex-direction: column; gap: 14px; font: 500 15px var(--sans); }
.sp-details div { display: flex; flex-direction: column; gap: 3px; }
.sp-details dt { font: 600 10.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.sp-details dd { margin: 0; overflow-wrap: anywhere; }
.sp-card { background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow-box); }
.sp-form { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.sp-form .btn { padding: 15px; font-size: 12px; }
.sp-card .sp-sent { padding: 48px 26px; }
@media (max-width: 600px) {
  .sp-contact { padding-top: 48px; gap: 40px; }
  .sp-form { padding: 20px; }
}

/* legal template */
.sp-legal { max-width: 720px; margin: 0 auto; padding: 64px var(--gutter) 96px; }
.sp-legal h1 { font-size: clamp(38px, 4.6vw, 52px); line-height: 1.05; margin: 12px 0 10px; }
.sp-updated { margin: 0 0 32px; font: 500 13px var(--sans); color: var(--text-3); padding-bottom: 24px; border-bottom: 1px solid var(--line-2); }
.sp-legal h2 { font: 500 26px/1.2 var(--serif); margin: 32px 0 10px; }
.sp-legal p { margin: 0 0 14px; font: 400 16px/1.8 var(--sans); color: #3A4152; overflow-wrap: break-word; }
.sp-legal .sp-others { margin: 40px 0 0; font: 400 14px/1.7 var(--sans); color: var(--text-3); padding-top: 24px; border-top: 1px solid var(--line-2); }
@media (max-width: 600px) { .sp-legal { padding-top: 44px; } }

/* saved */
.sp-saved { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter) 96px; }
.sp-saved .sp-hero { padding-bottom: 32px; }
.sp-saved-list { display: flex; flex-direction: column; gap: 48px; }
.sp-saved-list[hidden], .sp-saved-group[hidden], .sp-empty[hidden] { display: none; }
.sp-saved-group { display: flex; flex-direction: column; gap: 20px; }
.sp-grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); align-items: start; }
.sp-vendor { position: relative; }
.sp-empty { max-width: 720px; margin: 0 auto; padding: 48px 24px; border-radius: var(--r); box-shadow: var(--shadow-box); }
.sp-empty p { font: 400 15px/1.6 var(--sans); color: var(--text-2); max-width: 420px; }
.sp-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
@media (max-width: 600px) { .sp-hero { padding-top: 48px; } .sp-hero .script { font-size: 34px; } }
