/* ==========================================================================
   Greetings From Santa — "North Pole Post Office" theme
   Night-sky navy, pillar-box red, parchment and Golden Book gold, with
   postal details throughout: airmail stripes, perforated stamps, postmarks,
   rubber stamps and typewritten labels.
   ========================================================================== */

:root {
    --night: #0b1d3a;
    --night-2: #12294d;
    --night-3: #1d4470;
    --red: #b3181d;          /* Royal Mail pillar-box red */
    --red-dark: #7e1014;
    --pine: #1f5a3a;
    --pine-dark: #143d27;
    --parchment: #f7eedb;
    --parchment-2: #efe2c4;
    --paper: #fffaf0;
    --kraft: #e7d5b1;
    --ink: #2c1d12;
    --ink-soft: #6b4a2b;
    --gold: #c9973a;
    --gold-light: #ecc877;
    --line: #e6d6b4;
    --shadow: 0 6px 22px rgba(44, 29, 18, .10);
    --shadow-lg: 0 20px 50px rgba(11, 29, 58, .22);
    --radius: 14px;
    --type: 'Special Elite', 'Courier New', monospace;
    --serif: 'Fraunces', 'Lora', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Lora', Georgia, serif;
    color: var(--ink);
    background: var(--parchment);
    /* faint paper grain */
    background-image:
        radial-gradient(rgba(107, 74, 43, .045) 1px, transparent 1px),
        radial-gradient(rgba(107, 74, 43, .03) 1px, transparent 1px);
    background-size: 22px 22px, 13px 13px;
    background-position: 0 0, 7px 11px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 1rem; font-family: var(--serif); color: var(--night); }
h1 { font-weight: 800; font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -.02em; }
h2 { font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.015em; }
h3 { font-weight: 700; font-size: 1.28rem; margin-bottom: .45rem; }
p { margin: 0 0 1rem; }
a { color: var(--red); }
img { max-width: 100%; height: auto; }
picture { display: contents; }   /* <picture> shouldn't affect layout */
picture > source { display: none; }   /* ...nor its <source>s, which would otherwise become grid/flex items */

.skip { position: absolute; left: -999px; top: 0; background: var(--night); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* ---- Icons ---- */

.icon {
    width: 1.25em;
    height: 1.25em;
    vertical-align: -.25em;
    flex-shrink: 0;
    --icon-fill: rgba(236, 200, 119, .9);
}

/* ---- Postal motifs ---- */

.airmail {
    height: 9px;
    background: repeating-linear-gradient(-45deg,
        var(--red) 0 14px, var(--paper) 14px 20px,
        var(--night) 20px 34px, var(--paper) 34px 40px);
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--type);
    font-size: .9rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .8rem;
}
/* postmark "cancellation" wavy lines either side of a kicker */
.kicker::before, .kicker::after {
    content: '';
    width: 34px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='12'%3E%3Cpath d='M0 3c4-3 8-3 11 0s8 3 11 0 8-3 12 0M0 9c4-3 8-3 11 0s8 3 11 0 8-3 12 0' fill='none' stroke='%23b3181d' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center;
    opacity: .7;
}
.on-dark .kicker, .kicker.light { color: var(--gold-light); }
.on-dark .kicker::before, .on-dark .kicker::after, .kicker.light::before, .kicker.light::after { filter: brightness(0) invert(.85) sepia(1) saturate(3) hue-rotate(5deg); }

/* rubber stamp label */
.rubber {
    display: inline-block;
    font-family: var(--type);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .82rem;
    color: var(--red);
    border: 3px double currentColor;
    border-radius: 6px;
    padding: .3rem .75rem;
    transform: rotate(-4deg);
    opacity: .9;
    background: rgba(255, 250, 240, .55);
}
.rubber.gold { color: var(--gold-light); background: rgba(11, 29, 58, .5); }

/* Perforated postage-stamp card.
   Holes sit on the element's edge; padding keeps content clear of them. */
.stamp {
    --hole: 5px;
    --gap: 15px;
    padding: calc(var(--gap) - var(--hole));
    background: var(--paper);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        radial-gradient(circle var(--hole), #0000 97%, #000) calc(var(--gap) / -2) calc(var(--gap) / -2) / var(--gap) var(--gap) round;
    mask:
        linear-gradient(#000 0 0) content-box,
        radial-gradient(circle var(--hole), #0000 97%, #000) calc(var(--gap) / -2) calc(var(--gap) / -2) / var(--gap) var(--gap) round;
}
.stamp-wrap { filter: drop-shadow(0 8px 16px rgba(44, 29, 18, .16)); transition: transform .18s ease, filter .18s ease; }
.stamp-wrap:hover { transform: translateY(-5px) rotate(-.4deg); filter: drop-shadow(0 16px 26px rgba(44, 29, 18, .22)); }
.stamp-inner {
    height: 100%;
    border: 1.5px solid var(--line);
    padding: 1.8rem 1.5rem 1.6rem;
    position: relative;
}

/* ---- Buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    background: var(--red);
    color: #fff !important;
    padding: .9rem 1.7rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Lora', serif;
    border: none;
    border-bottom: 4px solid var(--red-dark);
    font-size: 1.05rem;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(126, 16, 20, .28);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn .icon { --icon-fill: rgba(255, 255, 255, .25); }
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 12px 24px rgba(126, 16, 20, .34); }
.btn:active { transform: translateY(1px); border-bottom-width: 2px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-gold { background: var(--gold-light); border-bottom-color: #a77b27; color: var(--night) !important; box-shadow: 0 8px 22px rgba(201, 151, 58, .35); }
.btn-gold .icon { --icon-fill: rgba(255, 255, 255, .5); }
.btn-green { background: var(--pine); border-bottom-color: var(--pine-dark); box-shadow: 0 8px 18px rgba(20, 61, 39, .3); }
.btn-ghost { background: transparent; border: 2px solid rgba(255, 255, 255, .6); color: #fff !important; box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--night); color: var(--night) !important; box-shadow: none; }
.btn-small, .btn-nav { padding: .55rem 1.1rem; font-size: .95rem; border-bottom-width: 3px; }

/* ---- Chrome ---- */

.deadline-banner {
    background: var(--night);
    color: #dfe7f2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .5rem 1rem;
    font-family: var(--type);
    font-size: .9rem;
    letter-spacing: .02em;
    text-align: center;
}
.deadline-banner strong { color: var(--gold-light); font-weight: 400; }
.deadline-banner .icon { color: var(--gold-light); --icon-fill: var(--red); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.2rem;
    padding: .55rem clamp(1rem, 4vw, 3rem);
    background: rgba(255, 250, 240, .94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 0 rgba(44, 29, 18, .04);
}
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.logo img { width: 46px; transform: rotate(-4deg); filter: drop-shadow(0 3px 4px rgba(11, 29, 58, .25)); transition: transform .2s ease; }
.logo:hover img { transform: rotate(2deg) scale(1.05); }
.wordmark { font-family: var(--serif); font-weight: 800; font-size: 1.35rem; color: var(--night); line-height: 1.05; letter-spacing: -.01em; }
.wordmark small { display: block; font-family: var(--type); font-weight: 400; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-top: .2rem; }
.site-header nav { display: flex; align-items: center; gap: 1.35rem; flex-wrap: wrap; }
.site-header nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--night); position: relative; }
.site-header nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--red); transition: right .2s ease; }
.site-header nav a:not(.btn):hover::after { right: 0; }
@media (max-width: 900px) { .site-header nav a:not(.btn) { display: none; } }
@media (max-width: 560px) {
    .site-header { flex-wrap: nowrap; padding-top: .45rem; padding-bottom: .45rem; }
    .logo { gap: .5rem; min-width: 0; }
    .wordmark { font-size: 1.08rem; }
    .wordmark small { font-size: .58rem; letter-spacing: .08em; }
    .logo img { width: 36px; }
    .site-header .btn-small { padding: .5rem .8rem; font-size: .88rem; white-space: nowrap; }
    .deadline-banner { font-size: .8rem; padding: .4rem .8rem; }
    .deadline-banner .more { display: none; }
}
@media (max-width: 350px) { .wordmark small { display: none; } }

/* ---- Hero ---- */

.hero {
    position: relative;
    background: url('/assets/img/hero-scene.svg') center bottom / cover no-repeat, linear-gradient(#081428, #1d4470);
    color: #fff;
    padding: clamp(2.8rem, 7vw, 5.5rem) clamp(1rem, 5vw, 3rem) clamp(6rem, 12vw, 9rem);
    overflow: hidden;
}
.hero-grid {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); margin-bottom: 1rem; }
.hero h1 .script { font-family: 'Mountains of Christmas', var(--serif); color: var(--gold-light); font-size: 1.12em; letter-spacing: 0; display: inline-block; }
.hero .tagline { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: #e6ecf7; max-width: 560px; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); margin-bottom: 1.8rem; }
.hero .tagline strong { color: #fff; }
.cta-row { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; }
.hero .reassure { display: flex; flex-wrap: wrap; gap: .5rem .6rem; margin-top: 1.5rem; font-size: .9rem; color: #fff; }
.hero .reassure span { display: inline-flex; align-items: center; gap: .4rem; background: rgba(11, 29, 58, .78); border: 1px solid rgba(236, 200, 119, .35); padding: .3rem .8rem; border-radius: 999px; }
.hero .reassure .icon { color: var(--gold-light); --icon-fill: rgba(236, 200, 119, .25); }

.hero-photo { position: relative; margin: 0; }
.hero-photo img {
    display: block;
    width: 100%;
    border: 10px solid #fffaf0;
    border-bottom-width: 44px;
    border-radius: 3px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
    transform: rotate(2.2deg);
}
.hero-photo figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 8px;
    text-align: center;
    font-family: 'Great Vibes', cursive;
    font-size: 1.55rem;
    color: var(--ink);
    transform: rotate(2.2deg);
}
.hero-photo .rubber { position: absolute; top: -14px; left: -18px; transform: rotate(-9deg); background: var(--paper); z-index: 2; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }
@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero .tagline { margin-left: auto; margin-right: auto; }
    .cta-row, .hero .reassure { justify-content: center; }
    .hero-photo { max-width: 520px; margin: 1rem auto 0; }
}

/* falling snow */
.snowfall { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.snowfall span {
    position: absolute;
    top: -3vh;
    color: #fff;
    opacity: .8;
    animation: snow-fall linear infinite;
    text-shadow: 0 0 6px rgba(255, 255, 255, .4);
}
@keyframes snow-fall {
    0%   { transform: translate3d(0, -4vh, 0) rotate(0deg); }
    100% { transform: translate3d(4vw, 108vh, 0) rotate(320deg); }
}
@media (prefers-reduced-motion: reduce) {
    .snowfall { display: none; }
    html { scroll-behavior: auto; }
    .btn, .stamp-wrap, .logo img, .book { transition: none !important; animation: none !important; }
}

/* ---- Trust strip ---- */

.trust-strip {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1180px;
    margin: -2.4rem auto 0;
    position: relative;
    z-index: 3;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.trust-strip div { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.3rem; font-size: .93rem; line-height: 1.35; }
.trust-strip div + div { border-left: 1px dashed var(--line); }
.trust-strip .icon { width: 2.1rem; height: 2.1rem; color: var(--red); --icon-fill: #fbe3a0; }
.trust-strip strong { display: block; color: var(--night); font-family: var(--serif); font-size: 1rem; }
@media (max-width: 900px) {
    .trust-strip { grid-template-columns: 1fr 1fr; margin-left: 1rem; margin-right: 1rem; }
    .trust-strip div:nth-child(3) { border-left: none; }
    .trust-strip div:nth-child(n+3) { border-top: 1px dashed var(--line); }
}
@media (max-width: 480px) {
    .trust-strip { grid-template-columns: 1fr; }
    .trust-strip div + div { border-left: none; border-top: 1px dashed var(--line); }
}

/* ---- Sections ---- */

section { padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 5vw, 3rem); }
.section-inner { max-width: 1120px; margin: 0 auto; }
.center { text-align: center; }
.section-lead { max-width: 640px; margin: 0 auto 1rem; color: var(--ink-soft); font-size: 1.08rem; }
.center .section-lead { margin-left: auto; margin-right: auto; }
.bg-kraft { background-color: var(--parchment-2); }
.on-dark { color: #e6ecf7; }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .section-lead { color: #cfdaeb; }

/* ---- How it works (stamps) ---- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.8rem; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
.step { text-align: center; }
.step .stamp-inner { padding-top: 2.2rem; }
.step .step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem; height: 4.4rem;
    border-radius: 50%;
    background: var(--night);
    color: var(--gold-light);
    margin-bottom: 1rem;
    box-shadow: inset 0 0 0 4px var(--paper), 0 0 0 2px var(--night);
}
.step .step-icon .icon { width: 2.2rem; height: 2.2rem; --icon-fill: rgba(236, 200, 119, .28); }
.step .denom {
    position: absolute;
    top: .7rem; right: .9rem;
    font-family: var(--type);
    color: var(--red);
    font-size: 1.05rem;
}
.step p { margin: 0; font-size: .98rem; color: var(--ink-soft); }

/* ---- Golden Book USP ---- */

.golden {
    position: relative;
    background: var(--night);
    overflow: hidden;
}
.golden .bg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.golden::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 29, 58, .97) 25%, rgba(11, 29, 58, .7) 60%, rgba(11, 29, 58, .88)); }
.golden .section-inner { position: relative; z-index: 2; }
.golden-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .golden-grid { grid-template-columns: 1fr; } }
.usp-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; }
.usp-list li { display: flex; gap: 1rem; margin-bottom: 1.3rem; }
.usp-list .icon { width: 2.6rem; height: 2.6rem; color: var(--gold-light); --icon-fill: rgba(236, 200, 119, .22); margin-top: .1rem; }
.usp-list strong { display: block; color: #fff; font-family: var(--serif); font-size: 1.15rem; }
.usp-list p { margin: 0; color: #cfdaeb; font-size: .98rem; }
.golden .usp-headline { font-size: clamp(2rem, 4.4vw, 3rem); }
.golden .usp-headline em { font-style: normal; color: var(--gold-light); }

/* The book itself (also used on golden-book.php) */
.book {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #6b1d17;
    padding: 14px;
    border-radius: 10px 10px 12px 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5), inset 0 0 0 2px #8b2a22, inset 0 0 0 6px #c9973a44;
    transform: perspective(1400px) rotateX(8deg) rotate(-1.5deg);
    max-width: 620px;
    margin: 0 auto;
}
.book::before { /* ribbon bookmark */
    content: '';
    position: absolute;
    top: -8px; left: calc(50% + 4px);
    width: 16px; height: 70%;
    background: linear-gradient(90deg, #a41f22, #d1343a 50%, #a41f22);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 94%, 0 100%);
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}
.book .page {
    background: linear-gradient(90deg, #f6ebd0, #fffaf0 12%, #fffaf0 88%, #efdfbd);
    color: var(--ink);
    padding: 1.6rem 1.4rem 2.2rem;
    min-height: 360px;
    position: relative;
}
.book .page.left { border-radius: 4px 0 0 4px; box-shadow: inset -14px 0 18px -12px rgba(107, 74, 43, .45); }
.book .page.right { border-radius: 0 4px 4px 0; box-shadow: inset 14px 0 18px -12px rgba(107, 74, 43, .45); padding-left: 2.2rem; }
.book .page h3 { font-family: 'Great Vibes', cursive; font-weight: 400; font-size: 2.3rem; color: var(--red); margin: 0 0 .3rem; line-height: 1.1; }
.book .page .entry-label { font-family: var(--type); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: .9rem 0 .15rem; }
.book .page .entry { font-family: 'Lora', serif; font-style: italic; font-size: .98rem; margin: 0; line-height: 1.45; }
.book .page .year { font-family: var(--type); color: var(--gold); font-size: .85rem; letter-spacing: .1em; }
.book .nice-stamp {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.1rem;
    color: #1f7a3a;
    border: 3px double currentColor;
    border-radius: 50%;
    width: 7.4rem; height: 7.4rem;
    justify-content: center;
    font-family: var(--type);
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .08em;
    transform: rotate(-12deg);
    text-align: center;
    line-height: 1.2;
}
.book .nice-stamp b { font-size: 1.35rem; font-weight: 400; letter-spacing: .04em; }
.book .elf-sign { font-family: 'Great Vibes', cursive; font-size: 1.5rem; color: var(--night); margin-top: .8rem; }
.book .page-num { position: absolute; bottom: .5rem; left: 0; right: 0; text-align: center; font-family: var(--type); font-size: .75rem; color: var(--ink-soft); }
@media (max-width: 560px) {
    .book { grid-template-columns: 1fr; transform: none; }
    .book .page.left { border-radius: 4px 4px 0 0; box-shadow: inset 0 -14px 18px -12px rgba(107, 74, 43, .45); min-height: 0; }
    .book .page.right { border-radius: 0 0 4px 4px; box-shadow: inset 0 14px 18px -12px rgba(107, 74, 43, .45); }
    .book::before { display: none; }
}

/* ---- Photo features ---- */

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature.flip .feature-media { order: 2; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip .feature-media { order: 0; } }
.feature-media { position: relative; }
.feature-media img { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4 / 3; }
.feature-media .rubber { position: absolute; right: -10px; bottom: 22px; transform: rotate(-6deg); background: var(--paper); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .65rem; }
.ticks .icon { color: var(--pine); --icon-fill: #cfe7d6; width: 1.5rem; height: 1.5rem; margin-top: .1rem; }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
@media (max-width: 860px) { .mosaic { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.polaroid { background: #fffaf0; padding: 10px 10px 0; box-shadow: var(--shadow-lg); margin: 0; transition: transform .2s ease; }
.polaroid:nth-child(1) { transform: rotate(-2deg); }
.polaroid:nth-child(2) { transform: rotate(1.4deg) translateY(10px); }
.polaroid:nth-child(3) { transform: rotate(-1deg); }
.polaroid:hover { transform: rotate(0) scale(1.02); }
.polaroid img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.polaroid figcaption { padding: .8rem .6rem 1rem; text-align: center; }
.polaroid figcaption strong { display: block; font-family: 'Great Vibes', cursive; font-weight: 400; font-size: 1.7rem; color: var(--red); line-height: 1.1; }
.polaroid figcaption span { font-size: .92rem; color: var(--ink-soft); }

/* ---- Timeline: Santa remembers ---- */

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; position: relative; }
.timeline::before { content: ''; position: absolute; left: 8%; right: 8%; top: 2.1rem; border-top: 2px dashed var(--gold); }
@media (max-width: 800px) { .timeline { grid-template-columns: 1fr; } .timeline::before { display: none; } }
.tl-item { position: relative; text-align: center; }
.tl-year {
    display: inline-block;
    position: relative;
    font-family: var(--type);
    background: var(--night);
    color: var(--gold-light);
    padding: .55rem 1.1rem;
    border-radius: 999px;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}
.tl-item blockquote {
    margin: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem;
    box-shadow: var(--shadow);
    font-style: italic;
    color: var(--ink);
    text-align: left;
}
.tl-item blockquote .who { display: block; font-style: normal; font-family: var(--type); font-size: .78rem; color: var(--red); letter-spacing: .08em; text-transform: uppercase; margin-top: .6rem; }

/* ---- Pricing ---- */

.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 860px; margin: 2.8rem auto 0; align-items: stretch; }
@media (max-width: 760px) { .price-cards { grid-template-columns: 1fr; max-width: 460px; } }
.price-card .stamp-inner { display: flex; flex-direction: column; text-align: center; padding: 2.2rem 1.8rem 1.8rem; }
.price-card .card-icon { width: 3rem; height: 3rem; color: var(--red); --icon-fill: #fbe3a0; margin: 0 auto .6rem; }
.price-card .price { font-family: var(--serif); font-weight: 800; font-size: 3.2rem; color: var(--red); line-height: 1; margin: .5rem 0 .1rem; }
.price-card .per { font-size: .88rem; color: var(--ink-soft); margin-bottom: .8rem; }
.price-card ul { list-style: none; text-align: left; padding: 0; margin: 1rem 0 1.6rem; flex: 1; }
.price-card li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; font-size: .97rem; }
.price-card li .icon { color: var(--pine); --icon-fill: #cfe7d6; width: 1.3rem; height: 1.3rem; margin-top: .2rem; }
.price-card.featured .stamp { background: var(--night); }
.price-card.featured .stamp-inner { border-color: rgba(236, 200, 119, .45); color: #e6ecf7; }
.price-card.featured h3 { color: #fff; }
.price-card.featured .price { color: var(--gold-light); }
.price-card.featured .per { color: #b9c6da; }
.price-card.featured .card-icon { color: var(--gold-light); --icon-fill: rgba(236, 200, 119, .25); }
.price-card.featured li .icon { color: var(--gold-light); --icon-fill: rgba(236, 200, 119, .25); }
.price-card.featured .rubber { position: absolute; top: 1rem; right: .9rem; transform: rotate(8deg); }
.price-card .btn { align-self: center; }

/* ---- Sample letter ---- */

.letter-wrap { position: relative; max-width: 680px; margin: 2.8rem auto 0; }
.letter-sample {
    position: relative;
    background: linear-gradient(175deg, #fffdf4, #fdf3dd);
    border: 3px solid var(--red);
    outline: 1px solid var(--red);
    outline-offset: -9px;
    border-radius: 4px;
    padding: 2.4rem clamp(1.5rem, 4vw, 2.8rem) 2rem;
    box-shadow: var(--shadow-lg);
    transform: rotate(-.6deg);
    text-align: left;
}
.letter-sample .holly-corner { position: absolute; top: 12px; left: 12px; width: 76px; }
.letter-sample .postmark-corner { position: absolute; top: 14px; right: 14px; width: 118px; opacity: .95; }
.letter-sample h3 { font-family: 'Mountains of Christmas', serif; color: var(--red); text-align: center; font-size: 2rem; margin-bottom: .2rem; }
.letter-sample .from { text-align: center; font-size: .78rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.4rem; }
.letter-sample .greeting { font-family: 'Mountains of Christmas', serif; font-size: 1.55rem; color: var(--red); font-weight: 700; margin: 0 0 .6rem; }
.letter-sample p { font-size: 1rem; }
.letter-sample .sign-row { display: flex; align-items: center; justify-content: flex-end; gap: 1.6rem; margin-top: .8rem; }
.letter-sample .sign-row img { width: 62px; }
.letter-sample .signature { font-family: 'Great Vibes', cursive; font-size: 2.5rem; color: var(--red); margin: 0; }
.letter-sample .ps { margin-top: 1rem; padding: .8rem 1rem; border: 1.5px dashed var(--gold); background: #fbf0d2; font-size: .92rem; }
.code-chip { font-family: 'Courier New', monospace; font-weight: 700; color: var(--red); letter-spacing: .08em; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .05rem .45rem; white-space: nowrap; }
.highlight { background: #fff0bf; padding: 0 .25em; border-radius: 3px; box-shadow: inset 0 -2px 0 #f0cf6a; }

/* ---- FAQ ---- */

.faq-list { max-width: 800px; margin: 2.4rem auto 0; text-align: left; }
.faq-list details {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: .8rem;
    padding: 1rem 1.3rem;
    box-shadow: var(--shadow);
}
.faq-list summary { font-weight: 700; cursor: pointer; color: var(--night); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-family: var(--type); font-size: 1.5rem; color: var(--red); line-height: 1; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details[open] { border-color: var(--gold); }
.faq-list details p { margin: .7rem 0 0; }

/* ---- Final call to action ---- */

.cta-band { position: relative; overflow: hidden; text-align: center; background: var(--red-dark); }
.cta-band .bg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(126, 16, 20, .45), rgba(60, 6, 8, .88)); }
.cta-band .section-inner { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe3c8; max-width: 580px; margin-left: auto; margin-right: auto; }

/* ---- Golden Book page ---- */

.gb-hero { background: var(--night); color: #e6ecf7; position: relative; overflow: hidden; text-align: center; }
.gb-hero .bg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.gb-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(11, 29, 58, .75), rgba(11, 29, 58, .96)); }
.gb-hero > .section-inner { position: relative; z-index: 2; }
.gb-hero h1 { color: #fff; }
.code-form { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin: 1.6rem auto 0; max-width: 560px; }
.code-form input {
    flex: 1 1 260px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: center;
    padding: .8rem 1rem;
    border-radius: 10px;
    border: 3px solid var(--gold);
    background: #fffaf0;
    color: var(--night);
}
.gb-message { max-width: 560px; margin: 1.2rem auto 0; padding: .8rem 1.1rem; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(236, 200, 119, .4); color: #ffe9a8; }
.countdown { display: inline-flex; gap: .8rem; margin-top: 1.4rem; font-family: var(--type); }
.countdown div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(236, 200, 119, .35); border-radius: 10px; padding: .6rem .9rem; min-width: 5rem; }
.countdown b { display: block; font-size: 1.8rem; color: var(--gold-light); font-weight: 400; line-height: 1.1; }
.countdown span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #cfdaeb; }
.book-stack { display: grid; gap: 2.4rem; }
.book-opening { animation: book-open 1s ease-out both; }
@keyframes book-open { from { opacity: 0; transform: perspective(1400px) rotateX(24deg) translateY(30px); } }

/* ---- Credits ---- */

.credits { max-width: 820px; margin: 0 auto; }
.credit { display: grid; grid-template-columns: 120px 1fr; gap: 1.2rem; align-items: center; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.credit img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; }
.credit p { margin: 0; font-size: .95rem; }

/* ---- Forms ---- */

.form-wrap { max-width: 780px; margin: 0 auto; }
.page-title { text-align: center; margin-bottom: 2rem; }
.page-title .icon { width: 3rem; height: 3rem; color: var(--red); --icon-fill: #fbe3a0; }
.form-card {
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    border-top: 6px solid transparent;
    border-image: repeating-linear-gradient(-45deg, var(--red) 0 10px, var(--paper) 10px 15px, var(--night) 15px 25px, var(--paper) 25px 30px) 6 0 0 0;
    padding: clamp(1.5rem, 4vw, 2.4rem);
    margin-bottom: 1.6rem;
}
.form-card h2 { font-size: 1.45rem; display: flex; align-items: center; gap: .6rem; }
.form-card h2 .step-no { font-family: var(--type); font-weight: 400; font-size: .95rem; color: #fff; background: var(--red); border-radius: 50%; width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
fieldset { border: none; padding: 0; margin: 0; }
.field { margin-bottom: 1.15rem; }
label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--night); }
label .opt { font-weight: 400; color: var(--ink-soft); font-size: .9rem; }
input[type=text], input[type=email], input[type=number], input[type=password], select, textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 2px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 151, 58, .2); }
.hint { font-size: .88rem; color: var(--ink-soft); margin-top: .3rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }

.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .choice-cards { grid-template-columns: 1fr; } }
.choice-cards label {
    display: block;
    border: 2px solid var(--line);
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
    cursor: pointer;
    background: #fff;
    font-weight: 400;
    transition: border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
.choice-cards input { position: absolute; opacity: 0; }
.choice-cards label:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 2px var(--red), 0 10px 24px rgba(179, 24, 29, .12); background: #fffaf3; }
.choice-cards label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice-cards .choice-title { font-weight: 700; font-size: 1.06rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; color: var(--night); }
.choice-cards .choice-title .icon { color: var(--red); --icon-fill: #fbe3a0; width: 1.6rem; height: 1.6rem; }
.choice-cards .choice-price { color: var(--red); font-family: var(--serif); }
.choice-cards .choice-desc { display: block; font-size: .92rem; color: var(--ink-soft); margin-top: .35rem; }

.golden-note { display: flex; gap: .9rem; align-items: flex-start; background: var(--night); color: #e6ecf7; border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.6rem; }
.golden-note .icon { width: 2.4rem; height: 2.4rem; color: var(--gold-light); --icon-fill: rgba(236, 200, 119, .25); }
.golden-note strong { color: var(--gold-light); }
.golden-note p { margin: 0; font-size: .95rem; }

.error-box { background: #fdeaea; border: 2px solid var(--red); color: var(--red-dark); border-radius: var(--radius); padding: 1rem 1.3rem; margin-bottom: 1.4rem; }
.error-box ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.notice-box { background: #eef7ee; border: 2px solid var(--pine); border-radius: var(--radius); padding: 1rem 1.3rem; margin-bottom: 1.4rem; }
.test-mode { background: #fff3c9; border: 2px dashed var(--gold); border-radius: var(--radius); padding: .8rem 1.2rem; margin-bottom: 1.4rem; font-size: .95rem; }
.thanks-code { background: var(--night); color: #e6ecf7; border-radius: var(--radius); padding: 1.4rem; margin: 1.4rem 0; }
.thanks-code .code-chip { font-size: 1.4rem; display: inline-block; margin: .4rem 0; }

/* ---- Footer ---- */

.site-footer { background: var(--night); color: #cfdaeb; padding: 3rem clamp(1rem, 5vw, 3rem) 1.6rem; }
.footer-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { width: 70px; transform: rotate(-5deg); flex-shrink: 0; }
.footer-brand p { font-size: .93rem; margin: 0; }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.1rem; }
.site-footer h4 { color: var(--gold-light); font-family: var(--type); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; margin-bottom: .8rem; }
.site-footer a { display: block; color: #e6ecf7; text-decoration: none; margin-bottom: .45rem; font-size: .95rem; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .icon { color: var(--gold-light); --icon-fill: transparent; }
.site-footer .small { font-size: .85rem; color: #8fa5c4; }
.site-footer .copyright { max-width: 1120px; margin: 2rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; }

/* ---- Admin ---- */

table.orders { width: 100%; border-collapse: collapse; background: var(--paper); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
table.orders th, table.orders td { padding: .65rem .85rem; text-align: left; border-bottom: 1px solid #eee1c8; vertical-align: top; }
table.orders th { background: var(--night); color: #fff; font-family: 'Lora', serif; }
table.orders tr:hover td { background: #fbf3df; }
.tag { display: inline-block; padding: .1rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.tag-post { background: #fdeaea; color: var(--red-dark); }
.tag-email { background: #eef7ee; color: var(--pine-dark); }
.tag-test { background: #fff3c9; color: #7a5b16; }
.tag-pending { background: #eee; color: #555; }
.tag-complete { background: var(--pine); color: #fff; }
.tag-posted { background: var(--gold); color: #fff; }

/* ---- Article / blog pages ---- */

.article-hero {
    background: linear-gradient(160deg, var(--night), var(--night-2) 60%, var(--night-3));
    color: #fff;
    text-align: center;
    padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 3rem) clamp(2.6rem, 5vw, 3.6rem);
    position: relative;
    overflow: hidden;
}
.article-hero > *:not(.snowfall) { position: relative; z-index: 1; }
.article-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); max-width: 800px; margin: 0 auto 1rem; line-height: 1.2; }
.article-hero .kicker { color: var(--gold-light); }
.article-hero .standfirst { max-width: 640px; margin: 0 auto; color: #ffe9a8; font-size: 1.08rem; }
.article { max-width: 700px; margin: 0 auto; font-size: 1.08rem; }
.article h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-top: 2.6rem; }
.article h2::before { content: '❄'; color: var(--gold); font-size: .8em; margin-right: .5rem; }
.article p { margin: 0 0 1.1rem; }
.article blockquote {
    margin: 2rem 0;
    padding: 1.2rem 1.6rem;
    background: var(--paper);
    border-left: 5px solid var(--red);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--night);
}
.article blockquote p:last-child { margin-bottom: 0; }
.article .pull-note { background: #fff3c9; border: 1px dashed var(--gold); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 2rem 0; }
.article .pull-note p:last-child { margin-bottom: 0; }
.article-figure { margin: 2rem 0; }
.article-figure img { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.article-cta { text-align: center; margin: 3rem 0 0; }
.article-holly { display: block; width: 90px; margin: 2.6rem auto 0; opacity: .9; }
@media (max-width: 560px) {
    .letter-sample { padding-top: 5.4rem; }
    .letter-sample .postmark-corner { width: 88px; }
    .letter-sample .holly-corner { width: 58px; }
    .letter-sample .from { letter-spacing: 1.5px; }
}
