/* =========================================================
   To Hull & Back Media — design system (LIGHT THEME)
   Brand colour anchored to the new logo's gold accent.
   "Local Stories. Real People. Proper Hull." — confident editorial light.
   Typography: Fraunces (display) + Inter (body), via Google Fonts.
   ========================================================= */

:root {
    /* Surfaces — slightly warm whites so the gold doesn't fight a cool bg */
    --paper: #FCFAF5;
    --cream: #F4EFE3;
    --ink-950: #0A0A0B;
    --ink-900: #14141A;
    --ink-800: #1F1F26;
    --ink-700: #2B2A2E;

    /* Slate (text) */
    --slate-700: #2B2A2E;
    --slate-500: #6B6970;
    --slate-300: #C7C4BC;
    --slate-200: #E6E1D5;
    --slate-100: #EFEBE0;

    /* Gold — sampled from the new logo (#C28F42 weighted average) */
    --gold-50:  #FBF5E5;
    --gold-100: #F4E2B2;
    --gold-200: #EAD088;
    --gold-300: #DCB867;
    --gold-400: #C99D49;
    --gold-500: #C28F42;
    --gold-600: #A87830;
    --gold-700: #886020;
    --gold-800: #5C411A;
    --gold-900: #2E2107;

    /* Type — anchored to the new logo's two faces:
       --font-display: bold condensed sans, mirrors "TO HULL & BACK" wordmark
       --font-serif:   classical roman, mirrors the gold "MEDIA" + accents
       --font-body:    workhorse sans for paragraphs, UI, labels                  */
    --font-display: 'Bebas Neue', 'Oswald', 'Arial Narrow', Impact, sans-serif;
    --font-serif:   'Cinzel', 'Trajan Pro', 'Times New Roman', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Sizes */
    --container: 1340px;
    --gutter: clamp(1rem, 4vw, 1.5rem);

    /* Radii */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 16px;
    --r-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(10,10,11,0.06);
    --shadow-md: 0 4px 16px rgba(10,10,11,0.08);
    --shadow-lg: 0 12px 40px rgba(10,10,11,0.14);

    /* Motion */
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ----- Reset ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--slate-700);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: var(--gold-700); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--gold-900); }
button { font: inherit; cursor: pointer; }

/* ----- Typography ------------------------------------ */
h1, h2, h3, h4 {
    font-family: var(--font-display);   /* Bebas Neue — matches "TO HULL & BACK" wordmark */
    font-weight: 400;                   /* Bebas only ships at 400 */
    color: var(--ink-900);
    letter-spacing: 0.005em;
    line-height: 1;
    margin: 0 0 0.5em;
    text-transform: uppercase;          /* explicit, in case browser falls back to fallback face */
}
h1 { font-size: clamp(3rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2.25rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
h4 { font-size: 1.25rem; letter-spacing: 0.04em; }
p  { margin: 0 0 1em; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--slate-700); }
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-bottom: 1rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 1.5rem; height: 1px; background: var(--gold-500); vertical-align: middle; margin-right: .75rem; }

/* ----- Layout primitives ----------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
/* When .section immediately follows the compact subheader hero, kill the big top gap.
   Use both adjacent (+) and general (~) combinators so a stray non-rendering element
   like a <link> between them doesn't break the rule. */
.hero--sub + .section,
.hero--sub + * + .section,
.hero--sub ~ .section.section--flush { padding-top: .5rem; }
/* Back-link sits flush below the subheader on internal pages */
.back-link {
    display: inline-block;
    color: var(--slate-500);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    margin: 0 0 1rem;
    transition: color .15s var(--ease);
}
.back-link:hover { color: var(--gold-700); }
.section--ink   { background: var(--ink-950); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }
.section--cream { background: var(--cream); }

.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ----- Buttons --------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.6rem;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .02em;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    text-decoration: none;
    transition: all .2s var(--ease);
    cursor: pointer;
}
.btn--gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--ink-950);
    box-shadow: var(--shadow-sm);
}
.btn--gold:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--ink-950); }
.btn--ghost {
    background: transparent;
    color: currentColor;
    border-color: currentColor;
}
.btn--ghost:hover { background: rgba(255,255,255,.08); color: currentColor; }
.btn--ink {
    background: var(--ink-950);
    color: var(--paper);
}
.btn--ink:hover { background: var(--ink-800); color: var(--paper); }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }

/* ----- Header & nav (LIGHT, fade edge) --------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    color: var(--ink-900);
    overflow: visible;
    /* Solid at the top, gradually fades into the page at the bottom — replaces
       the hard slate-200 hairline so the menu blends instead of cutting off. */
    background: linear-gradient(180deg,
        rgba(252, 250, 245, 0.97) 0%,
        rgba(252, 250, 245, 0.96) 70%,
        rgba(252, 250, 245, 0.55) 88%,
        rgba(252, 250, 245, 0.00) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: none;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 168px;            /* roomy enough to contain the logo without overflow */
    padding: 0;
    gap: 1.4rem;
    overflow: visible;
    position: relative;
}
@media (max-width: 1024px) { .nav { height: 124px; } }
@media (max-width: 600px)  { .nav { height: 76px;  } }
.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--ink-900);
    line-height: 0;           /* no inline-text whitespace under the img */
    flex-shrink: 0;
}
/* Logo can be much larger than the bar; aspect-ratio preserved (width:auto).
   The image visually overflows: the upper portion is hidden behind the
   sticky header's top edge, the lower portion floats subtly into the page
   underneath. Adjust --logo-h to taste. */
.nav__brand img {
    --logo-h: 210px;
    height: var(--logo-h);
    width: auto;
    display: block;
}
@media (max-width: 1024px) { .nav__brand img { --logo-h: 155px; } }
@media (max-width: 600px)  { .nav__brand img { --logo-h: 95px;  } }
/* Panel wraps the desktop nav links + the gold "Get listed" CTA so they can
   be promoted to a single dropdown panel on mobile via a wrapper element.
   On desktop the wrapper is invisible to layout (display: contents), so the
   children participate directly in .nav's flex row exactly as before. */
.nav__panel {
    display: contents;
}
.nav__list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__link {
    color: var(--ink-900);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: .055em;
    text-transform: uppercase;
    position: relative;
    padding: .25rem 0;
    white-space: nowrap;
}
.nav__link:hover { color: var(--gold-700); }
.nav__link.is-active { color: var(--gold-700); }
.nav__link.is-active::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--gold-500);
    border-radius: 2px;
}
.nav__cta { margin-left: auto; padding: .7rem 1.1rem; font-size: .95rem; letter-spacing: .07em; text-transform: uppercase; }

/* Cart trigger — sits at far right of nav, always visible (even on mobile) */
.cart-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: .75rem;
    background: transparent;
    border: 1px solid var(--slate-300);
    border-radius: var(--r-md);
    color: var(--ink-900);
    cursor: pointer;
    transition: all .15s var(--ease);
    flex-shrink: 0;
}
.cart-trigger:hover {
    background: var(--gold-50);
    border-color: var(--gold-400);
    color: var(--gold-700);
}
.cart-trigger__icon { display: block; }
.cart-trigger__count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--ink-950);
    border-radius: 99px;
    font-size: .7rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    line-height: 1;
    box-shadow: 0 0 0 2px var(--paper);
}

.nav__toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--slate-300);
    color: var(--ink-900);
    border-radius: var(--r-sm);
    padding: .5rem .75rem;
    margin-left: auto;
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.nav__toggle[aria-expanded="true"] { background: var(--ink-900); color: var(--paper); border-color: var(--ink-900); }

/* Mobile menu backdrop — click outside the panel to close. */
.nav__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 11, 0.35);
    backdrop-filter: blur(2px);
    z-index: 40;
    opacity: 0;
    transition: opacity .2s var(--ease);
}
body.is-nav-open .nav__backdrop { display: block; opacity: 1; }

@media (max-width: 1024px) {
    .nav__toggle { display: inline-flex; }
    .cart-trigger { margin-left: .5rem; width: 42px; height: 42px; }

    /* Hide panel children by default at mobile widths. The wrapper itself
       takes over layout — block, fixed below the header — only when open. */
    .nav__panel {
        display: none;
        position: fixed;
        left: 0; right: 0;
        top: var(--header-h, 96px);
        max-height: calc(100vh - var(--header-h, 96px));
        overflow-y: auto;
        background: var(--paper);
        border-top: 1px solid var(--slate-200);
        border-bottom: 3px solid var(--gold-500);
        box-shadow: 0 18px 36px rgba(10, 10, 11, 0.12);
        padding: 1.25rem var(--gutter) 1.5rem;
        flex-direction: column;
        gap: 0;
        z-index: 55;
        animation: navPanelIn .22s var(--ease);
    }
    .nav.is-open .nav__panel { display: flex; }

    .nav__panel .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }
    .nav__panel .nav__list li { width: 100%; }
    .nav__panel .nav__link {
        display: block;
        width: 100%;
        padding: .85rem .25rem;
        border-bottom: 1px solid var(--slate-200);
        font-size: 1.15rem;
        letter-spacing: .045em;
    }
    .nav__panel .nav__link.is-active::after { display: none; }
    .nav__panel .nav__link.is-active { color: var(--gold-700); }

    .nav__panel .nav__cta {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        margin: 1.25rem 0 0;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}
@media (max-width: 600px) {
    .nav__panel { top: var(--header-h, 76px); max-height: calc(100vh - var(--header-h, 76px)); }
}
@keyframes navPanelIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Body lock when the mobile menu is open (matches the cart-drawer pattern). */
body.is-nav-open { overflow: hidden; }

/* ----- Hero (LIGHT) ---------------------------------- */
.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    color: var(--ink-900);
    background: var(--paper);
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .35;
}

/* Subheader hero variant — used on internal pages, half the homepage hero height */
.hero--sub { min-height: 0; background: var(--cream); }
.hero--sub h1 {
    font-size: clamp(1rem, 1.7vw, 1.3rem);
    max-width: none;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    color: var(--ink-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero--sub h1 em { color: var(--gold-700); }
.hero--sub .hero__sub {
    font-size: .8rem;
    max-width: 70ch;
    margin-top: .1rem;
    color: var(--slate-700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero--sub .container { padding-top: .3rem; padding-bottom: .3rem; }
.hero--sub .hero__stats { display: none; }
.hero--sub .hero__dots { display: none; }
.hero--sub .eyebrow { font-size: .6rem; margin-bottom: 0; }
@media (max-width: 560px) {
    .hero--sub h1 { white-space: normal; font-size: 1rem; }
    .hero--sub .hero__sub { white-space: normal; font-size: .75rem; }
}

/* Hero slider (3 cross-fading images) */
.hero__slides {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1.2s var(--ease), transform 8s linear;
    will-change: opacity, transform;
}
.hero__slide.is-active {
    opacity: .35;
    transform: scale(1.06);
}
.hero__dots {
    position: absolute;
    bottom: 1.75rem;
    right: 2rem;
    z-index: 3;
    display: flex;
    gap: .5rem;
}
.hero__dot {
    width: 36px;
    height: 4px;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: rgba(250, 247, 241, 0.3);
    cursor: pointer;
    transition: background .25s var(--ease), width .25s var(--ease);
}
.hero__dot:hover { background: rgba(250, 247, 241, 0.55); }
.hero__dot.is-active {
    background: var(--gold-400);
    width: 56px;
}
.hero__dot.is-active:hover { background: var(--gold-300); }
@media (max-width: 600px) {
    .hero__dots { right: var(--gutter); bottom: 1rem; }
    .hero__dot { width: 28px; }
    .hero__dot.is-active { width: 44px; }
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 80% at 30% 40%, rgba(194, 143, 66, 0.06), transparent 70%),
        linear-gradient(180deg, rgba(252, 250, 245, 0.78) 0%, rgba(252, 250, 245, 0.92) 100%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 4rem; padding-bottom: 4rem; }
.hero h1 {
    color: var(--ink-900);
    max-width: 16ch;
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 400;
}
/* Italic accent inside the hero headline — mirrors the logo's gold serif "MEDIA" treatment.
   Cinzel (a classical roman serif) replaces the previous Fraunces variable italic. */
.hero h1 em {
    font-style: normal;
    color: var(--gold-600);
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0.04em;
}
.hero--sub h1 em,
.biz-hero h1 em,
.story-hero h1 em {
    font-family: var(--font-serif);
    font-style: normal;
    font-weight: 500;
    color: var(--gold-700);
    letter-spacing: 0.04em;
}
.hero__sub {
    max-width: 56ch;
    font-size: 1.15rem;
    color: var(--slate-700);
    margin: 1.25rem 0 2rem;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__ctas .btn--ghost { color: var(--ink-900); border-color: var(--ink-900); }
.hero__ctas .btn--ghost:hover { background: var(--ink-950); color: var(--paper); border-color: var(--ink-950); }
@media (max-width: 480px) {
    .hero__ctas { flex-direction: column; align-items: stretch; gap: .75rem; }
    .hero__ctas .btn { width: 100%; justify-content: center; }
}
.hero__stats {
    margin-top: 3.5rem;
    display: flex; gap: 3rem; flex-wrap: wrap;
    border-top: 1px solid var(--slate-200);
    padding-top: 2rem;
}
@media (max-width: 600px) {
    .hero__stats {
        margin-top: 2.5rem;
        gap: 1.5rem 2rem;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .hero__stat strong { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}
@media (max-width: 380px) {
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
}
.hero__stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--gold-700);
    line-height: 1;
}
.hero__stat span {
    display: block;
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-top: .35rem;
}

/* ----- Cards ----------------------------------------- */
.card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.5rem; }
.card__cat {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-bottom: .75rem;
}
.card__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--ink-900);
    margin: 0 0 .5rem;
}
.card__excerpt { color: var(--slate-500); font-size: .95rem; margin: 0; }

/* Service mini-card */
.service {
    padding: 2rem;
    border-radius: var(--r-lg);
    background: var(--cream);
    border: 1px solid var(--slate-200);
    transition: all .25s var(--ease);
}
.service:hover { background: #fff; border-color: var(--gold-300); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service__icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    background: var(--ink-950);
    color: var(--gold-300);
    border-radius: var(--r-md);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}
.service h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.service p { color: var(--slate-500); font-size: .95rem; margin: 0; }

/* Featured business spotlight */
.spotlight {
    background: linear-gradient(135deg, var(--ink-950), var(--ink-800));
    color: var(--paper);
    border-radius: var(--r-xl);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    border: 1px solid rgba(212, 184, 120, 0.15);
    position: relative;
}
.spotlight::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(60% 100% at 100% 0%, rgba(212, 184, 120, 0.22), transparent 70%);
    pointer-events: none;
}
.spotlight__body { padding: clamp(2rem, 4vw, 3.5rem); position: relative; z-index: 1; }
.spotlight__media {
    background-size: cover;
    background-position: center;
    min-height: 420px;
    position: relative;
}
.spotlight__media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--ink-950) 0%, transparent 30%);
}
.spotlight h2 { color: var(--paper); margin-top: 1rem; max-width: 16ch; }
.spotlight p  { color: rgba(250,247,241,0.8); max-width: 50ch; }
.spotlight .logo-tile {
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--r-md);
    display: inline-block;
    margin-bottom: 1.5rem;
}
.spotlight .logo-tile img { max-height: 56px; width: auto; }
@media (max-width: 900px) {
    .spotlight { grid-template-columns: 1fr; }
    .spotlight__media { min-height: 280px; order: -1; }
    .spotlight__media::after { background: linear-gradient(180deg, transparent 50%, var(--ink-950) 100%); }
}

/* CTA strip */
.cta-strip {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--ink-950);
    border-radius: var(--r-xl);
    padding: clamp(2.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.cta-strip::after {
    content: "";
    position: absolute;
    right: -100px; top: -100px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 60%);
}
.cta-strip h2 { color: var(--ink-950); max-width: 22ch; margin: 0 0 .5rem; }
.cta-strip p { color: var(--ink-800); margin: 0; max-width: 56ch; }
.cta-strip .btn--ink { white-space: nowrap; }
@media (max-width: 720px) { .cta-strip { grid-template-columns: 1fr; } }

/* Section header (eyebrow + h2 + lead) */
.sec-head { text-align: center; max-width: 50rem; margin: 0 auto 3rem; }
.sec-head--left { text-align: left; margin-left: 0; }

/* Stats row */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stats__item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold-700);
    line-height: 1;
}
.stats__item span {
    display: block;
    font-size: .85rem;
    color: var(--slate-500);
    margin-top: .35rem;
    letter-spacing: .05em;
}
@media (max-width: 720px) { .stats, .stats--3 { grid-template-columns: repeat(2, 1fr); } }

/* ----- Footer (LIGHT) -------------------------------- */
.site-footer {
    background: var(--cream);
    color: var(--slate-700);
    padding: 4rem 0 2rem;
    border-top: 3px solid var(--gold-500);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
    color: var(--ink-900);
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: .5rem; }
.footer-grid a { color: var(--slate-700); }
.footer-grid a:hover { color: var(--gold-700); }
.footer__brand img { height: 120px; width: auto; max-width: 100%; margin-bottom: 1.25rem; display: block; }
@media (max-width: 800px) { .footer__brand img { height: 96px; } }
.footer__company {
    font-size: .82rem;
    line-height: 1.5;
    color: var(--slate-500);
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-200);
}
.footer__company strong {
    color: var(--gold-700);
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: .04em;
}
.footer__bottom {
    border-top: 1px solid var(--slate-200);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .85rem;
    color: var(--slate-500);
}

/* ----- Utilities ------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.gold { color: var(--gold-500); }
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
    margin: 2rem 0;
}
.placeholder-card {
    border: 1px dashed var(--gold-400);
    background: var(--gold-50);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    color: var(--gold-800);
}

/* =========================================================
   Phase 2 — directory, forms, admin
   ========================================================= */

/* ----- Forms ----------------------------------------- */
.form { margin-top: 2rem; }
.form-step {
    border: none;
    background: transparent;
    border-radius: 0;
    padding: 0 0 2.25rem;
    margin: 0 0 2.25rem;
    border-bottom: 1px solid var(--slate-200);
}
.form-step:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.form-step legend {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--ink-900);
    line-height: 1.2;
    background: transparent;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    width: 100%;
}
.step-num {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid var(--gold-500);
    background: transparent;
    color: var(--gold-700);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    font-style: italic;
    flex-shrink: 0;
}
.field { margin-bottom: 1.5rem; }
.field--narrow { max-width: 320px; }
.field label {
    display: block;
    font-weight: 600;
    margin-bottom: .5rem;
    color: var(--ink-900);
    font-size: .9rem;
    letter-spacing: .005em;
}
/* Render the trailing asterisk in "Email *" or "Name *" labels in gold */
.field label::after {
    content: "";
}
.field__hint {
    display: inline;
    color: var(--slate-500);
    font-weight: 400;
    font-size: .82rem;
    margin-left: .35rem;
}
.field__error {
    color: #B11C2A;
    font-size: .85rem;
    margin: .4rem 0 0;
    display: flex;
    gap: .35rem;
    align-items: flex-start;
}
.field__error::before {
    content: "!";
    display: inline-grid;
    place-items: center;
    width: 1.05rem; height: 1.05rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: #B11C2A;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    margin-top: .15rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="search"],
.field input[type="password"],
.field input[type="number"],
.field input[type="date"],
.field input[type="datetime-local"],
.field input[type="time"],
.field input:not([type]),
.field select,
.field textarea {
    width: 100%;
    max-width: 32rem;
    padding: 1rem 1.1rem;
    font: inherit;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--ink-900);
    background: #fff;
    border: 1px solid var(--slate-300);
    border-radius: var(--r-md);
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
    -webkit-appearance: none;
    appearance: none;
    -moz-appearance: textfield;
}
/* Inside a field-row, the grid controls width — let the input fill its column */
.field-row .field input,
.field-row .field select,
.field-row .field textarea { max-width: 100%; }
/* Textareas typically need to be wider than a single-line input */
.field textarea { max-width: 48rem; }
.field-row .field textarea { max-width: 100%; }
.field input::placeholder, .field textarea::placeholder { color: #B5B1A8; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--gold-300); }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(212, 184, 120, 0.28);
    background: #FFFCF3;
}
.field select {
    background-image:
        linear-gradient(45deg, transparent 50%, var(--gold-700) 50%),
        linear-gradient(135deg, var(--gold-700) 50%, transparent 50%);
    background-position: calc(100% - 18px) center, calc(100% - 12px) center;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.5rem;
}
.field input[type="file"] {
    padding: .8rem 1rem;
    border: 1px dashed var(--slate-300);
    border-radius: var(--r-md);
    background: var(--cream);
    width: 100%;
    cursor: pointer;
}
.field input[type="file"]:hover { border-color: var(--gold-400); background: var(--gold-50); }

/* Required indicator — pages have "*" inline in label text; this keeps it consistent */
.field label, .form-step legend { color: var(--ink-900); }

.field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.field-row--3   { grid-template-columns: repeat(3, 1fr); }
/* address-style row: wider input + narrow postcode/code field */
.field-row--addr { grid-template-columns: 2fr 1fr; }
.field-row .field { margin-bottom: 1rem; }
@media (max-width: 900px) {
    .field-row--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .field-row,
    .field-row--3,
    .field-row--addr { grid-template-columns: 1fr; gap: .25rem; }
}

/* Block button (full width) */
.btn--block { display: flex; width: 100%; justify-content: center; }

/* Tier picker */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: .5rem 0;
}
@media (max-width: 600px) { .tier-grid { grid-template-columns: 1fr; } }
.tier {
    display: block;
    padding: 1.5rem;
    border: 2px solid var(--slate-200);
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: all .2s var(--ease);
    background: var(--paper);
}
.tier:hover { border-color: var(--gold-400); }
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier.is-selected,
.tier:has(input:checked) {
    border-color: var(--gold-500);
    background: var(--gold-50);
    box-shadow: var(--shadow-md);
}
.tier__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .75rem; }
.tier h4 { font-family: var(--font-display); font-size: 1.3rem; margin: 0; color: var(--ink-900); }
.tier__price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gold-700);
}
.tier__price span { font-size: .85rem; color: var(--slate-500); font-weight: 400; }
.tier__badge {
    display: inline-block;
    background: var(--gold-500);
    color: var(--ink-950);
    font-family: var(--font-body);
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 99px;
    margin-left: .5rem;
    vertical-align: middle;
}
.tier ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--slate-700);
    font-size: .9rem;
}
.tier ul li { padding: .25rem 0 .25rem 1.5rem; position: relative; }
.tier ul li::before {
    content: "✓";
    position: absolute; left: 0;
    color: var(--gold-600);
    font-weight: 700;
}

.form__cta { text-align: center; margin-top: 1rem; }

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    font-size: .95rem;
}
.alert--error   { background: #FBE9EB; border-color: #F2C2C8; color: #8B1B27; }
.alert--success { background: var(--gold-50); border-color: var(--gold-200); color: var(--gold-800); }

/* ----- Directory list -------------------------------- */
.dir-filter {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto auto;
    gap: .75rem;
    align-items: center;
    margin-top: 2.5rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
}
.dir-filter input,
.dir-filter select {
    padding: .65rem .9rem;
    border: 1px solid var(--slate-300);
    border-radius: var(--r-md);
    font: inherit;
    width: 100%;
    background: #fff;
}
@media (max-width: 720px) {
    .dir-filter { grid-template-columns: 1fr; }
}

.biz-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    color: inherit;
    transition: all .25s var(--ease);
}
.biz-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-300);
    color: inherit;
}
.biz-card--featured {
    border-width: 3px;
    border-color: var(--gold-500);
    box-shadow:
        0 0 0 1px var(--gold-300),
        0 18px 36px rgba(194, 143, 66, 0.20),
        0 6px 12px rgba(10, 10, 11, 0.08);
}
.biz-card--featured:hover {
    border-color: var(--gold-600);
    box-shadow:
        0 0 0 1px var(--gold-400),
        0 22px 44px rgba(194, 143, 66, 0.28),
        0 8px 16px rgba(10, 10, 11, 0.10);
}

/* Standard (non-featured) cards — visually halved so featured listings dominate */
.biz-card:not(.biz-card--featured) .biz-card__media { aspect-ratio: 16 / 7; }
.biz-card:not(.biz-card--featured) .biz-card__body  { padding: .75rem 1rem 1rem; }
.biz-card:not(.biz-card--featured) .card__cat       { font-size: .65rem; letter-spacing: .12em; }
.biz-card:not(.biz-card--featured) .card__title     { font-size: 1rem; margin: .25rem 0 .35rem; }
.biz-card:not(.biz-card--featured) .card__excerpt   { font-size: .85rem; line-height: 1.45; }
.biz-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--cream);
    overflow: hidden;
}
.biz-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s var(--ease);
}
.biz-card:hover .biz-card__media img { transform: scale(1.04); }
.biz-card__placeholder {
    display: grid; place-items: center;
    width: 100%; height: 100%;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--gold-500);
    background: var(--ink-950);
}
.biz-card__tag {
    position: absolute; top: 1rem; left: 1rem;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--ink-950);
    font-family: var(--font-body);
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    padding: .3rem .6rem;
    border-radius: 99px;
}
.biz-card__body { padding: 1.25rem 1.5rem 1.5rem; }

/* Single business page — slider-capable, half-height, vertically centered, LIGHT */
.biz-hero {
    position: relative;
    min-height: 25vh;
    display: flex;
    align-items: center;
    color: var(--ink-900);
    background: var(--paper);
    overflow: hidden;
}
.biz-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(252,250,245,0.78) 0%, rgba(252,250,245,0.94) 100%);
    z-index: 1;
    pointer-events: none;
}
.biz-hero__inner {
    position: relative;
    z-index: 2;
    padding: 2rem 0 1.75rem;
}
.biz-hero h1 {
    color: var(--ink-900);
    margin: .35rem 0 .25rem;
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
}
.biz-hero .lead { font-size: .98rem; max-width: 56ch; margin: 0; color: var(--slate-700); }
.biz-hero .hero__slide.is-active { opacity: .4; }
.biz-hero .hero__dots { bottom: .85rem; right: 1.5rem; z-index: 3; }

.biz-show {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 3rem;
}
@media (max-width: 900px) { .biz-show { grid-template-columns: 1fr; } }
.biz-side-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.biz-side-card h4 {
    font-family: var(--font-body);
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin: 0 0 .75rem;
}
.biz-side-card--gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    border: none;
    color: var(--ink-950);
}
.biz-side-card--gold h4 { color: var(--ink-950); opacity: .8; }
.biz-side-card--gold p { color: var(--ink-800); }
.biz-info {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .92rem;
}
.biz-info li {
    padding: .65rem 0;
    border-bottom: 1px solid var(--slate-200);
}
.biz-info li:last-child { border-bottom: none; }
.biz-info strong {
    display: block;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: .15rem;
    font-weight: 700;
}

/* ----- Admin ----------------------------------------- */
.admin-body {
    background: var(--cream);
    min-height: 100vh;
}
.admin-header {
    background: var(--ink-950);
    color: var(--paper);
    border-bottom: 3px solid var(--gold-500);
}
.admin-header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--paper);
    font-family: var(--font-display);
    font-size: 1.1rem;
}
.admin-brand img { height: 36px; }
.admin-brand span {
    border-left: 1px solid rgba(255,255,255,.18);
    padding-left: .75rem;
    color: var(--gold-300);
    letter-spacing: .05em;
}
.admin-nav { display: flex; gap: 1.5rem; margin-left: 1rem; }
.admin-nav__link {
    color: rgba(250,247,241,0.75);
    font-size: .9rem;
    font-weight: 500;
    padding: .25rem 0;
}
.admin-nav__link:hover { color: var(--gold-300); }
.admin-nav__link.is-active { color: var(--gold-300); }
.admin-user {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .85rem;
    color: rgba(250,247,241,0.7);
}
.admin-main { padding: 2.5rem 0 4rem; }
.admin-login {
    max-width: 420px;
    margin: 4rem auto;
    background: #fff;
    border-radius: var(--r-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 800px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--r-lg);
    padding: 1.5rem;
    border: 1px solid var(--slate-200);
    color: inherit;
    transition: all .2s var(--ease);
}
.stat-card:hover { border-color: var(--gold-400); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: inherit; }
.stat-card--accent {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    border: none;
    color: var(--ink-950);
}
.stat-card__num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    line-height: 1;
    font-weight: 600;
    color: var(--ink-900);
}
.stat-card--accent .stat-card__num { color: var(--ink-950); }
.stat-card__label {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-top: .5rem;
    font-weight: 600;
}
.stat-card--accent .stat-card__label { color: var(--ink-800); }

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--slate-200);
}
/* On narrow screens turn the table into a horizontally-scrolling block so
   it never blows the viewport. The internal table layout still works because
   the children retain their default display: table-row-group/row/cell. */
@media (max-width: 760px) {
    .admin-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
    .admin-table th, .admin-table td { white-space: nowrap; }
}
.admin-table th, .admin-table td {
    padding: .9rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--slate-200);
    font-size: .92rem;
    vertical-align: top;
}
.admin-table th {
    background: var(--paper);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--slate-500);
}
.admin-table tr:last-child td { border-bottom: none; }

.pill {
    display: inline-block;
    padding: .15rem .55rem;
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 99px;
    background: var(--slate-200);
    color: var(--slate-700);
    border: 1px solid transparent;
    margin-right: .25rem;
}
.pill--featured        { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--ink-950); }
.pill--standard        { background: var(--ink-900); color: var(--paper); }
.pill--pending_review  { background: #FFF1C7; color: #6B5128; }
.pill--pending_payment { background: #FBE9EB; color: #8B1B27; }
.pill--approved        { background: #DEF3DC; color: #1F5A2E; }
.pill--rejected        { background: #F4D5DA; color: #7A2436; }
.pill--expired         { background: var(--slate-200); color: var(--slate-700); }

.filter-tabs {
    display: flex;
    gap: .25rem;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--r-md);
    padding: .25rem;
    flex-wrap: wrap;
}
.filter-tab {
    padding: .4rem .9rem;
    font-size: .85rem;
    color: var(--slate-700);
    border-radius: var(--r-sm);
    text-transform: capitalize;
}
.filter-tab:hover { background: var(--cream); color: var(--ink-900); }
.filter-tab.is-active { background: var(--ink-950); color: var(--paper); }

.admin-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2rem;
}
@media (max-width: 900px) { .admin-detail { grid-template-columns: 1fr; } }

/* =========================================================
   Phase 3 — merch shop
   ========================================================= */

.nav__badge {
    display: inline-grid;
    place-items: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 .4rem;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--ink-950);
    border-radius: 99px;
    font-size: .7rem;
    font-weight: 700;
    margin-left: .25rem;
    line-height: 1;
}

.shop-tabs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--slate-200);
}
.shop-tabs .filter-tab {
    background: transparent;
    border: 1px solid var(--slate-200);
    padding: .5rem 1rem;
}
.shop-tabs .filter-tab:hover { border-color: var(--gold-400); background: var(--cream); }
.shop-tabs .filter-tab.is-active { background: var(--ink-950); color: var(--paper); border-color: var(--ink-950); }

/* Product grid card */
.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    color: inherit;
    transition: all .25s var(--ease);
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-300);
    color: inherit;
}
.product-card--soldout { opacity: .65; }
.product-card__media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: var(--cream);
}
.product-card__media img {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: transform .5s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__placeholder {
    display: grid; place-items: center;
    width: 100%; height: 100%;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--gold-500);
    background: var(--ink-950);
}
.product-card__badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--ink-950);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    padding: .3rem .6rem;
    border-radius: 99px;
}
.product-card__badge--sale {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--ink-950);
}
.product-card__body { padding: 1rem 1.25rem 1.25rem; }
.product-card__body .card__cat   { font-size: .65rem; }
.product-card__body .card__title { font-size: 1.05rem; margin: .35rem 0 .5rem; }
.product-card__price {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ink-900);
    margin: 0;
}
.product-card__strike {
    color: var(--slate-500);
    text-decoration: line-through;
    font-size: .9rem;
    font-weight: 400;
    margin-left: .5rem;
}

/* Product detail */
.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; gap: 2rem; } }
.product-detail__main {
    aspect-ratio: 4 / 5;
    background: var(--cream);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.product-detail__main img { width: 100%; height: 100%; object-fit: contain; }
.product-detail__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: .5rem;
    margin-top: .75rem;
}
.prod-thumb {
    aspect-ratio: 1 / 1;
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: var(--r-sm);
    overflow: hidden;
    padding: 0;
    cursor: pointer;
}
.prod-thumb img { width: 100%; height: 100%; object-fit: contain; }
.prod-thumb.is-active { border-color: var(--gold-500); }
.product-detail__price {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold-700);
    margin: 0 0 1.5rem;
}
.product-detail__desc { color: var(--slate-700); }
.product-buy { margin-top: 2rem; }

.size-buttons {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.size-button {
    position: relative;
    cursor: pointer;
}
.size-button input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.size-button span {
    display: inline-block;
    min-width: 3rem;
    padding: .65rem 1rem;
    text-align: center;
    border: 1px solid var(--slate-300);
    border-radius: var(--r-sm);
    background: #fff;
    transition: all .15s var(--ease);
}
.size-button:hover span { border-color: var(--gold-400); }
.size-button input:checked + span {
    background: var(--ink-950);
    color: var(--paper);
    border-color: var(--ink-950);
}

/* Cart */
.cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-top: 2rem;
}
@media (max-width: 720px) {
    .cart-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .cart-table th, .cart-table td { white-space: nowrap; }
    .cart-table td:nth-child(2) { white-space: normal; min-width: 160px; }
}
.cart-table th, .cart-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--slate-200);
    vertical-align: middle;
}
@media (max-width: 720px) {
    .cart-table th, .cart-table td { padding: .75rem; }
}
.cart-table th {
    background: var(--paper);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--slate-500);
}
.cart-table tr:last-child td { border-bottom: none; }
.cart-table__media img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--r-sm);
}
.cart-table__placeholder {
    width: 70px; height: 70px;
    background: var(--cream);
    border-radius: var(--r-sm);
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold-500);
}
.cart-remove {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--slate-300);
    background: transparent;
    color: var(--slate-500);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all .15s var(--ease);
}
.cart-remove:hover { background: #FBE9EB; color: #8B1B27; border-color: #F2C2C8; }

.cart-summary {
    margin-top: 2rem;
    background: var(--cream);
    border-radius: var(--r-lg);
    padding: 1.5rem 2rem;
    max-width: 420px;
    margin-left: auto;
}
.cart-summary dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5rem 1rem;
    margin: 0;
}
.cart-summary dt { color: var(--slate-700); }
.cart-summary dd { margin: 0; text-align: right; font-weight: 500; }
.cart-summary__total {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--ink-900);
    border-top: 1px solid var(--slate-300);
    padding-top: .75rem;
    margin-top: .25rem;
}

/* Checkout — editorial layout */
.checkout-page { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(3rem, 5vw, 5rem); }
.checkout-container { max-width: 1080px; }
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    margin-top: 2.5rem;
    align-items: start;
}
@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .checkout-summary { order: -1; position: static !important; }
}

.checkout-header { margin-bottom: 1rem; }
.checkout-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 1.5rem;
    transition: color .15s var(--ease);
}
.checkout-back:hover { color: var(--gold-700); }
.checkout-back svg { transition: transform .15s var(--ease); }
.checkout-back:hover svg { transform: translateX(-2px); }
.checkout-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 500;
    color: var(--ink-900);
    margin: 0 0 .65rem;
    letter-spacing: -0.015em;
    line-height: 1.05;
}
.checkout-lead {
    color: var(--slate-500);
    font-size: 1.05rem;
    margin: 0;
    max-width: 48ch;
}

/* Two-column for short paired fields, asymmetric for city/postcode */
.checkout-grid .form .field-row { gap: 1rem; }
.checkout-grid .form .field-row--city-postcode { grid-template-columns: 2fr 1fr; }
@media (max-width: 600px) {
    .checkout-grid .form .field-row--city-postcode { grid-template-columns: 1fr; gap: 0; }
}

/* Order summary aside — premium editorial */
.checkout-summary {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    padding: 1.75rem 1.75rem 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-sm);
}
.checkout-summary__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--slate-200);
}
.checkout-summary__eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--gold-700);
    font-size: .72rem;
}
.checkout-summary h3 {
    margin: .25rem 0 0;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ink-900);
    text-transform: none;
    letter-spacing: -0.01em;
}
.checkout-summary__count {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--slate-500);
    text-transform: uppercase;
}
.checkout-items {
    list-style: none;
    padding: 0;
    margin: 0;
}
.checkout-items li {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: .9rem 0;
    border-bottom: 1px dashed var(--slate-200);
}
.checkout-items li:last-child { border-bottom: none; padding-bottom: 0; }
.checkout-items img {
    width: 60px; height: 60px;
    object-fit: cover;
    border-radius: var(--r-sm);
    background: var(--cream);
}
.checkout-items__placeholder {
    width: 60px; height: 60px;
    background: var(--cream);
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    color: var(--gold-500);
    font-size: 1.25rem;
}
.checkout-items strong { display: block; font-size: .92rem; color: var(--ink-900); line-height: 1.3; }
.checkout-items span { display: block; font-size: .8rem; color: var(--slate-500); margin-top: .2rem; }
.checkout-items__price {
    font-weight: 600;
    color: var(--gold-700);
    font-family: var(--font-display);
    font-size: 1rem;
}
.checkout-free {
    color: var(--gold-700);
    font-style: normal;
    font-size: .72rem;
    letter-spacing: .1em;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: .25rem;
}

.checkout-totals {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .55rem 1rem;
    margin: 1rem 0 0;
    border-top: 1px solid var(--gold-200);
    padding-top: 1rem;
}
.checkout-totals dt { color: var(--slate-700); font-size: .92rem; }
.checkout-totals dd { margin: 0; text-align: right; font-weight: 500; font-size: .95rem; color: var(--ink-900); }
.checkout-totals dt:nth-last-child(2),
.checkout-totals dd:last-child {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--ink-900);
    font-weight: 600;
    padding-top: .85rem;
    border-top: 1px solid var(--gold-300);
    margin-top: .35rem;
}

/* Checkout submit + secure payment label */
.checkout-submit { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--slate-200); }
.checkout-submit .btn { font-size: 1.05rem; padding: 1.15rem 2rem; }
.checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    text-align: center;
    margin: 1.25rem 0 0;
    font-size: .85rem;
    color: var(--slate-500);
    line-height: 1.5;
}
.checkout-secure svg {
    color: var(--gold-700);
    flex-shrink: 0;
}

/* Section trailing footer */
.checkout-footnote {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--slate-200);
    font-size: .8rem;
    color: var(--slate-500);
    line-height: 1.55;
}
.checkout-footnote strong { color: var(--ink-900); font-weight: 600; display: block; margin-bottom: .15rem; }

/* Admin: size checkboxes */
.size-checkboxes {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.size-check {
    position: relative;
    cursor: pointer;
}
.size-check input { position: absolute; opacity: 0; pointer-events: none; }
.size-check span {
    display: inline-block;
    min-width: 3.5rem;
    padding: .55rem .9rem;
    text-align: center;
    border: 1px solid var(--slate-300);
    border-radius: var(--r-sm);
    background: #fff;
    font-size: .9rem;
    transition: all .15s var(--ease);
}
.size-check input:checked + span {
    background: var(--gold-50);
    border-color: var(--gold-500);
    color: var(--gold-800);
    font-weight: 600;
}

/* Admin: image-remove tile */
.img-remove {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--r-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: var(--cream);
}
.img-remove input { position: absolute; opacity: 0; pointer-events: none; }
.img-remove img { width: 100%; height: 100%; object-fit: cover; }
.img-remove span {
    position: absolute;
    inset: 0;
    background: rgba(10,10,11,0.7);
    color: var(--paper);
    display: grid;
    place-items: center;
    font-size: .85rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity .15s var(--ease);
}
.img-remove:hover span { opacity: 1; }
.img-remove input:checked ~ span,
.img-remove:has(input:checked) span {
    opacity: 1;
    background: rgba(177, 28, 42, 0.85);
}
.img-remove input:checked ~ img,
.img-remove:has(input:checked) img { opacity: .35; }

/* Order status pills (extends Phase 2) */
.pill--paid       { background: #DEF3DC; color: #1F5A2E; }
.pill--shipped    { background: var(--gold-200); color: var(--gold-800); }
.pill--refunded   { background: var(--slate-200); color: var(--slate-700); }
.pill--cancelled  { background: #F4D5DA; color: #7A2436; }
.pill--pending    { background: #FFF1C7; color: #6B5128; }

/* =========================================================
   Phase 4 — events + stories
   ========================================================= */

/* Events list */
.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--slate-200);
}
.event-list li { border-bottom: 1px solid var(--slate-200); }
.event-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.15rem 1rem;
    color: inherit;
    transition: background .2s var(--ease);
}
.event-row:hover {
    background: var(--cream);
    color: inherit;
}
@media (max-width: 720px) {
    .event-row { grid-template-columns: auto 1fr; }
    .event-row .event-thumb { grid-column: span 2; max-width: 100%; }
}

.event-date {
    width: 76px;
    text-align: center;
    padding: .55rem .35rem;
    background: var(--ink-950);
    color: var(--paper);
    border-radius: var(--r-sm);
    border: 1px solid var(--gold-700);
}
.event-date__d {
    display: block;
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1;
    color: var(--gold-300);
}
.event-date__m {
    display: block;
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-top: .2rem;
    color: var(--paper);
}
.event-date__y { display: none; }

.event-info {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: .75rem;
    flex-wrap: wrap;
}
.event-info__title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ink-900);
    line-height: 1.25;
}
.event-info__meta {
    color: var(--slate-500);
    font-size: 1rem;
}
.event-thumb {
    width: 120px;
    height: 76px;
    object-fit: cover;
    border-radius: var(--r-sm);
}

.event-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    background: var(--cream);
    padding: 1rem 1.5rem;
    border-radius: var(--r-md);
    margin-top: 1rem;
}
.event-meta strong {
    display: block;
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold-700);
    margin-bottom: .15rem;
}

/* Stories — feature card on /stories */
.story-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 0;
    margin-top: 3rem;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--ink-950);
    color: var(--paper);
    border: 1px solid rgba(212, 184, 120, 0.15);
    transition: all .25s var(--ease);
}
.story-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--paper);
    border-color: var(--gold-400);
}
@media (max-width: 900px) { .story-feature { grid-template-columns: 1fr; } }
.story-feature__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.story-feature__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s var(--ease);
}
.story-feature:hover .story-feature__media img { transform: scale(1.04); }
.story-feature__body { padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.story-feature__body h2 {
    color: var(--paper);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 1rem 0;
}
.story-feature__body p { color: rgba(250, 247, 241, 0.78); }
.story-feature__more {
    color: var(--gold-300);
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

/* Story hero (single story page) — slider-capable, half-height, LIGHT */
.story-hero {
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: center;
    color: var(--ink-900);
    background: var(--paper);
    overflow: hidden;
}
.story-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(252,250,245,0.8) 0%, rgba(252,250,245,0.95) 100%);
    z-index: 1;
    pointer-events: none;
}
.story-hero__inner {
    position: relative;
    z-index: 2;
    padding: 2.25rem 0 2rem;
    max-width: 760px;
}
.story-hero h1 {
    color: var(--ink-900);
    font-size: clamp(1.85rem, 3.6vw, 2.6rem);
    margin: .35rem 0 .65rem;
    max-width: 22ch;
    line-height: 1.1;
}
.story-hero p { color: var(--slate-700); font-size: 1rem; }
.story-hero .hero__slide.is-active { opacity: .35; }
.story-hero .hero__dots { bottom: .85rem; right: 1.5rem; z-index: 3; }

/* Editorial body typography (markdown output) */
.prose {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--slate-700);
    overflow-wrap: anywhere;
    word-break: break-word;
}
.prose > * + * { margin-top: 1.25rem; }
.prose h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.6vw, 2.25rem);
    font-weight: 500;
    color: var(--ink-900);
    line-height: 1.2;
    margin-top: 2.5rem;
}
.prose h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--ink-900);
    margin-top: 2rem;
}
.prose blockquote {
    border-left: 3px solid var(--gold-500);
    padding: .25rem 0 .25rem 1.5rem;
    margin: 1.5rem 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.4;
    color: var(--ink-900);
}
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin: .35rem 0; }
.prose img {
    width: 100%;
    height: auto;
    border-radius: var(--r-md);
    margin: 1.5rem 0;
}
.prose hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
    margin: 3rem auto;
    max-width: 200px;
}
.prose a {
    color: var(--gold-700);
    border-bottom: 1px solid currentColor;
}
.prose a:hover { color: var(--gold-900); }

/* Pill statuses for stories (extends earlier blocks) */
.pill--draft     { background: var(--slate-200); color: var(--slate-700); }
.pill--published { background: #DEF3DC; color: #1F5A2E; }
.pill--archived  { background: #F4D5DA; color: #7A2436; }

/* =========================================================
   Phase 5 — accessibility, performance, polish
   ========================================================= */

/* Skip-to-main link (visible on focus) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 100;
    background: var(--gold-500);
    color: var(--ink-950);
    padding: .75rem 1.25rem;
    border-radius: var(--r-md);
    font-weight: 600;
    text-decoration: none;
    transition: top .15s var(--ease);
}
.skip-link:focus {
    top: 1rem;
    outline: 3px solid var(--ink-950);
    outline-offset: 2px;
}

/* Stronger focus rings — accessibility */
:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 2px;
    border-radius: 2px;
}
.btn:focus-visible {
    outline-offset: 3px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(212, 184, 120, 0.35);
}

/* Make sure removing main's default focus ring on click doesn't break SR experience */
main:focus { outline: none; }

/* =========================================================
   Cart drawer (slide-out from the right)
   ========================================================= */
.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 11, 0.55);
    backdrop-filter: blur(2px);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease);
}
.cart-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: var(--paper);
    z-index: 70;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(0.32, 0.72, 0.34, 1);
    box-shadow: -16px 0 48px rgba(10, 10, 11, 0.22);
    will-change: transform;
}
.cart-drawer.is-open { transform: translateX(0); }
body.is-cart-open { overflow: hidden; }

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--ink-950);
    color: var(--paper);
    border-bottom: 3px solid var(--gold-500);
    flex-shrink: 0;
}
.cart-drawer__header h2 {
    color: var(--paper);
    margin: 0;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-family: var(--font-body);
    font-weight: 700;
}
.cart-drawer__header h2 span { color: var(--gold-300); margin-left: .35rem; }
.cart-drawer__close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(212, 184, 120, 0.35);
    border-radius: var(--r-sm);
    color: var(--paper);
    font-size: 1.4rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    line-height: 1;
    transition: all .15s var(--ease);
}
.cart-drawer__close:hover { background: rgba(212, 184, 120, 0.12); color: var(--gold-300); }

.cart-drawer__items {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}
.cart-drawer__item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--slate-200);
}
.cart-drawer__item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--r-sm);
}
.cart-drawer__placeholder {
    width: 72px; height: 72px;
    display: grid; place-items: center;
    background: var(--ink-950);
    color: var(--gold-400);
    border-radius: var(--r-sm);
    font-family: var(--font-display);
    font-size: 1.75rem;
}
.cart-drawer__item-body { min-width: 0; position: relative; padding-right: 4rem; }
.cart-drawer__item-body strong {
    display: block;
    font-size: .95rem;
    color: var(--ink-900);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-drawer__meta { display: block; font-size: .8rem; color: var(--slate-500); margin-top: .15rem; }
.cart-drawer__line-total {
    position: absolute;
    top: 0; right: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-700);
}
.cart-drawer__remove-form { margin: 0; }
.cart-drawer__remove {
    width: 30px;
    height: 30px;
    background: transparent;
    border: 1px solid var(--slate-300);
    border-radius: 50%;
    cursor: pointer;
    color: var(--slate-500);
    font-size: 1.1rem;
    display: grid;
    place-items: center;
    line-height: 1;
    transition: all .15s var(--ease);
}
.cart-drawer__remove:hover {
    background: #FBE9EB;
    border-color: #F2C2C8;
    color: #8B1B27;
}

.cart-drawer__empty {
    flex: 1;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--slate-500);
}

.cart-drawer__footer {
    border-top: 1px solid var(--slate-200);
    padding: 1.25rem 1.5rem 1.5rem;
    background: var(--cream);
    flex-shrink: 0;
}
.cart-drawer__totals {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .4rem 1rem;
    margin: 0 0 1rem;
}
.cart-drawer__totals dt { color: var(--slate-700); font-size: .9rem; }
.cart-drawer__totals dd { margin: 0; text-align: right; font-weight: 500; font-size: .9rem; color: var(--ink-900); }
.cart-drawer__totals dt.is-total,
.cart-drawer__totals dd.is-total {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--ink-900);
    font-weight: 600;
    padding-top: .65rem;
    margin-top: .25rem;
    border-top: 1px solid var(--gold-300);
}
.cart-drawer__actions { display: grid; gap: .5rem; }
.cart-drawer__edit-link {
    color: var(--ink-900) !important;
    border-color: var(--ink-900) !important;
}

/* Event month groups */
.event-month + .event-month { margin-top: 3rem; }
.event-month__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--ink-900);
    text-transform: uppercase;
    letter-spacing: -0.005em;
    margin: 2rem 0 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--gold-500);
    display: inline-block;
    padding-right: 2rem;
}
.event-month:first-of-type .event-month__title { margin-top: 0; }

/* Event-page map */
.event-map {
    margin: 2.5rem 0;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--slate-200);
    background: var(--cream);
    aspect-ratio: 16 / 9;
    position: relative;
}
.event-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.event-map__placeholder {
    position: absolute; inset: 0;
    display: grid; place-items: center; text-align: center;
    padding: 2rem;
    background:
        linear-gradient(rgba(252, 250, 245, 0.92), rgba(252, 250, 245, 0.92)),
        repeating-linear-gradient(45deg, var(--cream) 0 12px, var(--paper) 12px 24px);
}
.event-map__placeholder p { margin: 0 0 1rem; color: var(--slate-700); font-size: .95rem; max-width: 36ch; }

/* =========================================================
   Live search — debounced dropdown over businesses/stories/events.
   ========================================================= */
.live-search {
    position: relative;
    width: 100%;
}
.live-search__input {
    width: 100%;
    padding: .85rem 1rem .85rem 2.6rem;
    border: 1px solid var(--slate-300);
    border-radius: var(--r-md);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236B6970' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat .9rem center;
    font: inherit;
    color: var(--ink-900);
}
.live-search__input:focus {
    outline: none;
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px var(--gold-50);
}
.live-search__results {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: var(--paper);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    max-height: 380px;
    overflow-y: auto;
    z-index: 30;
}
.live-search__results.is-open { display: block; }

.ls-section {
    padding: .65rem 1rem .35rem;
    font-family: var(--font-body);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--gold-700);
    background: var(--cream);
    border-bottom: 1px solid var(--slate-200);
    position: sticky; top: 0;
}
.ls-result {
    display: block;
    padding: .85rem 1rem;
    color: var(--ink-900);
    text-decoration: none;
    border-bottom: 1px solid var(--slate-100);
    transition: background .15s var(--ease);
}
.ls-result:last-child { border-bottom: none; }
.ls-result:hover, .ls-result.is-hover { background: var(--gold-50); color: var(--ink-900); }
.ls-result strong { display: block; font-weight: 600; font-size: .98rem; }
.ls-result small  { display: block; color: var(--slate-500); font-size: .85rem; margin-top: .15rem; }
.ls-empty {
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--slate-500);
    font-size: .9rem;
}

/* =========================================================
   Multi-step form — progress bar + step dots + paged display.
   Apply class .form--multi-step to a .form to enable.
   ========================================================= */
.form--multi-step .form-step { display: none; }
.form--multi-step .form-step.is-active { display: block; animation: msfStepIn .25s var(--ease); }
@keyframes msfStepIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-progress {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    margin: 1.5rem 0 2rem;
}
.form-progress__head {
    display: flex; gap: .75rem; align-items: baseline;
}
.form-progress__step {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--gold-700);
}
.form-progress__name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink-900);
    text-transform: none;
    letter-spacing: -0.005em;
}
.form-progress__dots {
    display: flex;
    gap: .35rem;
    align-items: center;
}
.form-progress__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--slate-200);
    transition: all .2s var(--ease);
}
.form-progress__dot.is-active { background: var(--gold-500); transform: scale(1.25); }
.form-progress__dot.is-done   { background: var(--gold-300); }
.form-progress__bar-track {
    grid-column: 1 / -1;
    height: 4px;
    background: var(--slate-200);
    border-radius: 99px;
    overflow: hidden;
}
.form-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
    width: 25%;
    transition: width .35s var(--ease);
    border-radius: 99px;
}

.form-step__nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem var(--gutter);
    border-top: 1px solid var(--slate-200);
    background: rgba(252, 250, 245, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
}
.form-step__nav .btn { min-width: 120px; }
@media (max-width: 600px) {
    .form-step__nav { gap: .5rem; padding: .75rem var(--gutter); }
    .form-step__nav .btn { min-width: 0; flex: 1; padding: .75rem 1rem; font-size: .9rem; }
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
input.is-invalid, select.is-invalid, textarea.is-invalid {
    border-color: #C44653;
    background: #FBE9EB;
}

/* =========================================================
   Cookie consent banner — UK GDPR/PECR compliant.
   Slides up from the bottom; equal visual weight on accept/reject
   per ICO guidance.
   ========================================================= */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 80;
    background: var(--paper);
    border-top: 3px solid var(--gold-500);
    box-shadow: 0 -10px 30px rgba(10, 10, 11, 0.10);
    padding: 1rem var(--gutter);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }

.cookie-banner__inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.cookie-banner__text {
    font-size: .95rem;
    color: var(--ink-900);
    line-height: 1.55;
    flex: 1;
    margin: 0;
}
.cookie-banner__text a {
    color: var(--gold-700);
    text-decoration: underline;
}
.cookie-banner__text a:hover { color: var(--gold-900); }

.cookie-banner__actions {
    display: flex;
    gap: .75rem;
    flex-shrink: 0;
}
@media (max-width: 720px) {
    .cookie-banner__inner { flex-direction: column; gap: 1rem; align-items: stretch; text-align: left; }
    .cookie-banner__actions { width: 100%; }
    .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}

/* =========================================================
   Packages / Rate-card + Booking flow + Admin calendar
   ========================================================= */

/* ----- Public rate-card grid ------------------------- */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.package-card {
    background: var(--paper);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.package-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-300);
}
.package-card--featured {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 1px var(--gold-300), var(--shadow-md);
    background: linear-gradient(180deg, var(--gold-50) 0%, var(--paper) 60%);
}
.package-card__badge {
    position: absolute;
    top: -.75rem;
    left: 1.5rem;
    background: var(--gold-500);
    color: var(--ink-950);
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    padding: .35rem .75rem;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.package-card__head { margin-bottom: 1rem; }
.package-card__head h3 { margin: 0 0 .25rem; font-size: 1.5rem; }
.package-card__duration {
    margin: 0;
    color: var(--gold-700);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}
.package-card__summary { color: var(--slate-700); margin: 0 0 1.25rem; }
.package-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    border-top: 1px solid var(--slate-200);
}
.package-card__features li {
    padding: .65rem 0 .65rem 1.5rem;
    border-bottom: 1px solid var(--slate-200);
    position: relative;
    font-size: .92rem;
}
.package-card__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .65rem;
    color: var(--gold-600);
    font-weight: 700;
}
.package-card__foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.package-card__price {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--ink-900);
    font-weight: 600;
}
.package-card__ctas {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.package-card__ctas .btn { flex: 1 1 auto; min-width: 0; justify-content: center; }

/* ----- Package detail page --------------------------- */
.package-show {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}
.package-show__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--slate-200);
}
.package-show__head h1 { margin: 0; }
.package-show__price {
    text-align: right;
}
.package-show__price strong {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--gold-700);
    display: block;
    line-height: 1;
}
.package-show__price small {
    color: var(--slate-500);
    font-size: .85rem;
}
.package-show__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .5rem 1.5rem;
}
.package-show__features li {
    padding: .5rem 0 .5rem 1.5rem;
    position: relative;
    font-size: .95rem;
}
.package-show__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .5rem;
    color: var(--gold-600);
    font-weight: 700;
}
.package-show__body { margin-top: 1rem; }

/* ----- Add-on cards ---------------------------------- */
.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.addon-card {
    background: var(--paper);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-md);
    padding: 1.25rem;
    transition: border-color .2s var(--ease);
}
.addon-card:hover { border-color: var(--gold-300); }
.addon-card__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: .5rem;
}
.addon-card__head h4 { margin: 0; font-size: 1.05rem; }
.addon-card__price {
    color: var(--gold-700);
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
}
.addon-card p { margin: 0; color: var(--slate-500); font-size: .9rem; line-height: 1.45; }

/* ----- Booking form ---------------------------------- */
.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: start;
}
@media (max-width: 920px) {
    .booking-layout { grid-template-columns: 1fr; }
}
.booking-main { min-width: 0; }
.booking-form .form-step { margin-bottom: 2rem; }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: var(--gold-500);
    color: var(--ink-950);
    font-weight: 700;
    font-size: .9rem;
    margin-right: .65rem;
    vertical-align: middle;
}
.slot-pick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
}
.slot-pick__opt {
    border: 1px solid var(--slate-200);
    border-radius: var(--r-md);
    padding: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    font-size: .92rem;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.slot-pick__opt:hover { border-color: var(--gold-300); }
.slot-pick__opt:has(input:checked) {
    border-color: var(--gold-500);
    background: var(--gold-50);
}
.slot-pick__opt input { accent-color: var(--gold-600); }
.slot-pick__opt small { color: var(--slate-500); }
.alt-date { margin-top: 1rem; }
.alt-date summary {
    cursor: pointer;
    color: var(--gold-700);
    font-weight: 500;
    user-select: none;
}
.addon-pick {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: .75rem;
}
.addon-pick__item {
    display: flex;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--slate-200);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.addon-pick__item:hover { border-color: var(--gold-300); }
.addon-pick__item:has(input:checked) {
    border-color: var(--gold-500);
    background: var(--gold-50);
}
.addon-pick__item input { margin-top: .25rem; accent-color: var(--gold-600); }
.addon-pick__body { flex: 1; min-width: 0; }
.addon-pick__body strong { display: block; }
.addon-pick__body p { margin: .35rem 0 0; color: var(--slate-500); font-size: .85rem; line-height: 1.4; }
.addon-pick__price {
    float: right;
    color: var(--gold-700);
    font-weight: 600;
    margin-left: .5rem;
}

/* Sticky order summary */
.booking-summary { position: sticky; top: 1.5rem; }
.booking-summary__inner {
    background: var(--cream);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-lg);
    padding: 1.75rem;
}
.booking-summary__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}
.booking-summary__features li {
    padding: .4rem 0 .4rem 1.25rem;
    position: relative;
    font-size: .88rem;
    color: var(--slate-700);
}
.booking-summary__features li::before {
    content: "·";
    position: absolute;
    left: 0;
    top: .4rem;
    color: var(--gold-600);
    font-weight: 700;
}
.booking-summary__features li.more { color: var(--slate-500); font-style: italic; }
.booking-summary__features li.more::before { content: ""; }
.booking-summary__line {
    display: flex;
    justify-content: space-between;
    padding: .35rem 0;
    font-size: .92rem;
}
.booking-summary__total {
    display: flex;
    justify-content: space-between;
    padding: .75rem 0 0;
    margin-top: .5rem;
    border-top: 1px solid var(--slate-200);
    font-size: 1.05rem;
}
.booking-summary__total strong {
    font-family: var(--font-serif);
    color: var(--gold-700);
    font-size: 1.35rem;
}

/* Flatpickr alignment with our form fields */
.flatpickr-input[readonly] { background: var(--paper); }

/* ----- Success page ---------------------------------- */
.success-card {
    background: var(--paper);
    border: 1px solid var(--gold-300);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.success-card h1 {
    font-family: var(--font-serif);
    color: var(--gold-700);
    margin: .25rem 0 1.5rem;
}
.success-card__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}
.success-card__grid strong { display: block; color: var(--slate-500); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }
.success-card__addons {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}
.success-card__addons li {
    padding: .4rem 0;
    border-bottom: 1px dashed var(--slate-200);
    display: flex;
    justify-content: space-between;
    font-size: .92rem;
}

/* ----- Admin: status tabs --------------------------- */
.status-tabs {
    display: flex;
    gap: .25rem;
    border-bottom: 1px solid var(--slate-200);
    flex-wrap: wrap;
}
.status-tabs__link {
    padding: .65rem 1rem;
    text-decoration: none;
    color: var(--slate-500);
    font-size: .9rem;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}
.status-tabs__link:hover { color: var(--ink-900); }
.status-tabs__link.is-active {
    color: var(--gold-700);
    border-bottom-color: var(--gold-500);
    font-weight: 600;
}

/* Booking status pills */
.pill { display: inline-block; padding: .25rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 600; text-transform: capitalize; letter-spacing: .02em; }
.pill--pending_payment      { background: #FBE9EB; color: #8B1B27; }
.pill--pending_confirmation { background: var(--gold-50); color: var(--gold-800); }
.pill--confirmed            { background: #E2F1E5; color: #1F6B33; }
.pill--completed            { background: var(--slate-200); color: var(--ink-900); }
.pill--cancelled            { background: var(--slate-100); color: var(--slate-500); text-decoration: line-through; }

/* ----- Admin: calendar ------------------------------- */
.cal-legend {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    font-size: .85rem;
    color: var(--slate-500);
    align-items: center;
}
.cal-legend__chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 500;
}
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--slate-200);
    border: 1px solid var(--slate-200);
    border-radius: var(--r-md);
    overflow: hidden;
}
.cal-grid__head {
    background: var(--ink-900);
    color: var(--paper);
    padding: .5rem;
    text-align: center;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}
.cal-day {
    background: var(--paper);
    min-height: 110px;
    padding: .5rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.cal-day--blank { background: var(--slate-100); }
.cal-day__num {
    font-weight: 700;
    color: var(--slate-500);
    font-size: .85rem;
    margin-bottom: .25rem;
}
.cal-slot { margin: 0; }
.cal-chip {
    display: block;
    width: 100%;
    text-align: left;
    padding: .35rem .5rem;
    border-radius: var(--r-sm);
    font-size: .72rem;
    line-height: 1.25;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-body);
    transition: transform .15s var(--ease), filter .15s var(--ease);
}
.cal-chip:hover { transform: translateY(-1px); filter: brightness(0.95); }
.cal-chip strong { display: inline-block; margin-right: .25rem; font-weight: 700; }
.cal-chip--booking   { background: var(--gold-100); color: var(--gold-800); border-color: var(--gold-300); }
.cal-chip--blackout  { background: #fbe9eb; color: #8b1b27; border-color: #f2c2c8; }
.cal-chip--available { background: var(--paper); color: var(--slate-500); border-color: var(--slate-200); }

@media (max-width: 720px) {
    .cal-day { min-height: 80px; padding: .35rem; }
    .cal-day__num { font-size: .75rem; }
    .cal-chip { font-size: .65rem; padding: .25rem .35rem; }
    .cal-grid__head { padding: .35rem .25rem; font-size: .7rem; }
}

/* Clickable order/cart line items — link back to the shop product.
   Inherits surrounding colour so it doesn't read as a default gold link;
   gains a gold underline on hover/focus for affordance. */
.item-link {
    color: inherit;
    text-decoration: none;
    transition: color .15s var(--ease);
}
.item-link:hover,
.item-link:focus-visible {
    color: var(--gold-700);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.item-link img { transition: opacity .15s var(--ease); }
.item-link:hover img { opacity: .85; }

/* Stripe settings page — mode badges */
.stripe-mode {
    display: inline-block;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    font-family: var(--font-body);
    text-transform: uppercase;
}
.stripe-mode--live  { background: #E2F1E5; color: #1F6B33; }
.stripe-mode--test  { background: var(--gold-50); color: var(--gold-800); }
.stripe-mode--unset { background: var(--slate-100); color: var(--slate-500); }

/* ----- Reduced motion -------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
