/* =========================================================================
   AmazingDens — shared theme
   Tokens, reset, typography, layout primitives, reusable components.
   Page-specific styles live in per-page CSS files (e.g. home.css).
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------- */
:root {
    /* Colour — base surfaces */
    --bg:            #272727;
    --bg-raised:     #303030;
    --bg-sunken:     #1c1c1c;

    /* Colour — ink */
    --ink:           #f9f9f9;
    --ink-muted:     #b7b7b7;
    --ink-subtle:    #909090;

    /* Colour — accents (earth-tone palette, terracotta leads) */
    --accent:        #973c20;
    --accent-soft:   #b54a28;
    --sage:          #4d5b48;
    --mud:           #5f584f;
    --saddle:        #6d533c;

    /* Colour — borders */
    --border:        rgba(249, 249, 249, 0.08);
    --border-strong: rgba(249, 249, 249, 0.18);

    /* Typography families */
    --font-display: "Fraunces", "Cardo", Georgia, "Times New Roman", serif;
    --font-body:    "Cardo", Georgia, "Times New Roman", serif;
    --font-ui:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                    Roboto, sans-serif;

    /* Type scale (fluid) */
    --fs--1: clamp(0.85rem, 0.80rem + 0.25vw, 1rem);
    --fs-0:  clamp(1rem,    0.95rem + 0.3vw,  1.15rem);
    --fs-1:  clamp(1.25rem, 1.1rem  + 0.8vw,  1.75rem);
    --fs-2:  clamp(1.75rem, 1.5rem  + 1.2vw,  2.5rem);
    --fs-3:  clamp(2.5rem,  2rem    + 2.5vw,  4rem);
    --fs-4:  clamp(3.5rem,  2.5rem  + 4vw,    6.5rem);

    /* Spacing scale */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --sp-6: 2rem;
    --sp-7: 3rem;
    --sp-8: 4rem;
    --sp-9: 6rem;
    --sp-10: 8rem;
    --sp-11: 12rem;

    /* Layout */
    --container:      72rem;
    --container-wide: 86rem;
    --gutter:         clamp(1rem, 4vw, 2.5rem);
    --header-h:       5rem;

    /* Motion */
    --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-fast:    200ms;
    --dur-base:    400ms;
    --dur-slow:    800ms;

    /* Radii + shadows */
    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow:    0 12px 40px rgba(0, 0, 0, 0.4);
}

/* -------------------------------------------------------------------------
   2. Reset (modern, minimal)
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

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

body {
    background: var(--bg);
}

body {
    min-height: 100dvh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
}

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

ul,
ol {
    list-style: none;
    padding: 0;
}

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

/* Reduced-motion killswitch for CSS transitions/animations.
   main.js handles the GSAP side separately. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* -------------------------------------------------------------------------
   3. Base typography
   ------------------------------------------------------------------------- */
body {
    font-family: var(--font-body);
    font-size: var(--fs-0);
    color: var(--ink);
    background: var(--bg);
    font-optical-sizing: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    color: var(--ink);
}

h1 { font-size: var(--fs-3); }
h2 { font-size: var(--fs-2); }
h3 { font-size: var(--fs-1); }
h4 { font-size: var(--fs-0); font-family: var(--font-ui); font-weight: 600; letter-spacing: 0; }

p {
    max-width: 62ch;
}

small,
.text-small {
    font-size: var(--fs--1);
    color: var(--ink-muted);
}

a.link {
    color: var(--ink);
    border-bottom: 1px solid var(--border-strong);
    transition: border-color var(--dur-fast) var(--ease-out),
                color var(--dur-fast) var(--ease-out);
}
a.link:hover {
    color: var(--accent-soft);
    border-color: var(--accent-soft);
}

/* -------------------------------------------------------------------------
   4. Layout primitives
   ------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container-wide {
    width: 100%;
    max-width: var(--container-wide);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* Section padding is deliberately asymmetric: the space above a section head
   is what gives it room to land, the space below its last element is dead.
   Two stacked sections used to put 16rem between them; the top padding does
   most of that work on its own. */
.section {
    padding-block: var(--sp-10) var(--sp-7);
}

.section--tight {
    padding-block: var(--sp-8) var(--sp-5);
}

.stack > * + * {
    margin-top: var(--stack-gap, var(--sp-5));
}

.stack-lg > * + * {
    margin-top: var(--sp-7);
}

.grid {
    display: grid;
    gap: var(--grid-gap, var(--sp-6));
    grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
}

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

.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cluster-gap, var(--sp-4));
    align-items: center;
}

/* -------------------------------------------------------------------------
   5. Header / nav
   ------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    padding-inline: var(--gutter);
    background: rgba(39, 39, 39, 0);
    backdrop-filter: blur(0);
    transition: background var(--dur-base) var(--ease-out),
                backdrop-filter var(--dur-base) var(--ease-out),
                height var(--dur-base) var(--ease-out),
                border-color var(--dur-base) var(--ease-out);
    border-bottom: 1px solid transparent;
}

.site-header--scrolled {
    background: rgba(28, 28, 28, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--border);
    height: 4rem;
}

.site-header__inner {
    width: 100%;
    max-width: var(--container-wide);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-5);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--ink);
    font-variation-settings: "opsz" 144;
}

.brand__mark {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-strong);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
}

.nav__list {
    display: none;
    gap: var(--sp-5);
    font-family: var(--font-ui);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-muted);
}

@media (min-width: 960px) {
    .nav__list { display: flex; }
}

.nav__link {
    position: relative;
    padding-block: var(--sp-2);
    transition: color var(--dur-fast) var(--ease-out);
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--accent-soft);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-base) var(--ease-out);
}

.nav__link:hover {
    color: var(--ink);
}

.nav__link:hover::after {
    transform: scaleX(1);
}

.nav__cta {
    display: none;
}

@media (min-width: 960px) {
    .nav__cta { display: inline-flex; }
}

.nav__toggle {
    --sz: 2.75rem;
    width: var(--sz);
    height: var(--sz);
    display: grid;
    place-items: center;
    color: var(--ink);
    background: rgba(28, 28, 28, 0.55);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    transition: background var(--dur-fast) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out);
}

.nav__toggle:hover {
    background: rgba(28, 28, 28, 0.75);
    border-color: rgba(249, 249, 249, 0.35);
}

@media (min-width: 960px) {
    .nav__toggle { display: none; }
}

.nav__toggle-bars {
    display: grid;
    gap: 4px;
}

.nav__toggle-bars span {
    display: block;
    width: 1.1rem;
    height: 1.5px;
    background: currentColor;
    transition: transform var(--dur-fast) var(--ease-out),
                opacity var(--dur-fast) var(--ease-out);
}

body.nav-open .nav__toggle-bars span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}
body.nav-open .nav__toggle-bars span:nth-child(2) {
    opacity: 0;
}
body.nav-open .nav__toggle-bars span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
   Mobile drawer — floating translucent card
   A pill-cornered card that floats below the header on the right side of
   the viewport, matching the scrolled-header blur treatment so the two
   chrome elements feel like one family. Hidden at ≥ 960px.
   ------------------------------------------------------------------------- */
.nav__drawer {
    position: fixed;
    top: calc(var(--header-h) - 0.25rem);
    right: var(--gutter);
    left: var(--gutter);
    max-width: 22rem;
    margin-left: auto;
    padding: var(--sp-5);
    background: rgba(22, 22, 22, 0.96);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55),
                0 2px 6px rgba(0, 0, 0, 0.35);
    font-family: var(--font-ui);

    /* Closed state. Use opacity + transform rather than display:none so
       the opening/closing transition animates. pointer-events:none stops
       the offscreen card capturing taps. */
    opacity: 0;
    transform: translateY(-0.75rem) scale(0.96);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out),
                transform var(--dur-base) var(--ease-out);
}

body.nav-open .nav__drawer {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* At desktop width the drawer has no reason to exist — take it out of
   the layout entirely so no stale styles leak through. */
@media (min-width: 960px) {
    .nav__drawer { display: none; }
}

.nav__drawer ul {
    display: grid;
    gap: var(--sp-2);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
}

.nav__drawer ul a {
    display: block;
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    color: var(--ink-muted);
    border: 1px solid transparent;
    transition: background var(--dur-fast) var(--ease-out),
                color var(--dur-fast) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out);
}

.nav__drawer ul a:hover,
.nav__drawer ul a:focus-visible {
    color: var(--ink);
    background: rgba(249, 249, 249, 0.06);
    border-color: var(--border-strong);
}

.nav__drawer ul a.is-cta {
    margin-top: var(--sp-3);
    text-align: center;
    color: var(--ink);
    background: var(--accent);
    border-color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav__drawer ul a.is-cta:hover,
.nav__drawer ul a.is-cta:focus-visible {
    background: var(--accent-soft);
    border-color: var(--accent-soft);
}

/* -------------------------------------------------------------------------
   6. Buttons + eyebrow
   ------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 0.85rem 1.6rem;
    font-family: var(--font-ui);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background var(--dur-fast) var(--ease-out),
                color var(--dur-fast) var(--ease-out),
                border-color var(--dur-fast) var(--ease-out),
                transform var(--dur-fast) var(--ease-out);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn--primary {
    background: var(--accent);
    color: var(--ink);
}

.btn--primary:hover {
    background: var(--accent-soft);
}

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border-strong);
}

.btn--ghost:hover {
    border-color: var(--ink);
    background: rgba(249, 249, 249, 0.04);
}

.btn--lg {
    padding: 1.05rem 2rem;
    font-size: 1rem;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-soft);
}

/* -------------------------------------------------------------------------
   7. Card + surface components
   ------------------------------------------------------------------------- */
.card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--dur-base) var(--ease-out),
                border-color var(--dur-base) var(--ease-out);
}

.card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
}

.card__media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
}

.card:hover .card__media img {
    transform: scale(1.04);
}

.card__body {
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    flex: 1;
}

.card__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.2;
}

.card__lede {
    color: var(--ink-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--accent-soft);
}

.card__link span {
    transition: transform var(--dur-base) var(--ease-out);
}

.card:hover .card__link span {
    transform: translateX(4px);
}

/* -------------------------------------------------------------------------
   8. Footer
   ------------------------------------------------------------------------- */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-sunken);
    padding-block: var(--sp-9) var(--sp-6);
    margin-top: var(--sp-10);
}

.site-footer__grid {
    display: grid;
    /* Two columns of links from the smallest phone up — one long single
       stack turned the footer into a screenful of scrolling. The brand
       block spans both, above them. */
    gap: var(--sp-6) var(--sp-5);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer__brand {
    grid-column: 1 / -1;
}

@media (min-width: 720px) {
    .site-footer__grid {
        gap: var(--sp-7);
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: auto;
    }
}

.site-footer__brand .brand {
    font-size: 1.75rem;
}

.site-footer__brand p {
    margin-top: var(--sp-4);
    color: var(--ink-muted);
    font-size: 0.95rem;
    max-width: 32ch;
}

.site-footer__col h4 {
    font-family: var(--font-ui);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-subtle);
    margin-bottom: var(--sp-4);
}

.site-footer__col ul {
    display: grid;
    gap: var(--sp-3);
    font-family: var(--font-ui);
    font-size: 0.95rem;
    color: var(--ink-muted);
}

.site-footer__col a {
    transition: color var(--dur-fast) var(--ease-out);
}

.site-footer__col a:hover {
    color: var(--ink);
}

.site-footer__legal {
    margin-top: var(--sp-8);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    justify-content: space-between;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: var(--ink-subtle);
}

/* The build stamp (`<version> · <sha>`), printed so a deploy can be verified
   from the page itself — if it is not the sha you expect, it is a stale tab
   or an unlanded sync, not a failed build. */
.site-footer__build {
    font-variant-numeric: tabular-nums;
    opacity: 0.7;
}

/* -------------------------------------------------------------------------
   9. Scroll reveal
   main.js adds .reveal-ready to <html> when IntersectionObserver exists, then
   .is-in to each .reveal block as it reaches the lower 10% of the viewport.
   An opacity-only transition: the cheapest animation there is, and a block
   mid-reveal is never out of place because nothing moves. Without the
   script (or with reduced motion) everything is simply visible.
   ------------------------------------------------------------------------- */
.reveal-ready .reveal {
    opacity: 0;
}

/* The transition lives on the revealed state only, so hiding (the script
   adding .reveal-ready) is instant and only the reveal itself fades. */
.reveal-ready .reveal.is-in {
    opacity: 1;
    transition: opacity 0.6s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-ready .reveal {
        opacity: 1;
        transition: none;
    }
}

/* -------------------------------------------------------------------------
   10. Utilities (used ≥3× only)
   ------------------------------------------------------------------------- */
.text-muted  { color: var(--ink-muted); }
.text-subtle { color: var(--ink-subtle); }
.text-accent { color: var(--accent-soft); }
.text-center { text-align: center; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }

.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: revert; } }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* -------------------------------------------------------------------------
   11. CMS-authored pages: the plain-page hero and prose
   A StandardPage (pricing, terms, an event — whatever an editor adds) opens
   with this hero, the gallery hero's shape without its page-specific CSS
   file, and sets its rich text in .prose. Kept here because every page can
   carry a Text section.
   ------------------------------------------------------------------------- */
.page-hero {
    padding-top: calc(var(--header-h) + var(--sp-9));
    padding-bottom: var(--sp-6);
    border-bottom: 1px solid var(--border);
}

.prose {
    max-width: 68ch;
    line-height: 1.7;
    color: var(--ink-muted);
}

.prose p + p,
.prose ul,
.prose ol {
    margin-top: var(--sp-4);
}

.prose ul,
.prose ol {
    padding-left: 1.25em;
}

.prose h3 {
    margin-top: var(--sp-6);
    margin-bottom: var(--sp-3);
    color: var(--ink);
}

.prose a {
    color: var(--accent-soft);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.prose-figure {
    margin: var(--sp-6) 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.prose-figure img {
    display: block;
    width: 100%;
    height: auto;
}

/* Standard-page hero image: full width under the title */
.page-hero__image {
    margin-top: var(--sp-7);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-raised);
}

.page-hero__image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Photo grid block: CSS-columns masonry, like the gallery page */
.photo-grid {
    column-count: 2;
    column-gap: var(--sp-5);
}

@media (min-width: 720px) {
    .photo-grid--3 { column-count: 3; }
    .photo-grid--4 { column-count: 4; }
}

.photo-grid__item {
    break-inside: avoid;
    margin: 0 0 var(--sp-5);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-raised);
}

.photo-grid__item img {
    display: block;
    width: 100%;
    height: auto;
}

/* Packages block: cards with a price line */
.packages__grid {
    display: grid;
    gap: var(--sp-6);
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.package__media {
    aspect-ratio: 9 / 7;
    overflow: hidden;
    background: var(--bg-raised);
}

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

.package__price {
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--accent-soft);
    margin-bottom: var(--sp-3);
}

.package__details {
    color: var(--ink-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.package__details p + p,
.package__details ul {
    margin-top: var(--sp-3);
}

.package__details ul {
    padding-left: 1.2em;
}

.packages__note {
    margin-top: var(--sp-6);
    font-size: 0.9rem;
    max-width: 68ch;
}

/* Feature list block */
.features {
    list-style: none;
    padding: 0;
    display: grid;
    gap: var(--sp-6);
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.feature {
    padding: var(--sp-5);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-raised);
}

.feature__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: var(--sp-3);
}

.feature p {
    color: var(--ink-muted);
    line-height: 1.6;
}

/* FAQ block: native disclosure widgets */
.faq {
    max-width: 72ch;
}

.faq__item {
    border-top: 1px solid var(--border);
    padding: var(--sp-4) 0;
}

.faq__item:last-child {
    border-bottom: 1px solid var(--border);
}

.faq__question {
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: var(--sp-4);
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
    content: "+";
    color: var(--accent-soft);
    flex: none;
}

.faq__item[open] .faq__question::after {
    content: "\2212";
}

.faq__answer {
    padding-top: var(--sp-4);
}

/* Testimonial block */
.quote {
    max-width: 68ch;
    margin: 0 auto;
    text-align: center;
}

.quote__stars {
    color: var(--accent-soft);
    letter-spacing: 0.15em;
    margin-bottom: var(--sp-4);
}

.quote__text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--ink);
}

.quote__by {
    margin-top: var(--sp-4);
    color: var(--ink-subtle);
    font-family: var(--font-ui);
    font-size: 0.9rem;
}

/* -------------------------------------------------------------------------
   12. Section heads and the booking call to action
   Moved out of home.css: every page type uses them now (home, gallery, the
   standard-page blocks).
   ------------------------------------------------------------------------- */
.section__head {
    max-width: 48rem;
    margin-bottom: var(--sp-8);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.section__head h2 {
    font-size: var(--fs-3);
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.book {
    background:
        linear-gradient(180deg, var(--bg) 0%, var(--bg-sunken) 100%);
    border-top: 1px solid var(--border);
    /* The border and the change of background already mark the boundary —
       this margin only has to keep the rule off the section above it. */
    margin-top: var(--sp-6);
}

.book__inner {
    max-width: 44rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.book__inner .eyebrow {
    margin-bottom: var(--sp-4);
}

.book__headline {
    font-family: var(--font-display);
    font-size: var(--fs-3);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-5);
    text-wrap: balance;
}

.book__inner .cluster {
    justify-content: center;
}

/* Lists inside rich text keep their markers (the global reset removes them) */
.prose ul,
.package__details ul,
.faq__answer ul {
    list-style: disc;
}

.prose ol,
.package__details ol {
    list-style: decimal;
}

/* Reviews — a grid of quote cards. The single .quote block above is the
   pull-quote treatment; this is the wall of them. */
.testimonials__grid {
    list-style: none;
    padding: 0;
    display: grid;
    gap: var(--sp-5);
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
    .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
    height: 100%;
}

.testimonial figure {
    height: 100%;
    margin: 0;
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-raised);
}

.testimonial__stars {
    margin: 0;
    color: var(--accent);
    letter-spacing: 0.15em;
    font-size: 0.9rem;
}

.testimonial__text {
    margin: 0;
    /* Long reviews sit beside short ones, so the quote takes the slack and
       the name always lands on the bottom edge of the card. */
    flex: 1;
    color: var(--ink-muted);
    line-height: 1.65;
}

.testimonial__by {
    margin: 0;
    font-weight: 600;
    color: var(--ink);
}

/* -------------------------------------------------------------------------
   13. Narrow screens: a tighter vertical rhythm
   The spacing tokens were tuned on a large screen; on a phone the same 8rem
   of section padding is a screenful of nothing between sections. Only widths
   under 720px change; desktop keeps its spacing.
   ------------------------------------------------------------------------- */
@media (max-width: 720px) {
    .section        { padding-block: var(--sp-8) var(--sp-5); }   /* 4rem / 1.5rem */
    .section--tight { padding-block: var(--sp-7) var(--sp-4); }   /* 3rem / 1rem */
    .section__head  { margin-bottom: var(--sp-7); }   /* 3rem, was 4rem */
    .book           { margin-top: var(--sp-5); }

    .page-hero {
        padding-top: calc(var(--header-h) + var(--sp-7));
        padding-bottom: var(--sp-5);
    }

    .page-hero__image { margin-top: var(--sp-6); }
}

/* -------------------------------------------------------------------------
   14. Hero text — the home hero, the gallery hero and every page hero
   One treatment: main.js wraps each .hero__line in per-character spans and
   animates the eyebrow, the characters and the lede in on load; magic.css
   sweeps a shimmer across the italic accent. The from-states apply only
   under .js-ready, which main.js adds once GSAP is confirmed, so without
   the script the text is simply visible.
   ------------------------------------------------------------------------- */
.js-ready .hero__eyebrow { opacity: 0; transform: translateY(16px); }
.js-ready .hero__lede    { opacity: 0; transform: translateY(24px); }
.js-ready .hero__ctas    { opacity: 0; transform: translateY(16px); }
.js-ready .hero__marquee { opacity: 0; transform: translateY(12px); }

.hero__word {
    display: inline-block;
    white-space: nowrap;
}

.hero__char {
    display: inline-block;
    will-change: transform, opacity;
}

.js-ready .hero__char {
    opacity: 0;
    transform: translateY(60%);
}

@media (prefers-reduced-motion: reduce) {
    .js-ready .hero__eyebrow,
    .js-ready .hero__line,
    .js-ready .hero__lede,
    .js-ready .hero__ctas,
    .js-ready .hero__marquee,
    .js-ready .hero__char {
        opacity: 1;
        transform: none;
    }
}

.hero__eyebrow {
    display: inline-block;
    color: var(--ink);
    opacity: 0.85;
}

.hero__display {
    font-family: var(--font-display);
    font-size: var(--fs-3);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    color: var(--ink);
    text-wrap: balance;
}

.hero__display em {
    font-style: italic;
    color: var(--accent-soft);
    font-variation-settings: "opsz" 144, "SOFT" 100;
}

.hero__line {
    display: block;
}

.hero__lede {
    font-family: var(--font-body);
    font-size: var(--fs-0);
    line-height: 1.6;
    max-width: 42ch;
    color: var(--ink-muted);
}

/* The gallery and page heroes: a narrower measure and their own spacing */
.page-hero .hero__eyebrow,
.gallery-hero .hero__eyebrow {
    margin-bottom: var(--sp-4);
}

.page-hero .hero__display,
.gallery-hero .hero__display {
    max-width: 22ch;
    margin-bottom: var(--sp-5);
}
