:root {
    --bg: #faf7f2;
    --bg-soft: #f3ede4;
    --ink: #2d2a26;
    --ink-soft: #6b6359;
    --line: #e7dfd2;
    --gold: #b8924a;
    --gold-soft: #d9bf85;
    --sage: #8a9a82;
    --shadow: 0 1px 2px rgba(45, 42, 38, 0.04), 0 8px 24px rgba(45, 42, 38, 0.06);
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Intro animation (lion + balloon floats up on first load) ---------- */
.intro-fly {
    position: fixed;
    bottom: -480px;
    left: 50%;
    width: 220px;
    margin-left: -110px;
    pointer-events: none;
    z-index: 9999;
}

.intro-fly.fly {
    animation: introFloatUp 8s ease-out 0.2s forwards;
}

@media (max-width: 600px) {
    .intro-fly { width: 180px; margin-left: -90px; bottom: -400px; }
}

.intro-fly-inner {
    animation: introSway 2.6s ease-in-out infinite;
    transform-origin: center top;
}

.intro-fly img,
.intro-fly svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 26px rgba(45, 42, 38, 0.2));
}

@keyframes introFloatUp {
    0%   { bottom: -480px; opacity: 0; }
    8%   { opacity: 1; }
    88%  { opacity: 1; }
    100% { bottom: 100vh; opacity: 0; }
}

@keyframes introSway {
    0%, 100% { transform: translateX(-12px) rotate(-3deg); }
    50%      { transform: translateX(12px) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
    .intro-fly { display: none; }
}

/* ---------- Floating background ---------- */
.floating-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.float-item {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--s, 22px);
    height: var(--s, 22px);
    font-size: var(--s, 22px);
    color: var(--col, var(--gold-soft));
    opacity: 0.09;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatGently var(--r, 20s) ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

.float-item svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.float-bear  { --col: #b8852a; }
.float-btc   { --col: #b8852a; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }
.float-heart { --col: #c97070; opacity: 0.1; }

@keyframes floatGently {
    0%, 100% { transform: translate(0, 0) rotate(-4deg); }
    50%      { transform: translate(8px, -18px) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
    .float-item { animation: none; }
}

/* Keep content above the floating background */
.hero,
.lion-divider,
main,
.next-page,
.footer {
    position: relative;
    z-index: 1;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin: 0;
}

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    color: var(--ink);
}

.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

.container.narrow {
    max-width: 720px;
}

/* ---------- Hero ---------- */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 30%, #fff 0%, var(--bg) 60%),
        var(--bg);
    padding: 80px 24px;
    position: relative;
}

.hero-inner {
    max-width: 640px;
}

.lion-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 64px 24px;
    background: var(--bg);
}

.lion-divider::before,
.lion-divider::after {
    content: "";
    flex: 0 1 90px;
    height: 1px;
    background: var(--gold-soft);
    opacity: 0.7;
}

.lion-mark {
    display: block;
    width: 280px;
    max-width: 80vw;
    height: auto;
    flex: 0 0 auto;
    filter: drop-shadow(0 8px 22px rgba(45, 42, 38, 0.1));
}

@media (max-width: 600px) {
    .lion-divider { padding: 48px 16px; gap: 18px; }
    .lion-mark { width: 220px; }
    .lion-divider::before,
    .lion-divider::after { flex: 0 1 30px; }
}

.hero-photo {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 36px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(45, 42, 38, 0.14), 0 2px 6px rgba(45, 42, 38, 0.06);
    background: var(--bg-soft);
}

.hero-photo img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 600px) {
    .hero-photo { max-width: 240px; margin-bottom: 28px; }
}

.brand-mark {
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--gold);
    margin: 0 0 36px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.78rem;
    color: var(--ink-soft);
    margin: 0 0 18px;
}

@media (max-width: 600px) {
    .brand-mark { font-size: 0.82rem; letter-spacing: 0.28em; margin-bottom: 28px; }
}

.name {
    font-size: clamp(3.4rem, 10vw, 6rem);
    font-style: italic;
    color: var(--ink);
    line-height: 1;
    margin: 0 0 22px;
}

.dates {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--ink-soft);
    margin: 0 0 18px;
    letter-spacing: 0.04em;
}

.dash {
    display: inline-block;
    margin: 0 14px;
    color: var(--gold);
}

.age {
    font-style: italic;
    color: var(--ink-soft);
    font-size: 1.05rem;
    margin: 0;
}

.scroll-cue {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 1.4rem;
    opacity: 0.7;
    animation: float 2.4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ---------- Sections ---------- */
.section {
    padding: 110px 0;
    border-top: 1px solid var(--line);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-style: italic;
    text-align: center;
    margin-bottom: 18px;
}

.section-lede {
    text-align: center;
    color: var(--ink-soft);
    max-width: 580px;
    margin: 0 auto 56px;
    font-size: 1.05rem;
}

.section-lede.dedication {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--ink);
    max-width: 660px;
    margin-bottom: 64px;
}

/* ---------- Wallet ---------- */
.wallet-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

.wallet-stat {
    background: #fff;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
}

.stat-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    color: var(--ink);
    line-height: 1.15;
    word-break: break-word;
}

.stat-value.mono {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.95rem;
    line-height: 1.4;
}

.stat-sub {
    font-size: 0.88rem;
    color: var(--ink-soft);
}

@media (max-width: 720px) {
    .wallet-card {
        grid-template-columns: 1fr;
    }
}

/* ---------- Chart ---------- */
.wallet-purpose {
    max-width: 680px;
    margin: 36px auto 64px;
    text-align: center;
    padding: 8px 8px 32px;
    position: relative;
}

.wallet-purpose::before {
    content: "";
    display: block;
    width: 36px;
    height: 1px;
    background: var(--gold-soft);
    margin: 0 auto 28px;
}

.wallet-purpose p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--ink);
    margin: 0;
}

.wallet-purpose strong {
    color: var(--gold);
    font-weight: 500;
}

.growth-section {
    margin-bottom: 56px;
}

.growth-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.6rem;
    color: var(--ink);
    text-align: center;
    margin: 0 0 24px;
    font-weight: 500;
}

.growth-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.growth-stat {
    background: #fff;
    padding: 22px 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.growth-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
    margin-bottom: 10px;
}

.growth-value {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.55rem;
    color: var(--ink);
    line-height: 1.1;
    font-weight: 500;
}

.growth-value.positive { color: #5e7a52; }
.growth-value.negative { color: #a85a4a; }

.growth-sub {
    display: block;
    font-size: 0.78rem;
    color: var(--ink-soft);
    margin-top: 6px;
    min-height: 1em;
}

@media (max-width: 720px) {
    .growth-grid { grid-template-columns: repeat(2, 1fr); }
    .growth-value { font-size: 1.4rem; }
}

.chart-wrap {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.chart-canvas-wrap {
    position: relative;
    height: 320px;
}

@media (max-width: 600px) {
    .chart-canvas-wrap { height: 240px; }
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.chart-header h3 {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--ink);
}

.chart-range {
    display: flex;
    gap: 4px;
    background: var(--bg-soft);
    border-radius: 999px;
    padding: 4px;
}

.range-btn {
    background: transparent;
    border: 0;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    color: var(--ink-soft);
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.08em;
    transition: all 0.15s ease;
}

.range-btn:hover {
    color: var(--ink);
}

.range-btn.active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.chart-note {
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.85rem;
    margin: 16px 0 0;
}

/* ---------- Gallery ---------- */
.gallery {
    background: var(--bg-soft);
}

.photo-grid {
    columns: 3 240px;
    column-gap: 16px;
}

@media (max-width: 720px) {
    .photo-grid { columns: 2 160px; column-gap: 12px; }
}

.photo {
    margin: 0 0 18px;
    break-inside: avoid;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    display: block;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-origin: center;
}

.photo img,
.photo video {
    width: 100%;
    height: auto;
    display: block;
}

.photo--video {
    background: #000;
}

/* Vary tilt and corner shape so the wall feels organic, not gridded */
.photo:nth-child(8n+1) { transform: rotate(-3deg);   border-radius: 18px; }
.photo:nth-child(8n+2) { transform: rotate(1.6deg);  border-radius: 6px; }
.photo:nth-child(8n+3) { transform: rotate(-1.4deg); aspect-ratio: 1 / 1; border-radius: 50%; }
.photo:nth-child(8n+4) { transform: rotate(3.6deg);  border-radius: 14px 32px 14px 32px; }
.photo:nth-child(8n+5) { transform: rotate(-2.6deg); border-radius: 28px; }
.photo:nth-child(8n+6) { transform: rotate(1deg);    border-radius: 8px; }
.photo:nth-child(8n+7) { transform: rotate(-3.4deg); aspect-ratio: 1 / 1; border-radius: 50%; }
.photo:nth-child(8n+8) { transform: rotate(2.8deg);  border-radius: 32px 8px 32px 8px; }

/* Circular tiles: make the image fill the square and bias the crop toward
   the upper-middle so most faces stay inside the circle */
.photo:nth-child(8n+3) img,
.photo:nth-child(8n+3) video,
.photo:nth-child(8n+7) img,
.photo:nth-child(8n+7) video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Lift and straighten on hover so the photo is easier to see */
.photo-grid .photo:hover {
    transform: rotate(0) scale(1.04);
    box-shadow: 0 18px 38px rgba(45, 42, 38, 0.18);
    z-index: 5;
    position: relative;
}

.photo.is-missing {
    display: none;
}

.gallery-empty {
    text-align: center;
    color: var(--ink-soft);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    padding: 48px 0;
}

/* ---------- Featured photo (framed, below the wall) ---------- */
.featured-photo {
    max-width: 720px;
    margin: 80px auto 0;
}

.featured-photo-frame {
    position: relative;
    background: #fff;
    padding: 16px;
    border-radius: 4px;
    box-shadow:
        0 2px 4px rgba(45, 42, 38, 0.06),
        0 24px 56px rgba(45, 42, 38, 0.18);
}

.featured-photo-frame::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid var(--gold-soft);
    pointer-events: none;
    border-radius: 2px;
}

.featured-photo-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .featured-photo { margin-top: 56px; }
    .featured-photo-frame { padding: 12px; }
    .featured-photo-frame::before { inset: 6px; }
}

/* ---------- Story / Memories ---------- */
.story-placeholder {
    text-align: center;
    color: var(--ink-soft);
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    padding: 60px 20px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

.story-content {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--ink);
}

.story-content p {
    margin: 0 0 1.4em;
}

.story-content p:first-of-type::first-letter {
    font-size: 3.2rem;
    float: left;
    line-height: 1;
    padding: 6px 10px 0 0;
    color: var(--gold);
    font-style: italic;
}

/* ---------- Eulogy ---------- */
.eulogy-content {
    background: #fff;
    padding: 56px 56px 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--ink);
}

.eulogy-content p {
    margin: 0 0 1.4em;
}

.eulogy-opener {
    font-style: italic;
    font-size: 2rem;
    color: var(--gold);
    text-align: center;
    margin: 0 0 1.6em !important;
    letter-spacing: 0.04em;
}

.eulogy-shift {
    font-style: italic;
    font-size: 1.35rem;
    color: var(--gold);
    margin-top: 1.8em !important;
    margin-bottom: 0.6em !important;
}

.eulogy-signoff {
    text-align: right;
    font-style: italic;
    color: var(--ink-soft);
    margin-top: 2.4em !important;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .eulogy-content {
        padding: 36px 28px 32px;
        font-size: 1.08rem;
        line-height: 1.75;
    }
    .eulogy-opener { font-size: 1.6rem; }
    .eulogy-shift { font-size: 1.2rem; }
}

/* ---------- Reading (Grief Is Like Glitter) ---------- */
.reading-content {
    background: #fff;
    padding: 56px 56px 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    line-height: 1.85;
    color: var(--ink);
}

.reading-content p {
    margin: 0 0 1.4em;
}

.reading-signoff {
    text-align: center;
    font-style: italic;
    color: var(--gold);
    font-size: 1.15rem;
    margin-top: 2.4em !important;
    line-height: 1.55;
}

/* Poem variant of the reading card */
.reading-poem {
    text-align: center;
}

.reading-poem p {
    margin: 0 0 1.8em;
    line-height: 1.75;
}

.reading-poem .refrain {
    color: var(--gold);
    font-style: italic;
}

@media (max-width: 600px) {
    .reading-content {
        padding: 36px 28px 32px;
        font-size: 1.08rem;
        line-height: 1.8;
    }
    .reading-signoff { font-size: 1.05rem; }
}

/* ---------- Declaration ---------- */
.declaration-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 48px 48px 40px;
    box-shadow: var(--shadow);
}

.declaration-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.55rem;
    line-height: 1.55;
    color: var(--ink);
    text-align: center;
    margin: 8px 0 36px;
    letter-spacing: 0.01em;
}

@media (max-width: 600px) {
    .declaration-text {
        font-size: 1.25rem;
    }
}

.declaration-meta {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.meta-row {
    display: flex;
    gap: 16px;
    align-items: baseline;
    flex-wrap: wrap;
}

.meta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
    flex-shrink: 0;
    min-width: 110px;
}

.meta-value {
    font-size: 0.92rem;
    color: var(--ink);
    word-break: break-all;
}

.meta-value.mono {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.82rem;
    color: var(--gold);
}

.meta-value.mono:hover {
    color: var(--ink);
}

.declaration-note {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--ink-soft);
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .declaration-card {
        padding: 32px 24px 28px;
    }
    .declaration-text {
        font-size: 1.1rem;
    }
}

/* ---------- Light a candle ---------- */
.candle-stage {
    display: flex;
    justify-content: center;
    margin: 48px 0 8px;
    position: relative;
}

.candle-btn {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease;
    border-radius: 6px;
}

.candle-btn:hover {
    transform: translateY(-2px);
}

.candle-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 6px;
}

.candle-svg {
    width: 110px;
    height: 200px;
    display: block;
    position: relative;
    z-index: 1;
}

.candle-flame {
    opacity: 0;
    transform-origin: 40px 38px;
    transform: scale(0.5);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.candle-btn.lit .candle-flame {
    opacity: 1;
    transform: scale(1);
    animation: flameFlicker 2.6s ease-in-out infinite;
}

.candle-btn.lit::before {
    content: "";
    position: absolute;
    inset: -60px -60px 40px;
    background: radial-gradient(circle at 50% 30%, rgba(255, 184, 74, 0.32), transparent 65%);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes flameFlicker {
    0%, 100% { transform: scale(1) rotate(-1deg); }
    25%      { transform: scale(1.05, 1.08) rotate(1.5deg); }
    50%      { transform: scale(0.97, 0.98) rotate(-1deg); }
    75%      { transform: scale(1.04, 1.05) rotate(2deg); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.9; }
    50%      { opacity: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
    .candle-btn.lit .candle-flame,
    .candle-btn.lit::before { animation: none; }
}

.candle-status {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    color: var(--ink-soft);
    font-size: 1.15rem;
    margin: 24px 0 0;
}

.candle-btn.lit ~ .candle-status,
.candle-status.is-lit {
    color: var(--gold);
}

.candle-count {
    text-align: center;
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.candle-count-number {
    color: var(--gold);
    font-weight: 500;
    font-size: 1.15rem;
}

/* ---------- Letters for Later ---------- */
.letters-list {
    display: grid;
    gap: 18px;
    margin-top: 36px;
}

.letter-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
}

.letter-card.locked {
    background: var(--bg-soft);
    text-align: center;
    border-style: dashed;
    border-color: var(--gold-soft);
}

.letter-meta {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ink-soft);
    margin: 0 0 8px;
}

.letter-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.7rem;
    color: var(--ink);
    margin: 0 0 16px;
    font-weight: 500;
}

.letter-seal {
    font-size: 2.6rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 14px;
}

.letter-countdown {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    color: var(--gold);
    font-size: 1.05rem;
    margin: 0;
}

.letter-countdown-small {
    color: var(--ink-soft);
    font-size: 0.9rem;
    margin: 4px 0 0;
}

.letter-body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.18rem;
    line-height: 1.75;
    color: var(--ink);
    white-space: pre-line;
    margin: 0;
}

.letter-signature {
    font-style: italic;
    color: var(--ink-soft);
    margin: 18px 0 0;
    text-align: right;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.letters-empty {
    text-align: center;
    color: var(--ink-soft);
    font-style: italic;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    padding: 40px 0;
    margin: 0;
}

.letters-empty code {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.85em;
    background: var(--bg-soft);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ---------- Memory Wall ---------- */
.memory-list {
    display: grid;
    gap: 18px;
    margin-bottom: 56px;
}

.memory-list:empty {
    display: none;
}

.memory-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 28px;
    box-shadow: var(--shadow);
}

.memory-author {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--gold);
    margin: 0 0 10px;
}

.memory-body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--ink);
    margin: 0;
}

.memory-date {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
    margin: 14px 0 0;
}

.memory-form {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 18px;
}

.memory-form label {
    display: grid;
    gap: 6px;
}

.memory-form label > span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
}

.memory-form input,
.memory-form textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg);
    color: var(--ink);
    resize: vertical;
    width: 100%;
}

.memory-form input:focus,
.memory-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 146, 74, 0.15);
}

.memory-form button {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    padding: 14px 32px;
    background: var(--gold);
    color: #fff;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    justify-self: center;
    transition: background 0.2s ease, transform 0.1s ease;
    font-weight: 500;
}

.memory-form button:hover:not(:disabled) {
    background: var(--ink);
}

.memory-form button:active {
    transform: scale(0.98);
}

.memory-form button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-note {
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.85rem;
    margin: 0;
    font-style: italic;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.form-pending,
.form-success {
    text-align: center;
    color: var(--ink-soft);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.2rem;
    padding: 28px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    margin: 0;
}

.form-success {
    color: var(--sage);
}

/* ---------- Sunsets for Wesley ---------- */
.sunsets {
    background:
        linear-gradient(180deg, rgba(244, 196, 140, 0.16) 0%, rgba(232, 160, 120, 0.08) 55%, transparent 100%);
}

.sunset-count {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--gold);
    margin: -32px 0 32px;
}

.sunset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    justify-content: center;
    gap: 8px;
    max-width: 920px;
    margin: 0 auto;
}

.sunset {
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-soft);
    box-shadow: var(--shadow);
}

.sunset img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.4s ease;
}

.sunset:hover img {
    transform: scale(1.05);
}

.sunset.is-missing {
    display: none;
}

.sunset-empty {
    text-align: center;
    color: var(--ink-soft);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    margin: 0;
}

.sunset-empty[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .sunset-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .sunset { border-radius: 6px; }
}

.form-success p {
    margin: 0 0 10px;
}

.form-fallback {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.form-address {
    color: var(--ink);
    word-break: break-all;
}

.form-success .gift-copy {
    margin: 6px 0 0;
}

/* ---------- Add to Wesley's Gift ---------- */
.gift {
    max-width: 720px;
    margin: 0 auto 64px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px 36px 28px;
    text-align: center;
}

.gift-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.7rem;
    color: var(--ink);
    margin: 0 0 8px;
}

.gift-lede {
    color: var(--ink-soft);
    margin: 0 auto 28px;
    max-width: 460px;
}

.gift-body {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
    text-align: left;
}

.gift-qr {
    flex: 0 0 168px;
    width: 168px;
    height: 168px;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gift-qr svg {
    width: 100%;
    height: 100%;
    display: block;
}

.gift-qr-placeholder {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.4;
}

.gift-details {
    flex: 1 1 auto;
    min-width: 0;
}

.gift-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-soft);
    margin: 0 0 6px;
}

.gift-address {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    color: var(--ink-soft);
    font-size: 1.05rem;
    margin: 0 0 12px;
    word-break: break-all;
}

.gift-address.is-set {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-style: normal;
    font-size: 0.85rem;
    color: var(--ink);
}

.gift-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    background: none;
    border: 1px solid var(--gold-soft);
    border-radius: 999px;
    padding: 8px 20px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.gift-copy:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.gift-steps {
    margin: 0;
    padding-left: 20px;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.8;
}

.gift-steps strong {
    color: var(--ink);
    font-weight: 500;
}

.gift-note {
    margin: 26px auto 0;
    max-width: 480px;
    font-size: 0.82rem;
    color: var(--ink-soft);
    opacity: 0.85;
}

@media (max-width: 600px) {
    .gift { padding: 28px 20px 22px; }
    .gift-body { flex-direction: column; text-align: center; gap: 20px; }
    .gift-steps { text-align: left; display: inline-block; }
}

/* ---------- Submission forms (shared) ---------- */
/* Keep in-page jumps from landing under the sticky menu */
section,
.form-success {
    scroll-margin-top: 90px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.form-note.form-error {
    color: #a85a4a;
}

.memory-form label > span em {
    text-transform: none;
    letter-spacing: 0;
    font-style: italic;
    opacity: 0.8;
}

.upload-form .sunset-pick {
    min-height: 200px;
}

.upload-lede {
    text-align: center;
    color: var(--ink-soft);
    margin: -6px 0 0;
}

#photo-form {
    max-width: 560px;
    margin: 72px auto 0;
}

.sunset-form {
    max-width: 560px;
    margin: 48px auto 0;
}

.sunset-form-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.6rem;
    text-align: center;
    margin: 0;
}

.sunset-pick {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    border: 1.5px dashed var(--gold-soft);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(244, 196, 140, 0.18), rgba(201, 112, 106, 0.1));
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.sunset-pick:hover {
    border-color: var(--gold);
}

.sunset-pick input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

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

.sunset-pick-text {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem !important;
    font-weight: 500;
    letter-spacing: 0.18em !important;
    text-transform: uppercase;
    color: #fff !important;
    background: linear-gradient(135deg, #e0954f, #c9706a);
    padding: 12px 26px;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(201, 112, 106, 0.25);
    pointer-events: none;
}

.sunset-form button[type="submit"] {
    background: linear-gradient(135deg, #e0954f, #c9706a);
}

.sunset-form button[type="submit"]:hover:not(:disabled) {
    background: var(--ink);
}

/* ---------- Little Lion Family Co. page ---------- */
.ll-logo {
    display: block;
    width: 160px;
    margin: 0 auto 24px;
}

.ll-logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* No decorative drop cap here: it turns a leading "[" into a giant glyph */
.little-lion-story .story-content p:first-of-type::first-letter {
    font-size: inherit;
    float: none;
    padding: 0;
    color: inherit;
    font-style: inherit;
    line-height: inherit;
}

.ll-tagline {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    color: var(--ink);
    max-width: 560px;
    margin: -28px auto 0;
}

.ll-offer {
    cursor: default;
}

.ll-offer:hover {
    transform: none;
}

.ll-quote {
    margin: 36px auto 0;
    max-width: 600px;
    padding: 28px 32px;
    background: #fff;
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
}

.ll-quote p {
    margin: 0 0 12px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--ink);
}

.ll-quote cite {
    font-style: normal;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.ll-icon {
    font-size: 1.5rem;
    color: var(--gold);
    line-height: 1;
}

.ll-book {
    cursor: pointer;
}

.ll-book:hover {
    transform: translateY(-3px);
}

.ll-link {
    margin-top: auto;
    padding-top: 6px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--gold);
}

.ll-note {
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.9rem;
    margin: 28px auto 0;
    max-width: 520px;
}

.ll-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.ll-btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    background: var(--gold);
    padding: 14px 30px;
    border-radius: 999px;
}

.ll-btn:hover {
    color: #fff;
    background: var(--ink);
}

.ll-btn.ll-btn-outline {
    background: none;
    color: var(--gold);
    border: 1px solid var(--gold-soft);
}

.ll-btn.ll-btn-outline:hover {
    background: var(--gold);
    border-color: var(--gold);
}

/* ---------- Sunrises: captions, views, viewer, weekly blend ---------- */
.sunset {
    position: relative;
    cursor: zoom-in;
}

.sunset:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.sunset-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 28px 10px 9px;
    background: linear-gradient(to top, rgba(20, 16, 12, 0.72), rgba(20, 16, 12, 0));
    color: #fffaf2;
    pointer-events: none;
}

.cap-place {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.25;
}

.cap-meta {
    font-size: 0.7rem;
    opacity: 0.85;
}

.cap-meta:empty {
    display: none;
}

.sr-views {
    display: flex;
    justify-content: center;
    gap: 4px;
    width: fit-content;
    margin: 0 auto 28px;
    padding: 4px;
    background: var(--bg-soft);
    border-radius: 999px;
}

.sr-views[hidden] {
    display: none;
}

.sr-tab {
    border: 0;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: var(--ink-soft);
    letter-spacing: 0.06em;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
}

.sr-tab.is-active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.sr-panel[hidden] {
    display: none;
}

/* Viewer (shared by full-screen and one-at-a-time) */
.sr-viewer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.sr-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    touch-action: pan-y;
}

.sr-img {
    display: block;
    max-width: 100%;
    border-radius: 10px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.sr-inline .sr-img {
    max-height: 70vh;
    box-shadow: var(--shadow);
}

.sr-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 250, 242, 0.88);
    color: var(--ink);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
}

.sr-arrow[hidden] {
    display: none;
}

.sr-prev { left: 10px; }
.sr-next { right: 10px; }

.sr-arrow:hover {
    background: #fff;
}

.sr-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-align: center;
}

.sr-place {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--ink);
}

.sr-meta {
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.sr-count {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

/* Full-screen viewer */
.sr-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(24, 20, 16, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 16px 24px;
}

.sr-overlay[hidden] {
    display: none;
}

.sr-modal {
    width: 100%;
    max-width: 1200px;
}

.sr-modal .sr-img {
    max-height: calc(100vh - 190px);
}

.sr-modal .sr-place { color: #fffaf2; }
.sr-modal .sr-meta { color: rgba(255, 250, 242, 0.75); }

.sr-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: 0;
    color: #f3ede4;
    font-size: 2.4rem;
    line-height: 1;
    padding: 6px 10px;
    cursor: pointer;
}

/* Blended sunrise */
.sr-mesh-frame {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(45, 42, 38, 0.06), 0 18px 40px rgba(45, 42, 38, 0.16);
    background: #2d2a26;
}

.sr-blend-status {
    margin: 0;
    padding: 120px 20px;
    text-align: center;
    color: #f3ede4;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.3rem;
}

.sr-mesh-frame canvas {
    display: block;
    width: 100%;
    height: auto;
}

.sr-mesh-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 18px 0 6px;
    flex-wrap: wrap;
}

.sr-chip {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    background: #fff;
    border: 1px solid var(--gold-soft);
    border-radius: 999px;
    padding: 9px 20px;
    cursor: pointer;
}

.sr-chip:hover:not(:disabled) {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.sr-chip:disabled {
    opacity: 0.5;
    cursor: default;
}

[data-panel="mesh"] .form-note,
[data-panel="mesh"] + .sunset-empty {
    text-align: center;
}

@media (max-width: 600px) {
    .sr-arrow { width: 40px; height: 40px; font-size: 1.6rem; }
    .sr-tab { padding: 8px 11px; font-size: 0.72rem; }
}

/* ---------- Site navigation (shared across pages) ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 247, 242, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-nav-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-nav-brand {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--ink);
    white-space: nowrap;
}

.site-nav-brand:hover {
    color: var(--gold);
}

.site-nav-links {
    display: flex;
    gap: 22px;
}

.site-nav-links a {
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    white-space: nowrap;
}

.site-nav-links a[hidden] {
    display: none;
}

.site-nav-links a:hover,
.site-nav-links a[aria-current="page"] {
    color: var(--gold);
    border-bottom-color: var(--gold-soft);
}

@media (max-width: 760px) {
    .site-nav-inner {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 10px 0 6px;
    }
    .site-nav-brand {
        text-align: center;
        font-size: 1.15rem;
    }
    /* Links scroll sideways on phones instead of wrapping */
    .site-nav-links {
        overflow-x: auto;
        gap: 20px;
        padding: 4px 20px 6px;
        scrollbar-width: none;
        justify-content: flex-start;
    }
    .site-nav-links::-webkit-scrollbar {
        display: none;
    }
}

/* When the lion art opens a page, pull the first section up under it */
.lion-divider + .page-main > .section:first-child {
    padding-top: 16px;
}

/* Inner pages start without a hero: no rule above the first section */
.page-main > .section:first-child {
    border-top: none;
    padding-top: 72px;
}

/* ---------- Home: explore cards ---------- */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
}

.explore-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 24px;
    color: var(--ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.explore-card:hover {
    color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 2px 4px rgba(45, 42, 38, 0.05), 0 14px 32px rgba(45, 42, 38, 0.1);
}

.explore-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.45rem;
    color: var(--ink);
}

.explore-card:hover .explore-title {
    color: var(--gold);
}

.explore-text {
    font-size: 0.92rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* ---------- Footer ---------- */
.footer {
    padding: 60px 0 80px;
    text-align: center;
    color: var(--ink-soft);
    background: var(--bg);
    border-top: 1px solid var(--line);
}

.footer p {
    margin: 0 0 8px;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
}

.footer .small {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-size: 0.8rem;
    color: var(--ink-soft);
    opacity: 0.7;
}

.footer .about-site {
    max-width: 420px;
    margin: 0 auto 18px;
    line-height: 1.6;
}

.share-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    background: none;
    border: 1px solid var(--gold-soft);
    border-radius: 999px;
    padding: 10px 26px;
    margin: 10px 0 26px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.share-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.featured-caption {
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ink-soft);
    margin: 18px 0 0;
}

@media (prefers-reduced-motion: reduce) {
    .scroll-cue { animation: none; }
}

/* ---------- Lightbox (tap a photo to view it full size) ---------- */
.photo img {
    cursor: zoom-in;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(30, 27, 23, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}

.lightbox[hidden] {
    display: none;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 6px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: 0;
    color: #f3ede4;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 8px;
    opacity: 0.8;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ---------- Gentle reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
    .will-reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .will-reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Next page button (bottom of every page) ---------- */
.next-page {
    padding: 8px 20px 72px;
    text-align: center;
}

.next-page-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: 420px;
    padding: 26px 28px;
    background: #fff;
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.next-page-link:hover,
.next-page-link:focus-visible {
    color: var(--ink);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.next-page-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.next-page-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.7rem;
    line-height: 1.2;
}

.next-page-arrow {
    display: inline-block;
    font-style: normal;
    color: var(--gold);
    transition: transform 0.2s ease;
}

.next-page-link:hover .next-page-arrow {
    transform: translateX(4px);
}

.next-page-text {
    font-size: 0.9rem;
    color: var(--ink-soft);
}
