:root {
    color-scheme: dark;

    --black: #080806;
    --black-soft: #0d0d0b;
    --charcoal: #151510;
    --surface: #1a1915;

    --white: #f8f5ed;
    --white-soft: #ded8ca;
    --muted: #aaa394;

    --gold: #cdb06d;
    --gold-soft: rgba(205, 176, 109, 0.24);

    --border: rgba(248, 245, 237, 0.12);
    --shadow: rgba(0, 0, 0, 0.46);

    --content-width: 1280px;
    --reading-width: 760px;
    --header-height: 88px;

    --serif:
        Georgia,
        "Times New Roman",
        serif;

    --sans:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--black);
    color: var(--white);
    font-family: var(--sans);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 14px;
    left: 14px;
    padding: 10px 16px;
    background: var(--white);
    color: var(--black);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.content-shell {
    width: min(
        var(--content-width),
        calc(100% - 48px)
    );
    margin-inline: auto;
}

.site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    border-bottom: 1px solid transparent;
    background:
        linear-gradient(
            to bottom,
            rgba(8, 8, 6, 0.94),
            rgba(8, 8, 6, 0.66),
            transparent
        );
}

.site-header__inner {
    width: min(
        var(--content-width),
        calc(100% - 48px)
    );
    min-height: var(--header-height);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-brand-group {
    display: flex;
    align-items: flex-start;
    gap: clamp(22px, 2.2vw, 38px);
    flex: 0 1 auto;
    transform: translateX(-185px);
}

.site-brand {
    min-width: 0;
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    white-space: nowrap;
}

.site-brand__name {
    font-family: var(--serif);
    font-size: clamp(1rem, 1.1vw, 1.35rem);
    line-height: 1.1;
}

.site-brand__tagline {
    margin-top: 5px;
    color: var(--muted);
    font-family: var(--serif);
    font-size: clamp(0.56rem, 0.58vw, 0.72rem);
    font-style: italic;
    white-space: nowrap;
}

.site-brand:hover .site-brand__name,
.site-brand:focus-visible .site-brand__name {
    color: var(--gold);
}

.primary-navigation {
    transform: translateX(185px);
}

.primary-navigation__list {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 31px);
    list-style: none;
}

.primary-navigation__link {
    position: relative;
    color: var(--white-soft);
    font-size: 0.78rem;
    letter-spacing: 0.035em;
    text-decoration: none;
    white-space: nowrap;
}

.primary-navigation__link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.primary-navigation__link:hover::after,
.primary-navigation__link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.primary-navigation__item--has-submenu { position: relative; }
.primary-navigation__caret { margin-left: 5px; color: var(--gold); font-size: 0.68em; }
.primary-navigation__submenu { position: absolute; top: calc(100% + 16px); left: 50%; z-index: 30; min-width: 255px; margin: 0; padding: 9px 0; list-style: none; border: 1px solid var(--border); background: rgba(8, 8, 6, 0.98); box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -6px); transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease; }
.primary-navigation__submenu::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 17px; }
.primary-navigation__item--has-submenu:hover .primary-navigation__submenu, .primary-navigation__item--has-submenu:focus-within .primary-navigation__submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.primary-navigation__submenu a { display: block; padding: 10px 16px; color: var(--white-soft); font-size: 0.76rem; line-height: 1.35; text-decoration: none; white-space: nowrap; }
.primary-navigation__submenu a:hover, .primary-navigation__submenu a:focus-visible { color: var(--gold); background: rgba(255, 255, 255, 0.035); }

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--white);
    font: inherit;
    cursor: pointer;
}

.menu-toggle__label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.menu-toggle__icon {
    width: 24px;
    display: grid;
    gap: 6px;
}

.menu-toggle__icon span {
    display: block;
    height: 1px;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 32% 22%,
            rgba(205, 176, 109, 0.15),
            transparent 39%
        ),
        linear-gradient(
            145deg,
            var(--charcoal),
            var(--black) 67%
        );
}

.hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(8, 8, 6, 0.2),
            rgba(8, 8, 6, 0.72)
        );
}

.hero__content {
    position: relative;
    z-index: 1;
    width: min(900px, calc(100% - 40px));
    padding: calc(var(--header-height) + 42px) 20px 70px;
    text-align: center;
}

.hero__eyebrow,
.section-eyebrow {
    margin: 0 0 22px;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 400;
}

h1 {
    margin: 0;
    font-size: clamp(3rem, 8.6vw, 7.3rem);
    letter-spacing: -0.045em;
    line-height: 0.95;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: 1.08;
}

.hero__tagline {
    margin: 20px 0 0;
    color: var(--white-soft);
    font-family: var(--serif);
    font-size: clamp(1.28rem, 2.7vw, 1.95rem);
    font-style: italic;
}

.hero__divider {
    width: 72px;
    height: 1px;
    margin: 38px auto;
    background: var(--gold);
}

.hero__statement {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2.7vw, 2rem);
    line-height: 1.5;
}

.hero__invitation {
    max-width: 620px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.hero__action {
    display: inline-block;
    margin-top: 38px;
    padding: 14px 27px;
    border: 1px solid var(--gold);
    color: var(--white);
    letter-spacing: 0.08em;
    text-decoration: none;
    transition:
        background 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.hero__action:hover,
.hero__action:focus-visible {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

.first-journey {
    min-height: 62vh;
    display: grid;
    place-items: center;
    padding: 100px 0;
    border-top: 1px solid var(--border);
    background:
        linear-gradient(
            180deg,
            var(--black-soft),
            var(--black)
        );
    text-align: center;
}

.first-journey .content-shell {
    max-width: var(--reading-width);
}

.first-journey p:last-child {
    max-width: 630px;
    margin: 28px auto 0;
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #060604;
}

.site-footer__inner {
    width: min(
        var(--content-width),
        calc(100% - 48px)
    );
    margin-inline: auto;
    padding: 58px 0;
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    align-items: end;
    gap: 40px;
}

.site-footer p {
    margin: 0;
}

.site-footer__brand {
    font-family: var(--serif);
    font-size: 1.25rem;
}

.site-footer__tagline,
.site-footer__copyright {
    margin-top: 5px !important;
    color: var(--muted);
    font-size: 0.76rem;
}

.site-footer__purpose {
    color: var(--white-soft);
    font-family: var(--serif);
    font-size: 1rem;
    text-align: center;
}

@media (max-width: 1280px) {
    .site-header__inner {
        gap: 22px;
    }

    .site-brand-group {
        gap: 20px;
    }

    .primary-navigation__list {
        gap: clamp(12px, 1.35vw, 22px);
    }
}

@media (max-width: 1060px) {
    .site-brand-group {
        flex: 1 1 auto;
        justify-content: space-between;
        gap: 14px;
        margin-right: 12px;
    }

    .site-brand__name {
        font-size: clamp(0.82rem, 1.6vw, 1.05rem);
    }

    .site-brand__tagline {
        font-size: clamp(0.49rem, 1vw, 0.62rem);
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 12px;
    }

    .primary-navigation {
        position: absolute;
        transform: translateX(0);
        top: calc(100% - 1px);
        right: 0;
        left: 0;
        padding: 22px 24px 34px;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        background: rgba(8, 8, 6, 0.98);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition:
            opacity 180ms ease,
            transform 180ms ease;
    }

    .primary-navigation--open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .primary-navigation__list {
        width: min(var(--content-width), 100%);
        margin-inline: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .primary-navigation__link {
        display: block;
        padding: 14px 8px;
        border-bottom: 1px solid var(--border);
        font-family: var(--serif);
        font-size: 1rem;
    }

    .primary-navigation__item--has-submenu { grid-column: 1 / -1; }
    .primary-navigation__submenu { position: static; min-width: 0; padding: 0 0 8px 16px; border: 0; border-bottom: 1px solid var(--border); background: transparent; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
    .primary-navigation__submenu::before { display: none; }
    .primary-navigation__submenu a { padding: 9px 8px; color: var(--muted); font-size: 0.86rem; white-space: normal; }

    .site-footer__inner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .site-footer__purpose {
        text-align: left;
    }
}

@media (max-width: 640px) {
    :root {
        --header-height: 74px;
    }

    .content-shell,
    .site-header__inner,
    .site-footer__inner {
        width: min(100% - 32px, var(--content-width));
    }

    .site-brand-group {
        gap: 9px;
        margin-right: 6px;
    }

    .site-brand__name {
        font-size: clamp(0.62rem, 2.35vw, 0.78rem);
    }

    .site-brand__tagline {
        display: none;
    }

    .primary-navigation__list {
        grid-template-columns: 1fr;
    }

    .hero__content {
        padding-inline: 8px;
    }

    .hero__statement {
        line-height: 1.4;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Phase 2C — Experience homepage */

.experience-section,
.latest-memories {
    padding: clamp(90px, 11vw, 160px) 0;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 58px;
}

.section-heading h2 {
    max-width: 760px;
}

.section-heading > p:last-child {
    max-width: 620px;
    margin: 25px 0 0;
    color: var(--muted);
}

.section-heading--split {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.discovery-card {
    position: relative;
    min-height: 440px;
    padding: 46px 40px;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0)
        ),
        var(--black-soft);
    text-decoration: none;
    overflow: hidden;
    transition:
        background 220ms ease,
        transform 220ms ease;
}

.discovery-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background:
        radial-gradient(
            circle at 20% 20%,
            var(--gold-soft),
            transparent 50%
        );
    transition: opacity 220ms ease;
}

.discovery-card:hover::before,
.discovery-card:focus-visible::before {
    opacity: 1;
}

.discovery-card > * {
    position: relative;
    z-index: 1;
}

.discovery-card__number {
    margin-left: auto;
    color: rgba(248, 245, 237, 0.18);
    font-family: var(--serif);
    font-size: 3rem;
}

.discovery-card__eyebrow {
    margin-top: auto;
    color: var(--gold);
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.discovery-card h3,
.memory-card h3 {
    font-family: var(--serif);
    font-weight: 400;
}

.discovery-card h3 {
    margin: 17px 0 15px;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.08;
}

.discovery-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    color: var(--white-soft);
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link span {
    color: var(--gold);
    transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
    transform: translateX(5px);
}

.text-link--large {
    margin-top: 36px;
}

.featured-journey {
    padding: clamp(90px, 11vw, 160px) 0;
    border-block: 1px solid var(--border);
    background: var(--black-soft);
}

.featured-journey__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: center;
    gap: clamp(50px, 8vw, 120px);
}

.featured-journey__visual {
    min-height: 620px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(205, 176, 109, 0.18),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            #232119,
            #090907 72%
        );
    color: var(--muted);
    font-family: var(--serif);
    font-style: italic;
}

.featured-journey__content h2 {
    margin-bottom: 28px;
}

.featured-journey__description {
    color: var(--white-soft);
    font-family: var(--serif);
    font-size: 1.18rem;
    line-height: 1.8;
}

.featured-journey__metadata {
    margin-top: 26px;
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.memory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.memory-card {
    text-decoration: none;
}

.memory-card__visual {
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    background:
        radial-gradient(
            circle at 35% 28%,
            rgba(205, 176, 109, 0.13),
            transparent 38%
        ),
        linear-gradient(145deg, #181711, #090907);
    color: var(--muted);
    font-family: var(--serif);
    font-style: italic;
    overflow: hidden;
    transition:
        border-color 200ms ease,
        transform 200ms ease;
}

.memory-card:hover .memory-card__visual {
    border-color: rgba(205, 176, 109, 0.55);
    transform: translateY(-4px);
}

.memory-card__content {
    padding-top: 22px;
}

.memory-card__content p {
    margin: 0;
    color: var(--gold);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.memory-card h3 {
    margin: 10px 0 0;
    color: var(--white);
    font-size: 1.45rem;
    line-height: 1.25;
}

.closing-statement {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 100px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.closing-statement blockquote {
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--serif);
    font-size: clamp(2.4rem, 6vw, 5.8rem);
    line-height: 1.08;
}

.closing-statement .quote-line-1 {
    display: block;
}

.closing-statement .quote-line-2 {
    display: block;
    margin-top: 0.12em;
    font-size: 1.08em;
    font-weight: 500;
}


@media (max-width: 960px) {
    .discovery-grid,
    .memory-grid {
        grid-template-columns: 1fr;
    }

    .discovery-card {
        min-height: 360px;
    }

    .featured-journey__grid {
        grid-template-columns: 1fr;
    }

    .featured-journey__visual {
        min-height: 480px;
    }
}

@media (max-width: 640px) {
    .section-heading--split {
        display: block;
    }

    .section-heading--split .text-link {
        margin-top: 24px;
    }

    .discovery-card {
        min-height: 330px;
        padding: 34px 28px;
    }

    .featured-journey__visual {
        min-height: 360px;
    }

    .closing-statement {
        min-height: 55vh;
    }
}

/* Phase 3B — Living Museum photography */

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__veil {
    background:
        linear-gradient(
            to bottom,
            rgba(8, 8, 6, 0.28),
            rgba(8, 8, 6, 0.72) 72%,
            rgba(8, 8, 6, 0.92)
        );
}

.featured-journey__visual,
.memory-card__visual {
    position: relative;
    background: var(--black-soft);
}

.featured-journey__visual img,
.memory-card__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.featured-journey__visual {
    overflow: hidden;
}

.featured-journey__visual img {
    position: absolute;
    inset: 0;
}

.memory-card__visual img {
    transition:
        transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 300ms ease;
}

.memory-card:hover .memory-card__visual img {
    transform: scale(1.035);
}

@media (max-width: 640px) {
    .hero__image {
        object-position: center center;
    }
}

/* Phase 3B final hero polish */

@media (min-width: 1100px) {
    .hero__statement {
        max-width: none;
        white-space: nowrap;
        font-size: clamp(1.1rem, 1.55vw, 1.8rem);
    }
}

.hero__veil {
    background:
        linear-gradient(
            to bottom,
            rgba(8, 8, 6, 0.14),
            rgba(8, 8, 6, 0.38) 72%,
            rgba(8, 8, 6, 0.58)
        );
}

/* Phase 3B hero focal-point refinement */

@media (min-width: 1100px) {
    .hero__image {
        object-position: center 78%;
    }
}

/* Village / Palavayal homepage */

.village-hero {
    position: relative;
    min-height: 100svh;
    padding: calc(var(--header-height) + 54px) 0 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
    text-align: center;
    background: var(--black);
}

.village-hero__image,
.village-hero__veil {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.village-hero__image {
    display: block;
    object-fit: cover;
    object-position: center 60%;
}

.village-hero__veil {
    background:
        linear-gradient(
            to bottom,
            rgba(8, 8, 6, 0.20),
            rgba(8, 8, 6, 0.34) 55%,
            rgba(8, 8, 6, 0.49)
        ),
        radial-gradient(
            circle at 50% 42%,
            rgba(8, 8, 6, 0.03),
            rgba(8, 8, 6, 0.18) 76%
        );
}

.village-hero__content {
    position: relative;
    z-index: 1;
    max-width: 980px;
}

.village-hero__eyebrow,
.village-section-heading > p,
.village-collection-card__eyebrow {
    margin: 0;
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.village-hero h1 {
    margin: 18px 0 0;
    font-family: var(--serif);
    font-size: clamp(3.4rem, 8vw, 7.8rem);
    font-weight: 400;
    line-height: 0.96;
}

.village-hero__tagline {
    margin: 18px 0 0;
    color: var(--white-soft);
    font-family: var(--serif);
    font-size: clamp(1.15rem, 2vw, 1.8rem);
    font-style: italic;
}

.village-hero__divider {
    width: 62px;
    height: 1px;
    margin: 34px auto;
    background: var(--gold);
}

.village-hero__statement {
    max-width: 820px;
    margin: 0 auto;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3.3vw, 3.15rem);
    line-height: 1.16;
}

.village-hero__introduction {
    max-width: 700px;
    margin: 28px auto 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.village-hero__action {
    display: inline-block;
    margin-top: 34px;
    padding: 14px 27px;
    border: 1px solid var(--gold);
    color: var(--white);
    letter-spacing: 0.08em;
    text-decoration: none;
    transition:
        background 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.village-hero__action:hover,
.village-hero__action:focus-visible {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

#collections {
    scroll-margin-top: var(--header-height);
}

.village-collections {
    padding: 112px 0 128px;
    background: var(--black-soft);
}

.village-section-heading {
    max-width: 760px;
    margin-bottom: 56px;
}

.village-section-heading h2 {
    margin: 14px 0 0;
    font-family: var(--serif);
    font-size: clamp(2.3rem, 4.8vw, 4.7rem);
    font-weight: 400;
    line-height: 1.02;
}

.village-collection-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.village-collection-card {
    grid-column: span 6;
    min-height: 330px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    background:
        linear-gradient(
            145deg,
            rgba(248, 245, 237, 0.035),
            rgba(205, 176, 109, 0.018)
        );
}

/* Deliberately asymmetric first row for a more editorial layout. */
.village-collection-card:nth-child(1) {
    grid-column: span 5;
}

.village-collection-card:nth-child(2) {
    grid-column: span 7;
}

.village-collection-card:nth-child(3),
.village-collection-card:nth-child(4) {
    grid-column: span 6;
}

.village-collection-card h3 {
    margin: 18px 0 16px;
    font-family: var(--serif);
    font-size: clamp(1.8rem, 2.5vw, 2.65rem);
    font-weight: 400;
    line-height: 1.05;
}

.village-collection-card > p:not(.village-collection-card__eyebrow) {
    margin: 0;
    color: var(--muted);
}

.village-collection-card__status {
    margin-top: auto;
    padding-top: 42px;
    color: var(--white-soft);
    font-size: 0.72rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.village-closing {
    padding: 120px 0;
    text-align: center;
}

.village-closing p {
    max-width: 920px;
    margin: 0 auto;
    font-family: var(--serif);
    font-size: clamp(2rem, 4.5vw, 4.8rem);
    line-height: 1.08;
}

@media (max-width: 900px) {
    .village-collection-card,
    .village-collection-card:nth-child(1),
    .village-collection-card:nth-child(2),
    .village-collection-card:nth-child(3),
    .village-collection-card:nth-child(4) {
        grid-column: span 6;
    }
}

@media (max-width: 640px) {
    .village-hero {
        min-height: 100svh;
        padding: calc(var(--header-height) + 48px) 0 56px;
    }

    .village-collections {
        padding: 80px 0 90px;
    }

    .village-collection-card,
    .village-collection-card:nth-child(1),
    .village-collection-card:nth-child(2),
    .village-collection-card:nth-child(3),
    .village-collection-card:nth-child(4) {
        grid-column: 1 / -1;
        min-height: 280px;
        padding: 28px;
    }

    .village-closing {
        padding: 90px 0;
    }
}


/* Village archive collection + gallery */

.village-collection-card--link {
    color: inherit;
    text-decoration: none;
    transition:
        border-color 180ms ease,
        transform 180ms ease,
        background 180ms ease;
}

.village-collection-card--link:hover,
.village-collection-card--link:focus-visible {
    border-color: rgba(205, 176, 109, 0.58);
    transform: translateY(-3px);
    background:
        linear-gradient(
            145deg,
            rgba(248, 245, 237, 0.055),
            rgba(205, 176, 109, 0.035)
        );
}

.archive-intro,
.gallery-intro {
    padding: calc(var(--header-height) + 94px) 0 92px;
    background:
        radial-gradient(
            circle at 58% 5%,
            rgba(205, 176, 109, 0.08),
            transparent 34%
        ),
        var(--black);
}

.archive-intro__content {
    max-width: 960px;
}

.gallery-intro__content {
    max-width: none;
}

.archive-eyebrow {
    margin: 0;
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.archive-intro h1,
.gallery-intro h1 {
    max-width: 980px;
    margin: 18px 0 0;
    font-family: var(--serif);
    font-size: clamp(3rem, 6.5vw, 6.8rem);
    font-weight: 400;
    line-height: 0.98;
}

.gallery-intro h1 {
    max-width: none;
    white-space: nowrap;
}

.archive-intro__lead {
    margin: 28px 0 0;
    font-family: var(--serif);
    font-size: clamp(1.55rem, 2.6vw, 2.55rem);
    color: var(--white-soft);
}

.archive-intro__copy,
.gallery-intro__content > p:not(.archive-eyebrow):not(.gallery-intro__count) {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--muted);
}

.archive-back-link {
    display: inline-block;
    margin-top: 34px;
    color: var(--white-soft);
    text-decoration: none;
    border-bottom: 1px solid rgba(205, 176, 109, 0.55);
    padding-bottom: 4px;
}

.archive-back-link:hover,
.archive-back-link:focus-visible {
    color: var(--gold);
}

.archive-albums,
.photo-gallery {
    padding: 100px 0 126px;
    background: var(--black-soft);
}

.archive-album-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.archive-album-grid--nearby .archive-album-card {
    grid-column: span 4;
}

.archive-album-card {
    grid-column: span 6;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--border);
    background:
        linear-gradient(
            145deg,
            rgba(248, 245, 237, 0.035),
            rgba(205, 176, 109, 0.018)
        );
    transition:
        border-color 180ms ease,
        transform 180ms ease;
}

.archive-album-card:hover,
.archive-album-card:focus-visible {
    border-color: rgba(205, 176, 109, 0.58);
    transform: translateY(-3px);
}

.archive-album-card__image-wrap {
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    background: #0b0b09;
}

.archive-album-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 320ms ease;
}

.archive-album-card:hover .archive-album-card__image,
.archive-album-card:focus-visible .archive-album-card__image {
    transform: scale(1.02);
}

.archive-album-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 30px 32px 32px;
}

.archive-album-card h3 {
    margin: 16px 0 14px;
    font-family: var(--serif);
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 400;
    line-height: 1.04;
}

.archive-album-card__body > p:not(.archive-eyebrow) {
    margin: 0;
    color: var(--muted);
}

.archive-album-card__meta {
    margin-top: auto;
    padding-top: 36px;
    color: var(--white-soft);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery-intro__count {
    margin: 18px 0 0;
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.photo-gallery > .content-shell {
    width: min(2000px, calc(100% - 32px));
}

.photo-gallery__grid {
    columns: 4;
    column-gap: 12px;
}

.photo-gallery__item {
    display: block;
    margin: 0 0 12px;
    break-inside: avoid;
    overflow: hidden;
    background: #0b0b09;
}

.photo-gallery__item img {
    width: 100%;
    height: auto;
    display: block;
    transition:
        transform 260ms ease,
        opacity 260ms ease;
}

.photo-gallery__item:hover img,
.photo-gallery__item:focus-visible img {
    transform: scale(1.012);
    opacity: 0.94;
}

.gallery-pagination {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    color: var(--muted);
}

.gallery-pagination a {
    color: var(--white-soft);
    text-decoration: none;
}

.gallery-pagination a:last-child {
    text-align: right;
}

.gallery-pagination a:hover,
.gallery-pagination a:focus-visible {
    color: var(--gold);
}

.gallery-empty {
    max-width: 820px;
    padding: 62px;
    border: 1px solid var(--border);
}

.gallery-empty h2 {
    margin: 18px 0 0;
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 400;
    line-height: 1.05;
}

.gallery-empty > p:not(.archive-eyebrow) {
    margin: 24px 0 0;
    color: var(--muted);
}

@media (min-width: 2200px) {
    .photo-gallery__grid {
        columns: 5;
    }
}

@media (max-width: 1400px) {
    .photo-gallery > .content-shell {
        width: min(var(--content-width), calc(100% - 48px));
    }

    .photo-gallery__grid {
        columns: 3;
    }
}

@media (max-width: 1100px) {
    .photo-gallery__grid {
        columns: 3;
    }
}

@media (max-width: 1100px) {
    .archive-album-grid--nearby .archive-album-card {
        grid-column: span 6;
    }
}

@media (max-width: 900px) {
    .photo-gallery__grid {
        columns: 2;
    }
}

@media (max-width: 640px) {
    .gallery-intro h1 {
        white-space: normal;
    }

    .archive-intro,
    .gallery-intro {
        padding: calc(var(--header-height) + 72px) 0 72px;
    }

    .archive-albums,
    .photo-gallery {
        padding: 76px 0 90px;
    }

    .archive-album-card {
        grid-column: 1 / -1;
        min-height: 0;
    }

    .photo-gallery__grid {
        columns: 1;
    }

    .gallery-empty {
        padding: 34px 28px;
    }

    .gallery-pagination {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gallery-pagination a:last-child {
        text-align: center;
    }
}


/* Palavayal archive lightbox + copyright reminder */

body.archive-lightbox-open {
    overflow: hidden;
}

.archive-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px 96px 62px;
    background: rgba(4, 4, 3, 0.965);
    backdrop-filter: blur(5px);
}

.archive-lightbox--open {
    display: flex;
}

.archive-lightbox__figure {
    width: min(1500px, calc(100vw - 260px));
    height: min(88vh, 1000px);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.archive-lightbox__image {
    max-width: 100%;
    max-height: calc(100% - 44px);
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.archive-lightbox__caption {
    min-height: 44px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.archive-lightbox__close,
.archive-lightbox__nav {
    position: fixed;
    z-index: 2001;
    border: 0;
    background: transparent;
    color: var(--white-soft);
    cursor: pointer;
    font: inherit;
}

.archive-lightbox__close {
    top: 24px;
    right: 34px;
    width: 52px;
    height: 52px;
    font-size: 2.2rem;
    line-height: 1;
}

.archive-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px;
    color: rgba(248, 245, 237, 0.82);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.archive-lightbox__nav--previous {
    left: 22px;
}

.archive-lightbox__nav--next {
    right: 22px;
}

.archive-lightbox__close:hover,
.archive-lightbox__close:focus-visible,
.archive-lightbox__nav:hover,
.archive-lightbox__nav:focus-visible {
    color: var(--gold);
    outline: none;
}

.archive-copyright-toast {
    position: fixed;
    z-index: 2100;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 18px);
    max-width: min(680px, calc(100vw - 40px));
    padding: 14px 20px;
    border: 1px solid rgba(205, 176, 109, 0.42);
    background: rgba(10, 10, 8, 0.94);
    color: var(--white-soft);
    font-size: 0.8rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.archive-copyright-toast--visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 900px) {
    .archive-lightbox {
        padding: 70px 18px 54px;
    }

    .archive-lightbox__figure {
        width: 100%;
        height: 82vh;
    }

    .archive-lightbox__nav {
        top: auto;
        bottom: 12px;
        transform: none;
    }

    .archive-lightbox__nav--previous {
        left: 12px;
    }

    .archive-lightbox__nav--next {
        right: 12px;
    }

    .archive-lightbox__nav span {
        display: none;
    }

    .archive-lightbox__close {
        top: 12px;
        right: 12px;
    }
}

/* Palavayal archive lightbox â€” full-screen photograph presentation */
.archive-lightbox {
    padding: 0;
}

.archive-lightbox__figure {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-lightbox__image {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    box-shadow: none;
}

.archive-lightbox__caption {
    position: fixed;
    z-index: 2002;
    left: 50%;
    bottom: 16px;
    min-height: 0;
    transform: translateX(-50%);
    padding: 7px 12px;
    border-radius: 2px;
    background: rgba(4, 4, 3, 0.62);
    color: rgba(248, 245, 237, 0.72);
    pointer-events: none;
}

.archive-lightbox__nav {
    z-index: 2003;
    padding: 22px 18px;
    background: rgba(4, 4, 3, 0.36);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.archive-lightbox__close {
    z-index: 2004;
    color: var(--gold);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);
}

@media (max-width: 900px) {
    .archive-lightbox {
        padding: 0;
    }

    .archive-lightbox__figure {
        width: 100vw;
        height: 100vh;
    }

    .archive-lightbox__image {
        max-width: 100vw;
        max-height: 100vh;
    }

    .archive-lightbox__caption {
        bottom: 14px;
    }

    .archive-lightbox__nav {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }
}

/* Nearby Places: keep the original large card size while showing 3 per row. */
@media (min-width: 1101px) {
    .archive-album-grid--nearby {
        width: min(1900px, calc(100vw - 32px));
        margin-left: 50%;
        transform: translateX(-50%);
    }
}


/* St. John's Church: same large three-column archive layout as Nearby Places. */
.archive-album-grid--church .archive-album-card {
    grid-column: span 4;
}

@media (min-width: 1101px) {
    .archive-album-grid--church {
        width: min(1900px, calc(100vw - 32px));
        margin-left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 1100px) {
    .archive-album-grid--church .archive-album-card {
        grid-column: span 6;
    }
}

@media (max-width: 700px) {
    .archive-album-grid--church .archive-album-card {
        grid-column: 1 / -1;
    }
}


/* St. John's Schools landing page: two large school cards. */
.archive-album-grid--schools .archive-album-card {
    grid-column: span 6;
}

/* School collection pages: same large 3-column archive layout as Church/Nearby. */
.archive-album-grid--school-collections .archive-album-card {
    grid-column: span 4;
}

@media (min-width: 1101px) {
    .archive-album-grid--school-collections {
        width: min(1900px, calc(100vw - 32px));
        margin-left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 1100px) {
    .archive-album-grid--school-collections .archive-album-card {
        grid-column: span 6;
    }
}

@media (max-width: 700px) {
    .archive-album-grid--schools .archive-album-card,
    .archive-album-grid--school-collections .archive-album-card {
        grid-column: 1 / -1;
    }
}


/* Village home: subtle shuffled archive photograph inside each collection card. */
.village-collection-card--photo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: none;
}

.village-collection-card--photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--village-card-bg);
    background-position: center;
    background-size: cover;
    opacity: 0.50;
    transform: scale(1.015);
    transition: transform 500ms ease, opacity 220ms ease;
}

.village-collection-card--photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(145deg, rgba(8, 8, 7, 0.62), rgba(8, 8, 7, 0.74));
}

.village-collection-card--photo:hover::before,
.village-collection-card--photo:focus-visible::before {
    opacity: 0.56;
    transform: scale(1.035);
}

.village-collection-card--photo:hover,
.village-collection-card--photo:focus-visible {
    background: none;
}

/* India archive â€” independent landing page and shuffled travel collections. */
.india-hero__image { object-position: center 50%; }
.india-hero__veil {
    background:
        linear-gradient(to bottom, rgba(8,8,6,.18), rgba(8,8,6,.36) 58%, rgba(8,8,6,.54)),
        radial-gradient(circle at 50% 42%, rgba(8,8,6,.02), rgba(8,8,6,.20) 78%);
}
#states { scroll-margin-top: var(--header-height); }
.india-state-grid .village-collection-card { grid-column: span 6; }
.archive-album-grid--india .archive-album-card { grid-column: span 4; }
@media (min-width: 1101px) {
    .archive-album-grid--india { width: min(1900px, calc(100vw - 32px)); margin-left: 50%; transform: translateX(-50%); }
}
@media (max-width: 1100px) { .archive-album-grid--india .archive-album-card { grid-column: span 6; } }
@media (max-width: 700px) {
    .india-state-grid .village-collection-card,
    .archive-album-grid--india .archive-album-card { grid-column: 1 / -1; }
}

/* Stories archive */
.stories-hero {
    min-height: 76vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 86px) 0 92px;
    background:
        radial-gradient(circle at 58% 20%, rgba(205, 176, 109, 0.09), transparent 36%),
        var(--black);
}

.stories-hero__content { max-width: 1080px; }
.stories-hero__eyebrow,
.stories-section-heading > p,
.stories-card__eyebrow {
    margin: 0;
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.stories-hero h1 {
    max-width: 980px;
    margin: 18px 0 0;
    font-family: var(--serif);
    font-size: clamp(3.8rem, 7vw, 7.6rem);
    font-weight: 400;
    line-height: 0.96;
}
.stories-hero__tagline {
    max-width: 820px;
    margin: 24px 0 0;
    font-family: var(--serif);
    font-size: clamp(1.45rem, 2.5vw, 2.4rem);
    font-style: italic;
    color: var(--white-soft);
}
.stories-hero__divider { width: 58px; height: 1px; margin: 30px 0; background: var(--gold); }
.stories-hero__statement {
    max-width: 760px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 3rem);
    line-height: 1.12;
}
.stories-hero__introduction { max-width: 720px; margin: 24px 0 0; color: var(--muted); }
.stories-hero__action {
    display: inline-block;
    margin-top: 34px;
    padding: 14px 22px;
    color: var(--white-soft);
    text-decoration: none;
    border: 1px solid rgba(205, 176, 109, 0.62);
}
.stories-hero__action:hover,
.stories-hero__action:focus-visible { color: var(--gold); border-color: var(--gold); }
.stories-paths { padding: 108px 0 126px; background: var(--black-soft); }
.stories-section-heading { max-width: 820px; margin-bottom: 52px; }
.stories-section-heading h2 {
    margin: 14px 0 18px;
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    font-weight: 400;
    line-height: 1;
}
.stories-section-heading span { color: var(--muted); }
.stories-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.stories-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 38px 40px;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(248,245,237,.035), rgba(205,176,109,.018));
}
.stories-card h3 {
    margin: 18px 0 16px;
    font-family: var(--serif);
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    font-weight: 400;
    line-height: 1.02;
}
.stories-card > p:not(.stories-card__eyebrow) { margin: 0; max-width: 560px; color: var(--muted); }
.stories-card__status {
    margin-top: auto;
    padding-top: 42px;
    color: var(--white-soft);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.stories-closing { padding: 92px 0; background: var(--black); text-align: center; }
.stories-closing p {
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 3rem);
    color: var(--white-soft);
}
@media (max-width: 760px) {
    .stories-hero { min-height: auto; padding-top: calc(var(--header-height) + 64px); }
    .stories-grid { grid-template-columns: 1fr; }
    .stories-card { min-height: 290px; padding: 30px 26px; }
}

/* What's New â€” live recent additions across photographic archives. */
.whats-new-hero { min-height: 70vh; display: flex; align-items: center; padding: calc(var(--header-height) + 82px) 0 88px; background: radial-gradient(circle at 58% 22%, rgba(205,176,109,.09), transparent 36%), var(--black); }
.whats-new-hero__content { max-width: 1040px; }
.whats-new-eyebrow, .whats-new-heading > p, .whats-new-card__eyebrow { margin: 0; color: var(--gold); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.whats-new-hero h1 { margin: 18px 0 0; font-family: var(--serif); font-size: clamp(4rem, 7vw, 7.6rem); font-weight: 400; line-height: .96; }
.whats-new-hero__tagline { max-width: 820px; margin: 24px 0 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2.4rem); font-style: italic; color: var(--white-soft); }
.whats-new-hero__divider { width: 58px; height: 1px; margin: 30px 0; background: var(--gold); }
.whats-new-hero__introduction { max-width: 780px; margin: 0; color: var(--muted); }
.whats-new-hero__action { display: inline-block; margin-top: 34px; padding: 14px 22px; color: var(--white-soft); text-decoration: none; border: 1px solid rgba(205,176,109,.62); }
.whats-new-hero__action:hover, .whats-new-hero__action:focus-visible { color: var(--gold); border-color: var(--gold); }
.whats-new-list { padding: 108px 0 126px; background: var(--black-soft); }
.whats-new-heading { max-width: 820px; margin-bottom: 52px; }
.whats-new-heading h2 { margin: 14px 0 18px; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 400; line-height: 1; }
.whats-new-heading span { color: var(--muted); }
.whats-new-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.whats-new-card { position: relative; min-height: 420px; overflow: hidden; display: flex; align-items: flex-end; border: 1px solid var(--border); color: inherit; text-decoration: none; background: var(--black); }
.whats-new-card__image { position: absolute; inset: 0; background-image: var(--whats-new-bg); background-position: center; background-size: cover; opacity: .48; transform: scale(1.015); transition: transform 500ms ease, opacity 220ms ease; }
.whats-new-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,7,6,.94) 4%, rgba(7,7,6,.58) 58%, rgba(7,7,6,.24)); }
.whats-new-card:hover .whats-new-card__image, .whats-new-card:focus-visible .whats-new-card__image { opacity: .57; transform: scale(1.04); }
.whats-new-card__body { position: relative; z-index: 1; width: 100%; padding: 30px; }
.whats-new-card h3 { margin: 12px 0 12px; font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.7rem); font-weight: 400; line-height: 1.03; }
.whats-new-card__meta { margin: 0 0 18px; color: var(--white-soft); }
.whats-new-card__body > span { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.whats-new-empty { color: var(--muted); }
.whats-new-closing { padding: 92px 0; background: var(--black); text-align: center; }
.whats-new-closing p { max-width: 900px; margin: 0 auto; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 3rem); color: var(--white-soft); }
@media (max-width: 1050px) { .whats-new-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .whats-new-hero { min-height: auto; padding-top: calc(var(--header-height) + 64px); } .whats-new-grid { grid-template-columns: 1fr; } .whats-new-card { min-height: 360px; } }

/* Guest Book â€” moderated visitor notes for the living archive. */
.guestbook-hero { min-height: 70vh; display: flex; align-items: center; padding: calc(var(--header-height) + 82px) 0 88px; background: radial-gradient(circle at 58% 22%, rgba(205,176,109,.09), transparent 36%), var(--black); }
.guestbook-hero__content { max-width: 1040px; }
.guestbook-eyebrow, .guestbook-heading > p { margin: 0; color: var(--gold); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.guestbook-hero h1 { margin: 18px 0 0; font-family: var(--serif); font-size: clamp(4rem, 7vw, 7.6rem); font-weight: 400; line-height: .96; }
.guestbook-hero__tagline { max-width: 850px; margin: 24px 0 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2.4rem); font-style: italic; color: var(--white-soft); }
.guestbook-divider { width: 58px; height: 1px; margin: 30px 0; background: var(--gold); }
.guestbook-hero__introduction { max-width: 760px; margin: 0; color: var(--muted); }
.guestbook-action { display: inline-block; margin-top: 34px; padding: 14px 22px; color: var(--white-soft); text-decoration: none; border: 1px solid rgba(205,176,109,.62); }
.guestbook-action:hover, .guestbook-action:focus-visible { color: var(--gold); border-color: var(--gold); }
.guestbook-sign { padding: 108px 0 120px; background: var(--black-soft); }
.guestbook-sign__grid { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 86px; align-items: start; }
.guestbook-heading h2 { margin: 14px 0 18px; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 400; line-height: 1; }
.guestbook-heading span { display: block; max-width: 520px; color: var(--muted); }
.guestbook-form-wrap { max-width: 760px; }
.guestbook-form { display: grid; gap: 24px; }
.guestbook-form__row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.guestbook-form label { display: grid; gap: 9px; color: var(--white-soft); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.guestbook-form input, .guestbook-form textarea { width: 100%; box-sizing: border-box; padding: 15px 16px; border: 1px solid var(--border); border-radius: 0; outline: none; background: rgba(255,255,255,.025); color: var(--white-soft); font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; }
.guestbook-form textarea { resize: vertical; min-height: 170px; }
.guestbook-form input:focus, .guestbook-form textarea:focus { border-color: var(--gold); }
.guestbook-form button { justify-self: start; padding: 14px 22px; border: 1px solid rgba(205,176,109,.62); background: transparent; color: var(--white-soft); font: inherit; cursor: pointer; }
.guestbook-form button:hover, .guestbook-form button:focus-visible { color: var(--gold); border-color: var(--gold); }
.guestbook-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.guestbook-notice { margin: 0 0 28px; padding: 16px 18px; border: 1px solid var(--border); color: var(--white-soft); }
.guestbook-notice--success { border-color: rgba(205,176,109,.58); }
.guestbook-notice--error { border-color: rgba(220,140,120,.58); }
.guestbook-entries { padding: 108px 0 126px; background: var(--black); }
.guestbook-heading--entries { max-width: 820px; margin-bottom: 52px; }
.guestbook-entry-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.guestbook-entry { min-height: 260px; display: flex; flex-direction: column; padding: 34px 36px; border: 1px solid var(--border); background: linear-gradient(145deg, rgba(248,245,237,.035), rgba(205,176,109,.018)); }
.guestbook-entry__message { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem,2.2vw,2rem); line-height: 1.25; color: var(--white-soft); }
.guestbook-entry footer { margin-top: auto; padding-top: 34px; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.guestbook-entry footer strong { color: var(--gold); font-weight: 400; }
.guestbook-empty { color: var(--muted); }
.guestbook-closing { padding: 92px 0; background: var(--black-soft); text-align: center; }
.guestbook-closing p { max-width: 900px; margin: 0 auto; font-family: var(--serif); font-size: clamp(1.7rem,3vw,3rem); color: var(--white-soft); }
@media (max-width: 850px) { .guestbook-sign__grid { grid-template-columns: 1fr; gap: 48px; } .guestbook-entry-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .guestbook-hero { min-height: auto; padding-top: calc(var(--header-height) + 64px); } .guestbook-form__row { grid-template-columns: 1fr; } .guestbook-entry { padding: 28px 24px; } }


/* Guest Book owner moderation. */
.guestbook-moderation { min-height: 100vh; padding: calc(var(--header-height) + 86px) 0 112px; background: var(--black); }
.guestbook-moderation__heading { max-width: 920px; margin-bottom: 46px; }
.guestbook-moderation__heading h1 { margin: 10px 0 14px; font-family: var(--serif); color: var(--white-soft); }
.guestbook-moderation__list { display: grid; gap: 18px; }
.guestbook-moderation__entry { padding: 30px 32px; border: 1px solid var(--border); background: linear-gradient(145deg, rgba(248,245,237,.035), rgba(205,176,109,.018)); }
.guestbook-moderation__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 18px; color: var(--muted); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.guestbook-moderation__meta strong { color: var(--gold); font-weight: 400; }
.guestbook-moderation__entry > p { margin: 0; max-width: 1100px; color: var(--white-soft); font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; }
.guestbook-moderation__actions { display: flex; gap: 12px; margin-top: 26px; }
.guestbook-moderation__actions form { margin: 0; }
.guestbook-moderation__actions button { min-width: 118px; padding: 11px 18px; border: 1px solid var(--border); background: transparent; color: var(--white-soft); cursor: pointer; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.guestbook-moderation__approve { border-color: rgba(205,176,109,.7) !important; }
.guestbook-moderation__approve:hover, .guestbook-moderation__approve:focus-visible { color: var(--black); background: var(--gold); }
.guestbook-moderation__reject:hover, .guestbook-moderation__reject:focus-visible { border-color: rgba(220,140,120,.7); color: #f2b4a5; }
.guestbook-moderation__back { display: inline-block; margin-top: 44px; }
@media (max-width: 700px) { .guestbook-moderation__entry { padding: 24px 20px; } .guestbook-moderation__actions { flex-direction: column; align-items: stretch; } .guestbook-moderation__actions button { width: 100%; } }
