/* ==========================================================================
   REGINA CHRISTMAS LIGHTS MAP — SITE STYLES
   Mobile-first. Tokens on :root. Sections marked with UPPERCASE comments.
   ========================================================================== */

/* ==========================================================================
   FONTS (self-hosted, SIL Open Font License)
   ========================================================================== */
@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans 3";
    src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */
:root {
    /* Colour */
    --evergreen-900: #08261d;
    --evergreen-800: #0e3b2e;
    --evergreen-700: #155040;
    --evergreen-100: #e3ece6;
    --snow: #fbf7ef;
    --snow-deep: #f3ecdf;
    --paper: #ffffff;
    --ink: #1c211e;
    --ink-soft: #4a524d;
    --line: #dcd4c4;
    --gold: #c8a04a;
    --gold-deep: #8a6a1f;
    --gold-soft: #f6ead0;
    --cranberry: #9e2b33;
    --cranberry-soft: #f8e4e4;
    --bulb-warm: #ffd98a;

    /* Type */
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
    --fs-small: 0.875rem;
    --fs-base: 1.0625rem;
    --fs-lead: 1.1875rem;
    --fs-h3: 1.25rem;
    --fs-h2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    --fs-h1: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);

    /* Space & shape */
    --gutter: 1rem;
    --radius: 10px;
    --radius-lg: 18px;
    --shadow: 0 1px 2px rgba(8, 38, 29, 0.06), 0 6px 20px rgba(8, 38, 29, 0.07);
    --focus: 0 0 0 3px var(--paper), 0 0 0 5px var(--gold-deep);
    --tap: 44px;
}

@media (min-width: 720px) {
    :root {
        --gutter: 1.5rem;
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--snow);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--evergreen-900);
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--evergreen-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--evergreen-900);
    text-decoration-thickness: 2px;
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus);
    border-radius: 4px;
}

.small {
    font-size: var(--fs-small);
    color: var(--ink-soft);
}

.lead {
    font-size: var(--fs-lead);
    color: var(--ink-soft);
}

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 1000;
    background: var(--gold);
    color: var(--evergreen-900);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

.plain-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plain-list li + li {
    margin-top: 0.4rem;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.wrap {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.wrap--narrow {
    max-width: 760px;
}

.wrap--wide {
    max-width: 1400px;
}

.page-pad {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
}

.section {
    padding: 3rem 0;
}

.section--tint {
    background: var(--snow-deep);
}

.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1.25rem;
}

.section__count {
    color: var(--ink-soft);
    margin: 0;
}

.eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.5rem;
}

.eyebrow--light {
    color: var(--bulb-warm);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: var(--tap);
    padding: 0.6rem 1.15rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--small {
    min-height: 36px;
    padding: 0.35rem 0.9rem;
    font-size: 0.9375rem;
}

.btn--large {
    min-height: 52px;
    padding: 0.8rem 1.6rem;
    font-size: 1.0625rem;
}

.btn--primary {
    background: var(--evergreen-800);
    color: var(--snow);
}

.btn--primary:hover {
    background: var(--evergreen-900);
    color: var(--paper);
}

.btn--gold {
    background: var(--gold);
    color: var(--evergreen-900);
}

.btn--gold:hover {
    background: var(--bulb-warm);
    color: var(--evergreen-900);
}

.btn--ghost {
    background: transparent;
    border-color: var(--evergreen-800);
    color: var(--evergreen-800);
}

.btn--ghost:hover {
    background: var(--evergreen-100);
    color: var(--evergreen-900);
}

.btn--outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--paper);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--paper);
}

.btn--text {
    background: none;
    border: 0;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    color: var(--evergreen-700);
    text-decoration: underline;
    font-weight: 600;
}

.btn--danger {
    background: var(--cranberry);
    color: var(--paper);
}

.btn--danger:hover {
    background: #7f1f26;
    color: var(--paper);
}

.btn--danger-text {
    color: var(--cranberry);
}

.btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.actions--stack {
    flex-direction: column;
    align-items: stretch;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.button-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    background: var(--evergreen-900);
    color: var(--snow);
    position: relative;
    z-index: 10;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--snow);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.1;
}

.brand:hover {
    color: var(--paper);
}

.brand__text em {
    font-style: normal;
    color: var(--bulb-warm);
}

.brand__bulbs {
    display: inline-flex;
    gap: 3px;
}

.brand__bulbs i {
    width: 8px;
    height: 11px;
    border-radius: 50% 50% 45% 45%;
    background: var(--bulb-warm);
    box-shadow: 0 0 8px var(--bulb-warm);
}

.brand__bulbs i:nth-child(2) {
    background: #f28b82;
    box-shadow: 0 0 8px #f28b82;
}

.brand__bulbs i:nth-child(3) {
    background: #9ad3b0;
    box-shadow: 0 0 8px #9ad3b0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav a:not(.btn) {
    color: var(--snow);
    font-weight: 600;
    text-decoration: none;
    display: none;
}

.site-nav a:not(.btn):hover {
    text-decoration: underline;
}

@media (min-width: 640px) {
    .site-nav a:not(.btn) {
        display: inline;
    }
}

.sample-banner {
    background: var(--gold-soft);
    color: var(--ink);
    border-bottom: 1px solid var(--gold);
    padding: 0.5rem var(--gutter);
    font-size: var(--fs-small);
    text-align: center;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 217, 138, 0.18), transparent 55%),
        radial-gradient(ellipse at 90% 100%, rgba(158, 43, 51, 0.25), transparent 50%),
        var(--evergreen-800);
    color: var(--snow);
    padding: 3.5rem 0 4rem;
}

/* A string of lights drawn with CSS: no images needed. */
.hero__lights {
    position: absolute;
    left: -5%;
    right: -5%;
    top: 0;
    height: 46px;
    background-image:
        radial-gradient(circle at 50% 75%, var(--bulb-warm) 0 5px, rgba(255, 217, 138, 0.35) 6px, transparent 13px),
        radial-gradient(ellipse at 50% -40%, transparent 60%, rgba(255, 255, 255, 0.25) 61%, transparent 64%);
    background-size: 54px 46px, 54px 46px;
    opacity: 0.9;
}

.hero__inner {
    position: relative;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.hero h1 {
    color: var(--paper);
    margin-top: 1rem;
}

.hero__lead {
    font-size: var(--fs-lead);
    color: rgba(251, 247, 239, 0.88);
    max-width: 38em;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (min-width: 900px) {
    .hero {
        padding: 5rem 0 5.5rem;
    }
}

/* ==========================================================================
   PAGE HEAD
   ========================================================================== */
.page-head {
    background: var(--snow-deep);
    border-bottom: 1px solid var(--line);
    padding: 2.25rem 0 1.75rem;
    margin-bottom: 2rem;
}

.page-head h1 {
    margin-bottom: 0.4em;
}

/* ==========================================================================
   HOME: LAUNCH / TRUST
   ========================================================================== */
.launch {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 0.9rem;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 1rem 1rem 1rem 3.5rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--evergreen-900);
    font-weight: 700;
    display: grid;
    place-items: center;
}

.trust {
    display: grid;
    gap: 1rem 2rem;
    border-top: 1px solid var(--line);
    padding-top: 2rem;
}

.trust__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    align-content: start;
}

@media (min-width: 820px) {
    .launch {
        grid-template-columns: 1.1fr 1fr;
    }

    .trust {
        grid-template-columns: 2fr 1fr;
    }
}

/* ==========================================================================
   DISPLAY CARDS
   ========================================================================== */
.cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.card__img {
    aspect-ratio: 4 / 3;
    background: var(--evergreen-800);
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.card__placeholder i {
    width: 12px;
    height: 16px;
    border-radius: 50% 50% 45% 45%;
    background: var(--bulb-warm);
    box-shadow: 0 0 14px 3px rgba(255, 217, 138, 0.6);
}

.card__body {
    padding: 0.9rem 1rem 1rem;
}

.card__title {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.card__meta {
    font-size: var(--fs-small);
    color: var(--ink-soft);
    margin-bottom: 0.4rem;
}

.card__status {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-soft);
    margin: 0;
}

.card__status.is-verified {
    color: var(--evergreen-700);
}

/* ==========================================================================
   TAGS
   ========================================================================== */
.tag {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: var(--evergreen-100);
    color: var(--evergreen-900);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.5;
    vertical-align: middle;
}

.tag--quiet {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-soft);
}

.tag--sample {
    background: var(--gold-soft);
    color: var(--gold-deep);
    border: 1px dashed var(--gold-deep);
}

.tag--private {
    background: var(--cranberry-soft);
    color: var(--cranberry);
}

.tag--owner {
    background: var(--cranberry);
    color: var(--paper);
}

.tag--status-published,
.tag--status-approved {
    background: #d8efe0;
    color: #0c4a2c;
}

.tag--status-pending,
.tag--status-open {
    background: var(--gold-soft);
    color: var(--gold-deep);
}

.tag--status-rejected,
.tag--status-inactive,
.tag--status-archived,
.tag--status-duplicate {
    background: #ebe8e2;
    color: var(--ink-soft);
}

/* ==========================================================================
   DISPLAY DETAIL
   ========================================================================== */
.display__head {
    background: var(--snow-deep);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 0 1.25rem;
    margin-bottom: 1.5rem;
}

.crumbs {
    font-size: var(--fs-small);
    color: var(--ink-soft);
    margin-bottom: 0.5rem;
}

.display__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
}

.display__grid {
    display: grid;
    gap: 2rem;
    padding-bottom: 3rem;
}

@media (min-width: 900px) {
    .display__grid {
        grid-template-columns: minmax(0, 1fr) 340px;
    }
}

.verify {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    border-left: 4px solid;
}

.verify--yes {
    background: #e2f2e8;
    border-color: var(--evergreen-700);
}

.verify--no {
    background: var(--gold-soft);
    border-color: var(--gold);
}

.verify__note {
    display: block;
    font-size: var(--fs-small);
    color: var(--ink-soft);
}

.gallery {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 1.5rem;
}

.gallery__item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--evergreen-800);
}

.gallery__item:first-child {
    grid-column: 1 / -1;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo {
    aspect-ratio: 16 / 7;
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse at 50% 120%, rgba(255, 217, 138, 0.2), transparent 60%), var(--evergreen-800);
    display: grid;
    place-items: center;
    margin-bottom: 1.5rem;
}

.no-photo__bulbs {
    display: flex;
    gap: 22px;
}

.no-photo__bulbs i {
    width: 14px;
    height: 19px;
    border-radius: 50% 50% 45% 45%;
    background: var(--bulb-warm);
    box-shadow: 0 0 18px 4px rgba(255, 217, 138, 0.55);
}

.no-photo__bulbs i:nth-child(even) {
    transform: translateY(8px);
}

.callout {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
}

.callout__title {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.facts {
    margin: 0 0 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.25rem 1rem;
}

.facts > div {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--snow-deep);
}

.facts > div:last-child {
    border-bottom: 0;
}

.facts dt {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
}

.facts dd {
    margin: 0.1rem 0 0;
}

.facts--compact > div {
    display: grid;
    gap: 0.1rem 1rem;
}

@media (min-width: 600px) {
    .facts--compact > div {
        grid-template-columns: 11rem 1fr;
    }
}

.as-submitted {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.mini-map {
    height: 240px;
    margin-top: 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--evergreen-100);
}

/* ==========================================================================
   MAP (shared)
   ========================================================================== */
.bulb-marker span {
    display: block;
    width: 18px;
    height: 18px;
    margin: 4px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #fff6d8 0 20%, var(--bulb-warm) 45%, var(--gold) 100%);
    border: 2px solid var(--evergreen-900);
    box-shadow: 0 0 0 3px rgba(255, 217, 138, 0.45), 0 0 14px 4px rgba(255, 200, 90, 0.55);
}

/* When the base map fails, give markers a calm grid so they still read. */
.leaflet-container[data-base-map="failed"] {
    background-color: var(--evergreen-100);
    background-image:
        linear-gradient(rgba(14, 59, 46, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 59, 46, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
}

.map-notice {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 8px;
    z-index: 1000;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--gold);
    font-size: var(--fs-small);
    box-shadow: var(--shadow);
}

.leaflet-container {
    font-family: var(--font-body);
}

.leaflet-control-attribution {
    font-size: 11px;
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.form {
    margin-bottom: 3rem;
}

.form__section {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem 0.5rem;
    margin: 0 0 1.25rem;
}

@media (min-width: 640px) {
    .form__section {
        padding: 1.5rem 1.5rem 0.75rem;
    }
}

.form__section legend {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--evergreen-900);
    padding: 0 0.4rem;
    margin-left: -0.4rem;
}

.form__section--consent {
    background: var(--gold-soft);
    border-color: var(--gold);
}

.step {
    display: inline-grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    margin-right: 0.35rem;
    border-radius: 50%;
    background: var(--evergreen-800);
    color: var(--snow);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    vertical-align: 0.15em;
}

.field {
    margin-bottom: 1.1rem;
}

.field label,
.field__label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.req,
.opt {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.35rem;
}

.req {
    color: var(--cranberry);
}

.opt {
    color: var(--ink-soft);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
select,
textarea {
    width: 100%;
    min-height: var(--tap);
    padding: 0.55rem 0.75rem;
    border: 1.5px solid #b9b0a0;
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--evergreen-700);
    box-shadow: 0 0 0 3px rgba(21, 80, 64, 0.2);
}

[aria-invalid="true"] {
    border-color: var(--cranberry) !important;
}

input[type="file"] {
    font: inherit;
    max-width: 100%;
}

.field__hint {
    font-size: var(--fs-small);
    color: var(--ink-soft);
    margin: 0.3rem 0 0.75rem;
}

.field__error {
    color: var(--cranberry);
    font-weight: 600;
    font-size: var(--fs-small);
    margin: 0.3rem 0 0.75rem;
}

.field-row {
    display: grid;
    gap: 0 1rem;
}

@media (min-width: 640px) {
    .field-row {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

.choice-list {
    display: grid;
    gap: 0.4rem;
}

.choice {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    min-height: var(--tap);
    padding: 0.4rem 0;
    font-weight: 400;
    cursor: pointer;
}

.choice input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.2rem;
    flex: none;
    accent-color: var(--evergreen-800);
}

.consent {
    border-top: 1px dashed var(--line);
    padding-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.file-list {
    font-size: var(--fs-small);
    color: var(--ink-soft);
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}

.form__submit {
    display: grid;
    gap: 0.75rem;
    justify-items: start;
}

.form--compact .field {
    margin-bottom: 0.6rem;
}

/* Honeypot: hidden from people and assistive tech. */
.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ==========================================================================
   MAP PICKER
   ========================================================================== */
.picker {
    margin-bottom: 1rem;
}

.picker__map {
    height: 320px;
    border-radius: var(--radius);
    border: 1.5px solid #b9b0a0;
    overflow: hidden;
    background: var(--evergreen-100);
    position: relative;
}

@media (min-width: 720px) {
    .picker__map {
        height: 400px;
    }
}

.picker__status {
    font-size: var(--fs-small);
    margin: 0.5rem 0;
    color: var(--ink-soft);
}

.picker__status.is-ok {
    color: var(--evergreen-700);
    font-weight: 600;
}

.picker__status.is-error {
    color: var(--cranberry);
    font-weight: 600;
}

.picker__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ==========================================================================
   NOTICES & CONFIRMATION
   ========================================================================== */
.notice {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    margin: 1rem 0;
    border: 1px solid;
}

.notice ul {
    margin: 0;
    padding-left: 1.2rem;
}

.notice p:last-child {
    margin-bottom: 0;
}

.notice--success {
    background: #e2f2e8;
    border-color: #98c8aa;
}

.notice--error {
    background: var(--cranberry-soft);
    border-color: #e0a8ab;
}

.notice--warning {
    background: var(--gold-soft);
    border-color: var(--gold);
}

.confirm {
    text-align: center;
    padding: 2rem 0;
}

.confirm .actions {
    justify-content: center;
}

.confirm__bulb {
    display: inline-block;
    width: 30px;
    height: 40px;
    border-radius: 50% 50% 45% 45%;
    background: var(--bulb-warm);
    box-shadow: 0 0 30px 10px rgba(255, 217, 138, 0.6);
    margin-bottom: 1.5rem;
}

.selected-listing {
    padding: 0.75rem 1rem;
    background: var(--snow-deep);
    border-radius: var(--radius);
}

/* ==========================================================================
   PROSE
   ========================================================================== */
.prose h2 {
    margin-top: 2rem;
}

.prose h3 {
    margin-top: 1.5rem;
}

.prose ul {
    padding-left: 1.25rem;
}

.prose li {
    margin-bottom: 0.4rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--evergreen-900);
    color: rgba(251, 247, 239, 0.85);
    padding: 2.5rem 0;
    margin-top: 2rem;
}

.site-footer a {
    color: var(--snow);
}

.site-footer .small {
    color: rgba(251, 247, 239, 0.7);
}

.site-footer__name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--paper);
}

.site-footer__grid {
    display: grid;
    gap: 1.5rem 3rem;
}

@media (min-width: 760px) {
    .site-footer__grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* ==========================================================================
   ERROR / DEBUG
   ========================================================================== */
.debug,
.log {
    white-space: pre-wrap;
    font-size: 0.8125rem;
    background: var(--snow-deep);
    padding: 0.75rem;
    border-radius: var(--radius);
    overflow-x: auto;
}

/* ==========================================================================
   ADMIN
   ========================================================================== */
.admin {
    background: #f6f4ef;
}

.admin-bar {
    background: var(--evergreen-900);
    color: var(--snow);
}

.admin-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.5rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.admin-bar__brand {
    color: var(--bulb-warm);
    font-weight: 700;
    text-decoration: none;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    flex: 1;
}

.admin-nav a {
    color: var(--snow);
    text-decoration: none;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
}

.admin-nav a[aria-current="page"] {
    border-color: var(--gold);
}

.admin-bar__logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.admin-bar__logout .small,
.admin-bar__logout .btn--text {
    color: var(--snow);
}

.admin-main {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.admin h1 {
    font-size: 1.75rem;
}

.admin h2 {
    font-size: 1.25rem;
}

.admin-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.admin-head h1 {
    margin: 0;
}

.admin-login {
    max-width: 420px;
    margin: 3rem auto;
}

.stat-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    margin: 1rem 0 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: inherit;
    text-decoration: none;
}

.stat--accent {
    border-color: var(--gold);
    background: var(--gold-soft);
}

.stat__num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--evergreen-900);
}

.stat__label {
    font-size: var(--fs-small);
    color: var(--ink-soft);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
}

.tabs a {
    padding: 0.5rem 0.9rem;
    text-decoration: none;
    color: var(--ink-soft);
    border-bottom: 3px solid transparent;
    font-weight: 600;
}

.tabs a[aria-current="page"] {
    color: var(--evergreen-900);
    border-color: var(--evergreen-800);
}

.count {
    display: inline-block;
    min-width: 1.5em;
    padding: 0 0.4em;
    border-radius: 999px;
    background: var(--snow-deep);
    font-size: 0.8125rem;
    text-align: center;
}

.table-wrap {
    overflow-x: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.table th,
.table td {
    text-align: left;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--snow-deep);
    vertical-align: top;
}

.table th {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
}

.row--priority {
    background: #fdf3f3;
}

.empty {
    padding: 2rem;
    text-align: center;
    color: var(--ink-soft);
    background: var(--paper);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.panel--danger {
    border-color: #e0a8ab;
}

.panel--danger-inline {
    border-top: 1px dashed #e0a8ab;
    padding-top: 1rem;
}

.review {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 1100px) {
    .review {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.photo-pick {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    margin-bottom: 0.5rem;
}

.photo-pick__item img {
    border-radius: var(--radius);
    width: 100%;
    height: auto;
}

.photo-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.5rem 1rem;
    align-items: start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--snow-deep);
}

.photo-row img {
    border-radius: 6px;
}

.photo-row > form:last-child {
    grid-column: 2;
}

.dupes {
    padding-left: 1.2rem;
}

.search-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.search-inline input[type="text"],
.search-inline input[type="search"] {
    flex: 1 1 200px;
    width: auto;
}

.search-inline select {
    width: auto;
}

.tax-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tax-list .search-inline {
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   HEADER: MAP LINK ALWAYS VISIBLE
   ========================================================================== */
.site-nav a.site-nav__primary {
    display: inline;
}

/* ==========================================================================
   HOME: SEARCH, SECTION LINKS, CHIPS, SHARE
   ========================================================================== */
.hero-search {
    display: flex;
    gap: 0.5rem;
    max-width: 560px;
    margin-top: 1.5rem;
}

.hero-search input[type="search"] {
    flex: 1;
    border-color: transparent;
    min-height: 52px;
    font-size: 1.0625rem;
}

.hero-search .btn {
    min-height: 52px;
}

.section__link {
    font-weight: 700;
}

.chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: var(--tap);
    padding: 0.4rem 0.95rem;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    color: var(--evergreen-900);
    font-weight: 600;
    text-decoration: none;
}

.chip:hover {
    border-color: var(--evergreen-700);
    color: var(--evergreen-900);
}

.chip__count {
    min-width: 1.6em;
    padding: 0 0.4em;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold-deep);
    font-size: 0.8125rem;
    text-align: center;
}

.section--share {
    background: var(--evergreen-800);
    color: rgba(251, 247, 239, 0.9);
}

.section--share h2 {
    color: var(--paper);
}

.share-cta {
    display: grid;
    gap: 1rem 2rem;
    align-items: center;
}

@media (min-width: 820px) {
    .share-cta {
        grid-template-columns: 1fr auto;
    }
}

/* ==========================================================================
   EXPLORE (FULL MAP + LIST)
   Mobile: one panel at a time (map or list) with a toggle.
   Desktop: list sidebar + map side by side.
   ========================================================================== */
.explore {
    display: flex;
    flex-direction: column;
    padding: 0.75rem var(--gutter) 1rem;
    max-width: 1600px;
    margin: 0 auto;
}

.explore__filters {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0.5rem;
}

.explore__filters .filter--search {
    grid-column: 1 / -1;
}

.filter input,
.filter select {
    min-height: var(--tap);
}

.filter--check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    min-height: var(--tap);
}

.filter--check input {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--evergreen-800);
}

.filter--actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 900px) {
    .explore__filters {
        grid-template-columns: minmax(220px, 2fr) 1fr 1fr auto auto;
        align-items: center;
    }

    .explore__filters .filter--search {
        grid-column: auto;
    }
}

.explore__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.explore__count {
    margin: 0;
    font-weight: 600;
    color: var(--ink-soft);
}

.view-toggle {
    display: inline-flex;
    border: 1.5px solid var(--evergreen-800);
    border-radius: 999px;
    overflow: hidden;
}

.view-toggle__btn {
    min-height: 40px;
    min-width: 72px;
    padding: 0 1rem;
    border: 0;
    background: var(--paper);
    color: var(--evergreen-800);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.view-toggle__btn[aria-pressed="true"] {
    background: var(--evergreen-800);
    color: var(--snow);
}

.explore__body {
    display: grid;
    gap: 1rem;
}

.explore__canvas {
    height: 70vh;
    min-height: 360px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--evergreen-100);
    position: relative;
}

.explore__noscript {
    padding: 1rem;
}

.explore__state:empty {
    display: none;
}

.explore__state {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--paper);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

.explore__state p:last-child {
    margin-bottom: 0;
}

.explore__note {
    margin: 0.75rem 0 0;
}

/* Without JS the list shows above the map; with JS, mobile shows one panel. */
@media (max-width: 899px) {
    .explore.is-enhanced[data-view="map"] .explore__list {
        display: none;
    }

    .explore.is-enhanced[data-view="list"] .explore__map {
        display: none;
    }

    .explore.is-enhanced .explore__canvas {
        height: calc(100vh - 260px);
        min-height: 380px;
    }
}

@media (min-width: 900px) {
    .view-toggle {
        display: none !important;
    }

    .explore__body {
        grid-template-columns: 380px minmax(0, 1fr);
        align-items: start;
    }

    .explore__list {
        max-height: calc(100vh - 210px);
        overflow-y: auto;
        padding-right: 0.25rem;
    }

    .explore__canvas {
        height: calc(100vh - 210px);
        min-height: 480px;
        position: sticky;
        top: 1rem;
    }
}

/* ==========================================================================
   RESULTS LIST
   ========================================================================== */
.results {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.results--page {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    margin-top: 1.25rem;
}

.result {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.result:hover {
    border-color: var(--evergreen-700);
}

.result__link {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 0.75rem;
    padding: 0.6rem;
    color: inherit;
    text-decoration: none;
}

.result__img {
    display: block;
    width: 96px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--evergreen-800);
}

.result__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result__ph {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.result__ph i {
    width: 7px;
    height: 10px;
    border-radius: 50% 50% 45% 45%;
    background: var(--bulb-warm);
    box-shadow: 0 0 8px 2px rgba(255, 217, 138, 0.55);
}

.result__body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.result__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.25;
    color: var(--evergreen-900);
}

.result__meta {
    font-size: var(--fs-small);
    color: var(--ink-soft);
}

.result__status {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.result__status.is-verified {
    color: var(--evergreen-700);
}


.results__more {
    margin: 0.75rem auto 0;
    display: flex;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* ==========================================================================
   MAP POPUP
   ========================================================================== */
.pop {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.4;
}

.leaflet-popup-content .pop p {
    margin: 0 0 0.35rem;
}

.pop__img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.pop__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
}

.pop__title a {
    color: var(--evergreen-900);
}

.pop__meta,
.pop__note {
    color: var(--ink-soft);
    font-size: var(--fs-small);
}

.pop__status {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold-deep);
}

.pop__status.is-verified {
    color: var(--evergreen-700);
}

.leaflet-popup-content .pop .pop__actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.pop__actions .btn--primary,
.pop__actions .btn--primary:hover {
    color: var(--snow);
}

/* Verified listings get a gold ring. */
.bulb-marker--verified span {
    border-color: var(--gold-deep);
    box-shadow: 0 0 0 3px var(--gold), 0 0 14px 4px rgba(255, 200, 90, 0.6);
}

/* ==========================================================================
   NEIGHBOURHOOD PAGE
   ========================================================================== */
.neighbourhood__map {
    height: 340px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--evergreen-100);
    position: relative;
}

/* ==========================================================================
   SAVE / TOUR CONTROLS
   ========================================================================== */
html:not(.js) [data-fav],
html:not(.js) [data-tour-add],
html:not(.js) .result__actions {
    display: none !important;
}

.result__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0 0.6rem 0.6rem;
}

.mini-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 34px;
    padding: 0 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--snow);
    color: var(--evergreen-800);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
}

.mini-btn:hover {
    border-color: var(--evergreen-700);
}

.mini-btn[aria-pressed="true"],
.btn--toggle[aria-pressed="true"] {
    background: var(--gold-soft);
    border-color: var(--gold-deep);
    color: var(--gold-deep);
}

.actions--pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    min-width: 1.4em;
    padding: 0 0.35em;
    border-radius: 999px;
    background: var(--gold);
    color: var(--evergreen-900);
    font-size: 0.75rem;
    line-height: 1.4;
    text-align: center;
}

.tour-pill {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 1.1rem;
    border-radius: 999px;
    background: var(--evergreen-900);
    color: var(--snow);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(8, 38, 29, 0.35);
}

.tour-pill:hover {
    color: var(--paper);
    background: var(--evergreen-800);
}

.store-status {
    position: fixed;
    left: 50%;
    bottom: 5rem;
    z-index: 1200;
    transform: translateX(-50%);
    max-width: calc(100% - 2rem);
    margin: 0;
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    font-size: var(--fs-small);
    font-weight: 600;
    box-shadow: var(--shadow);
}

.store-status:empty {
    display: none;
}

/* ==========================================================================
   TOURS & SAVED
   ========================================================================== */
.stops {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    counter-reset: stop;
    display: grid;
    gap: 0.6rem;
}

.stop {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    gap: 0.75rem;
    align-items: start;
    padding: 0.75rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.stop__num {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--evergreen-800);
    color: var(--snow);
    font-weight: 700;
}

.stop__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.stop__meta {
    font-size: var(--fs-small);
    color: var(--ink-soft);
    margin: 0 0 0.4rem;
}

.stop__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.stop--missing {
    opacity: 0.75;
    border-style: dashed;
}

.tour-layout {
    display: grid;
    gap: 1.5rem;
    padding-bottom: 3rem;
}

@media (min-width: 960px) {
    .tour-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: start;
    }

    .tour-layout__map {
        position: sticky;
        top: 1rem;
    }
}

.tour-map {
    height: 380px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--evergreen-100);
    position: relative;
}

.tour-summary {
    padding: 1rem;
    background: var(--snow-deep);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.tour-summary p:last-child {
    margin-bottom: 0;
}

.legs {
    display: grid;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.num-marker span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--evergreen-900);
    border: 2px solid var(--bulb-warm);
    color: var(--bulb-warm);
    font: 700 13px/1 var(--font-body);
    box-shadow: 0 0 10px 3px rgba(255, 200, 90, 0.5);
}

.result--missing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
    border-style: dashed;
}

.result__missing {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--ink-soft);
}

.button-row--top {
    margin-top: 1rem;
}

.empty-panel {
    padding: 1.5rem;
    background: var(--paper);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    text-align: center;
}

/* ==========================================================================
   ADS
   ========================================================================== */
.ad {
    margin: 1.5rem 0;
    text-align: center;
}

.ad__label {
    margin: 0 0 0.25rem;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.ad__unit {
    display: block;
    min-height: 90px;
}

/* Hide the whole box when AdSense has no ad to show. */
.ad:has(ins[data-ad-status="unfilled"]) {
    display: none;
}

.ad__preview {
    padding: 1.5rem 1rem;
    border: 2px dashed var(--gold);
    border-radius: var(--radius);
    background: var(--gold-soft);
    color: var(--gold-deep);
    font-size: var(--fs-small);
    font-weight: 600;
}

.setting-row {
    display: grid;
    gap: 0.25rem 1rem;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--snow-deep);
}

@media (min-width: 640px) {
    .setting-row {
        grid-template-columns: 1fr 200px;
    }
}

/* ==========================================================================
   HOME v2: HERO NIGHT SCENE
   ========================================================================== */
.hero2 {
    position: relative;
    overflow: hidden;
    color: var(--snow);
    background:
        radial-gradient(ellipse 60% 50% at 78% 18%, rgba(255, 231, 168, 0.16), transparent 70%),
        linear-gradient(180deg, #061a14 0%, #0b2f25 45%, #12473a 100%);
    padding: 3rem 0 0;
}

.hero2__sky {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 8% 14%, #fff, transparent),
        radial-gradient(1px 1px at 18% 34%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 27% 9%, #fff, transparent),
        radial-gradient(1px 1px at 39% 26%, #fff, transparent),
        radial-gradient(2px 2px at 51% 12%, #fff, transparent),
        radial-gradient(1px 1px at 62% 30%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 71% 7%, #fff, transparent),
        radial-gradient(1px 1px at 84% 24%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 93% 11%, #fff, transparent),
        radial-gradient(1px 1px at 4% 44%, #fff, transparent),
        radial-gradient(1px 1px at 47% 42%, #fff, transparent),
        radial-gradient(1px 1px at 88% 40%, #fff, transparent);
    opacity: 0.7;
    pointer-events: none;
}

/* Moon */
.hero2::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 38%, #fffaf0, #f3e3b8 70%);
    box-shadow: 0 0 60px 18px rgba(255, 236, 190, 0.25);
    opacity: 0.9;
}

.hero2__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding-bottom: 1rem;
}

.hero2__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255, 217, 138, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--bulb-warm);
    font-size: 0.875rem;
    font-weight: 700;
}

.pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bulb-warm);
    box-shadow: 0 0 0 0 rgba(255, 217, 138, 0.7);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 217, 138, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 217, 138, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 217, 138, 0); }
}

.hero2__title {
    margin: 1rem 0 0.75rem;
    color: var(--paper);
    font-size: clamp(2.25rem, 1.4rem + 4vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -0.02em;
}

.hero2__title em {
    font-style: normal;
    color: var(--bulb-warm);
    text-shadow: 0 0 28px rgba(255, 217, 138, 0.45);
}

.hero2__lead {
    max-width: 34em;
    font-size: var(--fs-lead);
    color: rgba(251, 247, 239, 0.85);
}

.hero2__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero2__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--fs-small);
    color: rgba(251, 247, 239, 0.8);
}

.hero2__facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero2__facts .icon {
    width: 16px;
    height: 16px;
    color: var(--bulb-warm);
}

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.btn--glass {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--paper);
    backdrop-filter: blur(4px);
}

.btn--glass:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--paper);
}

/* Illustrated street */
.scene {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 210px;
    margin-top: -0.5rem;
}

@media (min-width: 900px) {
    .hero2 {
        padding-top: 4.5rem;
    }

    .hero2::before {
        top: 9%;
        right: 9%;
        width: 72px;
        height: 72px;
    }

    .scene {
        height: 300px;
        margin-top: -3.5rem;
    }
}

.scene__far {
    fill: #0a2a21;
}

.house rect,
.house polygon {
    fill: #0d3328;
}

.house--2 rect,
.house--2 polygon {
    fill: #0f3a2e;
}

.house polygon {
    fill: #082119;
}

.house .win {
    fill: #ffd98a;
    opacity: 0.85;
}

.house .door {
    fill: #3a2a12;
}

.tree polygon {
    fill: #0a3b2a;
}

.tree .star {
    fill: var(--bulb-warm);
    filter: drop-shadow(0 0 6px #ffd98a);
}

.scene__snow {
    fill: #f4f1ea;
}

.bulb {
    filter: drop-shadow(0 0 4px currentColor);
}

.bulb--w { fill: #fff2c9; color: #fff2c9; }
.bulb--y { fill: #ffd25e; color: #ffd25e; }
.bulb--r { fill: #ff6b6b; color: #ff6b6b; }
.bulb--g { fill: #7ee2a8; color: #7ee2a8; }
.bulb--b { fill: #7cc4ff; color: #7cc4ff; }

.bulb.t1 { animation: twinkle 2.4s ease-in-out infinite; }
.bulb.t2 { animation: twinkle 3.1s ease-in-out 0.6s infinite; }
.bulb.t3 { animation: twinkle 2.8s ease-in-out 1.2s infinite; }

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* ==========================================================================
   HOME v2: FEATURES
   ========================================================================== */
.features {
    background: #f4f1ea;
    padding: 0 0 2.5rem;
}

.features__grid {
    display: grid;
    gap: 0.9rem;
}

@media (min-width: 760px) {
    .features__grid {
        grid-template-columns: repeat(3, 1fr);
        margin-top: -1.25rem;
        position: relative;
        z-index: 3;
    }
}

.feature {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.9rem;
    align-items: center;
    padding: 1.1rem 1.2rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    color: inherit;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.feature:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    color: inherit;
}

.feature__icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
}

.feature__icon .icon {
    width: 26px;
    height: 26px;
}

.feature__icon--gold { background: var(--gold-soft); color: var(--gold-deep); }
.feature__icon--red { background: var(--cranberry-soft); color: var(--cranberry); }
.feature__icon--green { background: var(--evergreen-100); color: var(--evergreen-700); }

.feature__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--evergreen-900);
}

.feature__text {
    font-size: var(--fs-small);
    color: var(--ink-soft);
}

/* ==========================================================================
   HOME v2: PHOTO MOSAIC, RAILS, BANDS
   ========================================================================== */
.section--tight {
    padding: 2.25rem 0;
}

.mosaic {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
}

.mosaic__item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--evergreen-800);
    color: var(--paper);
}

.mosaic__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.mosaic__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

a.mosaic__item:hover img {
    transform: scale(1.04);
}

.mosaic__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0.75rem 0.6rem;
    background: linear-gradient(transparent, rgba(4, 20, 15, 0.85));
    font-size: var(--fs-small);
}

.mosaic__cap strong {
    font-family: var(--font-display);
    font-size: 1rem;
}

.mosaic__credit {
    position: absolute;
    right: 0.4rem;
    bottom: 0.4rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    font-size: 0.6875rem;
    color: #fff;
}

.mosaic__credit a {
    color: #fff;
}

@media (min-width: 760px) {
    .mosaic {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 170px;
    }

    .mosaic--1 .mosaic__item:first-child {
        grid-column: span 4;
    }
}

/* One or two photos: simple equal tiles. */
.mosaic--1,
.mosaic--2 {
    grid-auto-rows: 220px;
}

.mosaic--2 .mosaic__item:first-child {
    grid-column: auto;
    grid-row: auto;
}

@media (min-width: 760px) {
    .mosaic--2 {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 300px;
    }
}

/* Cards without a photo: a small illustrated night scene. */
.card__placeholder {
    position: relative;
    background:
        radial-gradient(ellipse 70% 60% at 70% 20%, rgba(255, 231, 168, 0.14), transparent 70%),
        linear-gradient(180deg, #071d16, #12473a);
    overflow: hidden;
}

.card__placeholder::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 18%;
    width: 46%;
    height: 42%;
    transform: translateX(-50%);
    background: #082119;
    clip-path: polygon(0 42%, 50% 0, 100% 42%, 100% 100%, 0 100%);
}

.card__placeholder::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 20%;
    background: #f4f1ea;
    border-radius: 50% 50% 0 0 / 30% 30% 0 0;
}

.card__placeholder i {
    position: relative;
    z-index: 1;
    margin-top: -12%;
}

.card:nth-child(3n+2) .card__placeholder i:nth-child(2) { background: #ff6b6b; box-shadow: 0 0 14px 3px rgba(255, 107, 107, 0.6); }
.card:nth-child(3n) .card__placeholder i:nth-child(1) { background: #7ee2a8; box-shadow: 0 0 14px 3px rgba(126, 226, 168, 0.6); }
.card:nth-child(3n+1) .card__placeholder i:nth-child(3) { background: #7cc4ff; box-shadow: 0 0 14px 3px rgba(124, 196, 255, 0.6); }

/* Horizontal rail of cards on phones, grid on larger screens. */
@media (max-width: 759px) {
    .rail .cards {
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: 78%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
    }

    .rail .card {
        scroll-snap-align: start;
    }
}

.band {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.band h2 {
    margin-bottom: 0.4rem;
}

.band__inner {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.band__inner--center {
    justify-items: center;
    text-align: center;
    max-width: 720px;
}

.actions--center {
    justify-content: center;
}

.band--tour {
    background: var(--snow-deep);
}

@media (min-width: 760px) {
    .band--tour .band__inner {
        grid-template-columns: 300px 1fr;
    }
}

.band__art--route {
    position: relative;
    height: 150px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(rgba(14, 59, 46, 0.06) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(90deg, rgba(14, 59, 46, 0.06) 1px, transparent 1px) 0 0 / 22px 22px,
        var(--paper);
    border: 1px solid var(--line);
}

.band__art--route::before {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    top: 30%;
    bottom: 30%;
    border: 3px dashed var(--gold-deep);
    border-left: 0;
    border-radius: 0 60px 60px 0;
}

.band__art--route span {
    position: absolute;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--evergreen-900);
    border: 2px solid var(--bulb-warm);
    color: var(--bulb-warm);
    font-weight: 700;
    font-size: 0.8125rem;
    box-shadow: 0 0 12px 3px rgba(255, 200, 90, 0.45);
}

.band__art--route span:nth-child(1) { left: 10%; top: 22%; }
.band__art--route span:nth-child(2) { left: 46%; top: 22%; }
.band__art--route span:nth-child(3) { right: 8%; top: 42%; }
.band__art--route span:nth-child(4) { left: 46%; bottom: 20%; }

.band--submit {
    background: linear-gradient(180deg, #0b2f25, #08261d);
    color: rgba(251, 247, 239, 0.88);
    padding-top: 4rem;
}

.band--submit h2 {
    color: var(--paper);
    font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
}

.band__lights {
    position: absolute;
    left: -2%;
    right: -2%;
    top: 0;
    height: 40px;
    background-image:
        radial-gradient(circle at 50% 70%, #ff6b6b 0 4px, transparent 9px),
        radial-gradient(circle at 50% 70%, #7ee2a8 0 4px, transparent 9px),
        radial-gradient(circle at 50% 70%, #ffd25e 0 4px, transparent 9px),
        radial-gradient(circle at 50% 70%, #7cc4ff 0 4px, transparent 9px),
        radial-gradient(ellipse at 50% -40%, transparent 60%, rgba(255, 255, 255, 0.25) 61%, transparent 64%);
    background-size: 160px 40px, 160px 40px, 160px 40px, 160px 40px, 40px 40px;
    background-position: 0 0, 40px 0, 80px 0, 120px 0, 0 0;
}

.trust2 {
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
    font-size: var(--fs-small);
}

.trust2__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
}

.trust2__inner p {
    margin: 0;
}

.trust2__inner nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
}

.page-home .site-footer {
    margin-top: 0;
}

.page-home main {
    background: var(--snow);
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
