/* ==========================================================================
   Moving Totes — public site styles (hand-written, no framework)

   FONTS: the brand font is THICCCBOI ExtraBold (headings / wordmark) and
   Code (city label, light). Drop the font files into /assets/fonts/ using
   the names below. Until they're there the fallback stacks are used.
       THICCCBOI-ExtraBold.woff2   code-light.woff2
   ========================================================================== */

@font-face {
    font-family: "THICCCBOI ExtraBold";
    src: url("../fonts/THICCCBOI-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Code";
    src: url("../fonts/code-light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #1a1a1a;          /* tote body / wordmark */
    --yellow: #f4d51a;       /* tote lids */
    --yellow-deep: #e2c000;
    --grey: #8a8a8a;         /* subtext, city label */
    --grey-text: #5c5c5c;    /* body-safe grey (passes contrast on white) */
    --bg: #ffffff;
    --bg-soft: #f6f6f4;
    --line: #e4e4e0;
    --danger: #b3261e;
    --danger-bg: #fdecea;

    --font-display: "THICCCBOI ExtraBold", "Helvetica Neue", Arial, sans-serif;
    --font-label: "Code", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

    --radius: 14px;
    --border: 3px solid var(--ink);   /* chunky outlines echo the logo */
    --wrap: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--grey-text); }

.skip-link {
    position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff;
    padding: 8px 14px; z-index: 100; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* -------------------------------------------------------------- type */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.02;
    margin: 0 0 .5em;
    letter-spacing: .01em;
}
h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); }
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: 1.5rem; }
.lead { font-size: 1.15rem; color: var(--grey-text); max-width: 38em; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
    font-family: var(--font-label);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .28em;
    font-size: .85rem;
    color: var(--grey-text);
    margin: 0 0 14px;
}
.section-intro { color: var(--grey-text); margin: -.2em 0 2rem; font-size: 1.1rem; }

/* ----------------------------------------------------------- buttons */
.btn {
    display: inline-block;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 1.15rem;
    line-height: 1;
    text-decoration: none;
    color: var(--ink);
    background: var(--yellow);
    border: var(--border);
    border-radius: 12px;
    padding: 14px 24px;
    cursor: pointer;
    box-shadow: 0 4px 0 var(--ink);
    transition: transform .08s ease, box-shadow .08s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); text-decoration: none; }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn-small { font-size: 1rem; padding: 9px 16px; border-width: 2px; box-shadow: 0 3px 0 var(--ink); }
.btn-large { font-size: 1.4rem; padding: 18px 32px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-link { font-weight: 700; }

/* ------------------------------------------------------------ header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--ink);
    border-bottom: 4px solid var(--yellow);
}
/* Phones: wordmark + CTA/hamburger on the first row; nav links live in the drawer. */
.header-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding-top: 16px; padding-bottom: 16px; }
.brand { grid-column: 1; grid-row: 1; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { height: 26px; width: auto; flex-shrink: 0; }
.brand-text { font-family: var(--font-display); text-transform: uppercase; font-size: .74rem; line-height: 1; color: #fff; white-space: nowrap; }
.header-cta { font-size: .82rem; padding: 8px 14px; }
.header-actions { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 8px; }
.site-nav { display: none; font-weight: 600; font-size: .9rem; }
.site-nav a { color: #fff; text-decoration: none; padding: 4px 0; }
.site-nav a:hover { color: var(--yellow); }

/* Hamburger + full-screen menu — phones only, native <details> disclosure; nav.js closes it
   after a link is tapped or Escape is pressed. The wordmark and the toggle sit above the overlay. */
.nav-drawer { display: flex; align-items: center; }
.nav-drawer-toggle { position: relative; z-index: 70; list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 8px 2px; }
.nav-drawer-toggle::-webkit-details-marker { display: none; }
.nav-drawer-toggle span { display: block; width: 22px; height: 3px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.nav-drawer[open] .nav-drawer-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-drawer[open] .nav-drawer-toggle span:nth-child(2) { opacity: 0; }
.nav-drawer[open] .nav-drawer-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.site-header:has(.nav-drawer[open]) .header-cta { visibility: hidden; }
.site-header:has(.nav-drawer[open]) .brand { position: relative; z-index: 70; }
.nav-drawer-menu {
    position: fixed; inset: 0; z-index: 60; overflow-y: auto;
    display: flex; flex-direction: column;
    background: var(--ink); padding: 96px 24px 32px;
    animation: nav-drawer-in .22s ease-out;
}
.nav-drawer-menu a:not(.btn) { color: #fff; text-decoration: none; padding: 16px 0; font-family: var(--font-display); font-size: 1.6rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.nav-drawer-menu a:not(.btn):hover { color: var(--yellow); }
.nav-drawer-menu .btn { margin-top: 32px; align-self: flex-start; }
html:has(.nav-drawer[open]) { overflow: hidden; }
html:has(.nav-drawer[open]) .cookie-bar { display: none; }
@keyframes nav-drawer-in { from { transform: translateX(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav-drawer-menu { animation: none; } }

@media (min-width: 640px) {
    .header-inner { display: flex; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; }
    .brand img { height: 46px; }
    .brand-text { font-size: 1.5rem; }
    .header-cta { font-size: 1rem; padding: 9px 16px; }
    .header-actions { margin-left: auto; }
}
/* Wide enough for the links, the wordmark and the CTA on one row. */
@media (min-width: 900px) {
    .site-nav { display: flex; margin-left: auto; font-size: 1.05rem; gap: 4px 28px; }
    .header-actions { margin-left: 0; }
    .nav-drawer { display: none; }
}

/* -------------------------------------------------------------- hero */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 48px; align-items: center; }
.hero .eyebrow { text-align: left; }
/* The hero PNG has a white background; multiply lets the hero's grey show through it. */
.hero-art img { width: min(380px, 85%); height: auto; margin: 0 auto; mix-blend-mode: multiply; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 28px; }
@media (min-width: 860px) {
    .hero-inner { grid-template-columns: 1.15fr .85fr; padding-top: 72px; padding-bottom: 80px; }
    .hero-art img { width: 100%; max-width: 460px; }
}

/* ---------------------------------------------------------- sections */
.section { padding: 56px 0; }
.section-plain { background: var(--bg); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-intro { color: #c9c9c9; }
.section-yellow { background: var(--yellow); }
.section-yellow .lead { color: var(--ink); }
@media (min-width: 860px) { .section { padding: 84px 0; } }

/* -------------------------------------------------------- how steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.steps li { position: relative; padding-left: 68px; }
.step-num {
    position: absolute; left: 0; top: 0;
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--yellow); color: var(--ink);
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: 1.8rem; line-height: 1;
}
.steps h3 { margin: 4px 0 4px; }
.steps p { margin: 0; color: #d0d0d0; }
@media (min-width: 860px) {
    .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
    .steps li { padding: 68px 0 0; }
}

/* ------------------------------------------------------------- cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.card { border: var(--border); border-radius: var(--radius); padding: 22px; background: #fff; box-shadow: 0 5px 0 var(--yellow); }
.card h3 { font-size: 1.4rem; margin-bottom: .3em; }
.card p { margin: 0; color: var(--grey-text); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
/* Four cards: 2x2 until there is room for one row, never 3 + 1. */
@media (min-width: 960px) { .cards.cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cards.cards-4 { grid-template-columns: repeat(4, 1fr); } }

/* -------------------------------------------------------- city list */
.city-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.city-list li {
    font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem;
    background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 20px;
}
.city-list li span {
    font-family: var(--font-label); font-weight: 300; font-size: .7rem; letter-spacing: .2em;
    color: var(--yellow); margin-left: 10px; vertical-align: middle;
}

/* -------------------------------------------------------------- form */
.form-wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .form-wrap { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } }

.eoi-form { border: var(--border); border-radius: var(--radius); padding: 22px; background: #fff; box-shadow: 0 6px 0 var(--ink); }
@media (min-width: 640px) { .eoi-form { padding: 32px; } }
.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label:not(.check) { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--grey-text); }

.eoi-form input[type="text"], .eoi-form input[type="email"], .eoi-form input[type="tel"],
.eoi-form input[type="date"], .eoi-form textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    background: #fff;
    border: 2px solid #b9b9b3;
    border-radius: 10px;
    padding: 12px 14px;
    min-height: 48px;
}
.eoi-form textarea { resize: vertical; min-height: 110px; }
.eoi-form input:focus, .eoi-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.eoi-form [aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); }

.field-error { color: var(--danger); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.form-alert { background: var(--danger-bg); color: var(--danger); border: 2px solid var(--danger); border-radius: 10px; padding: 12px 14px; margin-bottom: 20px; font-weight: 600; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; line-height: 1.5; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--ink); }
.field-consent { margin: 8px 0 22px; }

.form-note { color: var(--grey-text); font-size: .88rem; margin: 14px 0 0; }
.eoi-form .btn { width: 100%; }
@media (min-width: 640px) { .eoi-form .btn { width: auto; } }

/* Honeypot: off-screen (not display:none, which some bots detect). */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------- FAQ */
.faq details { border-bottom: 2px solid var(--line); padding: 4px 0; }
.faq summary {
    cursor: pointer; font-weight: 700; font-size: 1.1rem; padding: 14px 32px 14px 0;
    list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    font-family: var(--font-display); font-size: 1.8rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--grey-text); }

/* ------------------------------------------------- thanks / 404 / legal */
.tick {
    width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%;
    background: var(--yellow); border: var(--border); display: grid; place-items: center;
    font-size: 2.6rem; font-weight: 900;
}
.page-404 .section, .page-thanks .section { padding: 80px 0; }

.legal h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
.legal h2 { font-size: 1.7rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.25rem; margin-top: 1.4em; }
.legal p, .legal li { color: #333; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal table { width: 100%; border-collapse: collapse; min-width: 420px; }
.legal th, .legal td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.legal th { font-family: var(--font-label); font-weight: 700; background: var(--bg-soft); }

/* ------------------------------------------------------------ articles */
.eyebrow { text-align: center; }
.articles-index .lead { margin-left: auto; margin-right: auto; margin-bottom: 40px; }

.article-cards { margin-top: 8px; }
.article-card { padding: 0; overflow: hidden; box-shadow: 0 5px 0 var(--yellow); }
.article-card-link { display: block; color: inherit; text-decoration: none; }
.article-card-link:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; }
.article-card-body { padding: 18px; }
.article-card-body h3 { margin: 0 0 .4em; font-size: 1.25rem; }
.article-card-body p { margin: 0; color: var(--grey-text); }

.article-back { margin-bottom: 18px; }
.article-back a { font-weight: 700; text-decoration: none; }
.article-back a:hover { text-decoration: underline; }

.article h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); margin-bottom: .6em; }

.article-body { color: #262626; }
.article-body > p:first-child { font-size: 1.15rem; color: var(--grey-text); }
.article-body h2 { font-size: 1.7rem; text-transform: none; margin-top: 2em; }
.article-body h3 { font-size: 1.25rem; text-transform: none; margin-top: 1.6em; }
.article-body p { margin: 0 0 1.1em; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.article-body li { margin-bottom: .45em; }
.article-body li > ul, .article-body li > ol { margin-top: .45em; }
.article-body strong { color: var(--ink); }

.article-related { border-top: 1px solid var(--line); }
.article-related h2 { text-align: center; margin-bottom: 28px; }

/* Gray placeholder used wherever a real photo hasn't been added yet
   (app/lib/markdown.php swaps this out automatically once a matching
   file exists at /assets/img/articles/<slug>/<filename>). */
.img-placeholder {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    border: 2px dashed #b9b9b3;
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 16px;
    margin: 1.6em 0;
    color: var(--grey-text);
}
.img-placeholder-icon { font-size: 1.8rem; opacity: .5; }
.img-placeholder-caption { font-size: .9rem; max-width: 34em; }
.img-hero.img-placeholder { aspect-ratio: 16 / 8; margin-top: 4px; }
img.img-hero, img.img-inline { border-radius: var(--radius); margin: 1.6em 0; width: 100%; }
img.img-hero { margin-top: 4px; }
.article-card-thumb.img-placeholder { aspect-ratio: 16 / 10; margin: 0; border-radius: 0; border-width: 0 0 3px; }
img.article-card-thumb { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; display: block; }

/* -------------------------------------------------------------- packs */
.pack-cards { margin-top: 8px; }
.pack-card { position: relative; padding: 0; overflow: hidden; }
.pack-card-ribbon {
    position: absolute; top: 30px; right: -50px; z-index: 1; width: 200px; transform: rotate(45deg);
    padding: 6px 0; text-align: center; background: var(--yellow); color: var(--ink);
    border-block: 2px solid var(--ink); box-shadow: 0 3px 6px rgba(0, 0, 0, .25);
    font-family: var(--font-display); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; pointer-events: none;
}
.pack-card-thumb.img-placeholder { aspect-ratio: 4 / 5; margin: 0; border-radius: 0; border-width: 0 0 3px; }
img.pack-card-thumb { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; display: block; }
.pack-card-body { padding: 18px; }
.pack-card-body h3 { margin: 0 0 .3em; font-size: 1.25rem; }
.pack-card-composition { margin: 0 0 14px; color: var(--grey-text); }
.pack-card-price { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.pack-card-price span { color: var(--grey-text); }
.pack-card-price strong { font-family: var(--font-display); font-size: 1.4rem; margin-left: 4px; }

/* The full price list, as the last card in the pack grid (stretches to the row's height). */
.pack-table-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.pack-table-title { margin: 0; padding: 14px 18px; background: var(--ink); color: #fff; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; border-top: 8px solid var(--yellow); }
.pack-table { flex: 1; width: 100%; border-collapse: collapse; }
.pack-table th, .pack-table td { padding: 10px 4px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: middle; }
.pack-table tr > :first-child { text-align: left; padding-left: 14px; }
.pack-table tr > :last-child { padding-right: 14px; }
.pack-table tbody tr:last-child > * { border-bottom: 0; }
.pack-table thead th { font-family: var(--font-label); font-weight: 700; font-size: .7rem; letter-spacing: .03em; text-transform: uppercase; color: var(--grey-text); line-height: 1.2; }
.pack-table tbody th { font-weight: 700; font-size: 1rem; }
.pack-table td { font-family: var(--font-display); font-size: 1rem; white-space: nowrap; }
.pack-table .is-featured { background: #fbf3b8; }
@media (min-width: 640px) { .pack-table-card.span-md-2 { grid-column: span 2; } }
@media (min-width: 960px) {
    .pack-table-card.span-md-2 { grid-column: auto; }
    .pack-table-card.span-lg-2 { grid-column: span 2; }
    .pack-table-card.span-lg-3 { grid-column: span 3; }
}
/* Roomier once the table is wider than a single card. */
@media (min-width: 640px) {
    .pack-table-card:is(.span-md-2, .span-lg-2, .span-lg-3) .pack-table th,
    .pack-table-card:is(.span-md-2, .span-lg-2, .span-lg-3) .pack-table td { padding: 12px 14px; }
    .pack-table-card:is(.span-md-2, .span-lg-2, .span-lg-3) .pack-table tr > :first-child { padding-left: 22px; }
    .pack-table-card:is(.span-md-2, .span-lg-2, .span-lg-3) .pack-table tr > :last-child { padding-right: 22px; }
    .pack-table-card:is(.span-md-2, .span-lg-2, .span-lg-3) .pack-table thead th { font-size: .8rem; letter-spacing: .06em; white-space: nowrap; }
    .pack-table-card:is(.span-md-2, .span-lg-2, .span-lg-3) .pack-table td,
    .pack-table-card:is(.span-md-2, .span-lg-2, .span-lg-3) .pack-table tbody th { font-size: 1.3rem; }
    .pack-table-card:is(.span-md-2, .span-lg-2, .span-lg-3) .pack-table-title { padding: 16px 22px; }
}

.table-wrap { overflow-x: auto; margin: 1.6em 0; }
.article-body table { width: 100%; border-collapse: collapse; min-width: 420px; }
.article-body th, .article-body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.article-body th { font-family: var(--font-label); font-weight: 700; background: var(--bg-soft); white-space: nowrap; }

/* ---------------------------------------------------- pack card: book */
.pack-card-book { margin: 14px 0 0; }
.pack-card-book .btn { width: 100%; }

/* ------------------------------------------------------ booking (/book) */
.page-book h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); }
.form-notice { background: var(--bg-soft); border: 2px solid var(--ink); border-radius: 10px; padding: 12px 14px; margin-bottom: 20px; font-weight: 600; }
.book-form { padding: 0; border: 0; box-shadow: none; background: none; }
@media (min-width: 640px) { .book-form { padding: 0; } }
.book-layout { display: grid; gap: 24px; }
@media (min-width: 960px) {
    .book-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
    .book-summary { position: sticky; top: 110px; }   /* clears the sticky site header (~90px on desktop) */
}
.book-step { border: var(--border); border-radius: var(--radius); padding: 20px; margin: 0 0 20px; background: #fff; min-width: 0; }
@media (min-width: 640px) { .book-step { padding: 26px 28px; } }
.book-step legend { font-family: var(--font-display); text-transform: uppercase; font-size: 1.25rem; padding: 0 8px; margin-left: -8px; display: flex; align-items: center; gap: 10px; }
.book-step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); font-size: .95rem; }
.book-step-intro { margin: 0 0 14px; }
.book-step h3 { font-size: 1.1rem; margin: 6px 0 12px; }
.book-form select {
    width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #b9b9b3;
    border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.book-form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.book-form .field:last-child { margin-bottom: 0; }
/* "Collect from this address too" ticked: no collection fields (works without JS too). */
.book-form:has(#f-same:checked) .pickup-fields { display: none; }

/* calendar */
.cal { max-width: 420px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { margin: 0; font-weight: 700; font-size: 1.1rem; }
.cal-nav { font: inherit; font-size: 1.6rem; line-height: 1; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; cursor: pointer; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.cal-grid th { font-family: var(--font-label); font-size: .8rem; color: var(--grey-text); padding: 4px 0; }
.cal-grid td { padding: 0; }
.cal-day {
    width: 100%; aspect-ratio: 1; min-height: 40px; font: inherit; font-weight: 700; border-radius: 10px;
    border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer;
}
.cal-day:hover:not(:disabled) { background: var(--bg-soft); }
.cal-day:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--yellow); }
.cal-day.is-selected { background: var(--yellow); }
.cal-day:disabled { border-color: transparent; background: none; color: #b9b9b3; font-weight: 400; text-decoration: line-through; cursor: default; }

/* hire period */
.period-options { display: grid; gap: 10px; }
@media (min-width: 640px) { .period-options { grid-template-columns: 1fr 1fr; } }
.period-option {
    display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: center;
    border: 2px solid #b9b9b3; border-radius: 10px; padding: 12px 14px; cursor: pointer;
}
.period-option input { width: 22px; height: 22px; accent-color: var(--ink); grid-row: span 2; }
.period-option:has(input:checked) { border-color: var(--ink); background: var(--bg-soft); box-shadow: 0 0 0 3px var(--yellow); }
.period-name { font-weight: 700; }
.period-price { font-family: var(--font-display); font-size: 1.15rem; text-align: right; }
.period-pickup { grid-column: 2 / -1; color: var(--grey-text); font-size: .88rem; }
.period-option.is-unavailable { opacity: .5; cursor: default; }
.period-option[hidden] { display: none; }

/* summary */
.book-summary { border: var(--border); border-radius: var(--radius); padding: 22px; background: #fff; box-shadow: 0 6px 0 var(--ink); }
.book-summary h2 { font-size: 1.5rem; margin: 0 0 12px; }
.summary-list { margin: 0 0 12px; }
.summary-list div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary-list dt { color: var(--grey-text); }
.summary-list dd { margin: 0; font-weight: 700; text-align: right; }
.summary-total { border-bottom: 0 !important; font-size: 1.15rem; }
.summary-total dd { font-family: var(--font-display); font-size: 1.4rem; }
.book-summary .btn { width: 100%; margin-top: 8px; }
.book-summary .btn[hidden] { display: none; }

/* confirmation (/booking-confirmed) */
.confirm-ref { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .04em; }
.confirm-details { text-align: left; margin: 28px auto 0; max-width: 520px; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: #d6d6d6; padding: 36px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer p { margin: 0 0 6px; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; color: #fff; letter-spacing: .02em; }
.footer-sub { font-family: var(--font-label); font-weight: 300; text-transform: uppercase; letter-spacing: .25em; font-size: .8rem; color: var(--grey); }
.footer-tagline { color: var(--yellow); font-weight: 700; margin-top: 10px; }
.footer-social a { display: inline-block; margin: 0 18px 8px 0; }
.footer-links { display: flex; flex-direction: column; }
.footer-links a { margin-bottom: 8px; }
.footer-copy { font-size: .85rem; color: var(--grey); }
@media (min-width: 760px) {
    .footer-inner { grid-template-columns: repeat(3, 1fr); }
    .footer-copy { grid-column: 1 / -1; border-top: 1px solid #3a3a3a; padding-top: 18px; }
}

/* promo code (booking summary) */
.promo-field { margin: 4px 0 8px; }
.promo-field label { font-size: .9rem; }
.promo-row { display: flex; gap: 8px; align-items: stretch; }
.promo-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.book-summary .promo-row .btn { width: auto; margin-top: 0; }
.promo-ok { color: #1e6b34; font-weight: 600; margin-top: 6px; }
#sum-discount-row dd { color: #1e6b34; }
.summary-list div[hidden] { display: none; }

/* -------------------------------------------------- cookie notice */
.cookie-bar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
    max-width: 760px; margin: 0 auto; padding: 14px 18px;
    background: var(--ink); color: #fff; border: 2px solid var(--yellow); border-radius: var(--radius);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25); font-size: .95rem;
}
.cookie-bar p { margin: 0; flex: 1 1 260px; }
.cookie-bar a { color: var(--yellow); }
.cookie-bar .btn { box-shadow: 0 3px 0 var(--yellow-deep); }

/* -------------------------------------- partners (/partners) + portal */
.eoi-form select {
    width: 100%; font: inherit; color: var(--ink); background: #fff;
    border: 2px solid #b9b9b3; border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.eoi-form select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.eoi-form h3 { margin-top: 0; }

.portal-signin { max-width: 560px; }
.portal-signin .eoi-form { margin: 24px 0; }
.portal-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.portal-head h1 { margin: 0; }
.portal-head form { margin: 0; }
.btn-ghost { background: #fff; }

.portal-link {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 0 0 40px; padding: 22px;
    border: var(--border); border-radius: var(--radius); box-shadow: 0 6px 0 var(--ink); background: #fff;
}
@media (min-width: 760px) { .portal-link { grid-template-columns: minmax(0, 1fr) 220px; padding: 28px; } }
.portal-link h2 { margin-top: 0; }
.copy-row { display: flex; gap: 8px; margin-bottom: 14px; }
.copy-row input {
    flex: 1; min-width: 0; font: inherit; font-weight: 700; color: var(--ink); background: var(--bg-soft);
    border: 2px solid #b9b9b3; border-radius: 10px; padding: 10px 12px;
}
.portal-qr { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qr-box { width: 200px; max-width: 100%; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; }
.qr-box svg { display: block; width: 100%; height: auto; }

.portal-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 12px; }
.portal-tile { border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.portal-tile strong { display: block; font-family: var(--font-display); font-size: 1.8rem; line-height: 1.1; }
.portal-tile span { display: block; color: var(--grey-text); font-size: .88rem; }
.portal-tile.is-money { border-color: var(--ink); background: var(--yellow); }
.portal-tile.is-money span { color: var(--ink); }
.portal h3 { margin-top: 2em; }

.portal-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.portal-table th, .portal-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.portal-table th { font-family: var(--font-label); font-weight: 700; background: var(--bg-soft); white-space: nowrap; }
.portal-table tr.is-cancelled td { color: var(--grey-text); text-decoration: line-through; }
.portal-table tr.is-cancelled td:last-child { text-decoration: none; }
.portal .table-wrap { margin: 12px 0; }
.status { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 2px 10px; border-radius: 999px; }
.status-pending { background: var(--yellow); }
.status-owed { background: #d9ecff; color: #14508f; }
.status-paid { background: #e6f4ea; color: #1e6b34; }
.status-cancelled { background: #e6e6e1; color: #555; }
.portal-details { display: grid; grid-template-columns: 120px 1fr; gap: 6px 16px; margin: 0 0 16px; }
.portal-details dt { color: var(--grey-text); font-weight: 700; }
.portal-details dd { margin: 0; overflow-wrap: anywhere; }

/* --------------------------------------------- manage booking (/manage/<token>) */
.manage .eyebrow { text-align: left; }
.manage h1 { font-size: clamp(2rem, 7vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.manage h1 .status { font-family: var(--font-body); font-size: .85rem; }
.manage h2 { font-size: 1.6rem; margin: 1.6em 0 .6em; }
.manage-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .manage-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; } }
.manage-summary { border: var(--border); border-radius: var(--radius); padding: 8px 20px; background: #fff; box-shadow: 0 6px 0 var(--ink); }
.manage-summary div:last-child { border-bottom: 0; }
.manage-summary dd span { display: block; font-weight: 400; color: var(--grey-text); font-size: .92rem; }
.manage-action { border: var(--border); border-radius: var(--radius); background: #fff; margin: 0 0 14px; }
.manage-action > summary {
    cursor: pointer; list-style: none; padding: 16px 20px; font-family: var(--font-display); text-transform: uppercase; font-size: 1.1rem;
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
}
.manage-action > summary::-webkit-details-marker { display: none; }
.manage-action > summary::after { content: "+"; font-size: 1.5rem; line-height: 1; margin-left: auto; }
.manage-action[open] > summary::after { content: "\2212"; }
.manage-action > summary span { font-family: var(--font-body); text-transform: none; font-size: .9rem; color: var(--grey-text); }
.manage-action[open] > summary { border-bottom: 1px solid var(--line); }
.manage-action-body { padding: 16px 20px 20px; }
.manage-action-body > p:first-child { margin-top: 0; }
.manage-cancel > summary { color: var(--danger); }
.manage-form .btn { margin-top: 12px; }
.manage-form .btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: 0 4px 0 var(--ink); }
.manage-plain-form { padding: 0; border: 0; box-shadow: none; }
.manage-choice { font-weight: 700; margin: 10px 0 0; min-height: 1.5em; }
.manage-choice span { display: block; font-weight: 400; color: var(--grey-text); }
.manage-weeks { margin-bottom: 14px; }
.cal-day.is-current { box-shadow: inset 0 -4px 0 var(--grey); }
.btn-danger { background: var(--danger); color: #fff; }
.manage-history { padding-left: 1.2em; }
.manage-history li { margin-bottom: .5em; }
.manage-aside { border: 2px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--bg-soft); }
.manage-aside h2 { font-size: 1.3rem; margin-top: 0; }
.manage-aside ul { padding-left: 1.2em; margin: 0 0 14px; }
.manage-aside li { margin-bottom: .5em; }
.status-booked, .status-requested { background: var(--yellow); }
.status-delivered, .status-applied, .status-approved { background: #e6f4ea; color: #1e6b34; }
.status-returned, .status-closed, .status-declined { background: #e6e6e1; color: #555; }

/* ---------------------------------------------------------------- Your totes (/my-totes) */
.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; }
.mytotes .eyebrow { text-align: left; }
.mytotes h1 { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: .2em; }
.mytotes h2 { font-size: 1.4rem; margin: 1.4em 0 .5em; }
.mytotes-of { color: var(--grey-text); font-size: .55em; }
.mytotes-tote-meta { margin: 0 0 18px; color: var(--grey-text); }
.mytotes-code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; }
.mytotes-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--ink); vertical-align: -2px; margin-right: 6px; }
.mytotes-switch { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 0 0 20px; }
.mytotes-switch .btn { padding: 9px 14px; }
.mytotes-switch .is-disabled { opacity: .35; box-shadow: none; transform: none; cursor: default; }
.mytotes-jump { display: flex; gap: 8px; min-width: 0; }
.mytotes-jump select { width: 100%; min-width: 0; font: inherit; font-weight: 700; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 10px; background: #fff; }
.mytotes-form textarea { min-height: 220px; }
.mytotes-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mytotes-actions .btn { width: 100%; }
@media (min-width: 640px) { .mytotes-actions .btn { width: auto; } }
.mytotes-updated { margin: 12px 0 0; font-size: .9rem; }
.mytotes-form { margin-bottom: 24px; }
.mytotes-search input { width: 100%; font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; }
.mytotes-search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.mytotes-search .muted { margin: 8px 0 0; }
.mytotes-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.mytotes-list a { display: block; border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; background: #fff; color: inherit; text-decoration: none; }
.mytotes-list a:hover { background: var(--bg-soft); }
.mytotes-list li[hidden] { display: none; }
.mytotes-card-head { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.mytotes-room { margin-left: auto; font-weight: 700; }
.mytotes-items { display: block; margin-top: 4px; color: var(--grey-text); font-size: .95rem; }
.mytotes-help { border: 2px solid var(--line); border-radius: var(--radius); padding: 4px 20px 16px; background: var(--bg-soft); margin-top: 28px; }
.mytotes-signin { margin: 20px 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.inline-form { margin: 0; }

/* ------------------------------------------------- partner program (/partners) */
@media (min-width: 860px) { .steps.steps-3 { grid-template-columns: repeat(3, 1fr); } }
.partner-hero { display: grid; gap: 8px 64px; align-items: center; }
.partner-hero .eyebrow { text-align: left; }
@media (min-width: 960px) {
    .partner-hero { grid-template-columns: 1.2fr 1fr; }
    .partner-hero .offer-tiles { grid-template-columns: 1fr; margin: 0; }
}
.offer-tiles { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 640px) { .offer-tiles { grid-template-columns: 1fr 1fr; } }
.offer-tile { display: flex; flex-direction: column; gap: 2px; border: var(--border); border-radius: var(--radius); padding: 20px 22px; background: #fff; box-shadow: 0 5px 0 var(--yellow); }
.offer-num { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; }
.offer-label { font-family: var(--font-label); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grey-text); margin-top: 6px; }
.offer-tile strong { font-size: 1.15rem; }
.offer-tile span:last-child { color: var(--grey-text); }
.partner-prices { grid-template-columns: 1fr; }
.partner-prices .pack-table-card { grid-column: 1 / -1; }

/* ------------------------------------------------- suburb pages (/vic/beaconsfield, public/suburb.php) */
.suburb-hero-inner { display: grid; gap: 32px; padding-top: 28px; padding-bottom: 48px; align-items: start; }
@media (min-width: 960px) { .suburb-hero-inner { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 40px; padding-bottom: 72px; } }
.suburb-hero h1 { margin: 0 0 .3em; }
.crumbs { font-size: .9rem; color: var(--grey-text); margin: 0 0 22px; }
.crumbs span[aria-hidden] { margin: 0 6px; color: var(--grey); }
.suburb-served { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; margin: 4px 0 0; }
.suburb-served-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.move-choice { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 560px) { .move-choice { grid-template-columns: 1fr 1fr; } }
.move-option {
    display: flex; flex-direction: column; gap: 4px; padding: 18px 20px;
    border: var(--border); border-radius: var(--radius); background: var(--yellow);
    color: var(--ink); text-decoration: none; box-shadow: 0 5px 0 var(--ink);
    transition: transform .08s ease, box-shadow .08s ease;
}
.move-option + .move-option { background: #fff; }
.move-option:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); text-decoration: none; }
.move-option-label { font-family: var(--font-label); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.move-option strong { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.1; text-transform: uppercase; }
.move-option strong::after { content: " \2192"; }
.move-option-note { font-size: .95rem; color: #3a3a3a; }
.suburb-hint { color: var(--grey-text); font-size: .95rem; margin: 14px 0 0; }
.suburb-map { height: 460px; }
@media (min-width: 960px) { .suburb-map { height: 560px; } }
.pin-swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--ink); vertical-align: -1px; }
.pin-schools { background: var(--ink); border-color: #fff; box-shadow: 0 0 0 1px var(--ink); }
.pin-shopping { background: #fff; }
.pin-outdoors { background: #5f8a4a; border-color: #fff; box-shadow: 0 0 0 1px var(--ink); }
.pin-transport { background: var(--yellow-deep); }
.pin-health { background: var(--danger); border-color: #fff; box-shadow: 0 0 0 1px var(--ink); }

.glance-stats { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .glance-stats { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.glance-stats li { display: flex; flex-direction: column; gap: 6px; border: 2px solid #3a3a3a; border-radius: var(--radius); padding: 18px 20px; }
.glance-stats strong { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; color: var(--yellow); }
.glance-stats span { color: #d0d0d0; }
.big-homes { display: grid; gap: 18px; align-items: center; margin-top: 24px; padding: 24px; border-radius: var(--radius); background: var(--yellow); color: var(--ink); }
@media (min-width: 760px) { .big-homes { grid-template-columns: 1fr auto; padding: 28px 32px; } }
.big-homes p { margin: 0; }
.big-homes-headline { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.1; margin-bottom: 8px !important; }
.big-homes .btn { background: #fff; }
.glance-source { margin: 20px 0 0; font-size: .9rem; color: #a8a8a8; }
.glance-source a { color: #d0d0d0; }

.suburb-about { max-width: 46em; margin-bottom: 40px; }
.suburb-about p { color: #3a3a3a; }
.place-groups { display: grid; gap: 20px; }
@media (min-width: 760px) { .place-groups { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.place-group h3 { display: flex; align-items: center; gap: 10px; }
.place-list { list-style: none; margin: 0; padding: 0; }
.place-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.place-list li span:last-child { display: block; color: var(--grey-text); font-size: .95rem; }
.tag-nearby { font-family: var(--font-label); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; vertical-align: 2px; }

.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.tips li { position: relative; padding-left: 68px; }
.tips .step-num { background: var(--ink); color: var(--yellow); }
.tips h3 { margin: 4px 0 4px; }
.tips p { margin: 0; }
@media (min-width: 860px) { .tips { grid-template-columns: repeat(3, 1fr); gap: 36px; } .tips li { padding: 68px 0 0; } }

.btn-dark { background: var(--ink); color: #fff; }
.suburb-cta h2 { margin-top: 0; }
.suburb-cta .btn:not(.btn-dark) { background: #fff; }
.suburb-nearby { margin: 28px 0 0; font-size: 1.05rem; }

/* /areas (public/areas.php) and the suburb links under the home page map */
.area-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-decoration: none; }
.area-list a:hover strong { text-decoration: underline; }
.area-list a span { color: var(--grey-text); font-size: .95rem; }
@media (min-width: 1100px) { .area-groups { grid-template-columns: repeat(3, 1fr); } }
.suburb-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.suburb-chips-label { font-weight: 700; margin-right: 4px; }
.suburb-chips a { display: inline-block; padding: 6px 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; text-decoration: none; font-size: .95rem; }
.suburb-chips a:hover { background: var(--yellow); }
.suburb-chips .suburb-chips-all { border-color: transparent; background: none; font-weight: 700; text-decoration: underline; padding-left: 4px; }
.leaflet-popup-content .area-popup-links { margin: 6px 0 0; padding: 0; list-style: none; }
.leaflet-popup-content .area-popup-links li + li { margin-top: 4px; }
.leaflet-popup-content .area-popup-links a { color: var(--ink); font-weight: 700; }
