:root {
    --font-serif: Georgia, "Times New Roman", serif;
    --max-width: 1120px;
    --radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-serif);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

a {
    color: inherit;
}

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

.theme-1 {
    --ink: #18272E;
    --paper: #FBF1E4;
    --surface: #FFF9EF;
    --panel: #E8D6B6;
    --accent: #A44318;
    --accent-strong: #936524;
    --accent-soft: #677076;
    --green: #757139;
    --line: rgba(24, 39, 46, 0.18);
}

.theme-2 {
    --ink: #1C2828;
    --paper: #F4E8E7;
    --surface: #FFF7F3;
    --panel: #DFCFD2;
    --accent: #670506;
    --accent-strong: #E76B2D;
    --accent-soft: #8F8697;
    --green: #343923;
    --line: rgba(28, 40, 40, 0.18);
}

.theme-3 {
    --ink: #271616;
    --paper: #F8E3CE;
    --surface: #FFF6EC;
    --panel: #F0D3C1;
    --accent: #5E0926;
    --accent-strong: #B85511;
    --accent-soft: #B97D7F;
    --green: #5D641E;
    --line: rgba(94, 9, 38, 0.2);
}

.container {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.nav-container {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-brand {
    color: var(--accent);
    font-size: 1.05rem;
    text-decoration: none;
    white-space: nowrap;
}

.brand-cluster {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.theme-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.18rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--paper) 70%, transparent);
}

.theme-label {
    padding: 0 0.35rem;
    color: color-mix(in srgb, var(--ink) 72%, var(--paper));
    font-size: 0.72rem;
    white-space: nowrap;
}

.theme-choice {
    width: 1.75rem;
    height: 1.65rem;
    border: 0;
    border-radius: 6px;
    color: var(--ink);
    background: transparent;
    font-family: var(--font-serif);
    font-size: 0.82rem;
    line-height: 1;
    cursor: pointer;
}

.theme-choice.is-active {
    color: var(--surface);
    background: var(--accent);
}

.test-review-bar {
    position: sticky;
    top: 62px;
    z-index: 19;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.test-review-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    color: var(--ink);
    font-size: 0.88rem;
}

.review-options {
    display: inline-flex;
    gap: 0.45rem;
}

.review-choice {
    width: auto;
    min-width: 5.1rem;
    height: 2rem;
    padding: 0 0.7rem;
    border: 1px solid var(--line);
    background: var(--surface);
}

.review-choice.is-active {
    border-color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.nav-link {
    color: var(--ink);
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

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

.nav-toggle {
    display: none;
    width: 28px;
    height: 22px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
}

.hero {
    min-height: calc(100svh - 62px);
    display: grid;
    align-items: end;
    position: relative;
    overflow: hidden;
    background: var(--ink);
}

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

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
    padding: 0 0 7vh;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.hero h1 {
    max-width: 780px;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: 0;
}

.hero-summary {
    max-width: 640px;
    margin-top: 1.25rem;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 1rem;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    color: inherit;
    text-decoration: none;
    background: color-mix(in srgb, var(--surface) 14%, transparent);
}

.button.primary {
    color: var(--surface);
    background: var(--accent);
    border-color: var(--accent);
    text-shadow: none;
}

section {
    padding: 4.5rem 0;
}

section:nth-of-type(even) {
    background: var(--surface);
}

h2 {
    color: var(--accent);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    color: color-mix(in srgb, var(--ink) 78%, var(--paper));
    text-align: center;
    font-size: 1.03rem;
}

.archive-note {
    max-width: 760px;
    margin: 0 auto 2rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    text-align: center;
}

.archive-note a {
    color: var(--accent);
}

.info-grid,
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 1rem;
}

.info-card,
.activity-card,
.travel-card {
    min-height: 100%;
    padding: 1.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.info-card h3,
.activity-card h3,
.travel-card h3 {
    color: var(--accent);
    font-size: 1.08rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.info-card p,
.activity-card p,
.travel-card p,
.travel-card li {
    color: color-mix(in srgb, var(--ink) 86%, var(--paper));
    font-size: 0.95rem;
}

.meta {
    color: var(--green);
    font-size: 0.84rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.timeline {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.25rem;
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.time {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.timeline-item h3 {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.3rem;
}

.map-wrap {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

#wedding-map {
    width: 100%;
    height: 500px;
}

.travel-list {
    margin-top: 0.5rem;
    padding-left: 1.1rem;
}

footer {
    background: var(--ink);
    color: var(--paper);
    padding: 2rem 0;
    text-align: center;
}

.review-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 6vh 0;
}

.review-intro {
    padding: 2rem 0 3rem;
}

.review-intro h1 {
    color: var(--accent);
    font-size: clamp(2.7rem, 7vw, 5.5rem);
    line-height: 0.95;
    font-weight: 400;
    margin-bottom: 1rem;
}

.review-intro p:not(.eyebrow) {
    max-width: 660px;
    font-size: 1.08rem;
}

.archive-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
}

.variant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.variant-card {
    overflow: hidden;
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
}

.variant-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.variant-card span,
.variant-card strong {
    display: block;
    padding: 0 1rem;
}

.variant-card span {
    color: var(--accent);
    padding-top: 1rem;
}

.variant-card strong {
    padding-bottom: 1rem;
    font-weight: 400;
}

@media (max-width: 760px) {
    .brand-cluster {
        gap: 0.6rem;
    }

    .theme-label {
        display: none;
    }

    .theme-choice {
        width: 1.55rem;
    }

    .review-choice {
        width: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 0.85rem 1rem;
        border-top: 1px solid var(--line);
    }

    .hero {
        min-height: 74svh;
    }

    .hero-content {
        padding-bottom: 3rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .variant-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(var(--max-width), calc(100% - 1.25rem));
    }

    section {
        padding: 3.25rem 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .test-review-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 0.45rem;
        text-align: center;
    }

    .review-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .review-choice {
        min-width: 0;
        width: 100%;
        padding: 0 0.35rem;
    }

    #wedding-map {
        height: 400px;
    }
}
