@charset "utf-8";
/* ==========================================================================
   HistoricHotelTrail.com — site.css
   Mobile-first, responsive by default, desktop optimized.
   Design tokens follow project-assets/brand-kit/08_developer/brand-tokens.css.
   No framework, no build step. Plain CSS served straight from Apache.
   ========================================================================== */

@import url("/assets/fonts/fonts.css");

/* --------------------------------------------------------------- 1. tokens */

:root {
    /* brand palette — single source of colour truth */
    --ivory: #f7f2e7;
    --navy: #1f3145;
    --navy-deep: #152536;
    --oxblood: #7a2e2e;
    --brass: #b08d57;
    --stone: #d7d1c7;
    --sage: #8a9b8c;
    --ink: #172433;
    --white: #fff;

    /* derived surfaces */
    --surface: #fffdf8;
    --surface-sunk: #f1ebdd;
    --rule: rgba(31, 49, 69, .14);
    --brass-soft: rgba(176, 141, 87, .38);

    /* text — brass and sage never carry body copy (contrast 2.8:1 / 2.6:1) */
    --text: var(--ink);
    --text-muted: #4d5c6d;
    --text-on-navy: #f2ede1;
    --text-on-navy-muted: #b9c3ce;

    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* 8px vertical rhythm */
    --s1: .5rem;
    --s2: 1rem;
    --s3: 1.5rem;
    --s4: 2rem;
    --s5: 3rem;
    --s6: 4rem;
    --s7: 6rem;
    --s8: 8rem;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-card: 0 8px 24px rgba(31, 49, 69, .10);
    --shadow-elevated: 0 16px 40px rgba(31, 49, 69, .16);

    --container: 80rem;      /* 1280px */
    --gutter: 1.125rem;      /* 18px on mobile */
    --prose: 42rem;          /* ~672px editorial column */

    --header-h: 4rem;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 48rem) {
    :root {
        --gutter: 1.75rem;
        --header-h: 5rem;
    }
}

@media (min-width: 64rem) {
    :root { --gutter: 2.5rem; }
}

/* ----------------------------------------------------------- 2. base reset */

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

html {
    background: var(--ivory);
    color: var(--text);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    /* Long place and hotel names must never punch through a card. */
    overflow-wrap: break-word;
    word-break: normal;
}

@media (min-width: 48rem) {
    body { font-size: 1.125rem; }
}

img,
svg,
picture,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--navy);
    letter-spacing: -.015em;
    margin: 0 0 var(--s2);
    text-wrap: balance;
}

/* Type scale from the brand kit (08_developer/brand-tokens.css and the
   huisstijl): H1 52→88px, H2 36→60px, H3 27→38px. Verified not to overflow
   at 320px. */
h1 { font-size: clamp(3.25rem, 7vw, 5.5rem); line-height: 1; font-weight: 600; }
h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); line-height: 1.08; font-weight: 600; }
h3 { font-size: clamp(1.7rem, 2.5vw, 2.375rem); line-height: 1.15; font-weight: 600; }
h4 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.25; font-weight: 600; }

p, ul, ol, dl, table, figure { margin: 0 0 var(--s2); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--oxblood); }

strong { font-weight: 600; }
small { font-size: .875rem; }

hr {
    border: 0;
    border-top: 1px solid var(--rule);
    margin: var(--s4) 0;
}

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

::selection { background: var(--brass); color: var(--white); }

/* ------------------------------------------------------------ 3. utilities */

.container {
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin-inline: auto;
}

.container--prose { width: min(100% - (var(--gutter) * 2), var(--prose)); }

.skip-link {
    position: absolute;
    left: var(--s2);
    top: -100vh;
    z-index: 200;
    background: var(--navy);
    color: var(--white);
    padding: var(--s2) var(--s3);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus { top: var(--s2); color: var(--white); }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0; border: 0;
    clip-path: inset(50%);
    overflow: hidden; white-space: nowrap;
}

.section { padding-block: var(--s5); }
.section--tight { padding-block: var(--s4); }
.section--sunk { background: var(--surface-sunk); }
.section--navy { background: var(--navy); color: var(--text-on-navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }

@media (min-width: 48rem) {
    .section { padding-block: var(--s6); }
    .section--tight { padding-block: var(--s5); }
}

.stack > * + * { margin-top: var(--s2); }
.lede { font-size: 1.0625rem; color: var(--text-muted); }

@media (min-width: 48rem) {
    .lede { font-size: 1.25rem; }
}

/* ------------------------------------------- 4. section heading + ornament */

.section-head {
    display: flex;
    flex-direction: column;
    gap: var(--s1);
    margin-bottom: var(--s3);
}

.section-head__top {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s2);
}

.eyebrow {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--oxblood);
    margin: 0 0 var(--s1);
}

.eyebrow--brass { color: #7d6231; }   /* darkened brass: readable as text */

/* Centred rule-and-eyebrow used between major homepage bands. It is a real
   <h2>, so the type styling has to override the display-serif heading defaults. */
.band-title {
    display: flex;
    align-items: center;
    gap: var(--s2);
    margin: 0 0 var(--s3);
    color: #7d6231;
    font-family: var(--font-body);
    font-size: .75rem;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-align: center;
}

.band-title::before,
.band-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--brass-soft);
}

/* Standalone link, not inline in a sentence, so it needs a real target box
   (WCAG 2.2 target size minimum). */
.section-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: .5rem;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* --------------------------------------------------------------- 5. buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 46px;
    padding: .625rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font: inherit;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s var(--ease), color .18s var(--ease),
                border-color .18s var(--ease);
}

/* The global `svg { height: auto }` reset lets an icon expand to the flex line,
   which turned every button with a trailing arrow into a slab. Pin it to the
   label's own size and keep it out of the flex negotiation. */
.btn svg {
    width: 1em;
    height: 1em;
    flex: none;
}

.btn--primary { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }

.btn--secondary { background: var(--oxblood); border-color: var(--oxblood); color: var(--white); }
.btn--secondary:hover { background: #632525; color: var(--white); }

.btn--tertiary { background: transparent; border-color: var(--brass); color: var(--navy); }
.btn--tertiary:hover { background: rgba(176, 141, 87, .14); color: var(--navy); }

/* Sits on photography. The scrim is dark rather than light so the white label
   keeps its contrast whatever the image behind it happens to be doing. */
.btn--ghost-light { background: rgba(21, 33, 48, .72); border-color: rgba(255, 255, 255, .6); color: var(--white); }
.btn--ghost-light:hover { background: rgba(21, 33, 48, .9); border-color: var(--white); color: var(--white); }

.btn--sm { min-height: 44px; padding: .4375rem 1rem; font-size: .75rem; }
.btn--block { width: 100%; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
}

/* Inline text link with a trailing arrow. */
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--oxblood);
}

.arrow-link svg { width: 1em; height: 1em; transition: transform .18s var(--ease); }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- 6. header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ivory);
    border-bottom: 1px solid var(--rule);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: var(--s2);
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: .625rem;
    text-decoration: none;
    margin-right: auto;
    padding-block: .5rem;
}

.brand__crest { width: 40px; height: 40px; flex: none; }
.brand__lockup { display: none; }

@media (min-width: 64rem) {
    .brand__crest { display: none; }
    .brand__lockup { display: block; width: 230px; height: auto; }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: var(--radius-sm);
    color: var(--navy);
    cursor: pointer;
    text-decoration: none;
}

.icon-btn:hover { background: rgba(31, 49, 69, .07); color: var(--navy); }
.icon-btn svg { width: 22px; height: 22px; }

.header-actions .btn { display: none; }

@media (min-width: 64rem) {
    .header-actions .btn { display: inline-flex; margin-left: var(--s1); }
}

/* primary navigation — desktop */
.nav { display: none; }

@media (min-width: 64rem) {
    .nav { display: block; }

    .nav__list {
        display: flex;
        align-items: center;
        gap: .25rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav__link {
        display: inline-flex;
        align-items: center;
        gap: .3rem;
        padding: .75rem .7rem;
        border-radius: var(--radius-sm);
        font-size: .78rem;
        font-weight: 600;
        letter-spacing: .09em;
        text-transform: uppercase;
        text-decoration: none;
        color: var(--navy);
        white-space: nowrap;
    }

    .nav__link:hover,
    .nav__item:hover > .nav__link { background: rgba(31, 49, 69, .07); color: var(--navy); }

    .nav__link[aria-current="page"] { color: var(--oxblood); }

    .nav__item { position: relative; }

    .nav__caret { width: .7em; height: .7em; opacity: .7; }

    /* Disclosure menus open on hover and on keyboard focus alike, so the
       navigation is never hover-only. */
    .nav__menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 15rem;
        margin: 0;
        padding: .5rem;
        list-style: none;
        background: var(--surface);
        border: 1px solid var(--stone);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-elevated);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-4px);
        transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
    }

    .nav__item:hover > .nav__menu,
    .nav__item:focus-within > .nav__menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav__menu a {
        display: block;
        padding: .55rem .7rem;
        border-radius: var(--radius-sm);
        font-size: .9375rem;
        text-decoration: none;
        color: var(--navy);
    }

    .nav__menu a:hover { background: var(--surface-sunk); color: var(--oxblood); }
}

/* mobile drawer */
.drawer-toggle { }

@media (min-width: 64rem) {
    .drawer-toggle { display: none; }
}

.drawer {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: none;
    background: rgba(23, 36, 51, .5);
}

.drawer[data-open="true"] { display: block; }

.drawer__panel {
    position: absolute;
    inset-block: 0;
    right: 0;
    width: min(22rem, 88vw);
    background: var(--ivory);
    padding: var(--s2) var(--s3) var(--s5);
    overflow-y: auto;
    box-shadow: var(--shadow-elevated);
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    margin-bottom: var(--s2);
}

.drawer__group + .drawer__group { margin-top: var(--s3); }

.drawer__title {
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #7d6231;
    margin: 0 0 .5rem;
}

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

.drawer__list a {
    display: block;
    padding: .7rem .25rem;
    border-bottom: 1px solid var(--rule);
    font-size: 1rem;
    text-decoration: none;
    color: var(--navy);
}

.drawer__list a:hover { color: var(--oxblood); }

@media (min-width: 64rem) {
    .drawer { display: none !important; }
}

/* -------------------------------------------------------- 7. hero sections */

.hero {
    position: relative;
    display: grid;
    isolation: isolate;
    min-height: 30rem;
    padding-block: var(--s6);
    align-content: end;
    color: var(--white);
    background: var(--navy);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    /* Keeps the headline legible over any crop of the photograph. */
    background: linear-gradient(105deg,
        rgba(21, 33, 48, .92) 0%,
        rgba(21, 33, 48, .78) 38%,
        rgba(21, 33, 48, .35) 72%,
        rgba(21, 33, 48, .22) 100%);
}

.hero__inner { max-width: 40rem; }

.hero h1 { color: var(--white); margin-bottom: var(--s2); }

.hero__accent {
    display: block;
    color: #d99a9a;
    font-style: italic;
}

.hero__lede {
    color: var(--text-on-navy);
    font-size: 1.0625rem;
    max-width: 34rem;
}

@media (min-width: 48rem) {
    .hero { min-height: 34rem; padding-block: var(--s7); }
    .hero__lede { font-size: 1.25rem; }
}

@media (min-width: 64rem) {
    .hero { min-height: 38rem; }
}

/* destination / page hero variant */
.hero--page { min-height: 22rem; padding-block: var(--s5); }

@media (min-width: 48rem) {
    .hero--page { min-height: 26rem; padding-block: var(--s6); }
}

.hero__eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #dcc79f;
    margin: 0 0 var(--s1);
}

/* Hotel detail hero. The photograph is the property's own, so the scrim is
   lighter than the homepage's — the building should still read clearly — and
   weighted to the bottom where the name sits. */
.hero--hotel {
    min-height: 20rem;
    align-content: end;
}

.hero--hotel::after {
    background: linear-gradient(to top,
        rgba(21, 33, 48, .92) 0%,
        rgba(21, 33, 48, .72) 35%,
        rgba(21, 33, 48, .34) 68%,
        rgba(21, 33, 48, .22) 100%);
}

.hero--hotel h1 { margin-bottom: .5rem; }

@media (min-width: 48rem) {
    .hero--hotel { min-height: 26rem; }
}

@media (min-width: 64rem) {
    .hero--hotel { min-height: 30rem; }
}

/* compact hero for utility / trust pages, no photography */
.page-head {
    background: var(--navy);
    color: var(--text-on-navy);
    padding-block: var(--s5);
}

.page-head h1 { color: var(--white); }
.page-head .lede { color: var(--text-on-navy); }

@media (min-width: 48rem) {
    .page-head { padding-block: var(--s6); }
}

/* key figures strip under a destination hero */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s3);
    margin-top: var(--s3);
    padding-top: var(--s3);
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.hero-stat__value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--white);
}

.hero-stat__label {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #dcc79f;
}

/* ------------------------------------------------------- 8. discovery search */

.discovery {
    display: flex;
    flex-direction: column;
    gap: var(--s1);
    margin-top: var(--s3);
    padding: var(--s1);
    background: rgba(255, 255, 255, .96);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
}

.discovery__field {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-inline: .75rem;
    color: var(--navy);
}

.discovery__field svg { width: 20px; height: 20px; flex: none; opacity: .65; }

.discovery input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
}

.discovery input::placeholder { color: #7d8894; }
.discovery input:focus { outline: 0; }
.discovery__field:focus-within { outline: 3px solid var(--oxblood); outline-offset: 2px; border-radius: var(--radius-sm); }

@media (min-width: 40rem) {
    .discovery { flex-direction: row; align-items: center; }
    .discovery__field { flex: 1; }
    .discovery .btn { flex: none; }
}

.discovery-note {
    margin-top: .75rem;
    font-size: .8125rem;
    color: var(--text-on-navy-muted);
}

/* search results panel */
.search-results {
    margin-top: var(--s1);
    background: var(--surface);
    border: 1px solid var(--stone);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    max-height: 22rem;
    overflow-y: auto;
    text-align: left;
}

.search-results:empty { display: none; }
.search-results ul { list-style: none; margin: 0; padding: .375rem; }

.search-results a {
    display: block;
    padding: .6rem .75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--navy);
    font-size: .9375rem;
}

.search-results a:hover,
.search-results a:focus { background: var(--surface-sunk); }

.search-results__kind {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7d6231;
}

.search-results__empty { padding: var(--s2); font-size: .9375rem; color: var(--text-muted); }

/* ------------------------------------------------------------ 9. grids */

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s3);
}

/* Grid and flex children default to min-width:auto, which lets a long word,
   a URL or a wide table push a column past the viewport. Every layout child
   is allowed to shrink instead. */
.grid > *,
.split > * { min-width: 0; }

@media (min-width: 40rem) {
    .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 80rem) {
    .grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.split { display: grid; gap: var(--s4); }

@media (min-width: 64rem) {
    .split { grid-template-columns: 1fr 1fr; align-items: start; }
    .split--wide-left { grid-template-columns: 1.35fr 1fr; }
    .split--wide-right { grid-template-columns: 1fr 1.35fr; }
}

/* ------------------------------------------------------------- 10. cards */

.card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--stone);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    /* Natural height: card text length differs per property. */
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

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

/* The branded panel behind every card image. If a remote property photo
   fails to load, this shows through instead of an empty box — and it is
   never mistaken for a photograph of the property. */
.card__media {
    position: relative;
    aspect-ratio: 3 / 2;
    background:
        url("/assets/images/patterns/heritage-pattern.svg") center / 120px repeat,
        var(--surface-sunk);
}

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

.card__body {
    display: flex;
    flex-direction: column;
    gap: .625rem;
    padding: var(--s2);
    flex: 1;
}

.card__title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--navy);
    margin: 0;
}

.card__title a { text-decoration: none; color: inherit; }
.card__title a:hover { color: var(--oxblood); }

.card__meta {
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--oxblood);
    margin: 0;
}

.card__text { font-size: .9375rem; color: var(--text-muted); margin: 0; }
.card__foot { margin-top: auto; padding-top: .25rem; }

/* hotel card specifics */
.card__badges {
    position: absolute;
    top: .625rem;
    left: .625rem;
    right: .625rem;
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
}

.card__rating {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    font-size: .875rem;
    color: var(--text-muted);
}

.card__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: .1rem .4rem;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: .8125rem;
    font-weight: 700;
}

.card__why {
    font-size: .9375rem;
    line-height: 1.55;
    color: var(--text);
    margin: 0;
}

.card__why b {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7d6231;
    margin-bottom: .15rem;
}

/* collection tile — image with caption below, medallion overlap */
.tile { text-align: center; }

.tile__media {
    position: relative;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--stone);
}

.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__body { padding-top: .75rem; }

.tile__title {
    font-family: var(--font-body);
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy);
    margin: 0 0 .25rem;
}

.tile a { text-decoration: none; }
.tile a:hover .tile__title { color: var(--oxblood); }
.tile__text { font-size: .875rem; color: var(--text-muted); margin: 0; }

/* -------------------------------------------------------------- 11. badges */

.badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .55rem;
    border-radius: var(--radius-sm);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 1px solid transparent;
}

.badge svg { width: .9em; height: .9em; }

/* Status is always carried by the label text, never by colour alone. */
.badge--h1 { background: var(--navy); color: var(--white); border-color: var(--navy); }
.badge--h2 { background: var(--surface); color: var(--navy); border-color: var(--brass); }
.badge--h3 { background: #e8ece8; color: #3d4a3e; border-color: var(--sage); }
.badge--theme { background: var(--oxblood); color: var(--white); border-color: var(--oxblood); }
.badge--plain { background: var(--surface-sunk); color: var(--navy); border-color: var(--stone); }
.badge--noindex { background: #f3e6e6; color: #6b2626; border-color: #d9b3b3; }

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* --------------------------------------------------------- 12. breadcrumbs */

.breadcrumb { padding-block: var(--s2); font-size: .8125rem; }

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li { display: flex; align-items: center; gap: .35rem; }
.breadcrumb li + li::before { content: "/"; color: var(--brass); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--oxblood); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--navy); font-weight: 600; }

/* ------------------------------------------------------- 13. notices/panels */

.notice {
    padding: var(--s2) var(--s3);
    background: var(--surface);
    border: 1px solid var(--stone);
    border-left: 4px solid var(--brass);
    border-radius: var(--radius-sm);
    font-size: .9375rem;
}

.notice--evidence { border-left-color: var(--oxblood); }
.notice--info { border-left-color: var(--navy); }

.notice__title {
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--oxblood);
    margin: 0 0 .35rem;
}

.notice p { font-size: .9375rem; }

.panel {
    padding: var(--s3);
    background: var(--surface);
    border: 1px solid var(--stone);
    border-radius: var(--radius-md);
}

.panel--sunk { background: var(--surface-sunk); border-color: var(--brass-soft); }

/* quick picks */
.picks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }

@media (min-width: 48rem) {
    .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pick {
    padding: var(--s2);
    background: var(--surface);
    border: 1px solid var(--stone);
    border-left: 3px solid var(--brass);
    border-radius: var(--radius-sm);
}

.pick__label {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--oxblood);
    margin-bottom: .2rem;
}

.pick__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.pick__name a { text-decoration: none; color: inherit; }
.pick__name a:hover { color: var(--oxblood); }
.pick__text { font-size: .9375rem; color: var(--text-muted); margin: .2rem 0 0; }

/* --------------------------------------------------------------- 14. tables */

/* The comparison table becomes a stack of labelled cards on small screens,
   so nothing is clipped and no horizontal scroll is needed. */
.table-wrap { overflow-x: auto; }

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

.table caption {
    text-align: left;
    font-size: .8125rem;
    color: var(--text-muted);
    padding-bottom: .5rem;
}

.table th,
.table td {
    padding: .7rem .75rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--rule);
}

.table thead th {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy);
    border-bottom: 2px solid var(--brass-soft);
    white-space: nowrap;
}

.table tbody tr:hover { background: rgba(176, 141, 87, .07); }
.table a { color: var(--navy); font-weight: 600; }

@media (max-width: 47.999rem) {
    .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
    .table thead { display: none; }

    .table tr {
        margin-bottom: var(--s2);
        background: var(--surface);
        border: 1px solid var(--stone);
        border-radius: var(--radius-md);
        padding: .25rem .75rem;
    }

    .table td { border-bottom: 1px solid var(--rule); padding: .55rem 0; }
    .table td:last-child { border-bottom: 0; }

    .table td::before {
        content: attr(data-label);
        display: block;
        font-size: .68rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: #7d6231;
        margin-bottom: .15rem;
    }
}

/* key/value facts table */
.facts { width: 100%; border-collapse: collapse; font-size: .9375rem; }

.facts th,
.facts td {
    padding: .6rem 0;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--rule);
}

.facts th {
    width: 40%;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ------------------------------------------------------------ 15. FAQ */

.faq { display: grid; gap: .5rem; }

.faq details {
    background: var(--surface);
    border: 1px solid var(--stone);
    border-radius: var(--radius-sm);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s2);
    padding: .875rem var(--s2);
    min-height: 48px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: "";
    flex: none;
    width: .55rem;
    height: .55rem;
    border-right: 2px solid var(--brass);
    border-bottom: 2px solid var(--brass);
    transform: rotate(45deg);
    transition: transform .2s var(--ease);
}

.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__answer { padding: 0 var(--s2) var(--s2); font-size: .9375rem; color: var(--text-muted); }
.faq__answer p + p { margin-top: .75rem; }

/* ------------------------------------------------------- 16. map / fallback */

.map-figure { margin: 0; }

.map-figure__img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--stone);
}

.map-figure figcaption {
    margin-top: .625rem;
    font-size: .8125rem;
    color: var(--text-muted);
}

/* Accessible, crawlable location list — the map is never the only route
   to this information. */
.locations { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }

.location {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    padding: .75rem;
    background: var(--surface);
    border: 1px solid var(--stone);
    border-radius: var(--radius-sm);
    font-size: .9375rem;
}

.location svg { width: 18px; height: 18px; flex: none; margin-top: .15rem; color: var(--brass); }
.location__name { font-weight: 600; color: var(--navy); text-decoration: none; }
.location__name:hover { color: var(--oxblood); }
.location__addr { display: block; font-size: .8125rem; color: var(--text-muted); }

/* --------------------------------------------------------- 17. trust strip */

.trust {
    background: var(--navy);
    color: var(--text-on-navy);
    padding-block: var(--s5);
}

.trust__grid { display: grid; gap: var(--s3); }

@media (min-width: 48rem) {
    .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
    .trust__grid { grid-template-columns: 1fr repeat(4, minmax(0, 1fr)); align-items: start; }
}

.trust__claim {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.1;
    font-weight: 600;
    color: #dcc79f;
    margin: 0;
}

.trust__item { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: var(--s2); }

.trust__title {
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 .35rem;
}

.trust__text { font-size: .875rem; color: var(--text-on-navy-muted); margin: 0; }
.trust a { color: #dcc79f; }

/* ------------------------------------------------------------- 18. footer */

.site-footer {
    background: var(--navy);
    color: var(--text-on-navy);
    padding-block: var(--s5) var(--s3);
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer__grid { display: grid; gap: var(--s4); }

@media (min-width: 40rem) {
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
    .site-footer__grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); }
    /* At this width five columns would squeeze the signup field, so the
       newsletter takes its own full-width row instead. */
    .footer-col--newsletter {
        grid-column: 1 / -1;
        padding-top: var(--s3);
        border-top: 1px solid rgba(255, 255, 255, .16);
    }
    .footer-col--newsletter .footer-newsletter__text { max-width: 34rem; }
    .footer-col--newsletter .signup { max-width: 30rem; }
    /* Only here is the block wide enough for the field and button to sit
       side by side without cramping the field. */
    .footer-col--newsletter .signup__row { grid-template-columns: 1fr auto; }
}

@media (min-width: 80rem) {
    .site-footer__grid { grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr)) 1.5fr; }
    .footer-col--newsletter { grid-column: auto; padding-top: 0; border-top: 0; }
    .footer-col--newsletter .signup { max-width: none; }
    /* Back to a narrow column, so the field and button stack again. */
    .footer-col--newsletter .signup__row { grid-template-columns: 1fr; }
}

.site-footer__brand img { width: 200px; margin-bottom: var(--s2); }
.site-footer__tagline { font-size: .9375rem; color: var(--text-on-navy-muted); max-width: 26rem; }

.footer-col__title {
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #dcc79f;
    margin: 0 0 .75rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: .1rem; }

.footer-col a {
    display: block;
    padding: .35rem 0;
    font-size: .9375rem;
    color: var(--text-on-navy);
    text-decoration: none;
}

.footer-col a:hover { color: #dcc79f; text-decoration: underline; }

.site-footer__bottom {
    margin-top: var(--s4);
    padding-top: var(--s3);
    border-top: 1px solid rgba(255, 255, 255, .16);
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    justify-content: space-between;
    font-size: .8125rem;
    color: var(--text-on-navy-muted);
}

.site-footer__bottom p { margin: 0; }

/* ------------------------------------------------------- 19. prose/editorial */

.prose { max-width: 42rem; }
.prose > * + * { margin-top: var(--s2); }
.prose h2 { margin-top: var(--s4); }
.prose h3 { margin-top: var(--s3); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .35rem; }

.prose blockquote {
    margin: var(--s3) 0;
    padding-left: var(--s3);
    border-left: 3px solid var(--brass);
    font-family: var(--font-display);
    font-size: 1.375rem;
    line-height: 1.35;
    color: var(--navy);
}

.source-list { list-style: none; margin: 0; padding: 0; font-size: .9375rem; }
.source-list li { padding: .5rem 0; border-bottom: 1px solid var(--rule); }
.source-list li:last-child { border-bottom: 0; }
.source-list a { overflow-wrap: anywhere; }

.source-meta { font-size: .8125rem; color: var(--text-muted); }

/* ----------------------------------------------------------- 20. favorites */

.fav-btn {
    position: absolute;
    top: .625rem;
    right: .625rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--stone);
    border-radius: 50%;
    color: var(--navy);
    cursor: pointer;
    transition: background-color .18s var(--ease), color .18s var(--ease);
}

.fav-btn:hover { background: var(--white); color: var(--oxblood); }
.fav-btn svg { width: 20px; height: 20px; }
.fav-btn[aria-pressed="true"] { color: var(--oxblood); }
.fav-btn[aria-pressed="true"] svg { fill: currentColor; }

/* ------------------------------------------------------------- 21. filters */

.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-bottom: var(--s3);
}

.filter-btn {
    min-height: 44px;
    padding: .5rem .875rem;
    background: var(--surface);
    border: 1px solid var(--stone);
    border-radius: 999px;
    font: inherit;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: background-color .18s var(--ease), border-color .18s var(--ease);
}

.filter-btn:hover { border-color: var(--brass); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.filter-status { font-size: .875rem; color: var(--text-muted); }
[hidden] { display: none !important; }

/* -------------------------------------------------------------- 22. forms

   Both forms post to an external provider. Everything below is presentation;
   validation that matters happens server-side at the endpoint. */

.form { display: grid; gap: var(--s3); }

.form__field { display: grid; gap: .35rem; }

.form__grid { display: grid; gap: var(--s3); }

@media (min-width: 40rem) {
    .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.form__label {
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--navy);
}

.form__optional {
    font-weight: 400;
    font-size: .75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.form__hint { margin: 0; font-size: .8125rem; color: var(--text-muted); }

.field {
    width: 100%;
    min-height: 48px;
    padding: .7rem .875rem;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--stone);
    border-radius: var(--radius-sm);
    transition: border-color .18s var(--ease);
}

.field:hover { border-color: var(--brass); }
.field:focus { border-color: var(--navy); }
.field::placeholder { color: #8a95a1; }

textarea.field { min-height: 9rem; resize: vertical; line-height: 1.6; }

select.field {
    /* Keep the native control: it is the most accessible picker on mobile. */
    appearance: none;
    text-overflow: ellipsis;
    padding-right: 2.5rem;
    background-image: url("/assets/images/patterns/select-caret.svg");
    background-repeat: no-repeat;
    background-position: right .875rem center;
    background-size: 12px;
}

.form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s2);
}

/* Honeypot. Hidden from sight and from assistive technology, but still a
   real field a naive bot will fill in. */
.hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin: 0;
    font-size: .875rem;
    font-weight: 600;
}

.form-status:empty { display: none; }
.form-status[data-state="ok"] { color: #2c5c3f; }
.form-status[data-state="error"] { color: var(--oxblood); }
.form-status[data-state="busy"] { color: var(--text-muted); font-weight: 500; }

/* footer newsletter */
.footer-newsletter__text,
.footer-newsletter__note {
    font-size: .8125rem;
    color: var(--text-on-navy-muted);
    margin: 0 0 .75rem;
}

.footer-newsletter__note { margin: .625rem 0 0; }

.signup__row { display: grid; gap: .5rem; }

.signup .field {
    background: rgba(255, 255, 255, .96);
    border-color: rgba(255, 255, 255, .35);
}

.signup .form-status[data-state="ok"] { color: #a8d5b5; }
.signup .form-status[data-state="error"] { color: #f0b4b4; }
.signup .form-status[data-state="busy"] { color: var(--text-on-navy-muted); }
.signup .form-status { margin-top: .625rem; }

/* ------------------------------------------------------------- 23. 404 */

.error-page { padding-block: var(--s7); text-align: center; }
.error-page h1 { margin-bottom: var(--s2); }
.error-page .btn-row { justify-content: center; }

/* --------------------------------------------------------- 24. reduced motion */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .card:hover { transform: none; }
}

/* -------------------------------------------------------------- 25. print */

@media print {
    .site-header, .drawer, .site-footer, .fav-btn, .discovery, .btn { display: none !important; }
    body { font-size: 11pt; }
    .hero { min-height: 0; padding-block: 1rem; background: none; color: #000; }
    .hero::after, .hero__media { display: none; }
    .hero h1, .hero__lede { color: #000; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* ------------------------------------------------- 26. spacing utilities

   These exist because a strict Content-Security-Policy (style-src 'self',
   no 'unsafe-inline') blocks inline style attributes. Every one-off spacing
   tweak in the generated HTML is a class instead. */

.u-mt-2 { margin-top: var(--s2); }
.u-mt-3 { margin-top: var(--s3); }
.u-mb-4 { margin-bottom: var(--s4); }

.eyebrow--on-navy { color: #dcc79f; }

/* Google Tag Manager's <noscript> fallback. Google's snippet hides it with an
   inline style attribute, which the Content-Security-Policy drops. */
.gtm-noscript { display: none; visibility: hidden; border: 0; }
.panel__title { font-size: 1.25rem; }
.drawer__title--head { margin: 0; }
