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

:root {
    --blush:    #E8D5C8;
    --blush-dk: #C9A990;
    --forest:   #3D5247;
    --forest-lt:#6B8C7A;
    --ivory:    #FDFAF6;
    --stone:    #F3EDE5;
    --text:     #2C2420;
    --mid:      #6B5D55;
    --light:    #A8978F;
    --border:   rgba(44,36,32,0.1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', sans-serif;
    background: var(--ivory);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
}

/* ── HERO ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1600&q=80');
    background-size: cover;
    background-position: center 30%;
    filter: brightness(0.55);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(30,20,15,0.15) 0%, rgba(30,20,15,0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 1.5rem;
}

.hero-names {
    font-family: 'Playfair Display', serif;
    font-size: clamp(52px, 10vw, 96px);
    font-weight: 400;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.01em;
}

.hero-amp {
    font-style: italic;
    color: var(--blush);
    display: block;
    font-size: clamp(42px, 8vw, 78px);
    margin: 0.1em 0;
}

.hero-date {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-top: 1.5rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
}

.hero-scroll svg { opacity: 0.5; }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ── COUNTDOWN ── */
.countdown-bar {
    background: var(--forest);
    padding: 2rem 1.5rem;
    text-align: center;
}

.countdown-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
}

.count-block { text-align: center; }

.count-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 400;
    color: #fff;
    line-height: 1;
}

.count-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blush);
    margin-top: 6px;
}

.count-sep {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--blush-dk);
    font-size: 32px;
    margin-bottom: 18px;
}

.countdown-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-top: 1rem;
}

/* ── NAV ── */
nav {
    background: var(--ivory);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
}

.nav-inner {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-inner::-webkit-scrollbar { display: none; }

.nav-btn {
    padding: 16px 24px;
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    color: var(--light);
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
}

.nav-btn:hover { color: var(--text); }
.nav-btn.active { color: var(--forest); border-bottom-color: var(--forest); }

/* ── SECTIONS ── */
.tab-wrapper {
    overflow: hidden;
    position: relative;
}
.tab-section {
    display: none;
}
.tab-section.active {
    display: block;
}
.tab-section.slide-in-right {
    animation: slideInRight 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.tab-section.slide-in-left {
    animation: slideInLeft 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes slideInRight {
    from { transform: translateX(60px); opacity: 0.4; }
    to   { transform: translateX(0);    opacity: 1; }
}
@keyframes slideInLeft {
    from { transform: translateX(-60px); opacity: 0.4; }
    to   { transform: translateX(0);     opacity: 1; }
}

/* ── WELCOME ── */
.welcome-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}

.welcome-img {
    position: relative;
    overflow: hidden;
    background: var(--stone);
}

.welcome-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.welcome-text {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--stone);
}

.section-eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--forest-lt);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.prose {
    font-size: 15px;
    line-height: 1.8;
    color: var(--mid);
    font-weight: 300;
}

.prose p { margin-bottom: 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 500; }

.pill {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 8px 18px;
    border: 1px solid var(--blush-dk);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blush-dk);
}

/* Photo strip */
.photo-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 320px;
    gap: 4px;
}

.photo-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.photo-strip .strip-item {
    overflow: hidden;
}

.photo-strip .strip-item:hover img {
    transform: scale(1.04);
}

.photo-strip .strip-item:first-child {
    grid-row: span 1;
}

/* ── PLAN ── */
.plan-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.plan-img {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.plan-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.plan-content {
    padding: 4rem 3rem;
    background: var(--ivory);
}

.timeline {
    list-style: none;
    margin-top: 1.5rem;
}

.tl-item {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.tl-item:last-child { border-bottom: none; }

.tl-time {
    min-width: 50px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--forest-lt);
    padding-top: 2px;
}

.tl-event {
    font-size: 15px;
    color: var(--text);
}

.tl-note {
    font-size: 13px;
    color: var(--light);
    margin-top: 3px;
    font-weight: 300;
}

/* ── VENUE ── */
.venue-hero {
    position: relative;
    height: 460px;
    overflow: hidden;
}

.venue-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.venue-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,15,10,0.65) 0%, transparent 50%);
}

.venue-hero-caption {
    position: absolute;
    bottom: 2rem;
    left: 2.5rem;
    color: #fff;
}

.venue-hero-caption h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
}

.venue-hero-caption p {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.venue-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 3.5rem 2rem;
}

.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.venue-card {
    background: var(--stone);
    border-radius: 12px;
    overflow: hidden;
}

.venue-card-img {
    height: 200px;
    overflow: hidden;
}

.venue-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.venue-card-body {
    padding: 1.25rem;
}

.venue-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 6px;
}

.venue-card-addr {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.5;
    font-weight: 300;
}

.venue-card-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest);
    text-decoration: none;
}

.venue-card-link:hover { text-decoration: underline; }

.map-embed {
    width: 100%;
    height: 280px;
    border: none;
    border-radius: 12px;
    display: block;
    margin-top: 1.5rem;
}

/* ── STAY ── */
.stay-banner {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.stay-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stay-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,15,10,0.6) 0%, transparent 60%);
}

.stay-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 3.5rem 2rem;
}

.accommodation-note {
    background: var(--stone);
    border-left: 3px solid var(--forest-lt);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    font-size: 14px;
    color: var(--mid);
    font-weight: 300;
    line-height: 1.7;
}

/* ── FOOTER ── */
footer {
    background: var(--forest);
    text-align: center;
    padding: 3rem 1.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

footer .footer-names {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 0.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    /* Hero */
    .hero { min-height: 100svh; }
    .hero-eyebrow { font-size: 10px; letter-spacing: 0.18em; margin-bottom: 1rem; }

    /* Countdown */
    .countdown-bar { padding: 1.5rem 1rem; }
    .count-sep { font-size: 22px; margin-bottom: 12px; }

    /* Nav — full width, equal tabs */
    nav { justify-content: stretch; }
    .nav-inner { width: 100%; justify-content: stretch; }
    .nav-btn { flex: 1; padding: 13px 6px; font-size: 10px; letter-spacing: 0.08em; text-align: center; }

    /* Welcome — stack vertically */
    .welcome-hero { grid-template-columns: 1fr; min-height: auto; }
    .welcome-img { height: auto; }
    .welcome-text { padding: 1rem 1.25rem 2rem 1.25rem;
    }
    .section-title { font-size: 26px; margin-bottom: 1rem; }

    /* Photo strip — taller on mobile, scroll horizontally */
    .photo-strip {
    display: flex;
    overflow-x: auto;
    height: 220px;
    gap: 3px;
    scrollbar-width: none;
    }
    .photo-strip::-webkit-scrollbar { display: none; }
    .photo-strip .strip-item { flex: 0 0 72vw; height: 100%; }
    .photo-strip .strip-item img { width: 100%; height: 100%; object-fit: cover; }

    /* Plan — stack vertically, image first */
    .plan-layout { grid-template-columns: 1fr; }
    .plan-img { min-height: 260px; order: -1; }
    .plan-content { padding: 2rem 1.25rem; }

    /* Venue */
    .venue-hero { height: 300px; }
    .venue-hero-caption { left: 1.25rem; bottom: 1.25rem; right: 1.25rem; }
    .venue-hero-caption h2 { font-size: 22px; }
    .venue-hero-caption p { font-size: 12px; }
    .venue-content { padding: 2rem 1.25rem; }
    .venue-grid { grid-template-columns: 1fr; gap: 1rem; }
    .venue-card-img { height: 180px; }
    .map-embed { height: 220px; }

    /* Stay */
    .stay-banner { height: 240px; }
    .stay-content { padding: 2rem 1.25rem; }

    /* Accommodation note */
    .accommodation-note { padding: 1rem 1.25rem; }

    /* Pill */
    .pill { font-size: 11px; padding: 7px 14px; }
}

@media (max-width: 400px) {
    .nav-btn { font-size: 9px; padding: 12px 4px; letter-spacing: 0.04em; }
    .hero-names { font-size: 44px; }
    .hero-amp { font-size: 36px; }
    .welcome-img { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, .hero-scroll { animation: none !important; transition: none !important; }
}