/* =============================================================
   Cafe Sweets — Dreamy-Ethereal Surrealist Confectionery
   Colors: #F7E8A4 (Champagne), #F2B4C4 (Blush), #C9B8E8 (Lavender)
           #FDFAF4 (Parchment), #3D2B1F (Cocoa), #7A4F3A (Toffee), #E8D5C0 (Oat)
   Fonts: Playfair Display 700i, DM Serif Display 400i, Lato 300/400, Pacifico 400
   ============================================================= */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #FDFAF4;
    color: #3D2B1F;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
    position: relative;
}

/* ── Bokeh Canvas (z=0, behind everything) ──────────────── */
#bokeh-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Column Layout ──────────────────────────────────────── */
.column {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ── Hero (Act I) ─────────────────────────────────────── */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Hero background slides */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(2px) saturate(0.85);
    opacity: 0;
    transition: opacity 2s ease-in-out;
    will-change: opacity;
    transform: scale(1.04);
}

#hero-bg-1 {
    /* Macaron fantasy — generated CSS gradient as photographic stand-in */
    background: radial-gradient(ellipse 60% 50% at 30% 60%, #F2B4C4 0%, transparent 60%),
                radial-gradient(ellipse 50% 40% at 70% 40%, #F7E8A4 0%, transparent 55%),
                radial-gradient(ellipse 70% 60% at 50% 50%, #C9B8E8 0%, transparent 70%),
                linear-gradient(160deg, #E8D5C0 0%, #FDFAF4 50%, #F2B4C4 100%);
    opacity: 1;
}

#hero-bg-2 {
    background: radial-gradient(ellipse 70% 60% at 20% 70%, #C9B8E8 0%, transparent 65%),
                radial-gradient(ellipse 50% 50% at 80% 30%, #F7E8A4 0%, transparent 55%),
                radial-gradient(ellipse 60% 45% at 50% 50%, #F2B4C4 0%, transparent 60%),
                linear-gradient(140deg, #F7E8A4 0%, #E8D5C0 45%, #C9B8E8 100%);
}

#hero-bg-3 {
    background: radial-gradient(ellipse 55% 55% at 60% 40%, #F2B4C4 0%, transparent 60%),
                radial-gradient(ellipse 65% 50% at 30% 65%, #F7E8A4 0%, transparent 60%),
                radial-gradient(ellipse 50% 60% at 50% 50%, #C9B8E8 0%, transparent 70%),
                linear-gradient(170deg, #C9B8E8 0%, #FDFAF4 50%, #F7E8A4 100%);
}

/* Bokeh color overlays on hero */
.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-overlay.champagne {
    background: radial-gradient(circle 200px at 20% 70%, rgba(247,232,164,0.35) 0%, transparent 70%);
    mix-blend-mode: screen;
}

.hero-overlay.blush {
    background: radial-gradient(circle 180px at 75% 40%, rgba(242,180,196,0.30) 0%, transparent 70%);
    mix-blend-mode: screen;
}

.hero-overlay.lavender {
    background: radial-gradient(circle 220px at 50% 80%, rgba(201,184,232,0.28) 0%, transparent 70%);
    mix-blend-mode: screen;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 24px;
}

/* ── Wordmark (Pacifico, letter-staggered) ────────────── */
.wordmark {
    font-family: 'Pacifico', cursive;
    font-size: 96px;
    font-weight: 400;
    color: #FDFAF4;
    letter-spacing: -0.01em;
    line-height: 1;
    text-shadow: 0 2px 32px rgba(61,43,31,0.35), 0 0 60px rgba(201,184,232,0.4);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0;
}

.wm-letter,
.wm-space {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1.0);
}

.wm-space {
    width: 0.28em;
}

.wordmark.revealed .wm-letter,
.wordmark.revealed .wm-space {
    opacity: 1;
    transform: translateY(0);
}

/* ── Tagline ─────────────────────────────────────────── */
.tagline {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 22px;
    color: #FDFAF4;
    margin-top: 28px;
    line-height: 1.55;
    text-shadow: 0 1px 16px rgba(61,43,31,0.4);
    opacity: 0;
    animation: tagline-breathe 4s ease-in-out infinite;
}

.tagline.visible {
    animation: tagline-breathe 4s ease-in-out infinite;
    opacity: 0.7;
}

.tagline-jp {
    display: block;
    font-size: 18px;
    opacity: 0.88;
}

@keyframes tagline-breathe {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1.0; }
}

/* ── Harlequin Pattern Background ────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='10' height='10' fill='%23C9B8E8' opacity='0.06'/%3E%3Crect x='10' y='10' width='10' height='10' fill='%23C9B8E8' opacity='0.06'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

/* ── Main Content ─────────────────────────────────────── */
#main-content {
    position: relative;
    z-index: 2;
    background: #FDFAF4;
    padding-top: 80px;
    padding-bottom: 60px;
}

.content-band {
    position: relative;
    z-index: 2;
}

/* ── Intro Text with Drop Cap ─────────────────────────── */
.intro-section {
    padding: 40px 0 60px;
}

.intro-text {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.85;
    color: #3D2B1F;
    max-width: 580px;
    margin: 0 auto;
}

.drop-cap {
    font-family: 'Pacifico', cursive;
    font-size: 72px;
    line-height: 0.75;
    float: left;
    margin-right: 10px;
    margin-top: 10px;
    color: #F2B4C4;
    display: block;
}

/* ── Divider Band ─────────────────────────────────────── */
.divider-band {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.scalloped-divider {
    width: 100%;
    max-width: 680px;
    height: 40px;
    display: block;
}

.teacup-silhouette,
.petit-four-silhouette {
    margin-top: -4px;
    opacity: 0.75;
}

/* ── Sweet Card ───────────────────────────────────────── */
.sweet-card-section {
    padding: 24px 0 36px;
}

.sweet-card {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1.0),
                box-shadow 320ms cubic-bezier(0.34, 1.56, 0.64, 1.0);
    border-radius: 16px;
    padding-bottom: 8px;
    cursor: default;
}

.sweet-card:hover {
    transform: scale(1.035);
    box-shadow: 0 0 24px 8px rgba(242, 180, 196, 0.45);
}

/* Sweet photo placeholder — rich gradient stand-ins for photography */
.sweet-photo {
    width: 480px;
    max-width: 100%;
    height: 320px;
    border-radius: 16px;
    margin: 0 auto 20px;
    display: block;
    background-size: cover;
    background-position: center;
}

.sweet-photo-macaron {
    background:
        radial-gradient(ellipse 40% 30% at 25% 40%, rgba(242,180,196,0.9) 0%, transparent 55%),
        radial-gradient(ellipse 35% 35% at 65% 35%, rgba(201,184,232,0.85) 0%, transparent 50%),
        radial-gradient(ellipse 45% 40% at 50% 70%, rgba(247,232,164,0.7) 0%, transparent 55%),
        radial-gradient(ellipse 30% 30% at 80% 65%, rgba(242,180,196,0.7) 0%, transparent 45%),
        radial-gradient(ellipse 25% 25% at 15% 70%, rgba(201,184,232,0.6) 0%, transparent 40%),
        linear-gradient(145deg, #F2B4C4 0%, #FDFAF4 40%, #C9B8E8 100%);
    box-shadow: inset 0 -40px 60px rgba(232,213,192,0.5);
}

.sweet-photo-millefeuille {
    background:
        radial-gradient(ellipse 80% 15% at 50% 30%, rgba(247,232,164,0.95) 0%, transparent 55%),
        radial-gradient(ellipse 80% 15% at 50% 50%, rgba(253,250,244,0.95) 0%, transparent 55%),
        radial-gradient(ellipse 80% 15% at 50% 70%, rgba(247,232,164,0.95) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(232,213,192,0.5) 0%, transparent 50%),
        linear-gradient(170deg, #F7E8A4 0%, #FDFAF4 50%, #E8D5C0 100%);
    box-shadow: inset 0 -40px 60px rgba(122,79,58,0.15);
}

.sweet-photo-tart {
    background:
        radial-gradient(circle 100px at 50% 55%, rgba(180,210,170,0.75) 0%, transparent 55%),
        radial-gradient(ellipse 70% 30% at 50% 65%, rgba(201,184,232,0.4) 0%, transparent 60%),
        radial-gradient(circle 150px at 50% 55%, rgba(232,213,192,0.9) 0%, transparent 70%),
        radial-gradient(circle 10px at 50% 38%, rgba(201,184,232,0.95) 0%, transparent 100%),
        linear-gradient(155deg, #E8D5C0 0%, #FDFAF4 55%, #C9B8E8 100%);
    box-shadow: inset 0 -40px 60px rgba(122,79,58,0.12);
}

.sweet-photo-eclair {
    background:
        radial-gradient(ellipse 80% 25% at 50% 55%, rgba(201,184,232,0.9) 0%, transparent 60%),
        radial-gradient(ellipse 60% 30% at 50% 50%, rgba(247,232,164,0.5) 0%, transparent 55%),
        radial-gradient(ellipse 90% 60% at 50% 60%, rgba(201,184,232,0.4) 0%, transparent 65%),
        linear-gradient(160deg, #C9B8E8 0%, #FDFAF4 50%, #F7E8A4 100%);
    box-shadow: inset 0 -40px 60px rgba(122,79,58,0.12);
}

.sweet-photo-gelee {
    background:
        radial-gradient(ellipse 50% 50% at 30% 40%, rgba(242,180,196,0.5) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 70% 60%, rgba(247,232,164,0.4) 0%, transparent 50%),
        radial-gradient(circle 80px at 50% 50%, rgba(253,250,244,0.7) 0%, transparent 60%),
        radial-gradient(circle 120px at 45% 55%, rgba(201,184,232,0.4) 0%, transparent 60%),
        linear-gradient(145deg, #F2B4C4 0%, rgba(253,250,244,0.9) 45%, #C9B8E8 100%);
    box-shadow: inset 0 -20px 40px rgba(242,180,196,0.2);
}

.sweet-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 28px;
    letter-spacing: -0.03em;
    color: #3D2B1F;
    margin-bottom: 10px;
    line-height: 1.25;
}

.sweet-desc {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 15.5px;
    line-height: 1.7;
    color: #7A4F3A;
    max-width: 440px;
    margin: 0 auto 16px;
}

/* Price pill with chequerboard badge */
.sweet-pill {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #3D2B1F;
    padding: 6px 18px;
    border-radius: 20px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Crect width='4' height='4' fill='%23F7E8A4'/%3E%3Crect x='4' y='4' width='4' height='4' fill='%23F7E8A4'/%3E%3C/svg%3E"),
        #E8D5C0;
    background-size: 8px 8px, auto;
    letter-spacing: 0.04em;
    border: 1px solid rgba(122,79,58,0.15);
}

/* ── Pull Quotes ─────────────────────────────────────── */
.pull-quote-section {
    padding: 20px 0 40px;
    background: transparent;
}

.pull-quote {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 24px;
    color: #F2B4C4;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.45;
    position: relative;
}

.pull-quote p {
    position: relative;
    z-index: 1;
}

.pull-quote cite {
    display: block;
    font-family: 'Lato', sans-serif;
    font-style: normal;
    font-size: 13px;
    font-weight: 300;
    color: #7A4F3A;
    margin-top: 12px;
    letter-spacing: 0.03em;
}

.pull-quote-final p {
    font-size: 26px;
    color: #C9B8E8;
}

/* ── Section Heading Style ──────────────────────────── */
h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 42px;
    letter-spacing: -0.03em;
    color: #3D2B1F;
    line-height: 1.15;
}

/* Accent underline on section headings */
.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #F7E8A4;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ── Footer (Act III) ────────────────────────────────── */
.footer-reverie {
    position: relative;
    height: 300px;
    background: #E8D5C0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 800ms ease;
}

.footer-reverie.visible {
    opacity: 1;
}

.footer-harlequin {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='10' height='10' fill='%23C9B8E8' opacity='0.15'/%3E%3Crect x='10' y='10' width='10' height='10' fill='%23C9B8E8' opacity='0.15'/%3E%3C/svg%3E"),
                         url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpolygon points='14,0 28,14 14,28 0,14' fill='none' stroke='%23C9B8E8' stroke-width='0.5' opacity='0.2'/%3E%3C/svg%3E");
    background-size: 20px 20px, 28px 28px;
    opacity: 0.7;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-wordmark {
    font-family: 'Pacifico', cursive;
    font-size: 28px;
    color: #3D2B1F;
    display: block;
    margin-bottom: 14px;
    opacity: 0.85;
}

.footer-tagline {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #7A4F3A;
    letter-spacing: 0.06em;
}

/* ── Oat-cream section band variant ───────────────────── */
.band-oat {
    background: #E8D5C0;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 720px) {
    .wordmark {
        font-size: 60px;
    }

    .tagline {
        font-size: 18px;
    }

    .tagline-jp {
        font-size: 15px;
    }

    .sweet-photo {
        height: 220px;
    }

    .sweet-name {
        font-size: 23px;
    }

    .pull-quote {
        font-size: 20px;
    }

    .drop-cap {
        font-size: 54px;
    }
}

@media (max-width: 480px) {
    .wordmark {
        font-size: 44px;
    }

    .sweet-card {
        padding: 0 8px 8px;
    }
}
