/* Ground-up rebuild to match UXPERT reference. Cream + light blue. */

@font-face {
    font-family: 'Brittany Signature';
    src: url('fonts/BrittanySignature.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --cream: #F5F2ED;
    --cream-light: #FBF9F5;
    --blue: #7DB8D3;
    --blue-solid: #7DB8D3;
    --blue-dark: #5A9BB5;
    --blue-darker: #3D7A92;
    --light-blue: #8BB8CC;
    --text: #1a1a1a;
    --text-muted: #5a5a5a;
    --space: 20px;
    --space-lg: 48px;
    --footer-height: 56px;
    --footer-total-height: var(--footer-height);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream-light);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Header — logo left, hamburger right (ref: UXPERT) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.2s;
}

.header.scrolled {
    background: rgba(251, 249, 245, 0.96);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px var(--space);
    max-width: 100%;
}

.header-logo {
    padding: 0;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
}

.header-logo:hover {
    color: var(--blue-darker);
}

.header-menu {
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header-menu span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
}

.hero .header-menu span {
    background: var(--text);
}

/* Nav dropdown */
.nav-dropdown {
    position: fixed;
    top: 52px;
    right: var(--space);
    z-index: 99;
    background: var(--cream-light);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 12px 0;
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.nav-dropdown.hidden {
    display: none;
}

.menu-item {
    display: block;
    width: 100%;
    padding: 12px var(--space);
    background: none;
    border: none;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
}

.menu-item:hover {
    color: var(--blue-darker);
    background: rgba(125, 184, 211, 0.08);
}

.menu-item.active {
    color: var(--blue-darker);
}

/* Pages — multi-page: only one active */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 0;
}

.page.active {
    display: block;
}

.page.hidden {
    display: none;
}

/* Inner page (Schedule, Seating, Break) */
.inner-page {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: calc(52px + var(--space-lg)) var(--space) calc(80px + 64px);
}

/* Small rose detail — used on all non-hero pages/sections */
.detail-rose {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.detail-rose img {
    display: block;
    width: 100%;
    height: auto;
}

.detail-rose-tr {
    top: var(--space);
    right: var(--space);
    width: 44px;
    height: auto;
}

.content-section-cream {
    position: relative;
    padding-bottom: calc(64px + 56px);
}

/* Hero — full-bleed solid panel + parallax assets */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--blue-solid);
    display: flex;
    flex-direction: column;
    padding: 72px var(--space) var(--space-lg);
    overflow: hidden;
}

/* Parallax assets: line-art couple + rose (transparent PNGs, move on scroll) */
.parallax-layer {
    position: absolute;
    pointer-events: none;
    will-change: transform;
    z-index: 0;
}

.parallax-couple {
    right: 2%;
    bottom: 18%;
    width: clamp(340px, 68vw, 560px);
    height: auto;
}

.parallax-couple .parallax-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-accent {
    display: block;
    width: 48px;
    height: 4px;
    background: var(--cream);
    margin-bottom: 20px;
    transform-origin: left;
    opacity: 0;
    transform: scaleX(0);
}

.hero-headline {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2.5rem, 12vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 28px;
}

.hero-line {
    display: block;
    opacity: 0;
    transform: translateY(14px);
}

/* Hero reveal: accent draws in, then lines stagger */
.hero-inner.hero-reveal .hero-accent {
    animation: heroAccentDraw 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-inner.hero-reveal .hero-headline .hero-line:nth-child(1) {
    animation: heroLineReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hero-inner.hero-reveal .hero-headline .hero-line:nth-child(2) {
    animation: heroLineReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.hero-inner.hero-reveal .hero-headline .hero-line:nth-child(3) {
    animation: heroLineReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes heroAccentDraw {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes heroLineReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
    transition: opacity 0.2s;
    opacity: 0;
    transform: translateY(10px);
}

.hero-inner.hero-reveal .hero-cta {
    animation: heroLineReveal 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

.hero-cta:hover {
    opacity: 0.85;
}

.hero-cta-icon {
    width: 14px;
    height: 14px;
}

/* Hero scroll hint — darker, shake then fade, repeat */
.hero-scroll-hint {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: heroScrollHint 5.5s ease-in-out infinite;
    pointer-events: auto;
}

.hero-scroll-hint:hover {
    animation-play-state: paused;
    opacity: 0.95;
}

.hero-scroll-hint-text {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: var(--text);
}

.hero-scroll-hint svg {
    width: 16px;
    height: 16px;
    color: var(--text);
    display: block;
}

@keyframes heroScrollHint {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-2px);
    }
    12% {
        opacity: 0.85;
        transform: translateX(-50%) translateY(0);
    }
    25%, 38% {
        opacity: 0.9;
        transform: translateX(-50%) translateY(0);
    }
    42% {
        transform: translateX(calc(-50% - 3px)) translateY(0);
    }
    44% {
        transform: translateX(calc(-50% + 3px)) translateY(0);
    }
    46% {
        transform: translateX(calc(-50% - 2px)) translateY(0);
    }
    48% {
        transform: translateX(calc(-50% + 2px)) translateY(0);
    }
    50% {
        opacity: 0.9;
        transform: translateX(-50%) translateY(0);
    }
    62% {
        opacity: 0.4;
        transform: translateX(-50%) translateY(4px);
    }
    75%, 100% {
        opacity: 0;
        transform: translateX(-50%) translateY(6px);
    }
}

/* Welcome — message + signature + selfie (all in flow) */
.welcome {
    position: relative;
    padding: var(--space-lg) var(--space) calc(var(--space-lg) + var(--footer-total-height));
    max-width: 720px;
    margin: 0 auto;
}

.welcome-inner {
    position: relative;
    max-width: 640px;
    min-height: 28em;
}

.welcome-message {
    min-height: 11em;
}

.welcome-signature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    margin-top: 1.5em;
    flex-wrap: nowrap;
    min-height: 4.5em;
}

.welcome-text {
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    white-space: pre-line;
}

.welcome-text.typewriter-cursor::after {
    content: '|';
    animation: typewriter-blink 0.7s step-end infinite;
    color: var(--blue-solid);
}

.welcome-signature-wrap {
    margin: 0;
    flex-shrink: 0;
}

.welcome-signature {
    font-family: 'Brittany Signature', cursive;
    font-size: clamp(2.2rem, 6vw, 3rem);
    color: var(--text);
    display: inline-block;
    white-space: nowrap;
}

.welcome-signature.typewriter-cursor::after {
    content: '|';
    animation: typewriter-blink 0.7s step-end infinite;
    color: var(--blue-solid);
}

/* Selfie — to the right of signature, smaller, draws in after names */
.welcome-selfie {
    flex-shrink: 0;
    width: clamp(180px, 30vw, 260px);
    overflow: hidden;
    clip-path: inset(0 0 0 100%);
    transition: clip-path 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.welcome-selfie.selfie-reveal {
    clip-path: inset(0 0 0 0);
}

.welcome-selfie .selfie-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.92;
}

/* Cameras page */
.camera-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-top: 32px;
    margin-bottom: 40px;
}

.camera-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.camera-floating-img {
    width: clamp(260px, 60vw, 520px);
    display: block;
    filter: drop-shadow(0 14px 28px rgba(0,0,0,0.2));
    transform: rotate(var(--camera-tilt, -4deg));
    transition: transform 0.25s ease, filter 0.25s ease;
    animation: cameraFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.camera-button:nth-child(1) .camera-floating-img {
    --camera-tilt: -4deg;
}

.camera-button:nth-child(2) .camera-floating-img {
    --camera-tilt: 4deg;
    animation-delay: 1.5s;
}

.camera-button:nth-child(1) {
    align-self: flex-start;
    margin-left: 8%;
}

.camera-button:nth-child(2) {
    align-self: flex-end;
    margin-right: 8%;
}

.camera-button:hover .camera-floating-img {
    transform: translateY(-8px) scale(1.03) rotate(0deg);
    filter: drop-shadow(0 18px 36px rgba(0,0,0,0.25));
}

@keyframes cameraFloat {
    0%, 100% {
        transform: translateY(0) rotate(var(--camera-tilt, -4deg));
    }
    50% {
        transform: translateY(-6px) rotate(calc(var(--camera-tilt, -4deg) * 0.6));
    }
}

/* Film canister rain background — cameras page only */
.film-rain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.film-drop {
    position: absolute;
    top: -220px;
    width: 120px;
    height: 240px;
    opacity: 0.14;
    background-image: url("cameras/film canister.png");
    background-repeat: no-repeat;
    background-size: contain;
    animation: filmRain 11s linear infinite;
}

.film-drop:nth-child(1) { left: 8%;  animation-duration: 13s; animation-delay: -2s; transform: scale(0.9) rotate(-8deg); }
.film-drop:nth-child(2) { left: 24%; animation-duration: 11s; animation-delay: -5s; transform: scale(1.1) rotate(4deg); }
.film-drop:nth-child(3) { left: 40%; animation-duration: 12s; animation-delay: -8s; transform: scale(0.95) rotate(-3deg); }
.film-drop:nth-child(4) { left: 58%; animation-duration: 10s; animation-delay: -3s; transform: scale(1.05) rotate(6deg); }
.film-drop:nth-child(5) { left: 74%; animation-duration: 14s; animation-delay: -9s; transform: scale(0.85) rotate(-5deg); }
.film-drop:nth-child(6) { left: 88%; animation-duration: 12.5s; animation-delay: -6s; transform: scale(1.0) rotate(2deg); }

@keyframes filmRain {
    0% {
        transform: translate3d(0, -220px, 0) scale(1) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.18;
    }
    80% {
        opacity: 0.18;
    }
    100% {
        transform: translate3d(0, 180vh, 0) scale(1) rotate(12deg);
        opacity: 0;
    }
}

.camera-heading {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 12px;
}

.camera-steps {
    padding-left: 1.2rem;
    margin: 0 0 16px;
    font-size: 0.95rem;
    color: var(--text);
}

.camera-steps li {
    margin-bottom: 10px;
}

.camera-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.camera-note a {
    color: var(--blue-darker);
    text-decoration: none;
    font-weight: 500;
}

.camera-note a:hover {
    text-decoration: underline;
}

.camera-warning {
    font-size: 0.85rem;
    color: var(--text);
    margin-top: 6px;
}

/* Camera modal */
.camera-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.camera-modal.open {
    display: flex;
}

.camera-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.camera-modal-content {
    position: relative;
    background: var(--cream-light);
    padding: 24px 22px 20px;
    max-width: 360px;
    width: calc(100% - 40px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.24);
    border-radius: 0;
    border: 1px solid rgba(0,0,0,0.12);
    z-index: 1;
}

.camera-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.camera-modal .camera-heading {
    margin-top: 0;
}

.camera-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.camera-modal-icon {
    width: 34px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
    animation: cameraIconFloat 5s ease-in-out infinite;
}

@keyframes cameraIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(-4deg);
    }
    50% {
        transform: translateY(-4px) rotate(0deg);
    }
}

body.modal-open {
    overflow: hidden;
}

/* Content sections — cream, thin accent line, stacked heading, body, CTA (ref: WHO WE ARE / WHAT WE DO) */
.content-section {
    padding: var(--space-lg) var(--space) 64px;
    max-width: 720px;
    margin: 0 auto;
    scroll-margin-top: 60px;
}

.content-section-cream {
    background: var(--cream-light);
}

.section-accent {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--blue-solid);
    margin-bottom: 18px;
}

.section-headline {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 0.98;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 12px;
}

.section-line {
    display: block;
}

.section-sub {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 24px;
}

.section-sub em {
    font-style: italic;
}

.section-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Icon blocks row (ref: WHAT WE DO — 4 blocks with icon + 2-line label) */
.icon-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

.icon-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    background: none;
    border: none;
    text-align: left;
    color: var(--text);
    cursor: pointer;
    transition: color 0.2s;
}

.icon-block:hover {
    color: var(--blue-darker);
}

.icon-block-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
}

.icon-block-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--text);
    transition: stroke 0.2s;
}

.icon-block:hover .icon-block-icon svg {
    stroke: var(--blue-solid);
}

.icon-block-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.icon-block-sublabel {
    font-size: 13px;
    color: var(--text-muted);
}

/* Section CTA button (ref: MORE ABOUT US → solid blue, black text, arrow) */
.section-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--blue-solid);
    border: none;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.section-cta:hover {
    background: var(--blue-dark);
    opacity: 0.95;
}

.section-cta-arrow {
    width: 18px;
    height: 18px;
}

/* Now block — minimal (no box) */
.now-block {
    margin-bottom: 28px;
    text-align: center;
}

.now-block-minimal {
    padding: 16px 0;
    border-left: 3px solid var(--blue-solid);
    padding-left: 20px;
    text-align: left;
}

.now-block.hidden {
    display: none;
}

.now-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-solid);
    margin-bottom: 6px;
}

.now-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
}

/* Schedule jump */
.schedule-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.jump-btn {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.jump-btn:hover {
    border-color: var(--blue-solid);
    background: rgba(125, 184, 211, 0.08);
    color: var(--blue-darker);
}

/* Timeline — no boxes, flowing sections */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-card {
    padding: 28px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: relative;
}

.timeline-card:last-child {
    border-bottom: none;
}

.timeline-card.active {
    border-left: 3px solid var(--blue-solid);
    padding-left: 20px;
    margin-left: -20px;
}

.timeline-card.past {
    opacity: 0.7;
}

.timeline-time {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--blue-solid);
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.timeline-location {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.timeline-notes {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.timeline-card.animate-pulse {
    animation: pulse 1s ease-in-out 2;
}

/* Search */
.search-wrap {
    margin-bottom: 22px;
}

.search-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 1px solid rgba(0,0,0,0.12);
    background: #fff;
    color: var(--text);
}

.search-input:focus {
    outline: none;
    border-color: var(--blue-solid);
}

.search-results {
    margin-bottom: 22px;
}

.search-results.hidden {
    display: none;
}

.search-result-card {
    padding: 24px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Tables — no boxes */
.tables-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.table-card {
    padding: 24px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    cursor: pointer;
    transition: border-color 0.2s;
}

.table-card:last-child {
    border-bottom: none;
}

.table-card:hover,
.table-card.expanded {
    border-left: 3px solid var(--blue-solid);
    padding-left: 20px;
    margin-left: -20px;
}

.table-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-solid);
    margin-bottom: 14px;
}

.table-guests {
    display: none;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.table-card.expanded .table-guests {
    display: block;
}

.guest-item {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

.category-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--blue-solid);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-left: 8px;
}

/* Break filters */
.break-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.filter-btn {
    padding: 10px 20px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--blue-solid);
    background: var(--blue-solid);
    color: var(--text);
}

/* Places — no boxes */
.places-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.place-card {
    padding: 28px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.place-card:last-child {
    border-bottom: none;
}

.place-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.place-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.place-name.typewriter-cursor::after {
    content: '|';
    animation: typewriter-blink 0.7s step-end infinite;
    color: var(--blue-solid);
}

@keyframes typewriter-blink {
    50% { opacity: 0; }
}

.place-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.place-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.place-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.place-info-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--blue-solid);
}

.place-link {
    display: block;
    padding: 14px 20px;
    background: var(--blue-solid);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.place-link:hover {
    background: var(--blue-dark);
}

/* Footer — Option A: single strip, text left, nav right */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    height: var(--footer-height);
    background: rgba(251, 249, 245, 0.98);
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space);
    gap: var(--space);
}

.footer-meta {
    margin: 0;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* Nav in same strip */
.bottom-nav {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    padding: 0;
}

.bottom-nav-item {
    padding: 10px 16px;
    background: none;
    border: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.bottom-nav-item:hover,
.bottom-nav-item[aria-current="page"] {
    color: var(--blue-darker);
}

/* Content clears fixed footer */
.page.active {
    padding-bottom: var(--footer-total-height);
}

.inner-page {
    padding-bottom: calc(80px + var(--footer-total-height));
}

/* Burst roses from click position */
.rose-burst-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 200;
    overflow: visible;
}

.rose-burst {
    position: fixed;
    width: 48px;
    height: auto;
    pointer-events: none;
    animation: roseBurst ease-out forwards;
    will-change: transform, opacity;
}

.rose-burst img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}

@keyframes roseBurst {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.98;
    }
    100% {
        transform: translate(var(--burst-dx), var(--burst-dy)) rotate(var(--burst-r));
        opacity: 0;
    }
}

/* Scroll reveal — soft animation on scroll */
.scroll-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.reveal {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-parent > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal-parent.reveal > * {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-parent > *:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal-parent.reveal > *:nth-child(2) { transition-delay: 0.08s; }
.scroll-reveal-parent.reveal > *:nth-child(3) { transition-delay: 0.11s; }
.scroll-reveal-parent.reveal > *:nth-child(4) { transition-delay: 0.14s; }
.scroll-reveal-parent.reveal > *:nth-child(5) { transition-delay: 0.17s; }
.scroll-reveal-parent.reveal > *:nth-child(6) { transition-delay: 0.2s; }
.scroll-reveal-parent.reveal > *:nth-child(n+7) { transition-delay: 0.23s; }

/* Header background when scrolled past hero */
.header.scrolled {
    background: rgba(251, 249, 245, 0.96);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Responsive */
@media (max-width: 640px) {
    .hero {
        padding: 64px 16px 40px;
    }
    .hero-scroll-hint {
        top: 64px;
        padding: 6px 10px;
    }
    .hero-scroll-hint-text {
        font-size: 9px;
    }
    .hero-scroll-hint svg {
        width: 14px;
        height: 14px;
    }
    .welcome {
        min-height: 45vh;
        min-height: 45dvh;
        padding: var(--space-lg) 16px;
    }
    .parallax-couple {
        width: clamp(280px, 62vw, 440px);
        bottom: 12%;
    }
    .welcome-text {
        font-size: 1.05rem;
    }
    .welcome-signature-row {
        gap: 8px;
        margin-top: 1.25em;
        flex-wrap: nowrap;
    }
    .welcome-selfie {
        width: clamp(110px, 32vw, 150px);
        margin-left: 0;
    }
    .camera-button:nth-child(1),
    .camera-button:nth-child(2) {
        align-self: center;
        margin-left: 0;
        margin-right: 0;
    }
    .camera-floating-img {
        width: min(420px, 90vw);
    }
    .hero-headline {
        font-size: clamp(2.2rem, 14vw, 3.5rem);
    }
    .content-section {
        padding: 40px 16px 56px;
    }
    .icon-blocks {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        min-height: 48px;
        padding: 0;
        gap: 0;
    }
    .footer-meta {
        order: 2;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        font-size: 9px;
        letter-spacing: 0.03em;
        text-align: center;
        padding: 4px 10px 6px;
        line-height: 1.3;
    }
    .bottom-nav {
        order: 1;
        justify-content: center;
        padding: 0 6px;
        min-height: 40px;
    }
    .bottom-nav .bottom-nav-item {
        padding: 8px 10px;
        font-size: 11px;
    }
    .page.active {
        padding-bottom: 100px;
    }
    .inner-page {
        padding-bottom: calc(80px + 100px);
    }
}
