/* ==========================================================================
   Harcourt & Vale Estate Agents — design system
   Premium, understated estate-agency look: deep forest green + brass/gold
   accent on a warm ivory ground, Fraunces (display serif) + Karla (body) —
   deliberately distinct from every other Try My Site template's palette
   and fonts.
   ========================================================================== */

:root {
    --forest:       #1b3a2b;
    --forest-deep:  #122719;
    --forest-light: #2f5843;
    --forest-mist:  #e8efe9;

    --brass:       #b08d57;
    --brass-deep:  #8c6d3f;
    --brass-light: #d3b585;

    --ivory:      #f5f1e8;
    --ivory-soft: #ede4d3;
    --white:      #fffdf9;

    --charcoal:      #2a2723;
    --charcoal-soft: #57524a;
    --stone:         #8c8577;
    --line:          rgba(42, 39, 35, 0.12);
    --line-on-dark:  rgba(245, 241, 232, 0.16);

    --font-display: 'Fraunces', ui-serif, Georgia, serif;
    --font-body: 'Karla', ui-sans-serif, system-ui, sans-serif;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 2px 10px rgba(27, 58, 43, 0.08);
    --shadow: 0 14px 34px rgba(27, 58, 43, 0.13);
    --shadow-lg: 0 26px 60px rgba(27, 58, 43, 0.2);

    --ease: cubic-bezier(.25, .8, .35, 1);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--ivory);
    color: var(--charcoal);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    margin: 0 0 .5em;
    letter-spacing: -0.01em;
}
em, .italic { font-style: italic; color: var(--brass-deep); }

p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--charcoal-soft); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; background: var(--brass); color: var(--white);
    padding: 12px 20px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Icons ---------- */
.icon { width: 1.15em; height: 1.15em; vertical-align: -0.22em; flex-shrink: 0; }
.icon--lg { width: 28px; height: 28px; }
.icon--sm { width: 15px; height: 15px; }
.stars { display: inline-flex; gap: 2px; color: var(--brass); }
.stars .icon { width: 15px; height: 15px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .92rem;
    border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    white-space: nowrap; font-family: var(--font-body);
}
.btn--primary { background: var(--forest); color: var(--white); }
.btn--primary:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--brass { background: var(--brass); color: var(--forest-deep); }
.btn--brass:hover { background: var(--brass-deep); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--forest); background: var(--forest-mist); }
.btn--ghost.btn--on-dark { color: var(--ivory); border-color: var(--line-on-dark); }
.btn--ghost.btn--on-dark:hover { background: rgba(245,241,232,.08); border-color: var(--brass-light); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--sm { padding: 9px 18px; font-size: .82rem; }
.btn--block { width: 100%; }
.hide-sm { display: inline-flex; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(245,241,232,.92);
    backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; color: var(--forest); }
.brand__name-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--forest-deep); }
.brand__name em { color: var(--brass-deep); }
.brand__tag { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }

.main-nav { display: flex; gap: 30px; }
.main-nav a { font-weight: 600; font-size: .92rem; color: var(--charcoal-soft); position: relative; padding: 6px 0; }
.main-nav a:hover, .main-nav a.is-active { color: var(--forest); }
.main-nav a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brass); border-radius: 2px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: none; background: transparent; color: var(--forest-deep); cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: var(--forest-mist); }
.nav-toggle { display: none; }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 10px 24px 22px; border-top: 1px solid var(--line); background: var(--ivory); }
.mobile-nav a { padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav.is-open { display: flex; }
.scrim { display: none; }

@media (max-width: 880px) {
    .main-nav { display: none; }
    .hide-sm { display: none; }
    .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding: 70px 0 90px; background: linear-gradient(180deg, var(--ivory) 0%, var(--forest-mist) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 18px; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); color: var(--forest-deep); }
.hero .lede { max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--forest); }
.hero-stat span { font-size: .82rem; color: var(--stone); }

.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.1; object-fit: cover; width: 100%; }
.float-card {
    position: absolute; left: -22px; bottom: -22px; background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 16px 20px; display: flex; align-items: center; gap: 12px; max-width: 240px;
}
.float-card .icon { color: var(--brass); width: 26px; height: 26px; }
.float-card strong { display: block; font-family: var(--font-display); font-size: .95rem; color: var(--forest-deep); }
.float-card span { font-size: .78rem; color: var(--stone); }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { order: -1; }
    .float-card { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--tight { padding: 44px 0; }
.section--soft { background: var(--ivory-soft); }
.section--dark { background: var(--forest-deep); color: var(--ivory); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .eyebrow { color: var(--brass-light); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--forest-deep); }
.section--dark .section-head h2 { color: var(--white); }
.section-head p { color: var(--charcoal-soft); }

/* ---------- Cards grid (why-us / features) ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 980px) { .cards-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid, .feature-grid { grid-template-columns: 1fr; } }

.tcard {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 30px 26px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brass-light); }
.tcard__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--forest-mist); color: var(--forest); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tcard h3 { font-size: 1.15rem; color: var(--forest-deep); }
.tcard p { color: var(--charcoal-soft); font-size: .93rem; }

.feature { text-align: center; }
.feature__icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(176,141,87,.14); color: var(--brass-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.section--dark .feature h4 { color: var(--white); }
.feature p { color: rgba(245,241,232,.72); font-size: .92rem; }
.section:not(.section--dark) .feature__icon { background: var(--forest-mist); color: var(--forest); }
.section:not(.section--dark) .feature p { color: var(--charcoal-soft); }
.section:not(.section--dark) .feature h4 { color: var(--forest-deep); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 5/4.2; object-fit: cover; width: 100%; }
.split h2 { color: var(--forest-deep); }
.split p { color: var(--charcoal-soft); }
.split.rev { grid-template-columns: 1fr 1fr; }
.split.rev img { order: 2; }
@media (max-width: 860px) {
    .split, .split.rev { grid-template-columns: 1fr; }
    .split.rev img { order: -1; }
}
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 600; color: var(--forest); background: var(--forest-mist); padding: 8px 14px; border-radius: 999px; }
.badge .icon { color: var(--brass-deep); width: 15px; height: 15px; }

/* ---------- Status badges (listings) ---------- */
.status-badge {
    display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700;
    letter-spacing: .03em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.status-badge--for-sale     { background: var(--forest); color: var(--white); }
.status-badge--to-let       { background: var(--brass); color: var(--forest-deep); }
.status-badge--under-offer  { background: #c98a3a; color: var(--white); }
.status-badge--let-agreed   { background: var(--stone); color: var(--white); }
.status-badge--sold         { background: var(--charcoal); color: var(--ivory); }

/* ---------- Property cards ---------- */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 980px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .property-grid { grid-template-columns: 1fr; } }

.property-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    display: flex; flex-direction: column;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.property-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--forest-mist); }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.property-card:hover .property-card__media img { transform: scale(1.06); }
.property-card__status { position: absolute; top: 14px; left: 14px; }
.property-card__type { position: absolute; top: 14px; right: 14px; background: rgba(255,253,249,.92); color: var(--forest-deep); font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.property-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.property-card__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest-deep); font-weight: 600; }
.property-card__title { font-size: 1.02rem; font-weight: 700; color: var(--charcoal); }
.property-card__addr { font-size: .86rem; color: var(--stone); display: flex; align-items: flex-start; gap: 6px; }
.property-card__addr .icon { flex-shrink: 0; margin-top: 2px; color: var(--brass-deep); }
.property-card__meta { display: flex; gap: 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--charcoal-soft); }
.property-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.property-card__meta .icon { color: var(--brass-deep); }
.property-card__link { position: absolute; inset: 0; z-index: 2; }
.property-card { position: relative; }

.property-card__empty-media { display: flex; align-items: center; justify-content: center; color: var(--stone); }
.property-card__empty-media .icon { width: 40px; height: 40px; }

/* ---------- Filter bar ---------- */
.filter-bar {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 24px 26px; margin-bottom: 40px; box-shadow: var(--shadow-sm);
}
.filter-bar form { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 14px; align-items: end; }
.filter-field { display: flex; flex-direction: column; gap: 6px; }
.filter-field label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--stone); }
.filter-field select, .filter-field input {
    border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; font-family: var(--font-body);
    font-size: .9rem; background: var(--ivory); color: var(--charcoal); transition: border-color .2s, box-shadow .2s;
}
.filter-field select:focus, .filter-field input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(176,141,87,.18); }
@media (max-width: 980px) { .filter-bar form { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .filter-bar form { grid-template-columns: 1fr 1fr; } }
.filter-results { color: var(--charcoal-soft); font-size: .92rem; margin-bottom: 26px; }
.filter-active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--forest-mist); color: var(--forest-deep); font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.filter-chip a { color: var(--forest); opacity: .6; }
.filter-chip a:hover { opacity: 1; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--stone); }
.empty-state .icon { width: 44px; height: 44px; color: var(--brass-light); margin-bottom: 14px; }

/* ---------- Listing detail ---------- */
.listing-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.listing-head h1 { color: var(--forest-deep); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 6px; }
.listing-addr { display: flex; align-items: center; gap: 7px; color: var(--stone); font-size: .96rem; }
.listing-addr .icon { color: var(--brass-deep); }
.listing-price { font-family: var(--font-display); font-size: 2rem; color: var(--forest-deep); font-weight: 600; white-space: nowrap; }
.listing-badges { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }

.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--forest-mist); box-shadow: var(--shadow); margin-bottom: 14px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255,253,249,.9); border: none; display: flex; align-items: center; justify-content: center; color: var(--forest-deep); cursor: pointer; box-shadow: var(--shadow-sm); transition: background .2s; }
.gallery-nav:hover { background: var(--white); }
.gallery-nav--prev { left: 16px; }
.gallery-nav--next { right: 16px; }
.gallery-count { position: absolute; bottom: 14px; right: 16px; background: rgba(27,58,43,.72); color: var(--white); font-size: .78rem; padding: 5px 12px; border-radius: 999px; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs button { flex: none; width: 92px; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button.is-active { border-color: var(--brass); }
.gallery-empty { display: flex; align-items: center; justify-content: center; color: var(--stone); flex-direction: column; gap: 10px; }
.gallery-empty .icon { width: 48px; height: 48px; color: var(--brass-light); }

.listing-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 46px; margin-top: 40px; align-items: start; }
@media (max-width: 900px) { .listing-body { grid-template-columns: 1fr; } }

.key-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 34px; }
.key-fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.key-fact .icon { color: var(--brass-deep); width: 24px; height: 24px; margin-bottom: 8px; }
.key-fact strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--forest-deep); }
.key-fact span { font-size: .78rem; color: var(--stone); }
@media (max-width: 500px) { .key-facts { grid-template-columns: 1fr 1fr; } }

.listing-desc h2 { font-size: 1.3rem; color: var(--forest-deep); }
.listing-desc p { color: var(--charcoal-soft); }

.enquiry-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.enquiry-card h3 { color: var(--forest-deep); font-size: 1.2rem; }
.enquiry-card p.hint { color: var(--stone); font-size: .88rem; margin-bottom: 20px; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--forest-deep); }
.field input, .field textarea, .field select {
    background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 12px 14px; color: var(--charcoal); width: 100%; font-family: var(--font-body); font-size: .94rem;
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(176,141,87,.16); }
.field textarea { min-height: 120px; resize: vertical; }
.field--error input, .field--error textarea { border-color: #b3452f; }
.field__err { color: #b3452f; font-size: .78rem; font-weight: 600; margin-top: 2px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form-error { background: rgba(179,69,47,.1); border: 1px solid #b3452f; border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 18px; font-size: .9rem; color: #7a2f1e; }
.alert { display: flex; align-items: flex-start; gap: 10px; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px; font-size: .92rem; }
.alert--success { background: rgba(27,58,43,.08); color: var(--forest-deep); border: 1px solid rgba(27,58,43,.24); }
.alert--error { background: rgba(179,69,47,.1); color: #7a2f1e; border: 1px solid rgba(179,69,47,.3); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.testi p { color: var(--charcoal); font-style: italic; margin: 14px 0 18px; }
.testi__who { display: flex; align-items: center; gap: 12px; }
.testi__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; }
.testi__who strong { display: block; font-size: .92rem; color: var(--forest-deep); }
.testi__who span { font-size: .8rem; color: var(--stone); }

/* ---------- CTA band ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--forest); color: var(--white); border-radius: var(--radius-lg); padding: 34px 40px; flex-wrap: wrap; }
.cta-band h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 4px; }
.cta-band p { color: rgba(245,241,232,.78); margin: 0; }
.cta-banner { background: var(--forest-deep); color: var(--ivory); padding: 70px 0; text-align: center; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(245,241,232,.78); max-width: 50ch; margin-inline: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(245,241,232,.82); padding-top: 64px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-on-dark); }
.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand__mark { color: var(--brass-light); }
.footer-brand p { margin: 14px 0 18px; font-size: .9rem; color: rgba(245,241,232,.68); }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(245,241,232,.08); display: flex; align-items: center; justify-content: center; color: var(--ivory); transition: background .2s, color .2s; }
.socials a:hover { background: var(--brass); color: var(--forest-deep); }
.footer-col h4 { color: var(--white); font-size: .95rem; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: .78rem; }
.footer-col a { display: block; font-size: .9rem; color: rgba(245,241,232,.7); margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: var(--brass-light); }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem; color: rgba(245,241,232,.7); margin-bottom: 13px; }
.footer-contact .icon { color: var(--brass-light); margin-top: 2px; flex-shrink: 0; }

.footer-bar { border-top: 1px solid var(--line-on-dark); padding-block: 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; color: rgba(245,241,232,.6); font-size: .85rem; }
.footer-bar .footer-credit { text-align: center; }
.footer-bar .credit-link { color: var(--brass-light); font-weight: 600; }
.footer-bar .footer-legal { justify-self: end; display: flex; gap: 16px; }
.footer-bar .footer-legal a { color: rgba(245,241,232,.6); }
.footer-bar .footer-legal a:hover { color: var(--brass-light); }
@media (max-width: 760px) { .footer-bar { grid-template-columns: 1fr; text-align: center; } .footer-bar .footer-legal { justify-self: center; } }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-fineprint { text-align: center; font-size: .78rem; color: rgba(245,241,232,.42); padding: 16px 0 26px; margin: 0; }

/* ---------- Cookie bar ---------- */
.cookie-bar { position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 640px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; box-shadow: var(--shadow-lg); z-index: 300; }
.cookie-bar p { font-size: .86rem; color: var(--charcoal-soft); margin-bottom: 14px; }
.cookie-bar p a { color: var(--forest); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
[data-reveal="stagger"] > * { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal="stagger"].in-view > * { opacity: 1; transform: none; }
[data-reveal="stagger"].in-view > *:nth-child(2) { transition-delay: .08s; }
[data-reveal="stagger"].in-view > *:nth-child(3) { transition-delay: .16s; }
[data-reveal="stagger"].in-view > *:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, [data-reveal="stagger"] > * { opacity: 1; transform: none; }
}

/* ---------- Misc page bits ---------- */
.page-hero { padding: 56px 0 46px; background: var(--forest-mist); text-align: center; }
.page-hero .eyebrow { }
.page-hero h1 { color: var(--forest-deep); font-size: clamp(2rem, 3.6vw, 2.8rem); }
.page-hero p { max-width: 56ch; margin-inline: auto; color: var(--charcoal-soft); }

.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--charcoal-soft); background: var(--white); border: 1px solid var(--line); }
.pill.is-active, .pill:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }

.hint { color: var(--stone); font-size: .9rem; }

.prose h2 { color: var(--forest-deep); font-size: 1.25rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--charcoal-soft); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
