/* ==========================================================================
   Boe-Boe's Nest — site styles
   Light theme: white and cream grounds, bark-brown type taken from the logo,
   grass green and sunset ochre as accents.
   ========================================================================== */

:root {
    --cream: #FAF6EE;
    --cream-deep: #F3EBDD;
    --sand: #E8DCC6;
    --white: #FFFFFF;
    --bark: #3F3224;
    --bark-soft: #6B5A47;
    --grass: #6E7F3C;
    --grass-deep: #56652D;
    --grass-pale: #E7EBD8;
    --ochre: #C58A3E;
    --ochre-pale: #F6E9D4;
    --river: #5E8B8C;
    --line: #E4D9C6;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(63, 50, 36, .06), 0 10px 30px -12px rgba(63, 50, 36, .22);
    --shadow-lg: 0 2px 4px rgba(63, 50, 36, .06), 0 24px 60px -20px rgba(63, 50, 36, .35);
    --container: 1180px;
    --header-h: 76px;
}

/* ---------- Base ---------- */

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

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--bark);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--bark);
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
h1:focus { outline: none; }

p { margin: 0 0 1em; }

a { color: var(--grass-deep); text-underline-offset: 3px; }
a:hover { color: var(--bark); }

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

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 100;
    background: var(--bark); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.icon { flex-shrink: 0; vertical-align: middle; }

.eyebrow {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--grass);
    margin-bottom: .75rem;
    display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--ochre-pale); }

.lead { font-size: 1.2rem; color: var(--bark-soft); max-width: 60ch; }

.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--sand { background: var(--cream-deep); }

.section-head { max-width: 680px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { color: var(--bark-soft); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    font-family: var(--font-body); font-weight: 700; font-size: 1rem;
    padding: .85rem 1.6rem; border-radius: 999px;
    background: var(--grass); color: var(--white); border: 2px solid var(--grass);
    text-decoration: none; cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--grass-deep); border-color: var(--grass-deep); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--small { padding: .5rem 1.1rem; font-size: .92rem; }
.btn--outline { background: transparent; color: var(--bark); border-color: var(--sand); }
.btn--outline:hover { background: var(--white); color: var(--bark); border-color: var(--bark-soft); }
.btn--light { background: var(--cream); color: var(--bark); border-color: var(--cream); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--bark); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(250, 246, 238, .55); }
.btn--ghost-light:hover { background: rgba(250, 246, 238, .12); border-color: var(--cream); color: var(--white); }

.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(237, 227, 208, .92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(63, 50, 36, .5); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--bark); }
.brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--sand); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.brand__tag { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bark-soft); margin-top: .2rem; }

.site-nav { display: flex; align-items: center; gap: .3rem; }
.site-nav a:not(.btn) {
    color: var(--bark); text-decoration: none; font-weight: 600; font-size: .98rem;
    padding: .5rem .85rem; border-radius: 999px; transition: background .2s, color .2s;
}
.site-nav a:not(.btn):hover { background: rgba(255, 255, 255, .55); }
.site-nav a.active { color: var(--grass-deep); background: rgba(255, 255, 255, .7); }
.site-nav__cta { margin-left: .6rem; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle__button { display: none; cursor: pointer; color: var(--bark); padding: .4rem; border-radius: var(--radius-sm); }
.nav-toggle__close { display: none; }

@media (max-width: 960px) {
    .nav-toggle__button { display: inline-flex; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: .2rem;
        background: var(--cream); padding: .75rem 1.25rem 1.5rem;
        border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(63, 50, 36, .4);
        display: none;
    }
    .site-nav a:not(.btn) { padding: .8rem 1rem; font-size: 1.05rem; }
    .site-nav__cta { margin: .6rem 0 0; }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .nav-toggle:checked ~ .nav-toggle__button .nav-toggle__open { display: none; }
    .nav-toggle:checked ~ .nav-toggle__button .nav-toggle__close { display: inline-flex; }
}

/* ---------- Hero (home) ---------- */

/* A shade deeper than the rest of the page: warm sand fading to cream. */
.hero {
    position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(5rem, 10vw, 8rem); overflow: hidden;
    background: linear-gradient(180deg, #EDE3D0 0%, #EADFC9 55%, #E4D6BC 100%);
}

/* Bushveld silhouette behind the hero content */
.silhouette { position: absolute; inset: auto 0 0 0; height: min(78%, 460px); pointer-events: none; color: var(--bark); }
.silhouette svg { width: 100%; height: 100%; display: block; }
.silhouette path, .silhouette circle { fill: currentColor; }
.silhouette .stroke { fill: none; stroke: currentColor; }
.silhouette__far { opacity: .035; }
.silhouette__mid { opacity: .055; }
.silhouette__near { opacity: .075; }
.hero::before {
    /* soft sun glow behind the photos, echoing the logo's sunset */
    content: ""; position: absolute; width: 720px; height: 720px; right: -160px; top: -220px;
    background: radial-gradient(circle, rgba(197, 138, 62, .22), rgba(197, 138, 62, 0) 65%);
    pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--grass); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.4rem; }
.hero .btn--outline { border-color: rgba(63, 50, 36, .22); background: rgba(255, 255, 255, .35); }
.hero__facts { position: relative; }

.hero__facts { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); list-style: none; margin: 0; padding-left: 0; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; color: var(--bark); }
.hero__facts span { font-size: .85rem; color: var(--bark-soft); margin-top: .35rem; }

.hero__media { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; height: clamp(420px, 48vw, 580px); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero__media .hero__main { grid-row: 1 / 3; }
.hero__badge {
    position: absolute; left: -1.5rem; bottom: 2rem;
    display: flex; align-items: center; gap: .8rem;
    background: var(--white); padding: .7rem 1.1rem .7rem .7rem; border-radius: 999px; box-shadow: var(--shadow-lg);
    font-size: .9rem; line-height: 1.3;
}
.hero__badge img { width: 48px; height: 48px; border-radius: 50%; box-shadow: none; }
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1rem; }

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { height: 420px; }
    .hero__badge { left: 1rem; bottom: 1rem; }
}
@media (max-width: 520px) {
    .hero__media { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 320px; }
    .hero__media img:not(.hero__main) { display: none; }
    .hero__media .hero__main { grid-row: auto; }
}

/* ---------- Grass divider ---------- */

.grass-divider { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(40px, 6vw, 90px); pointer-events: none; line-height: 0; }
.grass-divider svg { width: 100%; height: 100%; }
.grass-divider--footer { position: relative; bottom: auto; margin-top: -2px; --divider-fill: var(--bark); }

/* ---------- Intro / split ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media--landscape img { aspect-ratio: 4 / 3; max-width: 960px; }
.split__media .split__inset {
    position: absolute; width: 46%; aspect-ratio: 1; right: -1.5rem; bottom: -2rem;
    border: 6px solid var(--white); border-radius: var(--radius);
}
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse > :first-child { order: 0; }
    .split__media .split__inset { right: 1rem; }
}

.checklist { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: .65rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .icon { color: var(--grass); margin-top: .3rem; background: var(--grass-pale); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

/* ---------- Cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.6rem; }

.activity {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.activity:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sand); }
.activity__icon {
    width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
    background: var(--grass-pale); color: var(--grass-deep); margin-bottom: 1.1rem;
}
.activity:nth-child(3n+2) .activity__icon { background: var(--ochre-pale); color: #9A6624; }
.activity:nth-child(3n+3) .activity__icon { background: #E1ECEC; color: #3F6C6D; }
.activity h3 { margin-bottom: .35rem; }
.activity p { color: var(--bark-soft); margin: 0; font-size: 1rem; }

.unit-card {
    display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: inherit;
    transition: transform .25s, box-shadow .25s;
}
.unit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.unit-card__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.unit-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.unit-card:hover .unit-card__img img { transform: scale(1.05); }
.unit-card__sleeps {
    position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: .35rem;
    background: rgba(255, 255, 255, .94); padding: .3rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 700;
}
.unit-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.unit-card__camp { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grass); font-weight: 700; }
.unit-card h3 { margin: .3rem 0 .5rem; }
.unit-card p { color: var(--bark-soft); font-size: .98rem; flex: 1; }
.unit-card__price { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--bark-soft); }
.unit-card__price strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--bark); }

/* ---------- Waterfall feature band ---------- */

.feature-band { position: relative; min-height: 560px; display: grid; align-items: end; color: var(--white); overflow: hidden; }
.feature-band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.feature-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 32, 22, 0) 25%, rgba(40, 32, 22, .78)); }
.feature-band .container { position: relative; z-index: 1; padding: 5rem 0 4rem; }
.feature-band h2 { color: var(--white); max-width: 16ch; }
.feature-band p { max-width: 52ch; color: rgba(255, 255, 255, .9); font-size: 1.12rem; }
.feature-band .eyebrow { color: var(--ochre-pale); }

/* ---------- Gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: .9rem; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius-sm); padding: 0; border: 0; cursor: zoom-in; background: var(--sand); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .3s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 480px) { .gallery__item--wide { grid-column: auto; } }

/* ---------- Wildlife strip ---------- */

.wildlife { display: flex; flex-wrap: wrap; gap: .8rem; list-style: none; padding: 0; margin: 0; }
.wildlife li {
    display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: .9rem 1.2rem; flex: 1 1 180px;
}
.wildlife strong { font-family: var(--font-display); font-size: 1.15rem; }
.wildlife span { font-size: .9rem; color: var(--bark-soft); }

/* ---------- Page banner (inner pages) ---------- */

.page-banner { position: relative; padding-bottom: 2rem; }
.page-banner__image { height: clamp(260px, 38vw, 420px); background-size: cover; background-position: center; }
.page-banner__card {
    position: relative; margin-top: -7rem; background: var(--cream); border-radius: var(--radius) var(--radius) 0 0;
    padding: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem) 0; max-width: 820px;
}
.page-banner__card h1 { margin-bottom: .3em; }

/* ---------- Stay page ---------- */

.unit-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.unit-detail + .unit-detail { margin-top: clamp(4rem, 8vw, 6rem); padding-top: clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.unit-detail:nth-child(even) .unit-detail__photos { order: 2; }
.unit-detail__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.unit-detail__photos .gallery__item { aspect-ratio: 1; }
.unit-detail__photos .gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.unit-detail__meta { display: flex; flex-wrap: wrap; gap: .6rem; margin: .4rem 0 1.2rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--grass-pale); color: var(--grass-deep); font-weight: 700; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; }
.chip--ochre { background: var(--ochre-pale); color: #8A5A1E; }
.unit-detail .checklist { margin: 1rem 0 1.4rem; font-size: 1rem; }
.unit-detail__note { font-size: .92rem; color: var(--bark-soft); font-style: italic; }
@media (max-width: 900px) {
    .unit-detail { grid-template-columns: 1fr; }
    .unit-detail:nth-child(even) .unit-detail__photos { order: 0; }
}

.unit-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.unit-jump a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--bark); background: var(--white); border: 1px solid var(--line); padding: .4rem .95rem; border-radius: 999px; }
.unit-jump a:hover { border-color: var(--grass); color: var(--grass-deep); }
@media (max-width: 600px) { .unit-jump { display: none; } }

.rates-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.rates { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .98rem; }
.rates th, .rates td { padding: .95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
.rates thead th { background: var(--cream-deep); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bark-soft); }
.rates tbody tr:last-child td { border-bottom: 0; }
.rates td:first-child { font-weight: 700; }
.rates td.num { font-variant-numeric: tabular-nums; }
.small-print { font-size: .9rem; color: var(--bark-soft); margin-top: 1rem; }

/* ---------- Information page ---------- */

.info-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: .2rem; }
.info-toc a { text-decoration: none; color: var(--bark-soft); font-weight: 600; padding: .45rem .9rem; border-left: 2px solid var(--line); }
.info-toc a:hover { color: var(--grass-deep); border-left-color: var(--grass); }
@media (max-width: 860px) { .info-layout { grid-template-columns: 1fr; } .info-toc { position: static; flex-direction: row; flex-wrap: wrap; } .info-toc a { border: 1px solid var(--line); border-radius: 999px; } }

.info-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.3rem); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.info-block + .info-block { margin-top: 1.4rem; }
.info-block__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.info-block__head h2 { font-size: 1.6rem; margin: 0; }
.info-block__head .activity__icon { margin: 0; width: 46px; height: 46px; border-radius: 13px; }

.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list dt, .info-list strong { font-weight: 700; }
.info-list span { color: var(--bark-soft); }
@media (max-width: 560px) { .info-list li { grid-template-columns: 1fr; gap: .1rem; } }

.pill-list { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.pill-list li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; font-size: .95rem; }
.pill-list--no li { background: #FBEDEA; border-color: #F0D5CF; color: #8C3B2E; font-weight: 600; }

.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--grass); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .7rem 0 0; color: var(--bark-soft); }

/* ---------- Contact page ---------- */

.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .35rem; }
.field label small { font-weight: 400; color: var(--bark-soft); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--bark);
    background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    padding: .75rem .9rem; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--grass); background: var(--white); box-shadow: 0 0 0 4px var(--grass-pale); }
.field .invalid { border-color: #C0563F; background: #FFF8F6; }
.validation-message { color: #A8432E; font-size: .88rem; margin-top: .3rem; }
.validation-errors { color: #A8432E; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-success { text-align: center; padding: 2rem 1rem; }
.form-success .activity__icon { margin: 0 auto 1rem; width: 70px; height: 70px; border-radius: 50%; }
.form-alert { background: #FBEDEA; border: 1px solid #F0D5CF; color: #8C3B2E; border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: 1.2rem; }

.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.contact-card h3 { font-size: 1.1rem; margin: 0 0 .15rem; }
.contact-card p, .contact-card a { margin: 0; font-size: .98rem; }
.contact-card .activity__icon { margin: 0; width: 46px; height: 46px; border-radius: 13px; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand); aspect-ratio: 16 / 7; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Social ---------- */

.social { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.social a {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-width: 44px; height: 44px; padding: 0 .75rem; border-radius: 999px;
    text-decoration: none; font-weight: 700; transition: background .2s, color .2s, transform .2s;
}
.social a:hover { transform: translateY(-2px); }
.social--large a { height: 52px; padding: 0 1.3rem; background: var(--white); color: var(--bark); border: 1px solid var(--line); }
.social--large a:hover { background: var(--grass); color: var(--white); border-color: var(--grass); }

/* ---------- Enquire band ---------- */

.enquire-band { background: var(--grass-deep); color: var(--cream); padding: clamp(3.5rem, 7vw, 5rem) 0; }
.enquire-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.enquire-band h2 { color: var(--white); margin-bottom: .3em; }
.enquire-band p { margin: 0; color: rgba(250, 246, 238, .85); }
.enquire-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--bark); color: rgba(250, 246, 238, .78); }
/* every page closes with the green enquire band, so the grass edge sits on that colour */
.grass-divider--footer { background: var(--grass-deep); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 2.5rem; padding: 2.5rem 0 3rem; }
.site-footer h3 { color: var(--cream); font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--ochre); }
.site-footer__brand img { width: 120px; height: 120px; border-radius: 50%; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 34ch; }
.site-footer .social a { background: rgba(250, 246, 238, .1); color: var(--cream); }
.site-footer .social a:hover { background: var(--ochre); color: var(--white); }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { margin-top: .3rem; color: var(--ochre); }
.site-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgba(250, 246, 238, .14); padding: 1.3rem 0 1.6rem; font-size: .88rem; }
.site-footer__base p { margin: 0; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(30, 24, 17, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(92vw, 1400px); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: var(--cream); margin-top: .9rem; font-size: .95rem; }
.lightbox button { position: fixed; background: rgba(250, 246, 238, .12); color: var(--cream); border: 0; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center; font-size: 2.2rem; line-height: 1; }
.lightbox button:hover { background: rgba(250, 246, 238, .25); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__nav--prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- Not found ---------- */

.not-found { text-align: center; padding: clamp(4rem, 12vw, 9rem) 0; }
.not-found img { width: 150px; margin: 0 auto 1.5rem; border-radius: 50%; }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Blazor framework UI ---------- */

#blazor-error-ui {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: var(--ochre-pale); color: var(--bark); padding: .7rem 1.25rem; box-shadow: 0 -2px 10px rgba(0, 0, 0, .15);
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .9rem; top: .6rem; }

.blazor-error-boundary { background: #b32121; padding: 1rem; color: white; }
.blazor-error-boundary::after { content: "An error has occurred."; }

/* ---------- Loading screen (index.html, shown until Blazor starts) ---------- */

.app-loading {
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .4rem; padding: 2rem; text-align: center; background: linear-gradient(180deg, #EDE3D0, var(--cream));
}
.app-loading img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 3px var(--white), var(--shadow); margin-bottom: .8rem; }
.app-loading__name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; margin: 0; }
.app-loading__text { color: var(--bark-soft); margin: 0; animation: app-loading-pulse 1.4s ease-in-out infinite; }
@keyframes app-loading-pulse { 50% { opacity: .35; } }
