/* Greetings From Santa — site styles */

:root {
    --navy: #0b1d3a;
    --navy-2: #102a4d;
    --navy-3: #1d4470;
    --red: #a41f22;
    --red-dark: #7c1416;
    --green: #1e5631;
    --green-dark: #14401f;
    --cream: #fdf6e7;
    --cream-2: #f6ecd8;
    --paper: #fffdf7;
    --ink: #3b2314;
    --gold: #c9973a;
    --gold-light: #e8c06a;
    --shadow: 0 6px 24px rgba(11, 29, 58, .10);
    --shadow-lg: 0 18px 50px rgba(11, 29, 58, .18);
}

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

body {
    margin: 0;
    font-family: 'Lora', Georgia, serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 1rem; }
h1 { font-family: 'Mountains of Christmas', 'Fraunces', serif; font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-family: 'Fraunces', 'Lora', serif; font-weight: 600; color: var(--navy); font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-family: 'Fraunces', 'Lora', serif; font-weight: 600; color: var(--navy); font-size: 1.3rem; margin-bottom: .5rem; }

a { color: var(--red); }
img { max-width: 100%; height: auto; }

.kicker {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .6rem;
    font-family: 'Lora', serif;
}

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

.btn {
    display: inline-block;
    background: linear-gradient(160deg, #b6241f, var(--red-dark));
    color: #fff !important;
    padding: .85rem 1.9rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Lora', serif;
    border: none;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(124, 20, 22, .35);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 26px rgba(124, 20, 22, .4); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-green { background: linear-gradient(160deg, #26693c, var(--green-dark)); box-shadow: 0 8px 20px rgba(20, 64, 31, .35); }
.btn-green:hover { box-shadow: 0 12px 26px rgba(20, 64, 31, .4); }
.btn-gold {
    background: linear-gradient(160deg, var(--gold-light), var(--gold));
    color: var(--navy) !important;
    box-shadow: 0 8px 24px rgba(201, 151, 58, .45);
}
.btn-gold:hover { box-shadow: 0 12px 30px rgba(201, 151, 58, .5); }
.btn-ghost {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .65);
    color: #fff !important;
    box-shadow: none;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-nav { padding: .5rem 1.3rem; font-size: .95rem; }

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

.deadline-banner {
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
    color: var(--navy);
    text-align: center;
    padding: .55rem 1rem;
    font-size: .95rem;
    font-weight: 600;
}
.deadline-banner strong { color: var(--red-dark); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .8rem clamp(1rem, 4vw, 3rem);
    background: rgba(11, 29, 58, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.logo {
    font-family: 'Mountains of Christmas', serif;
    font-weight: 700;
    font-size: 1.65rem;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.logo em { font-style: normal; color: var(--gold-light); }
.site-header nav { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.site-header nav a { text-decoration: none; font-weight: 600; font-size: .97rem; color: #dfe7f2; transition: color .15s ease; }
.site-header nav a:hover { color: var(--gold-light); }
.site-header nav a.btn-nav { color: var(--navy); }
@media (max-width: 640px) {
    .site-header nav a:not(.btn-nav) { display: none; }
    .logo { font-size: 1.4rem; }
}

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

.hero {
    position: relative;
    background: url('/assets/img/hero-scene.svg') center bottom / cover no-repeat, linear-gradient(#081428, #1d4470);
    color: #fff;
    text-align: center;
    padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 5vw, 3rem) clamp(7rem, 14vw, 10rem);
    overflow: hidden;
}
.hero h1 { color: #fff; margin-bottom: .8rem; text-shadow: 0 2px 14px rgba(0, 0, 0, .45); }
.hero .tagline {
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
    max-width: 640px;
    margin: 0 auto 2.2rem;
    color: #e6ecf7;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.hero .cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.hero .sub {
    display: inline-block;
    color: #ffe9a8;
    font-size: .98rem;
    margin-top: 1.6rem;
    background: rgba(11, 29, 58, .72);
    padding: .5rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(232, 192, 106, .4);
}
.hero > * { position: relative; z-index: 2; }

/* 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, .step, .price-card { transition: none; }
}

/* trust strip */
.trust-strip {
    background: var(--navy);
    color: #dfe7f2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem 2.6rem;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    font-size: .95rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
}
.trust-strip span { white-space: nowrap; }

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

section { padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 3rem); }
.section-inner { max-width: 1060px; margin: 0 auto; }
.center { text-align: center; }
.section-lead { max-width: 620px; margin: 0 auto 1rem; color: #6b4a2b; }
.h2-holly { display: block; width: 84px; margin: .8rem auto 0; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; margin-top: 2.6rem; }
.step {
    background: var(--paper);
    border-radius: 20px;
    padding: 2rem 1.6rem 1.7rem;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid #f0e4cc;
    transition: transform .18s ease, box-shadow .18s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem; height: 3.4rem;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--gold-light), var(--gold));
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 16px rgba(201, 151, 58, .4);
}
.step p { margin: 0; font-size: .98rem; }

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

.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem; max-width: 800px; margin: 2.6rem auto 0; align-items: stretch; }
.price-card {
    position: relative;
    background: var(--paper);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 2.4rem 2rem 2rem;
    text-align: center;
    border: 1px solid #f0e4cc;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card.featured { background: linear-gradient(170deg, var(--navy-2), var(--navy)); color: #eef2f9; border: 1px solid rgba(232, 192, 106, .5); }
.price-card.featured h3 { color: #fff; }
.price-card.featured .price { color: var(--gold-light); }
.price-card.featured .per { color: #b9c6da; }
.price-card .ribbon {
    position: absolute;
    top: 1.1rem; right: -3rem;
    transform: rotate(38deg);
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    color: var(--navy);
    font-size: .78rem;
    font-weight: 700;
    padding: .3rem 3.4rem;
    letter-spacing: .5px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}
.price-card .stamp-bg {
    position: absolute;
    right: -34px; bottom: -30px;
    width: 190px;
    opacity: .12;
    pointer-events: none;
}
.price-card .price { font-size: 3rem; font-weight: 700; color: var(--red); font-family: 'Fraunces', serif; margin: .2rem 0 0; line-height: 1; }
.price-card .per { font-size: .88rem; color: #8a6a48; margin-bottom: 1rem; }
.price-card ul { text-align: left; padding-left: 1.25rem; margin: 1rem 0 1.6rem; flex: 1; }
.price-card li { margin-bottom: .5rem; font-size: .97rem; }
.price-card .btn { position: relative; z-index: 2; }

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

.letter-wrap { position: relative; max-width: 660px; margin: 2.6rem 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: #6b4a2b; 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; }
.highlight { background: #fff3c9; padding: 0 .25em; border-radius: 3px; }

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

.faq-list { max-width: 760px; margin: 2.2rem auto 0; }
.faq-list details {
    background: var(--paper);
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid #f0e4cc;
    border-left: 4px solid var(--gold);
    margin-bottom: .9rem;
    padding: 1.05rem 1.4rem;
}
.faq-list summary { font-weight: 700; cursor: pointer; color: var(--navy); font-size: 1.05rem; }
.faq-list summary::marker { color: var(--gold); }
.faq-list details[open] { border-left-color: var(--red); }
.faq-list details p { margin: .7rem 0 0; }

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

.form-wrap { max-width: 780px; margin: 0 auto; }
.form-card {
    background: var(--paper);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid #f0e4cc;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1.6rem;
}
.form-card h2 { font-size: 1.5rem; }
fieldset { border: none; padding: 0; margin: 0; }
.field { margin-bottom: 1.15rem; }
label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--navy); }
label .opt { font-weight: 400; color: #8a6a48; font-size: .9rem; }
input[type=text], input[type=email], input[type=number], select, textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 2px solid #e8dcc4;
    border-radius: 12px;
    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, .18); }
.hint { font-size: .88rem; color: #8a6a48; 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 #e8dcc4;
    border-radius: 16px;
    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(--gold);
    box-shadow: 0 0 0 2px var(--gold), 0 10px 24px rgba(201, 151, 58, .18);
    background: #fffaf0;
}
.choice-cards .choice-title { font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: .5rem; color: var(--navy); }
.choice-cards .choice-price { color: var(--red); }
.choice-cards .choice-desc { font-size: .92rem; color: #6b4a2b; margin-top: .35rem; }

.error-box {
    background: #fdeaea;
    border: 2px solid var(--red);
    color: var(--red-dark);
    border-radius: 14px;
    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(--green);
    border-radius: 14px;
    padding: 1rem 1.3rem;
    margin-bottom: 1.4rem;
}

.test-mode {
    background: #fff3c9;
    border: 2px dashed var(--gold);
    border-radius: 14px;
    padding: .8rem 1.2rem;
    margin-bottom: 1.4rem;
    font-size: .95rem;
}

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

.site-footer {
    background: var(--navy);
    color: #dfe7f2;
    text-align: center;
    padding: 2.6rem 1rem 1.8rem;
    margin-top: 3rem;
    border-top: 3px solid var(--gold);
}
.site-footer a { color: var(--gold-light); }
.site-footer .snowline { letter-spacing: 14px; margin-bottom: 1rem; color: #8fa5c4; }
.site-footer .small { font-size: .85rem; color: #8fa5c4; }

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

table.orders { width: 100%; border-collapse: collapse; background: var(--paper); box-shadow: var(--shadow); border-radius: 14px; 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(--navy); 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(--green-dark); }
.tag-test { background: #fff3c9; color: #7a5b16; }
.tag-pending { background: #eee; color: #555; }
.tag-complete { background: var(--green); color: #fff; }
.tag-posted { background: var(--gold); color: #fff; }

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

.article-hero {
    background: linear-gradient(160deg, var(--navy), var(--navy-2) 60%, var(--navy-3));
    color: #fff;
    text-align: center;
    padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 3rem) clamp(2.6rem, 5vw, 3.6rem);
    border-bottom: 3px solid var(--gold);
    position: relative;
    overflow: hidden;
}
.article-hero > *:not(.snowfall) { position: relative; z-index: 1; }
.article-hero h1 {
    font-family: 'Fraunces', 'Lora', serif;
    font-weight: 700;
    font-size: clamp(2rem, 4.6vw, 3rem);
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.2;
}
.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(--gold);
    border-radius: 0 14px 14px 0;
    box-shadow: var(--shadow);
    font-family: 'Fraunces', 'Lora', serif;
    font-size: 1.15rem;
    color: var(--navy);
}
.article blockquote p:last-child { margin-bottom: 0; }
.article .pull-note {
    background: #fff3c9;
    border: 1px dashed var(--gold);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    margin: 2rem 0;
}
.article .pull-note p:last-child { margin-bottom: 0; }
.article-cta { text-align: center; margin: 3rem 0 0; }
.article-holly { display: block; width: 90px; margin: 2.6rem auto 0; opacity: .9; }
.site-footer .footer-links { font-size: .92rem; line-height: 2.2; }
@media (max-width: 800px) { .site-header nav a:not(.btn-nav) { font-size: .9rem; } }
/* <picture> wrappers shouldn't affect layout — the img behaves as a direct child */
picture { display: contents; }
