/*
 * 100 Plots public site. Mobile first.
 * No colour or font values live here: everything comes from the city theme via
 * --black, --white, --cream, --accent, --water, --green, --font-heading and --font-body.
 */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --ink: var(--black);
    --paper: var(--cream);
    --line: color-mix(in srgb, var(--black) 14%, transparent);
    --muted: color-mix(in srgb, var(--black) 62%, var(--cream));
    --shadow: 0 6px 20px color-mix(in srgb, var(--black) 18%, transparent);
    --radius: 14px;
    --gutter: 16px;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 72px; }
[hidden] { display: none !important; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 720px; }

.visually-hidden, .hp {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--black); padding: 8px 12px; z-index: 2000; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* --- Buttons ------------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4em;
    min-height: 44px; padding: .65em 1.2em;
    border-radius: 999px; border: 2px solid transparent;
    font: 600 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
    transition: transform .1s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--white); border-color: var(--black); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--light { background: var(--white); color: var(--black); }
.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--small { min-height: 38px; padding: .45em .95em; font-size: .9rem; }
.btn--large { min-height: 52px; padding: .8em 1.6em; font-size: 1.1rem; }
.btn--block { width: 100%; }

/* --- Header ---------------------------------------------------------------- */

.site-header {
    background: var(--black); color: var(--white);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 3px solid var(--accent);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark {
    display: grid; place-items: center; width: 40px; height: 40px;
    background: var(--white); color: var(--black); border: 2px solid var(--accent);
    font: 700 .95rem/1 var(--font-heading); border-radius: 6px;
}
.brand__text { font: 700 1.15rem/1 var(--font-heading); }
.brand__city { color: color-mix(in srgb, var(--accent) 55%, var(--white)); }

/* --- Hero: black-and-white with a half-timbered band ---------------------------- */

.hero {
    position: relative;
    background: var(--black); color: var(--white);
    text-align: center;
    padding: 40px 0 72px;
    overflow: hidden;
}
.hero::after {
    /* Timber-frame band: white panels, black beams, diagonal braces. */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
    background:
        linear-gradient(135deg, transparent 46%, var(--black) 46%, var(--black) 54%, transparent 54%) 0 0 / 40px 40px,
        linear-gradient(45deg, transparent 46%, var(--black) 46%, var(--black) 54%, transparent 54%) 20px 0 / 40px 40px,
        linear-gradient(90deg, var(--black) 0 6px, transparent 6px) 0 0 / 40px 40px,
        var(--white);
    border-top: 6px solid var(--black);
}
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 700; color: color-mix(in srgb, var(--accent) 55%, var(--white)); margin-bottom: .4em; }
.hero__title { font-size: clamp(2.8rem, 13vw, 5.5rem); margin-bottom: .1em; }
.hero__tagline { font-size: 1.1rem; max-width: 34ch; margin: 0 auto 1.4em; color: color-mix(in srgb, var(--white) 85%, var(--black)); }
.counter {
    display: inline-flex; align-items: baseline; gap: .45em;
    background: var(--white); color: var(--black);
    border: 3px solid var(--accent); border-radius: 999px;
    padding: .4em 1.1em; margin-bottom: 1.4em;
}
.counter__number { font: 700 1.8rem/1 var(--font-heading); color: var(--accent); }
.counter__label { font-weight: 600; }
.hero .btn { display: flex; width: fit-content; margin: 0 auto; }

/* --- Map section -------------------------------------------------------------- */

.map-section { padding: 28px 0 8px; }
.map-toolbar { display: grid; gap: 10px; margin-bottom: 14px; }
.map-toolbar input[type=search], .map-toolbar select, .inline-form input {
    width: 100%; min-height: 46px; padding: .6em .9em;
    border: 2px solid var(--black); border-radius: 10px;
    background: var(--white); color: var(--black);
    font: 1rem var(--font-body);
}
.map-toolbar__row { display: flex; gap: 10px; }
.map-toolbar__row select { flex: 1; min-width: 0; }
.map-toolbar__status { margin: 0; font-size: .9rem; color: var(--muted); min-height: 1.3em; }

.view-toggle { display: inline-flex; border: 2px solid var(--black); border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.view-toggle__btn {
    border: 0; background: var(--white); color: var(--black);
    font: 600 .95rem var(--font-body); padding: 0 .9em; min-height: 42px; cursor: pointer;
}
.view-toggle__btn + .view-toggle__btn { border-left: 2px solid var(--black); }
.view-toggle__btn.is-active { background: var(--black); color: var(--white); }

/* Timber-frame border around the map. */
.map-frame { padding: 0 var(--gutter); max-width: 1180px; margin: 0 auto; }
.map-frame__inner {
    position: relative;
    border: 8px solid var(--black);
    outline: 2px solid var(--black); outline-offset: 3px;
    box-shadow: inset 0 0 0 3px var(--white);
    background: var(--cream);
}
.map-section.is-list .map-frame { display: none; }
.plots-map { height: 68vh; min-height: 380px; max-height: 720px; background: var(--cream); }
.map-credit { font-size: .8rem; color: var(--muted); margin: 8px 0 0; text-align: right; }

.leaflet-container { font-family: var(--font-body); background: var(--cream); }
.leaflet-control-attribution { font-size: 11px; background: color-mix(in srgb, var(--white) 85%, transparent) !important; }
.leaflet-bar a { color: var(--black); }

/* Map labels and landmark glyphs */
.map-label { pointer-events: none; }
.map-label span {
    display: block; transform: translate(-50%, -50%); width: max-content;
    font-family: var(--font-heading); font-weight: 700; color: var(--black);
    text-shadow: 0 0 3px var(--cream), 0 0 3px var(--cream), 0 0 6px var(--cream);
    white-space: nowrap;
}
.map-label--sm span { font-size: 12px; }
.map-label--md span { font-size: 15px; }
.map-label--lg span { font-size: 20px; letter-spacing: .02em; }
.map-label--water span { font-style: italic; font-weight: 600; }
.map-glyph { pointer-events: none; color: var(--black); }
.map-glyph svg { display: block; width: 100%; height: 100%; overflow: visible; }
.map-glyph__label {
    position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -3px); width: max-content;
    font: 700 13px/1 var(--font-heading); color: var(--black);
    text-shadow: 0 0 3px var(--cream), 0 0 3px var(--cream), 0 0 6px var(--cream);
}

/* Plot markers. The outer element is positioned by Leaflet; .pm is scaled by zoom level. */
.plot-marker { background: none; border: 0; }
.pm {
    position: relative; width: 100%; height: 100%;
    display: grid; place-items: center;
    transform-origin: 50% 50%;
    transition: transform .15s ease, opacity .15s ease;
    cursor: pointer;
}
.pm-shop { width: 34px; height: 34px; color: var(--black); filter: drop-shadow(0 2px 2px color-mix(in srgb, var(--black) 30%, transparent)); }
.pm-shop .awning-a { fill: var(--accent); }
.pm-shop .awning-b { fill: var(--white); }
.pm-shop .body { fill: var(--white); }
.pm-shop .line { fill: none; stroke: var(--black); stroke-width: 1.6; stroke-linejoin: round; }
.pm-shop .num { font: 700 11px var(--font-body); fill: var(--black); }
.pm--held .pm-shop .awning-a { fill: color-mix(in srgb, var(--black) 35%, var(--cream)); }
.pm--held .pm-shop { opacity: .7; }

.pm-round {
    width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
    display: grid; place-items: center;
    background: var(--accent); color: var(--white);
    border: 3px solid var(--black);
    box-shadow: 0 0 0 2px var(--white), 0 3px 6px color-mix(in srgb, var(--black) 35%, transparent);
    font: 700 13px/1 var(--font-body); letter-spacing: .02em;
}
.pm-round img { width: 100%; height: 100%; object-fit: cover; background: var(--white); }

/* Landmark plots: sandstone double ring and a star badge. */
.pm--landmark .pm-round { width: 46px; height: 46px; border-color: var(--accent); box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--white), 0 4px 8px color-mix(in srgb, var(--black) 35%, transparent); }
.pm--landmark .pm-shop { width: 42px; height: 42px; }
.pm-star {
    position: absolute; top: -4px; right: -4px; width: 18px; height: 18px;
    background: var(--black); border: 2px solid var(--white); border-radius: 50%;
    display: grid; place-items: center;
}
.pm-star svg { width: 10px; height: 10px; fill: var(--accent); }

.pm.is-dimmed { opacity: .22; }
.pm.is-selected { transform: scale(1.25) !important; z-index: 1; }
.leaflet-marker-icon.is-selected-wrap { z-index: 10000 !important; }

/* Shrink markers as you zoom out so the walled city stays readable. */
.zoom-17 .pm { transform: scale(.78); }
.zoom-16 .pm { transform: scale(.58); }
.zoom-low .pm { transform: scale(.36); }
.zoom-low .pm-shop .num { display: none; }

/* Preview card */
.plot-card {
    position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1001;
    background: var(--white); color: var(--black);
    border: 3px solid var(--black); border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px 14px 14px;
    max-width: 420px;
}
.plot-card__close {
    position: absolute; top: 6px; right: 6px; width: 36px; height: 36px;
    border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: var(--black);
}
.plot-card__row { display: flex; gap: 12px; align-items: center; padding-right: 30px; }
.plot-card__title { font: 700 1.15rem/1.2 var(--font-heading); margin: 0; }
.plot-card__meta { font-size: .88rem; color: var(--muted); margin: 2px 0 0; }
.plot-card__text { margin: 10px 0 12px; font-size: .95rem; }
.plot-card .btn { width: 100%; }
.plot-card__price { font: 700 1.4rem/1 var(--font-heading); color: var(--accent); margin: 10px 0 2px; }
.plot-card__price small { font: 500 .85rem var(--font-body); color: var(--muted); }

/* List view */
.plot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.plot-list li a {
    display: flex; align-items: center; gap: 12px;
    background: var(--white); border: 2px solid var(--black); border-radius: 12px;
    padding: 10px 12px; text-decoration: none;
}
.plot-list li a:hover { border-color: var(--accent); }
.plot-list__num {
    flex-shrink: 0; width: 44px; text-align: center;
    font: 700 1.05rem/1 var(--font-heading);
}
.plot-list__body { min-width: 0; flex: 1; }
.plot-list__title { font-weight: 700; margin: 0; }
.plot-list__meta { margin: 0; font-size: .88rem; color: var(--muted); }
.plot-list__tag { flex-shrink: 0; font-size: .85rem; font-weight: 700; color: var(--accent); }
.plot-list li.is-hidden { display: none; }

/* --- Avatars, badges, cards ---------------------------------------------------------- */

.avatar {
    flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
    display: grid; place-items: center;
    background: var(--accent); color: var(--white);
    border: 3px solid var(--black); box-shadow: 0 0 0 2px var(--white);
    font: 700 1.1rem/1 var(--font-body);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; background: var(--white); }
.avatar--landmark { border-color: var(--accent); box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--white); }
.avatar--xl { width: 104px; height: 104px; font-size: 2rem; border-width: 4px; }
.avatar--sm { width: 40px; height: 40px; font-size: .85rem; }

.badge {
    display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .02em;
    padding: .25em .7em; border-radius: 999px;
    background: var(--cream); color: var(--black); border: 1.5px solid var(--black);
}
.badge--accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.badge--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.badge--muted { background: transparent; color: var(--muted); border-style: dashed; border-color: var(--muted); }

.section { padding: 44px 0; }
.section--alt { background: var(--white); border-top: 2px solid var(--black); border-bottom: 2px solid var(--black); }
.section--dark { background: var(--black); color: var(--white); }
.section__title { font-size: clamp(1.7rem, 6vw, 2.4rem); }
.section__intro { max-width: 60ch; }
.section__cta { margin: 24px 0 0; }

.card-grid { display: grid; gap: 14px; }
.biz-card {
    display: block; overflow: hidden; text-decoration: none;
    background: var(--white); color: var(--black);
    border: 2px solid var(--black); border-radius: var(--radius);
    transition: transform .12s ease, box-shadow .12s ease;
}
.biz-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.biz-card__cover { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-bottom: 2px solid var(--black); }
.biz-card__body { display: flex; gap: 14px; padding: 16px; align-items: flex-start; }
.biz-card__text { min-width: 0; }
.biz-card__name { font-size: 1.2rem; margin: 0 0 .15em; }
.biz-card__meta { font-size: .88rem; color: var(--muted); margin: 0 0 .4em; }
.biz-card__tagline { margin: 0 0 .4em; }
.biz-card--large .biz-card__name { font-size: 1.5rem; }

.price-grid { display: grid; gap: 14px; margin-top: 18px; }
.price-card {
    background: var(--white); color: var(--black);
    border: 3px solid var(--white); border-radius: var(--radius);
    padding: 20px;
}
.price-card--feature { border-color: var(--accent); box-shadow: 0 0 0 3px var(--black), 0 0 0 6px var(--accent); }
.price-card__name { font-size: 1.3rem; margin-bottom: .2em; }
.price-card__price { font: 700 2.4rem/1 var(--font-heading); color: var(--accent); margin: 0 0 .3em; }
.price-card__price span { font: 500 1rem var(--font-body); color: var(--muted); margin-left: .15em; }
.price-card__note { font-size: .95rem; background: var(--cream); border-radius: 8px; padding: .4em .7em; display: inline-block; }
.price-card p:last-child { margin-bottom: 0; }

.faq details { border-bottom: 2px solid var(--black); }
.faq details:first-child { border-top: 2px solid var(--black); }
.faq summary {
    cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
    font: 700 1.1rem/1.3 var(--font-heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.6rem/1 var(--font-body); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 16px; margin: 0; }

.inline-form { display: grid; gap: 10px; }
.notice { padding: .8em 1em; border-radius: 10px; background: var(--white); border: 2px solid var(--black); }
.notice--success { border-color: var(--accent); }
.field-error { color: var(--accent); font-weight: 600; margin-top: 8px; }

/* --- Footer ------------------------------------------------------------------------ */

.site-footer { background: var(--black); color: var(--white); padding: 40px 0 24px; border-top: 6px solid var(--accent); }
.site-footer__inner { display: grid; gap: 28px; }
.site-footer__title { font-size: 1.6rem; }
.site-footer .notice { color: var(--black); }
.site-footer .inline-form input { border-color: var(--white); }
.site-footer__meta { font-size: .9rem; color: color-mix(in srgb, var(--white) 75%, var(--black)); }
.site-footer__meta p { margin-bottom: .4em; }

/* --- Business profile -------------------------------------------------------------- */

.profile__cover { height: 180px; background: var(--black); border-bottom: 4px solid var(--black); }
.profile__cover img { width: 100%; height: 100%; object-fit: cover; }
.profile__cover--plain {
    background:
        linear-gradient(135deg, transparent 46%, var(--black) 46%, var(--black) 54%, transparent 54%) 0 0 / 60px 60px,
        linear-gradient(45deg, transparent 46%, var(--black) 46%, var(--black) 54%, transparent 54%) 30px 0 / 60px 60px,
        linear-gradient(90deg, var(--black) 0 8px, transparent 8px) 0 0 / 60px 60px,
        var(--white);
}
.profile__head { display: flex; gap: 16px; align-items: flex-end; margin-top: -52px; flex-wrap: wrap; }
.profile__titles { flex: 1 1 260px; min-width: 0; padding-top: 56px; }
.profile__head .avatar--xl { position: relative; z-index: 1; }
.profile__plot { margin: 0 0 .2em; font-weight: 700; font-size: .92rem; }
.profile__plot a { color: var(--accent); text-decoration: none; }
.profile__name { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: .2em; }
.profile__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .8em; }
.profile__tagline { font-size: 1.15rem; margin: 0; }
.profile__actions { display: grid; gap: 10px; margin-top: 20px; }
.profile__grid { display: grid; gap: 24px; padding-top: 24px; padding-bottom: 48px; }
.profile__section { margin-bottom: 28px; }
.profile__section h2, .info-card h2 { font-size: 1.3rem; }
.prose { max-width: 65ch; }

.offer {
    background: var(--accent); color: var(--white);
    border: 3px solid var(--black); border-radius: var(--radius);
    padding: 14px 16px; margin-bottom: 24px;
}
.offer__label { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; margin: 0 0 .2em; }
.offer__text { font: 700 1.2rem/1.3 var(--font-heading); margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--black); border-radius: 10px; }
.video { position: relative; aspect-ratio: 16 / 9; border: 3px solid var(--black); border-radius: var(--radius); overflow: hidden; background: var(--black); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.info-card { background: var(--white); border: 2px solid var(--black); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.info-card h2 { margin-top: 1em; }
.info-card h2:first-child { margin-top: 0; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.hours th, .hours td { text-align: left; padding: 5px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.hours th { font-weight: 600; width: 45%; }
.link-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 6px; }
.link-list a { color: var(--accent); font-weight: 600; }
.since { font: italic 600 1rem var(--font-heading); border-top: 2px solid var(--black); padding-top: 12px; margin: 16px 0 0; }

/* --- Larger screens ---------------------------------------------------------------- */

@media (min-width: 640px) {
    .inline-form { grid-template-columns: 1fr auto; }
    .site-footer .inline-form { grid-template-columns: 1fr 1fr auto; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .profile__actions { display: flex; flex-wrap: wrap; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .plot-card { left: 16px; bottom: 16px; right: auto; width: 380px; }
}

@media (min-width: 900px) {
    :root { --gutter: 24px; }
    .hero { padding: 64px 0 96px; }
    .map-toolbar { grid-template-columns: 1fr auto; align-items: center; }
    .map-toolbar__status { grid-column: 1 / -1; }
    .map-toolbar__row select { min-width: 220px; }
    .plots-map { height: 640px; }
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    .price-grid { grid-template-columns: repeat(3, 1fr); }
    .biz-card--large { display: grid; grid-template-columns: 1.2fr 1fr; }
    .biz-card--large .biz-card__cover { height: 100%; aspect-ratio: auto; border-bottom: 0; border-right: 2px solid var(--black); }
    .biz-card--large .biz-card__body { padding: 28px; }
    .site-footer__inner { grid-template-columns: 1.4fr 1fr; align-items: end; }
    .profile__cover { height: 300px; }
    .profile__head { margin-top: -64px; }
    .profile__titles { padding-top: 80px; }
    .avatar--xl { width: 128px; height: 128px; }
    .profile__grid { grid-template-columns: 1fr 340px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pm, .btn, .biz-card { transition: none; }
}

/* Landmark glyphs (shared with the admin picker, which sets the theme variables on the map element) */
.map-glyph .g-k { fill: var(--black); }
.map-glyph .g-w { fill: var(--white); }
.map-glyph .g-a { fill: var(--accent); }
.map-glyph .g-ks { stroke: var(--black); stroke-width: 2.5; }
.map-glyph .g-line { fill: none; stroke: var(--black); stroke-width: 2.5; }
.map-glyph .g-hand { fill: none; stroke: var(--black); stroke-width: 2.5; stroke-linecap: round; }
.map-glyph .g-arc { fill: none; stroke: var(--accent); stroke-width: 3; }

/* --- Plot-number strip: all 100 numbers under the map ------------------------------------ */

.strip-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin: 24px 0 10px; }
.strip-head__title { font-size: 1.4rem; margin: 0; }
.strip-head__legend { margin: 0; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.strip-key { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; font: 700 .75rem/1 var(--font-body); }
.strip-key--free { background: var(--white); color: var(--black); border: 2px solid var(--black); }
.strip-key--taken { background: var(--accent); border: 2px solid var(--black); border-radius: 50%; margin-left: 8px; }

.plot-strip {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px;
}
.plot-strip__item a, .plot-strip__item > .plot-strip__num {
    position: relative; display: grid; place-items: center;
    aspect-ratio: 1; min-height: 44px; text-decoration: none;
    border: 2px solid var(--black); border-radius: 8px;
    font: 700 .95rem/1 var(--font-body);
}
.plot-strip__item.is-free a { background: var(--white); color: var(--black); transition: background .12s ease, color .12s ease; }
.plot-strip__item.is-free a:hover, .plot-strip__item.is-free a:focus-visible { background: var(--accent); color: var(--white); }
.plot-strip__item.is-held > .plot-strip__num {
    color: var(--muted); border-style: dashed; border-color: var(--muted);
    background: repeating-linear-gradient(45deg, transparent 0 4px, color-mix(in srgb, var(--black) 8%, transparent) 4px 8px);
}
.plot-strip__item.is-taken a { background: var(--black); padding: 3px; }
.plot-strip__item.is-taken .plot-strip__num {
    position: absolute; right: -4px; bottom: -4px; z-index: 1;
    font-size: .65rem; background: var(--white); color: var(--black);
    border: 1.5px solid var(--black); border-radius: 4px; padding: 1px 3px;
}
.avatar--strip { width: 100%; height: 100%; border-width: 0; box-shadow: none; font-size: .8rem; }
.avatar--strip.avatar--landmark { box-shadow: 0 0 0 2px var(--accent); }
.plot-strip__item.is-dimmed { opacity: .2; }

.notice--chosen { color: var(--black); margin-bottom: 1.2em; border-color: var(--accent); }

/* Landmark zone labels on the map */
.zone-label span {
    display: block; transform: translate(-50%, -50%); width: max-content;
    font: 700 11px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .06em;
    color: var(--accent); text-shadow: 0 0 3px var(--white), 0 0 3px var(--white), 0 0 5px var(--white);
    text-align: center; pointer-events: none;
}
.zone-label.is-full span { color: var(--black); }

/* --- Claim flow ------------------------------------------------------------------------- */

.eyebrow--dark { color: var(--accent); }
.claim__title { font-size: clamp(1.9rem, 7vw, 2.8rem); display: flex; align-items: center; gap: .3em; flex-wrap: wrap; }
.claim__number {
    font: inherit; color: var(--accent); background: var(--white);
    border: 3px solid var(--black); border-radius: 12px; padding: 0 .2em; min-height: 1.4em;
}
.claim__lead { font-size: 1.05rem; }
.claim__small { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.claim-step { border-top: 2px solid var(--black); padding: 22px 0 8px; }
.claim-step:first-of-type { border-top: 0; padding-top: 0; }
.claim-step__title { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.claim-step__title span {
    display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    background: var(--black); color: var(--white); font: 700 1rem var(--font-body);
}
.field { display: grid; gap: 6px; margin: 16px 0; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 46px; padding: .6em .8em; font: 1rem var(--font-body);
    border: 2px solid var(--black); border-radius: 10px; background: var(--white); color: var(--black);
}
.field textarea { min-height: 140px; resize: vertical; }
.field__help { margin: 0; font-size: .88rem; color: var(--muted); }
.field__error { margin: 0; color: var(--accent); font-weight: 700; font-size: .92rem; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 22px; line-height: 1.45; }
.check input { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); }
.tier { background: var(--white); border: 2px solid var(--black); border-radius: var(--radius); padding: 14px 16px; margin: 16px 0; }
.tier__label { margin: 0; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.tier__price { font: 700 1.35rem/1.3 var(--font-heading); color: var(--accent); margin: 4px 0 10px; }
.tier__list { margin: 0; padding-left: 1.1em; font-size: .92rem; display: grid; gap: 4px; }
.notice--error { border-color: var(--accent); color: var(--black); }
.notice--error ul { margin: 6px 0 0; padding-left: 1.2em; }

.countdown {
    display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
    background: var(--black); color: var(--white); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 20px;
}
.countdown__time { font: 700 2.4rem/1 var(--font-heading); color: color-mix(in srgb, var(--accent) 60%, var(--white)); font-variant-numeric: tabular-nums; }
.countdown.is-low .countdown__time { color: var(--white); }
.countdown.is-low { background: var(--accent); }
.summary { margin: 0 0 22px; background: var(--white); border: 2px solid var(--black); border-radius: var(--radius); }
.summary div { display: grid; grid-template-columns: 9em 1fr; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.summary div:first-child { border-top: 0; }
.summary dt { font-weight: 700; }
.summary dd { margin: 0; }
.claim__release { margin-top: 10px; text-align: center; }
.link-button { background: none; border: 0; padding: 8px; font: 600 .95rem var(--font-body); color: var(--black); text-decoration: underline; cursor: pointer; }
.section__legal { font-size: .9rem; margin-top: 14px; }
.section--dark .section__legal a { color: var(--white); }
.footer-links a { color: inherit; }

/* --- Owner account --------------------------------------------------------------------- */

.account-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.account-card { background: var(--white); border: 2px solid var(--black); border-radius: var(--radius); padding: 16px; margin: 14px 0; }
.account-card__head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.account-card__name { font-size: 1.3rem; margin: 0; }
.account-card__meta { margin: 0; color: var(--muted); font-size: .92rem; }
.account-card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.account-billing { border-top: 2px solid var(--black); margin-top: 28px; padding-top: 20px; }
.status-badge {
    display: inline-block; font-size: .78rem; font-weight: 700; padding: .25em .7em; border-radius: 999px;
    border: 1.5px solid var(--black); background: var(--cream); margin-right: 6px;
}
.status-badge--live { background: var(--accent); color: var(--white); border-color: var(--accent); }
.status-badge--pending { background: var(--black); color: var(--white); }
.status-badge--hidden { border-style: dashed; color: var(--muted); }
.submit-box { background: var(--white); border: 3px solid var(--accent); border-radius: var(--radius); padding: 14px 16px; margin: 16px 0; }
.submit-box p { margin: 0 0 10px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.hours-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 12px; }
.hours-grid .field { margin: 8px 0; }
.upload-preview { max-width: 160px; max-height: 120px; object-fit: cover; border: 2px solid var(--black); border-radius: 8px; }
.check--small { margin: 4px 0; font-size: .9rem; }
.check--small input { width: 18px; height: 18px; }
.gallery--edit label { display: grid; gap: 4px; }
@media (min-width: 640px) { .hours-grid { grid-template-columns: repeat(4, 1fr); } }

/* Legal pages */
.draft-banner { background: var(--accent); color: var(--white); border: 3px solid var(--black); border-radius: 10px; padding: 10px 14px; }
.legal__body h2 { font-size: 1.3rem; margin-top: 1.4em; }
.legal__body ul { padding-left: 1.2em; }
.legal__links { margin-top: 28px; border-top: 2px solid var(--black); padding-top: 14px; }
