/* Birch design system
   Primary  #CC8CDA orchid      Secondary #24142F deep plum (text, dark sections)
   Accent   #F6C453 honey       Body: DM Sans   Headings: Cabinet Grotesk */
:root {
  --primary: #CC8CDA;
  --primary-dark: color-mix(in srgb, var(--primary) 80%, #000);
  --primary-soft: color-mix(in srgb, var(--primary) 15%, #fff);
  --primary-wash: color-mix(in srgb, var(--primary) 7%, #fff);
  --ink: #24142F;
  --ink-2: #5E5068;
  --ink-3: #8E8397;
  --accent: #F6C453;
  --accent-soft: color-mix(in srgb, var(--accent) 22%, #fff);
  --line: #EBE4EF;
  --bg: #FFFFFF;
  --bg-soft: #FAF8FB;
  --success: #1C8F62;
  --success-soft: #E4F5EE;
  --danger: #CF3F5F;
  --danger-soft: #FCE9EE;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(36, 20, 47, .04), 0 8px 28px rgba(36, 20, 47, .07);
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Cabinet Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display-em: normal;
  --header-h: 68px;
  --gutter: clamp(24px, 7vw, 112px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.3rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-family: var(--font); font-weight: 600; font-size: 1rem; margin: 0; }
p { margin: 0; }
.boot { min-height: 100vh; display: grid; place-items: center; color: var(--ink-3); }

.container { width: 100%; max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(720px + 2 * var(--gutter)); }
.mid { max-width: calc(920px + 2 * var(--gutter)); }
.page { padding-top: 32px; padding-bottom: 120px; min-height: 70vh; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-dark); }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 28px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }
.right { text-align: right; }
.hide { display: none !important; }
.link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--primary); cursor: pointer; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; }

/* Icons (Lucide). Sized by the surrounding text. */
i[data-ic] { display: inline-flex; width: 1.15em; height: 1.15em; vertical-align: -.2em; flex-shrink: 0; }
i[data-ic] svg { width: 100%; height: 100%; }
.badge i[data-ic] { width: 1.2em; height: 1.2em; vertical-align: -.24em; }
.empty .ico, .trust-item .ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary-soft); color: var(--ink); font-size: 1.5rem; }
.trust-item .ico { background: rgba(255, 255, 255, .1); color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem var(--font); cursor: pointer; transition: background .15s, transform .1s, border-color .15s; white-space: nowrap; background: var(--primary); color: var(--ink); }
.btn:hover { background: var(--primary-dark); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: color-mix(in srgb, var(--ink) 85%, #fff); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-soft { background: var(--primary-soft); color: var(--ink); }
.btn-soft:hover { background: color-mix(in srgb, var(--primary) 26%, #fff); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--primary-soft); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover { background: #F8D5DE; }
.btn-sm { height: 38px; padding: 0 16px; font-size: .85rem; }
.btn-block { width: 100%; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-color: var(--line); }
.header .container { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font: 600 1.45rem var(--display); letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--primary); display: grid; place-items: center; }
.logo-mark svg { width: 20px; height: 20px; }
.nav { display: none; gap: 4px; flex: 1; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .92rem; }
.nav a:hover, .nav a.on { background: var(--bg-soft); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 22px; height: 22px; }
.dot { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font: 700 .68rem/18px var(--font); text-align: center; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; border-radius: 50%; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.menu-panel a, .menu-panel button { display: flex; justify-content: space-between; width: 100%; padding: 11px 14px; border-radius: 10px; font: 500 .92rem var(--font); background: none; border: 0; text-align: left; cursor: pointer; color: var(--ink); }
.menu-panel a:hover, .menu-panel button:hover { background: var(--bg-soft); }
.menu-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.menu-who { padding: 10px 14px 12px; }
.hide-mobile { display: none; }

/* Mobile tab bar */
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: flex; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: .68rem; font-weight: 600; color: var(--ink-3); position: relative; }
.tabbar a.on { color: var(--ink); }
.tabbar a.on svg { stroke: var(--primary-dark); }
.tabbar svg { width: 23px; height: 23px; }
.tabbar .dot { top: 0; right: calc(50% - 22px); }

/* Avatar */
.avatar { border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-weight: 600; color: var(--ink); flex-shrink: 0; background: var(--primary-soft); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.referrer { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.avatar-wrap { position: relative; display: inline-flex; flex-shrink: 0; }
.founder-mark { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--ink); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(36, 20, 47, .25); }
.founder-mark i[data-ic] { width: 62%; height: 62%; }
.founder-badge { background: var(--accent); color: var(--ink); }
.pcard-body .avatar-wrap { margin-top: -26px; } .pcard-body .avatar-wrap .avatar { margin-top: 0; }
.code-input { text-align: center; font: 600 1.9rem var(--font); letter-spacing: .45em; height: 68px; padding-left: .45em; }

/* Hero */
.hero { position: relative; min-height: calc(92vh - var(--header-h)); display: flex; align-items: center; text-align: center; overflow: hidden; background:
  radial-gradient(900px 500px at 12% 8%, color-mix(in srgb, var(--primary) 38%, transparent), transparent 62%),
  radial-gradient(800px 520px at 92% 18%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%),
  radial-gradient(900px 600px at 50% 110%, color-mix(in srgb, var(--primary) 32%, transparent), transparent 60%),
  var(--primary-wash); }
.hero .container { padding-top: 56px; padding-bottom: 72px; }
.hero h1 { max-width: 18ch; text-wrap: balance; margin: 14px auto 0; }
.hero h1 em { font-style: var(--display-em); color: var(--primary-dark); }
.hero .lede { max-width: 54ch; margin: 22px auto 0; font-size: 1.1rem; color: var(--ink-2); }
.search { margin: 36px auto 0; max-width: 720px; background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 10px; display: grid; gap: 8px; text-align: left; }
.search label { display: block; padding: 8px 18px; border-radius: 20px; }
.search label:hover { background: var(--bg-soft); }
.search span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.search select { width: 100%; border: 0; background: transparent; font: 500 1rem var(--font); color: var(--ink); padding: 2px 0; outline: 0; appearance: none; cursor: pointer; }
.hero-proof { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.hero-proof b { color: var(--ink); }

/* Sections */
.section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .muted { color: color-mix(in srgb, #fff 72%, var(--ink)); }
.section-dark .eyebrow { color: var(--primary); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head p { margin-top: 10px; max-width: 52ch; }

.grid { display: grid; gap: 18px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat-tile { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: var(--ink); isolation: isolate; transition: transform .2s; }
.cat-tile:hover { transform: translateY(-3px); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cat-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(255, 255, 255, .88)); }
.cat-tile h3 { font-size: 1.25rem; }
.cat-suggest { background: var(--primary-soft); border: 2px dashed color-mix(in srgb, var(--primary) 55%, #fff); justify-content: center; text-align: center; align-items: center; gap: 6px; }
.cat-suggest::after { display: none; }
.cat-suggest > i { font-size: 2rem; color: var(--primary-dark); margin-bottom: 6px; }
.cat-tile span { font-size: .82rem; font-weight: 600; margin-top: 4px; }

.steps { counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); font: 600 1.1rem var(--display); margin-bottom: 18px; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: .95rem; }
.trust-item { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.trust-item .ico { font-size: 1.7rem; }
.trust-item h3 { margin: 14px 0 8px; font-size: 1.2rem; }
.cta-band { border-radius: 28px; padding: 44px 26px; background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 62%, #fff) 100%); display: grid; gap: 24px; align-items: center; }
.cta-band h2 { max-width: 16ch; }
.big-stat { font: 500 clamp(3.4rem, 10vw, 5.5rem)/1 var(--display); letter-spacing: -.04em; }

.footer { border-top: 1px solid var(--line); padding: 44px 0 110px; font-size: .88rem; color: var(--ink-2); }
.footer-grid { display: grid; gap: 28px; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; color: var(--ink); }
.footer li { list-style: none; margin: 6px 0; }
.footer ul { padding: 0; margin: 0; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card-flush { padding: 0; overflow: hidden; }
.card-soft { background: var(--bg-soft); border-color: transparent; }
.pcard { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pcard-cover { aspect-ratio: 16 / 10; background: var(--primary-soft); position: relative; }
.pcard-cover img { width: 100%; height: 100%; object-fit: cover; }
.pcard-cover .price { position: absolute; right: 12px; bottom: 12px; background: #fff; border-radius: 999px; padding: 5px 12px; font-size: .8rem; font-weight: 600; }
.pcard-body { padding: 0 18px 18px; }
.pcard-body .avatar { margin-top: -26px; border: 3px solid #fff; position: relative; }
.pcard-name { font: 500 1.2rem var(--display); margin-top: 8px; }
.pcard-bio { font-size: .87rem; color: var(--ink-2); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.stars { --pct: calc(var(--r) / 5 * 100%); display: inline-block; font-size: .95rem; letter-spacing: 1px; line-height: 1; background: linear-gradient(90deg, #EBA91F var(--pct), var(--line) var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; }
.rating .muted { font-weight: 400; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font: 500 .85rem var(--font); cursor: pointer; color: var(--ink); white-space: nowrap; }
.chip:hover { border-color: var(--ink-3); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips::-webkit-scrollbar { display: none; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--primary-soft); font-size: .76rem; font-weight: 600; white-space: nowrap; }
.badge.trust { background: var(--success-soft); color: #0F5E40; }
.badge.power { background: var(--accent-soft); color: #7A5200; }
.badge-lg { padding: 8px 14px 8px 10px; font-size: .84rem; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--bg-soft); color: var(--ink-2); white-space: nowrap; }
.pill.requested, .pill.applied, .pill.open { background: var(--accent-soft); color: #7A5200; }
.pill.accepted, .pill.approved, .pill.completed { background: var(--primary-soft); color: #6B2E7C; }
.pill.paid, .pill.live, .pill.active, .pill.resolved, .pill.sent { background: var(--success-soft); color: #0F5E40; }
.pill.disputed, .pill.declined, .pill.rejected, .pill.suspended, .pill.paused, .pill.deleted, .pill.refunded, .pill.hidden { background: var(--danger-soft); color: #9C2440; }

/* Map view */
.map { position: relative; z-index: 0; height: min(68vh, 620px); min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.map .leaflet-tile { filter: saturate(.55) brightness(1.04); }
.map-pin { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; }
.map-pin .avatar { border: 3px solid #fff; box-shadow: 0 2px 10px rgba(36, 20, 47, .35); }
/* The map library lets images in its layers render at full size; photos here must scale down to fit their circle. */
.map .leaflet-pane .avatar img { width: 100% !important; height: 100% !important; max-width: 100% !important; max-height: 100% !important; object-fit: cover; object-position: center 25%; display: block; }
.map-pin-name { background: #fff; border-radius: 999px; padding: 2px 9px; font: 600 .72rem var(--font); color: var(--ink); white-space: nowrap; box-shadow: 0 1px 6px rgba(36, 20, 47, .22); }
.map-pin:hover .avatar { border-color: var(--primary); }
.map .leaflet-popup-content-wrapper { border-radius: var(--radius); box-shadow: var(--shadow); font-family: var(--font); color: var(--ink); }
.map .leaflet-popup-content { margin: 16px; font-size: .9rem; line-height: 1.45; }
.map-card a.btn { color: var(--ink); }
.map .leaflet-container a.leaflet-popup-close-button { top: 6px; right: 8px; }

/* Address suggestions */
.addr-wrap { position: relative; }
.addr-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.addr-suggest button { display: flex; flex-direction: column; gap: 1px; width: 100%; padding: 11px 16px; border: 0; border-top: 1px solid var(--line); background: #fff; text-align: left; font: inherit; cursor: pointer; color: var(--ink); }
.addr-suggest button:first-child { border-top: 0; }
.addr-suggest button:hover, .addr-suggest button:focus { background: var(--primary-soft); }
.addr-loading { padding: 11px 16px; font-size: .82rem; color: var(--ink-3); }
.addr-suggest span { font-size: .8rem; color: var(--ink-2); }
.addr-wrap label span { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; }

/* Signup role picker, invite code, gift card */
.role-picker { display: grid; gap: 10px; grid-template-columns: 1fr; }
.role-picker label { cursor: pointer; }
.role-picker input { position: absolute; opacity: 0; }
.role-picker span { display: block; height: 100%; padding: 16px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); transition: border-color .15s, background .15s; }
.role-picker small { display: block; margin-top: 4px; color: var(--ink-2); font-size: .82rem; }
.role-picker input:checked + span { border-color: var(--primary-dark); background: var(--primary-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
.role-picker input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 40%, transparent); }
.invite-code { font: 600 clamp(1.6rem, 6vw, 2.3rem) var(--display); letter-spacing: .04em; }
.gift-card { aspect-ratio: 1.6; border-radius: 22px; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 52%, #fff) 55%, var(--accent) 140%); box-shadow: var(--shadow); color: var(--ink); }
.gift-amount { font: 500 clamp(3rem, 9vw, 4.4rem)/1 var(--display); letter-spacing: -.03em; }
@media (min-width: 640px) { .role-picker { grid-template-columns: 1fr 1fr; } }

/* Background check seal */
.verified-chip { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; background: #0F6B48; color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .02em; box-shadow: 0 2px 10px rgba(15, 60, 40, .35); }
.verified-chip svg { width: 15px; height: 15px; }
.verified-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--success-soft); border: 1.5px solid #8FD3B6; color: #0B4A32; }
.verified-seal { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: #0F6B48; color: #fff; display: grid; place-items: center; }
.verified-seal svg { width: 26px; height: 26px; }

/* Forms */
.field { display: block; }
.field > span { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; }
.field small { display: block; margin-top: 6px; color: var(--ink-3); font-size: .78rem; }
.input, select.input, textarea.input { width: 100%; height: 52px; padding: 0 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; font: 400 1rem var(--font); color: var(--ink); outline: 0; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input:focus { border-color: var(--primary-dark); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
.input-sm { height: 40px; font-size: .9rem; padding: 0 12px; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary-dark); flex-shrink: 0; }
.town-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.town-picker label { cursor: pointer; }
.town-picker input { position: absolute; opacity: 0; }
.town-picker span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .85rem; font-weight: 500; }
.town-picker input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.town-picker input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 30%, transparent); }
.seg { display: inline-flex; background: var(--bg-soft); border-radius: 999px; padding: 4px; }
.seg a, .seg button { padding: 8px 18px; border-radius: 999px; font: 600 .86rem var(--font); border: 0; background: none; cursor: pointer; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.seg .on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(36, 20, 47, .1); }
.count { background: var(--danger); color: #fff; border-radius: 999px; font-size: .68rem; padding: 1px 7px; font-weight: 700; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 2.1rem; line-height: 1; color: #E3DCE8; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #EBA91F; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumb { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(36, 20, 47, .75); color: #fff; cursor: pointer; font-size: .8rem; line-height: 1; }
.upload { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 12px; border: 1.5px dashed var(--ink-3); cursor: pointer; font-size: 1.6rem; color: var(--ink-3); }
.upload input { display: none; }

.notice { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--primary-soft); font-size: .9rem; }
.notice.warn { background: var(--accent-soft); }
.notice.ok { background: var(--success-soft); }
.notice.bad { background: var(--danger-soft); }
.dev { border: 1.5px dashed var(--primary); background: var(--primary-wash); border-radius: var(--radius); padding: 18px; }
.dev-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 3px 8px; border-radius: 6px; }

/* Profile */
.profile-head { display: flex; flex-direction: column; gap: 18px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--bg-soft); position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.04); }
.svc { display: flex; flex-direction: column; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-price { font: 500 1.35rem var(--display); white-space: nowrap; }
.review { padding: 20px 0; border-top: 1px solid var(--line); }
.review:first-child { border-top: 0; }
.member-link { border-radius: 12px; }
.member-link:hover b { text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 3px; }
.reply { margin-top: 12px; padding: 12px 16px; border-left: 3px solid var(--primary); background: var(--bg-soft); border-radius: 0 12px 12px 0; font-size: .9rem; }
.review-photos { display: flex; gap: 8px; margin-top: 10px; }
.review-photos img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 62px; z-index: 30; padding: 10px 16px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(36, 20, 47, .92); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 82vh; border-radius: 14px; }
.lightbox p { color: #fff; text-align: center; margin-top: 12px; }

/* Lists */
.list-item { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); }
.list-item:first-child { border-top: 0; }
a.list-item:hover { background: var(--bg-soft); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: .93rem; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; text-align: right; font-weight: 500; }
.total-row { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 700; font-size: 1.05rem; }
.empty { padding: 56px 20px; text-align: center; color: var(--ink-2); }
.empty .ico { font-size: 2.4rem; margin-bottom: 10px; }
.stat { padding: 20px; border-radius: var(--radius); background: var(--bg-soft); }
.stat b { display: block; font: 500 2rem/1.1 var(--display); letter-spacing: -.02em; margin-top: 6px; }
.stat .target { font-size: .78rem; margin-top: 8px; color: var(--ink-2); }
.stat.hit { background: var(--success-soft); }
.stat.miss { background: var(--accent-soft); }
.progress { height: 6px; border-radius: 99px; background: rgba(36, 20, 47, .1); margin-top: 10px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.timeline { display: flex; gap: 4px; margin: 4px 0 2px; }
.timeline i { flex: 1; height: 5px; border-radius: 9px; background: var(--line); }
.timeline i.on { background: var(--primary-dark); }
.timeline-labels { display: flex; justify-content: space-between; font-size: .7rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }

/* Messages */
.chat { display: flex; flex-direction: column; height: calc(100vh - var(--header-h) - 78px); max-height: 860px; }
.chat-head { padding: 14px 4px; border-bottom: 1px solid var(--line); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px 4px; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 78%; padding: 11px 16px; border-radius: 20px 20px 20px 6px; background: var(--bg-soft); font-size: .95rem; align-self: flex-start; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.mine { background: var(--primary); border-radius: 20px 20px 6px 20px; align-self: flex-end; }
.bubble time { display: block; font-size: .68rem; opacity: .6; margin-top: 3px; }
.sysmsg { align-self: center; text-align: center; font-size: .78rem; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; max-width: 92%; }
.reminder { align-self: flex-end; max-width: 78%; font-size: .78rem; background: var(--accent-soft); border-radius: 12px; padding: 8px 12px; }
.reminder.theirs { align-self: flex-start; }
.keep-note { margin: 8px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--primary-soft); font-size: .8rem; }
.keep-note summary { cursor: pointer; font-weight: 600; list-style: none; }
.keep-note summary::-webkit-details-marker { display: none; }
.keep-note p { margin-top: 8px; color: var(--ink-2); }
.leak-warn { margin: 6px 0; padding: 9px 12px; border-radius: 12px; background: var(--danger-soft); color: #9C2440; font-size: .82rem; font-weight: 500; }
.chat-form { display: flex; gap: 8px; padding: 12px 0 4px; border-top: 1px solid var(--line); }
.chat-form .input { border-radius: 999px; }

/* Admin */
.admin-nav { display: none; }
.admin-main { min-width: 0; }
.admin-jump { margin-bottom: 22px; }
.admin-nav h5 { font: 700 .68rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 22px 12px 6px; }
.admin-nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.admin-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.admin-nav a.on { background: var(--primary-soft); color: var(--ink); font-weight: 600; }
.admin-nav .eyebrow { padding: 0 12px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 2px 6px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.admin-tabs a { padding: 10px 14px; font-weight: 600; font-size: .88rem; color: var(--ink-2); border-bottom: 2.5px solid transparent; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.admin-tabs a.on { color: var(--ink); border-color: var(--primary-dark); }
.table-wrap { container-type: inline-size; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .87rem; }
th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding: 12px 14px; background: var(--bg-soft); white-space: nowrap; }
td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
/* Tables never scroll sideways. When their container is too narrow for the number of columns,
   each row becomes a stacked card with the column name beside each value. */
.grid-fit { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.grid-fit > * { min-width: 0; }
.mono { overflow-wrap: anywhere; }
@container (max-width: 1040px) { .t-wide tr.t-head { display: none; } .t-wide, .t-wide tbody, .t-wide tr, .t-wide td { display: block; }
  .t-wide tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; padding: 10px; } .t-wide tr { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .t-wide td { display: flex; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 5px 0; border: 0; text-align: right; white-space: normal !important; min-width: 0 !important; }
  .t-wide td::before { content: attr(data-label); flex-shrink: 0; margin-right: auto; text-align: left; font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
  .t-wide td:empty { display: none; } .t-wide td > * { min-width: 0; } }
@container (max-width: 660px) { .t-mid tr.t-head { display: none; } .t-mid, .t-mid tbody, .t-mid tr, .t-mid td { display: block; }
  .t-mid tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; padding: 10px; } .t-mid tr { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .t-mid td { display: flex; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 5px 0; border: 0; text-align: right; white-space: normal !important; min-width: 0 !important; }
  .t-mid td::before { content: attr(data-label); flex-shrink: 0; margin-right: auto; text-align: left; font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
  .t-mid td:empty { display: none; } .t-mid td > * { min-width: 0; } }
@container (max-width: 400px) { .t-narrow tr.t-head { display: none; } .t-narrow, .t-narrow tbody, .t-narrow tr, .t-narrow td { display: block; }
  .t-narrow tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; padding: 10px; } .t-narrow tr { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .t-narrow td { display: flex; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; padding: 5px 0; border: 0; text-align: right; white-space: normal !important; min-width: 0 !important; }
  .t-narrow td::before { content: attr(data-label); flex-shrink: 0; margin-right: auto; text-align: left; font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
  .t-narrow td:empty { display: none; } .t-narrow td > * { min-width: 0; } }
tr[data-href] { cursor: pointer; }
tr[data-href]:hover td { background: var(--bg-soft); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.toolbar .input { max-width: 300px; min-width: 0; flex: 1 1 180px; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; }

/* Toasts */
#toasts { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 440px); pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; font-size: .9rem; font-weight: 500; box-shadow: var(--shadow); animation: toast .25s ease; }
.toast.bad { background: var(--danger); }
@keyframes toast { from { opacity: 0; transform: translateY(10px); } }

@media (min-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid .span2 { grid-column: span 2; }
  .search { grid-template-columns: 1fr 1fr auto; align-items: center; border-radius: 999px; padding: 8px 8px 8px 12px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .svc { flex-direction: row; align-items: center; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .admin-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
  .admin-nav { display: block; position: sticky; top: calc(var(--header-h) + 24px); }
  .admin-jump { display: none; }
  .hide-mobile { display: inline-flex; }
  .tabbar { display: none; }
  .page { padding-top: 48px; padding-bottom: 96px; }
  .section { padding: 108px 0; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
  .split-side { position: sticky; top: calc(var(--header-h) + 24px); }
  .profile-head { flex-direction: row; align-items: center; }
  .cta-band { grid-template-columns: 1.3fr 1fr; padding: 68px 64px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer { padding-bottom: 44px; }
  .sticky-cta { display: none; }
  #toasts { bottom: 32px; }
  .chat { height: calc(100vh - var(--header-h) - 100px); }
}

/* Inline forms wrap instead of pushing past the edge. */
form.row { flex-wrap: wrap; }
form.row > .input, form.row > .field { flex: 1 1 140px; min-width: 0; }
.row > .grow, .list-item > .grow { min-width: 0; overflow-wrap: anywhere; }

/* A preview area can carry its own colors: the derived shades are recomputed inside it. */
.theme-scope { --primary-dark: color-mix(in srgb, var(--primary) 80%, #000); --primary-soft: color-mix(in srgb, var(--primary) 15%, #fff); --primary-wash: color-mix(in srgb, var(--primary) 7%, #fff); --accent-soft: color-mix(in srgb, var(--accent) 22%, #fff); color: var(--ink); font-family: var(--font); }
.btn { border-radius: var(--btn-radius, 999px); }
.announce { background: var(--ink); color: #fff; text-align: center; font-size: .86rem; font-weight: 500; padding: 9px 16px; }
.announce a { color: var(--primary); font-weight: 700; margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }

/* ===== CMS workspace ===== */
.cms { display: grid; grid-template-columns: 1fr; min-height: 100vh; background: #F6F3F8; }
.cms-side { background: var(--ink); color: #fff; padding: 18px 12px 24px; display: none; flex-direction: column; gap: 2px; }
.cms-side.open { display: flex; position: fixed; inset: 0 auto 0 0; width: 270px; z-index: 60; overflow-y: auto; box-shadow: 0 0 0 100vmax rgba(36, 20, 47, .45); }
.cms-brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 14px; font: 600 1.3rem var(--display); color: #fff; }
.cms-brand small { font: 700 .62rem var(--font); letter-spacing: .14em; text-transform: uppercase; background: var(--primary); color: var(--ink); padding: 3px 7px; border-radius: 6px; }
.cms-side h5 { font: 700 .64rem var(--font); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin: 18px 12px 6px; }
.cms-side a.cms-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .78); }
.cms-side a.cms-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.cms-side a.cms-link.on { background: var(--primary); color: var(--ink); font-weight: 600; }
.cms-side a.cms-link .count { margin-left: auto; }
.cms-side .cms-foot { margin-top: auto; padding-top: 18px; }
.cms-main { min-width: 0; display: flex; flex-direction: column; }
.cms-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px clamp(16px, 3vw, 32px); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.cms-search { position: relative; flex: 1; max-width: 460px; }
.cms-search .input { height: 42px; border-radius: 999px; padding-left: 40px; background: #F6F3F8; border-color: transparent; }
.cms-search > i { position: absolute; left: 14px; top: 12px; color: var(--ink-3); }
.cms-results { position: absolute; left: 0; right: 0; top: 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; z-index: 40; }
.cms-results a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: .88rem; }
.cms-results a:first-of-type { border-top: 0; }
.cms-results a:hover { background: var(--primary-soft); }
.cms-results h6 { margin: 0; padding: 8px 14px 4px; font: 700 .64rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-soft); }
.cms-body { padding: 28px clamp(16px, 3vw, 32px) 80px; max-width: 1400px; width: 100%; }
.cms-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 22px; }
.cms-body .stat { background: #fff; border: 1px solid var(--line); }
.cms-body .stat.hit { background: var(--success-soft); border-color: transparent; }
.cms-body .stat.miss { background: var(--accent-soft); border-color: transparent; }
.cms-body .card-soft { background: #fff; border-color: var(--line); }
.cms-body .table-wrap { background: #fff; }
.cms-two { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
.bulk-bar { position: sticky; top: 70px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 12px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-size: .88rem; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 6px; background: var(--primary-soft); font-size: .74rem; font-weight: 600; white-space: nowrap; }
.tag button { border: 0; background: none; cursor: pointer; padding: 0; font-size: .8rem; line-height: 1; color: var(--ink-2); }
.timeline-list { position: relative; }
.timeline-list .tl { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.timeline-list .tl:first-child { border-top: 0; }
.timeline-list .tl-ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--primary-soft); display: grid; place-items: center; font-size: .9rem; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 190px; padding-top: 20px; }
.bar-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.bar { width: 100%; max-width: 46px; min-height: 2px; border-radius: 6px 6px 0 0; background: var(--primary); }
.bar-val { font-size: .68rem; font-weight: 600; white-space: nowrap; }
.bar-label { font-size: .64rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.hbar { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; align-items: center; gap: 10px; padding: 6px 0; font-size: .86rem; }
.hbar-track { height: 10px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; }
.hbar-track i { display: block; height: 100%; border-radius: 99px; background: var(--primary); }
.swatch { display: flex; align-items: center; gap: 10px; }
.swatch input[type=color] { width: 46px; height: 46px; padding: 0; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.design-preview { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.design-preview .pv-hero { padding: 30px 22px; text-align: center; background: radial-gradient(420px 240px at 10% 0%, color-mix(in srgb, var(--primary) 38%, transparent), transparent 62%), radial-gradient(380px 240px at 95% 20%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%), var(--primary-wash); }
.design-preview h3.pv-title { font: 500 1.7rem/1.1 var(--display); letter-spacing: -.02em; margin-top: 8px; }
.design-preview h3.pv-title em { color: var(--primary-dark); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.toggle-row:first-child { border-top: 0; }
.toggle-row input { width: 20px; height: 20px; accent-color: var(--primary-dark); }
@media (min-width: 1000px) {
  .cms { grid-template-columns: 250px minmax(0, 1fr); }
  .cms-side, .cms-side.open { display: flex; position: sticky; top: 0; height: 100vh; width: auto; overflow-y: auto; box-shadow: none; inset: auto; }
  .cms-menu-btn { display: none !important; }
  .cms-two { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .cms-two.even { grid-template-columns: 1fr 1fr; }
  .cms-two.side { grid-template-columns: 340px minmax(0, 1fr); }
}

.footer-legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-3); }

/* Logo options gallery (CMS) */
.lg-p { fill: var(--primary); } .lg-k { fill: var(--ink); } .lg-w { fill: #fff; } .lg-a { fill: var(--accent); }
.lg-sp { stroke: var(--primary); } .lg-sk { stroke: var(--ink); } .lg-sw { stroke: #fff; }
.lg-svg { display: block; flex: none; }
.lg-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.lg-strip a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink-3); font-weight: 600; }
.lg-strip a:hover .lg-svg { transform: translateY(-2px); }
.lg-strip .lg-svg { transition: transform .15s; }
.lg-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.lg-card { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 80px; min-width: 0; }
.lg-card.lg-pick { box-shadow: 0 0 0 2px var(--primary); }
.lg-num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary-soft); color: var(--ink); font-size: .8rem; font-weight: 700; margin-right: 4px; }
.lg-hero { display: grid; place-items: center; padding: 22px; background: var(--bg-soft); border-radius: var(--radius-sm); }
.lg-lockup { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); font: 600 1.4rem var(--display); letter-spacing: -.02em; color: var(--ink); }
.lg-lockup.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.lg-sizes { display: flex; align-items: flex-end; gap: 18px; }
.lg-sizes div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lg-sizes small { font-size: .7rem; color: var(--ink-3); }

/* About us */
.about-hero { padding: 64px 0 40px; background: var(--primary-wash); }
.about-hero h1 { max-width: 16ch; margin-top: 12px; text-wrap: balance; }
.about-hero h1 em { font-style: var(--display-em); color: var(--primary-dark); }
.about-hero .lede { max-width: 56ch; margin-top: 18px; font-size: 1.12rem; color: var(--ink-2); }
.about-founders { display: grid; gap: 22px; }
.about-founder { display: grid; gap: 20px; padding: 22px; border-radius: var(--radius); background: var(--surface, #FFFFFF); border: 1px solid var(--line); }
.about-photo { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; flex: none; background: var(--primary-soft); box-shadow: 0 0 0 6px var(--primary-wash), 0 0 0 7px var(--line); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-mono { display: grid; place-items: center; background: var(--accent); }
.about-photo-mono span { font: 600 3.4rem/1 var(--display); color: var(--ink); }
.about-founder h3 { font-size: 1.6rem; }
.about-role { margin: 4px 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary-dark); }
.about-founder p { color: var(--ink-2); margin-top: 10px; }
.about-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.about-facts span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); font-size: .82rem; font-weight: 600; }
.about-sibling { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; text-align: center; font-weight: 600; color: var(--ink-2); }
.about-sibling i { color: var(--danger); }
.about-story { display: grid; gap: 24px; }
.about-story h2 { margin-top: 8px; max-width: 14ch; }
.about-story p { font-size: 1.05rem; color: var(--ink-2); max-width: 58ch; }
.about-rules { gap: 22px; }
.about-rule { display: flex; gap: 16px; align-items: flex-start; }
.about-rule h3 { font-size: 1.2rem; }
.about-rule p { margin-top: 6px; }
.about-num { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--on-primary, var(--ink)); font: 600 1.2rem var(--display); }
.about-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.about-cat { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--surface, #FFFFFF); border: 1px solid var(--line); font-weight: 600; }
.about-cat:hover { border-color: var(--ink-3); }
@media (min-width: 760px) {
  .about-founder { grid-template-columns: auto 1fr; align-items: start; padding: 30px; }
  .about-story { grid-template-columns: 1fr 1.3fr; align-items: start; gap: 48px; }
}
@media (min-width: 1000px) { .about-founders { grid-template-columns: 1fr 1fr; } .about-hero { padding: 96px 0 64px; } }

/* Founding member popup */
.fm-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.fm-backdrop { position: absolute; inset: 0; background: rgba(20, 12, 26, .55); animation: fm-fade .2s ease; }
.fm-dialog { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface, #FFFFFF); color: var(--ink); border-radius: var(--radius); box-shadow: 0 24px 70px rgba(0, 0, 0, .3); padding: 30px 26px 24px; animation: fm-pop .25s ease; }
.fm-close { position: absolute; top: 10px; right: 10px; font-size: 1.2rem; }
.fm-body h2, .fm-page h1 { margin-top: 8px; }
.fm-body > .muted, .fm-page > .muted { margin-top: 10px; }
.fm-form { margin-top: 20px; }
.fm-page { padding: 30px 26px; }
.fm-done { padding: 10px 0; }
.fm-done h2 { margin-top: 4px; }
.fm-check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); font-size: 1.8rem; }
@keyframes fm-fade { from { opacity: 0; } }
@keyframes fm-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .fm-backdrop, .fm-dialog { animation: none; } }

/* Service and service-area pages */
.svc-hero { padding: 48px 0 40px; background: var(--primary-wash); }
.svc-hero h1 { max-width: 20ch; margin-top: 12px; text-wrap: balance; font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
.svc-hero .lede { max-width: 56ch; margin-top: 16px; font-size: 1.1rem; color: var(--ink-2); }
.svc-hero-grid { display: grid; gap: 28px; align-items: center; }
.svc-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.svc-two { display: grid; gap: 28px; align-items: start; }
.svc-two h2 { margin-top: 8px; }
.svc-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.svc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 1.02rem; }
.svc-list i { color: var(--primary-dark); margin-top: 2px; }
.svc-tips { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 8px; }
.svc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.svc-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--surface, #FFFFFF); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.svc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.svc-card b { font: 600 1.2rem var(--display); }
.svc-card span:last-child { font-size: .9rem; color: var(--ink-2); }
.svc-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-dark); font-size: 1.3rem; }
.svc-towns { font-size: 1.02rem; color: var(--ink-2); line-height: 1.8; }
.town-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.town-grid li { display: flex; flex-direction: column; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface, #FFFFFF); border: 1px solid var(--line); }
.town-grid span { font-size: .8rem; color: var(--ink-3); }
@media (min-width: 900px) { .svc-hero-grid { grid-template-columns: 1.2fr 1fr; } .svc-two { grid-template-columns: 1.3fr 1fr; gap: 56px; } .svc-hero { padding: 72px 0 56px; } }
