/* =========================================
    ABOUT PAGE
    Design tokens, header, hero, tab strip, testimonial wall and theme
    handling are intentionally IDENTICAL to events.css — the two pages are
    siblings and must not drift. The genuinely new blocks here are:
      - .about-section (pinned "who we are" block)
      - .faq-section  (accordion)
    ========================================= */

/* =========================================
    GLOBAL VARIABLES
    (Global reset lives in core.css, loaded first by base.html)
    ========================================= */
:root {
    --charcoal: #ffffff;
    --slate: #94a3b8;
    --cream: #0b0f19;
    --border: rgba(255, 255, 255, 0.1);
    --accent: #cda85c;
    --light-bg: #0f172a;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
    TOP NAVIGATION HEADER
    ========================================= */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.top-nav.header-scroll {
    background-color: rgba(11, 15, 25, 0.98);
    padding: 15px 60px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.top-nav .logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: white;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.top-nav .logo:hover {
    color: var(--accent);
}

.top-nav .nav-links {
    display: flex;
    gap: 30px;
}

.top-nav .nav-links a {
    font-size: 0.8rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    transition: color 0.3s;
}

.top-nav .nav-links a:hover {
    color: var(--accent);
}

/* =========================================
    HERO SECTION
    ========================================= */
.hero {
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(to bottom, rgba(11, 15, 25, 0.40), rgba(11, 15, 25, 1)), url("images/high_rez/openspace.1f589ff9f266.webp") center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 80px 10%;
}

.hero-content {
    color: white;
    max-width: 800px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 1px;
    line-height: 1.8;
    color: #e2e8f0;
}

/* =========================================
    ABOUT SECTION (pinned — always visible above the tab strip)
    ========================================= */
.about-section {
    padding: 90px 10% 20px 10%;
    background-color: var(--cream);
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.about-eyebrow {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.about-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--charcoal);
    margin-bottom: 32px;
}

.about-body {
    max-width: 820px;
}

.about-body p {
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--charcoal);
    margin-bottom: 22px;
}

.about-body strong {
    font-weight: 600;
    color: var(--accent);
}

/* --- Four "what we actually do" pillars --- */
.about-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.about-pillar {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.about-pillar:hover {
    transform: translateY(-4px);
    border-color: rgba(205, 168, 92, 0.45);
}

.about-pillar h3 {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    font-weight: 600;
}

.about-pillar p {
    font-size: 0.94rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--charcoal);
    flex-grow: 1;
}

.about-pillar-link {
    margin-top: 20px;
    align-self: flex-start;
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--slate);
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.about-pillar-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* --- Fact strip --- */
.about-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    padding: 34px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-fact {
    text-align: center;
}

.about-fact-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--accent);
    line-height: 1.2;
}

.about-fact-label {
    display: block;
    margin-top: 8px;
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--slate);
}

/* --- Contact block --- */
.about-contact {
    margin-top: 60px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 36px;
}

.about-contact h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 22px;
    font-weight: 600;
}

.about-contact-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 40px;
}

.about-contact-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-contact-key {
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--slate);
}

.about-contact-list a,
.about-contact-list li > span:last-child {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--charcoal);
    transition: color 0.25s ease;
}

.about-contact-list a:hover {
    color: var(--accent);
}

.about-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 38px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: var(--accent);
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.about-cta:hover {
    background-color: var(--accent);
    color: var(--cream);
}

/* =========================================
    FOLLOW BAND
    ========================================= */
.social-follow-section {
    padding: 80px 10% 0 10%;
    background-color: var(--cream);
}

.social-follow { text-align: center; }

.social-follow-label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 20px;
}

.social-icons-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 0;
}

.social-icons-bar a {
    color: var(--charcoal);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons-bar a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.social-icons-bar svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================
    TAB STRIP (FAQ / Testimonials)
    Same segmented control as the Events page.
    ========================================= */
.page-tabs-section {
    padding: 70px 10% 0 10%;
    background-color: var(--cream);
    text-align: center;
}

.page-tabs {
    display: inline-flex;
    flex-wrap: wrap;          /* three tabs: wrap rather than overflow on narrow screens */
    justify-content: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background-color: var(--light-bg);
}

.page-tab {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--slate);
    padding: 12px 34px;
    border-radius: 999px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.page-tab:hover { color: var(--charcoal); }

.page-tab.active {
    color: var(--cream);
    background-color: var(--accent);
    font-weight: 600;
}

/* View panels: only the active one is shown (pure class toggle, no inline style) */
.view-panel { display: none; }
.view-panel.active { display: block; }
.view-panel > section { padding-top: 50px; }

/* Shared section headings inside the panels */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 14px;
    text-align: center;
    color: var(--charcoal);
}

.section-sub {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px auto;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--slate);
    line-height: 1.8;
}

.section-sub a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
}

.section-sub a:hover { border-color: var(--accent); }

/* =========================================
    FAQ ACCORDION
    Rows expand via grid-template-rows 0fr -> 1fr, so there is no magic
    max-height number to get wrong when an answer's text is edited.
    ========================================= */
.faq-section {
    padding: 0 10% 80px 10%;
    background-color: var(--cream);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-q {
    margin: 0;
    font-weight: 400;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 26px 4px;
    color: var(--charcoal);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.25s ease;
}

.faq-trigger:hover { color: var(--accent); }

.faq-trigger:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-trigger { color: var(--accent); }

/* Collapsed by default; the open row animates its row track to 1fr */
.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.32s ease;
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }

.faq-a-inner { min-height: 0; }

.faq-a-inner p {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--slate);
    padding: 0 4px 10px 4px;
}

.faq-item.open .faq-a-inner p:last-child { padding-bottom: 28px; }

.faq-a-inner a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
}

.faq-a-inner a:hover { border-color: var(--accent); }

.faq-terms-note {
    max-width: 900px;
    margin: 44px auto 0 auto;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--slate);
}

.faq-terms-note a,
.faq-terms-link {
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
}

.faq-terms-note a:hover,
.faq-terms-link:hover { border-color: var(--accent); }

/* The "Terms & Conditions of Hire" control is a <button> (it switches tabs
   rather than navigating), so strip the button chrome and let it read as the
   link it behaves like. */
.faq-terms-link {
    background: none;
    border: none;
    border-bottom: 1px solid transparent;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.faq-terms-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* =========================================
    TERMS OF SERVICE
    Full hire terms, rendered on the page as a numbered legal document.
    Each clause is an anchor target (#clause11), so a clause can be linked
    to directly in an email or a dispute.
    ========================================= */
.terms-section {
    padding: 0 10% 80px 10%;
    background-color: var(--cream);
}

.terms-list {
    max-width: 900px;
    margin: 0 auto;
    list-style: none;
    counter-reset: none;
    border-top: 1px solid var(--border);
}

.terms-clause {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    align-items: start;
    padding: 22px 4px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 110px;   /* clears the fixed header when anchor-linked */
}

.terms-clause:target { background-color: rgba(205, 168, 92, 0.08); }

.terms-num {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    line-height: 1.75;
    text-align: right;
}

.terms-clause p {
    font-size: 0.93rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--slate);
    margin: 0;
}

.terms-foot {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--slate);
}

.terms-foot a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s ease;
}

.terms-foot a:hover { border-color: var(--accent); }

/* =========================================
    TESTIMONIALS WALL (moved here from the Events page)
    ========================================= */
.social-section {
    padding: 0 10% 80px 10%;
    background-color: var(--cream);
}

.testimonial-grid {
    column-count: 3;
    column-gap: 20px;
}

.testimonial-card {
    break-inside: avoid;
    margin-bottom: 20px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 30px;
}

.quote-mark {
    width: 30px;
    height: 30px;
    color: var(--accent);
    opacity: 0.55;
    margin-bottom: 14px;
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--charcoal);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.testimonial-photo, .testimonial-initial {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--cream);
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.testimonial-meta { line-height: 1.35; }

.testimonial-name {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--charcoal);
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--slate);
    margin-top: 3px;
}

.feed-empty {
    text-align: center;
    color: var(--slate);
    font-style: italic;
}

/* =========================================
    "LOAD MORE" (testimonials pagination)
    Hidden until the API reports a next page; JS toggles .visible.
    ========================================= */
.load-more-wrap {
    display: none;
    justify-content: center;
    margin-top: 50px;
}

.load-more-wrap.visible { display: flex; }

.load-more-btn {
    background: none;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 38px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.load-more-btn:hover { background-color: var(--accent); color: var(--cream); }
.load-more-btn:disabled { opacity: 0.55; cursor: default; }

/* =========================================
    MOBILE RESPONSIVE
    ========================================= */
.mobile-menu-btn, .mobile-close-btn { display: none; }

@media (max-width: 900px) {
    .top-nav { padding: 15px 20px; }
    .top-nav.header-scroll { padding: 15px 20px; }

    .top-nav .logo {
        font-size: 1.2rem;
        position: relative;
        z-index: 101;
    }

    .hero {
        padding-top: 100px;
        height: auto;
        min-height: 40vh;
        text-align: center;
        justify-content: center;
    }

    .hero-content h1 { font-size: 2.5rem; }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        position: relative;
        z-index: 101;
    }

    .mobile-menu-btn span {
        font-size: 0.55rem;
        margin-top: 4px;
        letter-spacing: 1px;
        font-family: 'Montserrat', sans-serif;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    body.menu-open .nav-links {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open { overflow: hidden; }

    .mobile-close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
    }

    .top-nav .nav-links a {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.2rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 500;
    }

    .about-section { padding: 60px 5% 10px 5%; }
    .about-heading { font-size: 1.9rem; }
    .about-pillars { grid-template-columns: 1fr; }
    .about-facts { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
    .about-contact { padding: 26px; }
    .about-contact-list { grid-template-columns: 1fr; }

    .page-tabs-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .page-tab {
        padding: 10px 18px;
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

    .faq-section { padding: 0 5% 60px 5%; }
    .faq-trigger { font-size: 0.92rem; padding: 22px 2px; }

    .terms-section { padding: 0 5% 60px 5%; }
    .terms-clause { grid-template-columns: 30px 1fr; gap: 12px; padding: 18px 2px; }
    .terms-num { font-size: 0.85rem; }
    .terms-clause p { font-size: 0.88rem; }

    .social-section { padding: 0 5% 60px 5%; }
    .testimonial-grid { column-count: 1; }
}

/* =========================================
    LIGHT / DARK THEME
    The default (dark) palette lives in :root above; body.light-mode
    swaps the same tokens. The choice is made in about.js — it remembers
    the visitor's pick, otherwise follows the OS (leaning light).
    NOTE: this page loads DARK by default and adds .light-mode. Do not
    copy this predicate into inquire.css, which uses the inverse
    (.dark-mode on a light-by-default page).
    ========================================= */
body.light-mode {
    --charcoal: #2a2520;   /* primary text */
    --slate: #8b8170;      /* muted text */
    --cream: #ece6da;      /* page background */
    --border: rgba(42, 37, 32, 0.10);
    --accent: #9a6f1f;     /* gold, darkened for contrast on light */
    --light-bg: #fbf9f4;   /* card background */
}

/* The fixed header is transparent over the dark hero (white text is correct
   in both themes). Once scrolled it gains a solid background — in light mode
   that background and its nav text flip so everything stays legible. */
body.light-mode .top-nav.header-scroll {
    background-color: rgba(236, 230, 218, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

body.light-mode .top-nav.header-scroll .logo,
body.light-mode .top-nav.header-scroll .nav-links a,
body.light-mode .top-nav.header-scroll .mobile-menu-btn,
body.light-mode .top-nav.header-scroll .theme-toggle {
    color: var(--charcoal);
}

body.light-mode .top-nav.header-scroll .theme-toggle { border-color: rgba(42, 37, 32, 0.25); }

/* Avatar initials sit on the gold chip — light text reads better in light mode */
body.light-mode .testimonial-initial { color: #fff; }

/* Theme toggle button (lives at the end of the nav) */
.top-nav .nav-links { align-items: center; }

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.theme-toggle .moon-icon { display: none; }
body.light-mode .theme-toggle .sun-icon { display: none; }
body.light-mode .theme-toggle .moon-icon { display: block; }

/* The mobile slide-in menu becomes a light panel in light mode — flip its items dark */
@media (max-width: 900px) {
    body.light-mode .nav-links a,
    body.light-mode .nav-links .theme-toggle,
    body.light-mode .mobile-close-btn { color: var(--charcoal); }
    body.light-mode .nav-links .theme-toggle { border-color: var(--border); }
}

/* Respect reduced-motion: kill the accordion + hover transforms */
@media (prefers-reduced-motion: reduce) {
    .faq-a, .faq-chevron, .about-pillar { transition: none; }
    .about-pillar:hover { transform: none; }
}

/* =========================================
    LEAVE A REVIEW (public testimonial submission)
    Everything below is driven by CSS classes toggled in about.js -- no inline
    styles and no on* handlers anywhere in the markup, matching the rest of the
    site. Colours come from the theme variables, so the whole form follows the
    light/dark toggle without a single duplicated rule.
    ========================================= */

/* --- The invitation under the wall --- */
.share-cta {
    margin-top: 60px;
    text-align: center;
}

.share-cta.is-hidden { display: none; }

.share-cta-line {
    color: var(--slate);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.share-btn {
    background: var(--accent);
    border: 1px solid var(--accent);
    color: var(--cream);
    font-family: 'Cinzel', serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 38px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.share-btn:hover { background: transparent; color: var(--accent); }

.share-cta-note {
    color: var(--slate);
    font-size: 0.78rem;
    font-style: italic;
    margin-top: 14px;
}

/* --- Post-submission confirmation. Hidden until about.js adds .visible. --- */
.share-thanks {
    display: none;
    margin-top: 60px;
    padding: 26px 30px;
    border: 1px solid var(--accent);
    border-radius: 10px;
    text-align: center;
    color: var(--charcoal);
    font-size: 0.95rem;
    line-height: 1.6;
}

.share-thanks.visible { display: block; }

/* --- Modal shell --- */
.review-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 8, 14, 0.85);
    display: none;                 /* .is-open switches this to flex */
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    overflow-y: auto;
}

.review-overlay.is-open { display: flex; }

/* Stops the page behind the modal scrolling under it on mobile. */
body.review-open { overflow: hidden; }

.review-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 100%;
    max-width: 620px;
    padding: 34px 38px 38px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.review-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 8px;
}

.review-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--charcoal);
}

.review-close {
    background: none;
    border: none;
    color: var(--slate);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
    transition: color 0.3s ease;
}

.review-close:hover { color: var(--accent); }

.review-intro {
    color: var(--slate);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 26px;
}

/* --- Fields --- */
.review-row {
    display: flex;
    gap: 18px;
}

.review-row .review-field { flex: 1 1 0; }

.review-field { margin-bottom: 20px; }

.review-label {
    display: block;
    color: var(--charcoal);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
}

.review-label .req { color: var(--accent); }

.review-input {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 14px;
    color: var(--charcoal);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.review-input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Native select options are painted by the OS, so the popup list needs an
   explicit colour pair or it renders white-on-white in dark mode on some
   platforms. The closed control is styled by .review-input above. */
.review-input option {
    background: var(--cream);
    color: var(--charcoal);
}

.review-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.review-file { padding: 10px 12px; }

/* Conditional field: hidden until about.js adds .is-visible. Display, not
   visibility -- a field nobody can use should not hold layout open either. */
.review-conditional { display: none; }
.review-conditional.is-visible { display: block; }

.review-hint {
    color: var(--slate);
    font-size: 0.74rem;
    margin-top: 7px;
}

/* --- Consent --- */
.review-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 26px 0 20px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.review-consent input {
    margin-top: 3px;
    flex: 0 0 auto;
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.review-consent label {
    color: var(--slate);
    font-size: 0.8rem;
    line-height: 1.6;
    cursor: pointer;
}

.review-turnstile {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

/* --- Status line. Empty and invisible until about.js writes to it. --- */
.review-status {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 16px;
    min-height: 1px;
}

.review-status.is-error { color: #ef4444; }
.review-status.is-ok { color: var(--accent); }

.review-submit {
    width: 100%;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: var(--cream);
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 20px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.review-submit:hover { background: transparent; color: var(--accent); }
.review-submit:disabled { opacity: 0.55; cursor: default; }

@media (max-width: 640px) {
    .review-overlay { padding: 0; }
    .review-card {
        border: none;
        border-radius: 0;
        min-height: 100%;
        padding: 26px 20px 40px;
    }
    /* Stack the paired fields: two inputs side by side are unusable at this width. */
    .review-row { flex-direction: column; gap: 0; }
}
