/* The Nice List — styles */
:root {
  --night: #0e1a30;
  --night-2: #16264a;
  --cream: #fffaf0;
  --paper: #f6efe2;
  --red: #b3202a;
  --red-dark: #8e1820;
  --gold: #e7b14c;
  --gold-soft: #f4d796;
  --green: #1f5e45;
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e4d9c5;
  --radius: 16px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--red); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.eyebrow {
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--gold); margin-bottom: .8rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--red); color: var(--cream); border: 0; border-radius: 999px;
  padding: .95em 1.7em; font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(179, 32, 42, .6);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn.ghost { background: transparent; color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.btn.ghost:hover { background: rgba(179, 32, 42, .08); }
.btn.light { background: var(--cream); color: var(--red); box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn.big { font-size: 1.1rem; padding: 1.1em 2em; }

/* ---------- Snow ---------- */
.snow {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 140px 70px, rgba(255,255,255,.85), transparent),
    radial-gradient(1.5px 1.5px at 90px 160px, #fff, transparent),
    radial-gradient(2.5px 2.5px at 230px 110px, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 300px 210px, #fff, transparent),
    radial-gradient(2px 2px at 60px 250px, rgba(255,255,255,.8), transparent);
  background-size: 320px 300px;
  animation: snow 18s linear infinite;
  opacity: .55;
}
@keyframes snow { from { background-position: 0 0; } to { background-position: 60px 300px; } }
@media (prefers-reduced-motion: reduce) { .snow { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Top bar ---------- */
.topbar {
  position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 1.1rem 1.25rem;
}
.brand {
  font-family: var(--serif); font-size: 1.35rem; color: var(--cream); text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; gap: .4em;
}
.brand .star { color: var(--gold); }
.topbar .btn { padding: .7em 1.2em; font-size: .92rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(231,177,76,.18), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(31,94,69,.35), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  padding-bottom: 5.5rem;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: var(--cream);
  clip-path: ellipse(75% 100% at 50% 100%);
}
.hero-grid {
  position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 2.5rem 1.25rem 2rem;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center;
}
.hero h1 { color: var(--cream); }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lede { font-size: 1.18rem; color: #dfe5f1; max-width: 34ch; }
.hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin: 1.6rem 0 1.4rem; }
.price-tag { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-soft); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; color: #cfd7e6; font-size: .97rem; }
.ticks li::before { content: "★"; color: var(--gold); margin-right: .55em; }

.frame {
  position: relative; border-radius: 22px; padding: 12px;
  background: linear-gradient(145deg, #f0c66d, #b07b25 45%, #f6dc9c 70%, #9c6a1c);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(1.2deg);
}
.frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #0b1426; }
.frame-label {
  position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%) rotate(-1.2deg);
  background: var(--red); color: var(--cream); font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  padding: .45em 1em; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 16px -8px rgba(0,0,0,.5);
}

/* ---------- Sections ---------- */
.section { max-width: 1120px; margin: 0 auto; padding: 4.5rem 1.25rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.6rem; }
.section-head .eyebrow { color: var(--red); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem;
  position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--night); color: var(--gold); font: 700 1.1rem var(--serif); margin-bottom: 1rem;
}
.step p { color: var(--muted); margin: 0; }

.knows {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  background: var(--night); color: var(--cream); border-radius: 26px; padding: 3rem;
  position: relative; overflow: hidden;
}
.knows h2 { color: var(--cream); }
.knows .eyebrow { color: var(--gold); }
.knows ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.knows li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .8rem; align-items: start; color: #dfe5f1; }
.knows li b { color: var(--cream); display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.knows .ico { font-size: 1.5rem; line-height: 1.2; }
.scroll-quote {
  background: var(--paper); color: var(--ink); border-radius: 14px; padding: 1.6rem 1.7rem;
  font-family: var(--serif); font-size: 1.12rem; line-height: 1.55; position: relative;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); transform: rotate(-1deg);
}
.scroll-quote mark { background: rgba(231,177,76,.45); padding: 0 .15em; border-radius: 3px; color: inherit; }
.scroll-quote .sig { display: block; text-align: right; margin-top: .6rem; font-style: italic; color: var(--red); }

/* ---------- Order form ---------- */
.order-wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: start; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2rem;
  box-shadow: 0 20px 50px -30px rgba(14, 26, 48, .35);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field .hint { font-size: .88rem; color: var(--muted); margin: .3rem 0 0; }
.field .err { font-size: .9rem; color: var(--red); margin: .3rem 0 0; font-weight: 600; }
.field.has-err input, .field.has-err textarea { border-color: var(--red); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.prefix { display: flex; align-items: stretch; }
.prefix span {
  display: flex; align-items: center; padding: 0 .8rem; background: var(--paper); border: 1.5px solid var(--line);
  border-right: 0; border-radius: 10px 0 0 10px; color: var(--muted); font-size: .95rem; white-space: nowrap;
}
.prefix input { border-radius: 0 10px 10px 0; }
input[type=text], input[type=email], input:not([type]), textarea {
  width: 100%; font: 1rem var(--sans); color: var(--ink); background: #fffdf8;
  border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem .9rem;
  transition: border-color .15s ease, background .15s ease;
}
input:hover, textarea:hover { border-color: #cdbd9f; }
input:focus, textarea:focus { border-color: var(--gold); background: #fff; outline: none; }
textarea { min-height: 88px; resize: vertical; }
.count { float: right; font-weight: 400; font-size: .82rem; color: var(--muted); }
.field label.consent { font-weight: 400; }
.consent { display: grid; grid-template-columns: 1.3rem 1fr; gap: .6rem; font-size: .9rem; color: var(--muted); align-items: start; }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--red); }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.4rem; }
.secure { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: .4em; }
.form-error { background: #fdecec; color: var(--red-dark); padding: .8rem 1rem; border-radius: 10px; font-weight: 600; margin-top: 1rem; }

.preview {
  margin-top: 1.3rem; background: var(--paper); border-radius: 14px; padding: 1.2rem 1.3rem;
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.6; border-left: 4px solid var(--gold);
}
.preview h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; }

.side { position: sticky; top: 1.5rem; display: grid; gap: 1rem; }
.summary { background: var(--night); color: var(--cream); border: 0; }
.summary h3 { color: var(--cream); }
.summary .big-price { font-family: var(--serif); font-size: 2.6rem; color: var(--gold-soft); line-height: 1; margin: .2rem 0 1rem; }
.summary ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; color: #d7deeb; font-size: .95rem; }
.summary li::before { content: "✓"; color: var(--gold); margin-right: .6em; font-weight: 700; }
.guarantee { background: #eef6f1; border-color: #cfe3d7; }
.guarantee p { margin: 0; color: #24503d; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary {
  cursor: pointer; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.foot { text-align: center; padding: 2.5rem 1rem 3rem; color: var(--muted); font-size: .9rem; }
.foot a { color: var(--muted); }
.final-cta { text-align: center; background: var(--red); color: var(--cream); border-radius: 26px; padding: 3rem 1.5rem; }
.final-cta h2 { color: var(--cream); }
.final-cta p { color: #f7dcdc; }

/* ---------- Inner pages (video, thanks, legal, admin) ---------- */
body.inner { background: linear-gradient(180deg, var(--night) 0, var(--night-2) 340px, var(--cream) 340px); min-height: 100vh; position: relative; }
body.inner .snow { height: 340px; }
.page { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 1rem 1.25rem 2rem; }
.page .card h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.video-card .eyebrow { color: var(--red); }
.player { border-radius: 14px; overflow: hidden; background: #000; margin: 1.2rem 0; }
.player video { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1rem; }
.sleigh { font-size: 3.4rem; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-4deg); } }
.prose h2 { font-size: 1.35rem; margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.spinner {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 1rem;
  border: 4px solid var(--line); border-top-color: var(--red); animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.admin h2 { font-size: 1.25rem; margin-top: 2rem; display: flex; align-items: center; gap: .5rem; }
.pill { font: 700 .75rem var(--sans); background: var(--paper); color: var(--ink); border-radius: 999px; padding: .2em .7em; }
.admin-row { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.admin-actions, .inline-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.inline-form input { max-width: 320px; }
.small-btn { padding: .55em 1em; font-size: .88rem; }
.warn { color: var(--red-dark); }
.flash { background: #eef6f1; color: #24503d; padding: .7rem 1rem; border-radius: 10px; font-weight: 600; }
.stack { display: grid; gap: .8rem; max-width: 520px; }
.stack label { display: grid; gap: .3rem; font-weight: 600; font-size: .92rem; }
.thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; float: left; margin-right: .8rem; }
code { background: var(--paper); padding: .1em .4em; border-radius: 6px; font-size: .9em; word-break: break-all; }
pre.json { background: var(--paper); padding: 1rem; border-radius: 10px; overflow: auto; font-size: .8rem; }

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .hero-grid, .knows, .order-wrap { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.4rem; padding-top: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .knows { padding: 2rem 1.4rem; gap: 2rem; }
  .side { position: static; }
  .card { padding: 1.4rem; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .prefix { flex-direction: column; }
  .prefix span { border-right: 1.5px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; padding: .45rem .8rem; font-size: .88rem; }
  .prefix input { border-radius: 0 0 10px 10px; }
  .section { padding: 3.2rem 1.1rem; }
}

/* =========================================================
   FESTIVE LAYER — homepage decorations
   ========================================================= */
body.festive {
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 20px 20px, rgba(179,32,42,.05) 2px, transparent 2.5px),
    radial-gradient(circle at 70px 60px, rgba(31,94,69,.05) 2px, transparent 2.5px);
  background-size: 100px 90px;
}
.festive .hero::after { display: none; }
.festive .hero { padding-bottom: 0; }
.festive .hero-grid { padding-bottom: 1rem; }
.festive .hero h1 em { text-shadow: 0 0 28px rgba(244,215,150,.45); }
.festive .ticks li::before { content: "❄"; color: #cfe3ff; }
.festive .eyebrow { letter-spacing: .12em; }

/* Fairy lights */
.lights {
  position: relative; z-index: 3; height: 46px; margin-bottom: -18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40'%3E%3Cpath d='M0 4 Q40 30 80 4' fill='none' stroke='%23243a5e' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0;
  overflow: hidden; white-space: nowrap;
}
.lights i {
  position: absolute; top: 16px; width: 12px; height: 18px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform-origin: 50% -4px; animation: twinkle 2.6s ease-in-out infinite;
}
.lights i::before { content: ""; position: absolute; left: 3px; top: -5px; width: 6px; height: 6px; background: #3a4a66; border-radius: 2px; }
.lights i.c0 { background: #ff4d5a; box-shadow: 0 0 12px 3px rgba(255,77,90,.75); }
.lights i.c1 { background: #ffd166; box-shadow: 0 0 12px 3px rgba(255,209,102,.75); }
.lights i.c2 { background: #4ade80; box-shadow: 0 0 12px 3px rgba(74,222,128,.7); }
.lights i.c3 { background: #60a5fa; box-shadow: 0 0 12px 3px rgba(96,165,250,.75); }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; filter: saturate(.6); } }

/* Moon */
.moon {
  position: absolute; top: 70px; right: 7%; width: 90px; height: 90px; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 35% 35%, #fffdf3, #f4e6bf 60%, #e9d39a);
  box-shadow: 0 0 60px 18px rgba(255,240,200,.22), 0 0 140px 40px rgba(255,240,200,.08);
  opacity: .9;
}

/* Falling snow */
.snowfall { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.flake {
  position: absolute; top: -20px; color: #fff; opacity: .85; user-select: none; line-height: 1;
  animation: fall linear infinite; text-shadow: 0 0 6px rgba(255,255,255,.6);
}
@keyframes fall {
  0% { transform: translate3d(0, -20px, 0) rotate(0deg); }
  50% { transform: translate3d(24px, 50vh, 0) rotate(180deg); }
  100% { transform: translate3d(-12px, 105vh, 0) rotate(360deg); }
}
.snowfall.small .flake { animation-name: fall-small; }
@keyframes fall-small {
  0% { transform: translate3d(0, -20px, 0); }
  100% { transform: translate3d(16px, 620px, 0); }
}

/* Village silhouette */
.village { position: relative; z-index: 1; display: block; width: 100%; height: 170px; margin-top: -10px; }
.village .win { fill: #ffd27a; filter: drop-shadow(0 0 6px rgba(255,210,122,.9)); animation: glow 4s ease-in-out infinite; }
@keyframes glow { 50% { fill: #ffe3a3; } }

/* Gift bow on the video frame */
.frame .bow {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 70px; height: 40px; z-index: 2;
}
.frame .bow::before, .frame .bow::after {
  content: ""; position: absolute; top: 4px; width: 32px; height: 26px; background: var(--red);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18);
}
.frame .bow::before { left: 0; transform: rotate(-18deg); }
.frame .bow::after { right: 0; transform: rotate(18deg); }
.frame { margin-top: 18px; }

/* Holly accents */
.holly { display: block; margin: 0 auto .4rem; }
.holly.corner { position: absolute; top: -8px; right: 18px; transform: rotate(12deg); z-index: 2; }

/* Steps as gift tags */
.steps .tag {
  background: #fffdf7; border: 0; border-radius: 6px 14px 14px 6px; padding: 1.6rem 1.5rem 1.6rem 2.6rem;
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
  box-shadow: 0 14px 30px -18px rgba(14,26,48,.5);
  position: relative; filter: drop-shadow(0 6px 10px rgba(14,26,48,.08));
  border-left: 0; transition: transform .25s ease;
}
.steps .tag:nth-child(1) { transform: rotate(-1.5deg); background: #fff7f2; }
.steps .tag:nth-child(2) { transform: rotate(1deg); background: #f4faf6; }
.steps .tag:nth-child(3) { transform: rotate(-.8deg); background: #fffaf0; }
.steps .tag:hover { transform: rotate(0) translateY(-4px); }
.steps .tag::after {
  content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 2px #d9c9a8;
}
.steps .tag::before { background: var(--red); color: #fff; border: 3px solid var(--gold-soft); }

/* "Knows" panel goes Christmas-tree green */
.festive .knows {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(231,177,76,.18), transparent 60%),
    linear-gradient(160deg, #1a4a37, #123528);
  overflow: visible;
}
.festive .knows .snowfall { border-radius: 26px; }
.scroll-quote .seal {
  position: absolute; right: -16px; bottom: -16px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-soft); font-size: 1.4rem; font-style: normal;
  background: radial-gradient(circle at 35% 30%, #d6404a, #8e1820 70%);
  box-shadow: 0 6px 14px -4px rgba(0,0,0,.5), inset 0 0 0 4px rgba(0,0,0,.12);
}
.scroll-quote .sig { font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive; font-size: 1.6rem; }

/* Letter-to-Santa form */
.letter {
  padding: 10px; border-radius: 24px;
  background: repeating-linear-gradient(135deg, var(--red) 0 16px, #fffaf0 16px 26px, var(--green) 26px 42px, #fffaf0 42px 52px);
  box-shadow: 0 24px 50px -28px rgba(14,26,48,.5);
}
.letter-paper {
  position: relative; border: 0; border-radius: 16px; box-shadow: none;
  background-color: #fffdf7;
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(96,165,250,.13) 31px 32px);
}
.letter-paper input, .letter-paper textarea { background: rgba(255,255,255,.85); }
.dear {
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: 2.4rem; color: var(--red); margin: 0; line-height: 1.1;
}
.dear-sub { font-family: var(--serif); font-size: 1.15rem; color: var(--muted); margin: .2rem 0 1.4rem; font-style: italic; }
.stamp {
  position: absolute; top: 18px; right: 18px; width: 78px; height: 92px; padding: 6px; text-align: center;
  background: var(--cream); color: var(--red); font: 700 .62rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  border: 2px dashed var(--red); outline: 4px solid var(--cream); transform: rotate(6deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 6px 14px -8px rgba(0,0,0,.4);
}
.stamp span { font-size: 1.7rem; color: var(--gold); line-height: 1; }

/* Gift tag summary */
.gift-tag {
  position: relative; color: var(--cream); padding: 2.2rem 1.8rem 1.8rem;
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(231,177,76,.2), transparent 60%),
    linear-gradient(160deg, #b3202a, #8a1820);
  border-radius: 10px 10px 18px 18px;
  clip-path: polygon(16% 0, 84% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
}
.gift-tag::before {
  content: ""; position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 3px var(--gold);
}
.tag-to, .tag-from { font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive; font-size: 1.45rem; margin: 0; line-height: 1.3; }
.tag-from { color: var(--gold-soft); margin-bottom: .6rem; }
.gift-tag .big-price { font-family: var(--serif); font-size: 2.6rem; color: #fff; line-height: 1; margin: .4rem 0 1rem; }
.gift-tag ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; color: #fbe3e3; font-size: .95rem; }
.gift-tag li::before { content: "★"; color: var(--gold-soft); margin-right: .6em; }

/* Final CTA with hanging baubles */
.festive .final-cta {
  position: relative; overflow: hidden; padding-top: 6rem;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(231,177,76,.22), transparent 60%),
    linear-gradient(160deg, #1a4a37, #0f2e22);
}
.festive .final-cta p { color: #d4e7dc; }
.baubles { position: absolute; top: 0; left: 0; right: 0; height: 90px; display: flex; justify-content: space-around; pointer-events: none; }
.baubles i { position: relative; width: 2px; background: rgba(244,215,150,.6); animation: swing 5s ease-in-out infinite; transform-origin: top center; }
.baubles i::after {
  content: ""; position: absolute; left: 50%; bottom: -26px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%;
  box-shadow: inset -5px -6px 0 rgba(0,0,0,.18), 0 6px 14px -6px rgba(0,0,0,.5);
}
.baubles i::before { content: ""; position: absolute; left: 50%; bottom: 2px; width: 10px; height: 6px; margin-left: -5px; background: #d8b45f; border-radius: 2px; z-index: 1; }
.baubles i:nth-child(1) { height: 40px; } .baubles i:nth-child(1)::after { background: radial-gradient(circle at 35% 30%, #ff7a83, #b3202a); }
.baubles i:nth-child(2) { height: 64px; animation-delay: -1s; } .baubles i:nth-child(2)::after { background: radial-gradient(circle at 35% 30%, #fff0c2, #e7b14c); }
.baubles i:nth-child(3) { height: 30px; animation-delay: -2s; } .baubles i:nth-child(3)::after { background: radial-gradient(circle at 35% 30%, #a5c8ff, #3d6fc4); }
.baubles i:nth-child(4) { height: 56px; animation-delay: -.5s; } .baubles i:nth-child(4)::after { background: radial-gradient(circle at 35% 30%, #ff7a83, #b3202a); }
.baubles i:nth-child(5) { height: 36px; animation-delay: -3s; } .baubles i:nth-child(5)::after { background: radial-gradient(circle at 35% 30%, #fffdf4, #d9d2c0); }
.baubles i:nth-child(6) { height: 62px; animation-delay: -1.5s; } .baubles i:nth-child(6)::after { background: radial-gradient(circle at 35% 30%, #fff0c2, #e7b14c); }
.baubles i:nth-child(7) { height: 34px; animation-delay: -2.5s; } .baubles i:nth-child(7)::after { background: radial-gradient(circle at 35% 30%, #9be3b8, #2f7d5d); }
@keyframes swing { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }

/* Candy-cane FAQ markers */
.festive .faq summary::after { color: var(--green); }
.festive .faq details { border-bottom: 2px dotted #e2d3b5; }

.foot-love { font-family: var(--serif); font-style: italic; color: var(--red); font-size: 1.05rem; }

@media (prefers-reduced-motion: reduce) {
  .flake, .lights i, .baubles i, .village .win { animation: none !important; }
  .snowfall { display: none; }
}
@media (max-width: 880px) {
  .moon { width: 56px; height: 56px; top: 64px; right: 6%; }
  .village { height: 110px; }
  .stamp { width: 60px; height: 72px; font-size: .5rem; top: 12px; right: 12px; }
  .stamp span { font-size: 1.2rem; }
  .dear { font-size: 2rem; padding-right: 70px; }
  .steps .tag, .steps .tag:nth-child(n) { transform: none; }
  .holly.corner { width: 80px; right: 8px; }
  .festive .final-cta { padding-top: 5rem; }
}

/* fixes: layering, moon position, bow knot */
.festive .hero .snowfall { z-index: 0; }
.festive .hero-grid, .festive .topbar { z-index: 2; }
.festive .moon { top: 120px; right: 4%; }
.frame .bow b {
  position: absolute; left: 50%; top: 10px; width: 16px; height: 16px; margin-left: -8px; z-index: 1;
  border-radius: 50%; background: #8e1820; box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
}
@media (max-width: 880px) {
  .festive .moon { top: 150px; right: 5%; width: 44px; height: 44px; opacity: .6; }
}

/* ---------- Admin: orders ---------- */
.page:has(.wide) { max-width: 1180px; }
.table-wrap { overflow-x: auto; margin: .5rem 0 1rem; }
table.orders { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.orders th { text-align: left; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .5rem .6rem; border-bottom: 2px solid var(--line); }
table.orders td { padding: .65rem .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.orders tr:hover td { background: #fffaf0; }
.nowrap { white-space: nowrap; }
.badge { display: inline-block; font: 700 .74rem/1 var(--sans); padding: .38em .7em; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.badge.green { background: #e3f4ea; color: #1d6b43; }
.badge.blue { background: #e4eefc; color: #2350a0; }
.badge.amber { background: #fdf1d8; color: #8a5a00; }
.badge.red { background: #fde4e4; color: #9b1c22; }
.badge.grey { background: #eeeae2; color: #5b6475; }
.ok { color: #1d6b43; font-weight: 700; }
.bad { color: #9b1c22; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 1rem 0; }
.stats div { background: var(--paper); border-radius: 12px; padding: .9rem 1rem; }
.stats b { display: block; font: 600 1.6rem/1.1 var(--serif); }
.stats span { font-size: .8rem; color: var(--muted); }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.2rem; margin: 1rem 0; }
dl.facts dt { font-weight: 700; color: var(--muted); font-size: .9rem; }
dl.facts dd { margin: 0; word-break: break-all; }
ol.timeline { list-style: none; padding: 0; margin: .5rem 0 1rem; border-left: 3px solid var(--line); }
ol.timeline li { position: relative; padding: .35rem 0 .35rem 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
ol.timeline li::before { content: ""; position: absolute; left: -8px; top: .65rem; width: 13px; height: 13px; border-radius: 50%; background: #d8d2c4; }
ol.timeline li.done::before { background: #2f9a62; }
ol.timeline li.warn::before { background: #e0a21a; }
ol.timeline li.bad::before { background: #c62a33; }
ol.timeline li.todo { color: var(--muted); }
ol.timeline time { font-size: .85rem; color: var(--muted); }
.quote { background: var(--paper); border-left: 4px solid var(--gold); padding: .9rem 1rem; border-radius: 10px; font-family: var(--serif); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Vertical (9:16) videos ---------- */
.frame { max-width: 360px; margin-left: auto; margin-right: auto; }
.frame video { aspect-ratio: 9 / 16; object-fit: cover; }
.festive .hero-grid { grid-template-columns: 1.25fr .75fr; }
.player { display: flex; justify-content: center; background: #000; }
.player video { width: auto; max-width: 100%; max-height: 78vh; }
@media (max-width: 880px) {
  .festive .hero-grid { grid-template-columns: 1fr; }
  .frame { max-width: 290px; }
  .player video { max-height: 85vh; }
}
