/* M.E.G.A. — December issue No. 20: the rustic advent calendar
   VOICE   cheeky Christmas satire; loud, but easy to read for older eyes
   IDEA    an old painted-wood advent calendar: every story is a door already opened (no dates), one click in
   PICTURE wooden doors with iron hinges and ring pulls; single MEGA lights, pig baubles and Scrooge pigs hung in the gaps
   TYPE    Archivo (headlines) · Atkinson Hyperlegible Next (all reading, 19px+) · Permanent Marker (short hand-painted bits)
   LAYOUT  calendar cabinet up to 1240px; doors three across (two on tablets, one on phones); big "Open this door" buttons */

@font-face { font-family: 'Archivo'; src: url(fonts/archivo.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Atkinson'; src: url(fonts/atkinson.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Marker'; src: url(fonts/marker.woff2) format('woff2'); font-display: swap; }

:root {
  --ink: #161616; --gold: #F0CF7A; --brass: #B48A3C;
  --red: #8E1B22; --green: #1F5130; --pine: #123B2C; --plum: #4A1A35; --snow: #EEF4F3; --wheat: #EAC877; --navy: #13245A;
  --head: 'Archivo', 'Arial Black', Arial, sans-serif; --text: 'Atkinson', 'Segoe UI', Verdana, sans-serif; --hand: 'Marker', 'Comic Sans MS', cursive;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .32' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .1 0 0 0 0 .04 0 0 0 .75 -.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --speck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .85 0 0 0 2.2 -1.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); font-family: var(--text); font-size: 19px; line-height: 1.55; overflow-x: clip;
  background: var(--grain), repeating-linear-gradient(90deg, rgba(0,0,0,.45) 0 3px, transparent 3px 180px), #4a2c17; background-size: 400px 400px, auto, auto; }
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 850; line-height: 1.08; text-wrap: balance; }
:focus-visible { outline: 4px solid #4da3ff; outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); padding: .8rem 1.1rem; font-weight: 700; z-index: 60; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- see-through menu strip ---------- */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1rem; padding: .5rem clamp(.8rem, 3vw, 2rem); color: #fff;
  background: rgba(30,16,6,.38); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 2px solid rgba(240,207,122,.5); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .topbar { background: rgba(30,16,6,.9); } }
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; flex: none; }
.brand img { width: 54px; }
.brand span { font-family: var(--head); font-weight: 900; font-size: 1.6rem; text-shadow: 0 2px 4px rgba(0,0,0,.6); }
.topbar nav { display: flex; gap: .35rem; margin-left: auto; overflow-x: auto; scrollbar-width: none; padding: .2rem; }
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a { flex: none; text-decoration: none; font-weight: 700; font-size: 1.05rem; padding: .55rem .85rem; border-radius: 10px; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.topbar nav a:hover, .topbar nav a[aria-current] { background: var(--c); color: var(--cfg, #fff); text-shadow: none; }
.topbar nav .who { background: var(--gold); color: var(--ink); text-shadow: none; }
.topbar nav .who:hover, .topbar nav .who[aria-current] { background: #fff; }

/* ---------- candy-cane ticker ---------- */
.tape-wrap { position: relative; z-index: 5; overflow: hidden; padding-bottom: 14px; margin-bottom: -14px; }
.tape { position: relative; background: #fff; overflow: hidden; white-space: nowrap; transform: rotate(-.6deg); margin: -6px -10px 0; box-shadow: 0 6px 12px rgba(0,0,0,.4);
  border-block: 10px solid transparent; border-image: repeating-linear-gradient(-45deg, #C8102E 0 14px, #fff 14px 28px) 10; }
.tape-track { display: inline-flex; animation: tick 50s linear infinite; padding: .35rem 0; }
.tape:hover .tape-track { animation-play-state: paused; }
.tape span { font-family: var(--head); font-weight: 900; font-size: 1.1rem; text-transform: uppercase; padding: 0 1.4rem; color: #123B2C; }
.tape span::after { content: '★'; margin-left: 2.8rem; color: #C99A2E; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- the calendar cabinet ---------- */
.calendar { position: relative; padding: clamp(1.8rem, 4vw, 3rem) clamp(.5rem, 2vw, 2rem) clamp(2.5rem, 5vw, 4rem); }
.cal { position: relative; max-width: 1240px; margin: 0 auto; padding: clamp(1rem, 3vw, 2.4rem); border-radius: 10px;
  background: var(--speck), var(--grain), #1d3a2a; background-size: 200px, 400px 400px, auto;
  box-shadow: inset 0 0 0 10px #5b3a1e, inset 0 0 0 13px var(--brass), inset 0 0 0 22px #3a2412, inset 0 0 0 24px #8a6a2a, 0 30px 60px rgba(0,0,0,.65); }
.cal-story { max-width: 1060px; }

/* the hand-painted title sign */
.cal-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  margin: clamp(.3rem, 1vw, .6rem) clamp(.3rem, 1vw, .6rem) clamp(2rem, 4vw, 3rem); padding: clamp(1.4rem, 3.5vw, 2.4rem) clamp(1.2rem, 3.5vw, 2.6rem); border-radius: 8px;
  background: var(--speck), var(--grain), #efe2c4; background-size: 200px, 400px 400px, auto; color: #2a1a0c;
  box-shadow: inset 0 0 0 4px var(--red), inset 0 0 0 8px #efe2c4, inset 0 0 0 10px var(--red), 0 10px 22px rgba(0,0,0,.5); }
.cal-kicker { margin: 0; font-family: var(--hand); font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: #1d5a32; }
.cal-head h1 { font-weight: 900; font-stretch: 110%; font-size: clamp(3.8rem, 11vw, 9rem); line-height: .85; letter-spacing: -.03em; color: var(--red); text-shadow: .035em .035em 0 #d9b46a; margin-top: .2rem; }
.cal-tag { margin: .7rem 0 0; font-family: var(--head); font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.15; }
.cal-blurb { margin: .8rem 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 30em; }
.cal-pig { text-align: center; }
.scrooge-swing { width: clamp(170px, 24vw, 280px); margin: 0 auto; border-radius: 50%; border: 7px solid #8a6a2a; box-shadow: 0 0 0 4px #2a1a0c, 0 10px 20px rgba(0,0,0,.45);
  transform-origin: 50% -30%; animation: swing 5s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.bubble { position: relative; margin: 1.2rem auto 0; max-width: 15em; background: #fff; border: 3px solid var(--ink); border-radius: 20px; padding: .7rem 1rem; font-family: var(--hand); font-size: 1.2rem; line-height: 1.25; transform: rotate(2deg); }
.bubble::before { content: ''; position: absolute; top: -22px; left: 46%; border: 11px solid transparent; border-bottom: 13px solid var(--ink); }

/* ---------- decorations: single lights, pig baubles, Scrooge pigs ---------- */
.deco { pointer-events: none; user-select: none; }
.deco-bulb { width: 54px; transform-origin: 50% 0; animation: twinkle 1.6s ease-in-out infinite alternate, sway 4.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.deco-bauble { width: 92px; transform-origin: 50% 0; animation: sway 4s ease-in-out infinite; animation-delay: var(--d, 0s); filter: drop-shadow(0 6px 6px rgba(0,0,0,.45)); }
.deco-scrooge { width: 86px; border-radius: 50%; box-shadow: 0 0 0 3px #8a6a2a, 0 6px 10px rgba(0,0,0,.5); transform-origin: 50% -40%; animation: swing 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes twinkle { from { filter: drop-shadow(0 4px 4px rgba(0,0,0,.45)) brightness(.88); } to { filter: drop-shadow(0 0 16px rgba(255,236,150,.95)) brightness(1.3) saturate(1.2); } }
@keyframes sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
/* hung in the side margins of wide screens */
.gutter { position: absolute; inset: 0; pointer-events: none; display: none; }
.gutter .deco { position: absolute; }
.gutter .g-l { left: max(8px, calc((100% - 1240px) / 4 - 40px)); }
.gutter .g-r { right: max(8px, calc((100% - 1240px) / 4 - 40px)); }
@media (min-width: 1400px) { .gutter { display: block; } }
/* on the title sign */
.cal-head .deco { position: absolute; }
.h-1 { top: -18px; left: 36%; width: 46px; }
.h-2 { top: -18px; left: 52%; width: 46px; }
.h-bauble { top: -26px; left: 44%; width: 74px; }

/* ---------- painted shelf signs (section names), flanked by decorations ---------- */
.shelf { display: flex; align-items: center; justify-content: center; gap: clamp(.6rem, 3vw, 2.2rem); margin: clamp(2.6rem, 5vw, 3.6rem) 0 .8rem; }
.shelf h2, .opened { margin: 0; }
.shelf h2 span, .opened span { display: inline-block; font-family: var(--hand); font-weight: 400; font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.15; color: var(--red); padding: .35rem 1.6rem;
  background: var(--speck), var(--grain), #efe2c4; background-size: 200px, 400px 400px, auto; border-radius: 6px; box-shadow: inset 0 0 0 3px var(--red), 0 6px 12px rgba(0,0,0,.5); text-align: center; }
.shelf .deco-bulb { width: 46px; } .shelf .deco-bauble { width: 78px; } .shelf .deco-scrooge { width: 74px; }
.quip { display: block; width: fit-content; margin: 0 auto clamp(1.6rem, 3vw, 2.2rem); font-family: var(--hand); font-size: 1.3rem; color: #fff; background: var(--red); padding: .3rem 1rem; border-radius: 4px; transform: rotate(-1deg); box-shadow: 0 4px 8px rgba(0,0,0,.4); }

/* ---------- MEGA TV: big, the clip fills the screen ---------- */
.tv { margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); }
.tv .shelf { margin-top: 0; margin-bottom: 1.4rem; }
.tv-set { display: flex; gap: clamp(.8rem, 2vw, 1.6rem); align-items: center; padding: clamp(.8rem, 2.2vw, 1.6rem); border-radius: clamp(20px, 3vw, 36px);
  background: var(--grain), linear-gradient(180deg, #7a4d27, #4a2d14); background-size: 400px 400px, auto; box-shadow: inset 0 0 0 6px rgba(0,0,0,.25), 0 20px 40px rgba(0,0,0,.6); }
.tv-screen { flex: 1; border-radius: clamp(12px, 2vw, 22px); border: clamp(6px, 1vw, 10px) solid #1d1d1d; overflow: hidden; background: #000; }
.tv-screen .video { border: 0; }
.tv-side { display: flex; flex-direction: column; gap: 1.4rem; align-items: center; }
.tv-side i { width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ddd, #777 60%, #333); box-shadow: 0 4px 6px rgba(0,0,0,.5); }
.tv-side b { width: 50px; height: 90px; border-radius: 8px; background: repeating-linear-gradient(#2a1a0c 0 4px, #6b4423 4px 9px); }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- doors ---------- */
.door { position: relative; display: block; text-decoration: none; color: inherit; border-radius: 4px; background: #3a2412;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.6), 0 0 0 6px #6b4524, 0 0 0 8px #2a1a0c, 0 14px 26px rgba(0,0,0,.55); transition: transform .18s ease, box-shadow .18s ease; }
a.door:hover, a.door:focus-visible { transform: translateY(-5px); box-shadow: inset 0 0 0 2px rgba(0,0,0,.6), 0 0 0 6px #8a5a2e, 0 0 0 8px #2a1a0c, 0 24px 36px rgba(0,0,0,.6); }
a.door:hover .btn, a.door:focus-visible .btn { filter: brightness(1.12); transform: translateY(-1px); }
.door.wide { margin: 0 0 clamp(2rem, 4vw, 2.8rem); }

/* the wooden leaf, opened and folded back on its iron hinges */
.leaf { position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 15%; border-radius: 3px; background-color: var(--paint, #7a1d22);
  background-image:
    linear-gradient(90deg, #1b1b1b, #3a3a3a 40%, #1b1b1b), linear-gradient(90deg, #1b1b1b, #3a3a3a 40%, #1b1b1b),
    radial-gradient(circle, #666 0 3px, transparent 4px), radial-gradient(circle, #666 0 3px, transparent 4px),
    var(--speck), var(--grain), repeating-linear-gradient(90deg, rgba(0,0,0,.5) 0 2px, transparent 2px 26px);
  background-size: 78% 13px, 78% 13px, 26px 13px, 26px 13px, 160px, 400px 400px, auto;
  background-position: 0 12%, 0 88%, 6px 12%, 6px 88%, 0 0, 0 0, 0 0;
  background-repeat: no-repeat, no-repeat, repeat-x, repeat-x, repeat, repeat, repeat;
  background-blend-mode: normal, normal, normal, normal, screen, multiply, normal;
  box-shadow: inset 0 0 0 3px rgba(0,0,0,.45), inset 0 0 18px rgba(0,0,0,.5), 10px 0 18px rgba(0,0,0,.5); }
.leaf .ring { position: absolute; top: calc(50% - 15px); right: 14%; width: 30px; height: 30px; border-radius: 50%; border: 5px solid #2a2a2a; box-shadow: inset 0 0 0 1px #777, 0 2px 3px rgba(0,0,0,.6); }
.leaf .ring::before { content: ''; position: absolute; left: 50%; top: -9px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #aaa, #222); }
.paint-red { --paint: #8c2a24; } .paint-green { --paint: #2f5a36; } .paint-blue { --paint: #2c4466; }
.leaf.right { left: auto; right: 0; box-shadow: inset 0 0 0 3px rgba(0,0,0,.45), inset 0 0 18px rgba(0,0,0,.5), -10px 0 18px rgba(0,0,0,.5); }
.leaf.right .ring { right: auto; left: 14%; }
.door.wide .leaf { width: 9%; }

/* what's behind the door */
.inside { position: relative; display: block; margin-left: 15%; padding: clamp(1.1rem, 2.2vw, 1.6rem) clamp(1rem, 2.2vw, 1.6rem) clamp(1.3rem, 2.4vw, 1.8rem);
  background-image: var(--speck); background-size: 200px; border-left: 3px dashed rgba(0,0,0,.3); box-shadow: inset 18px 0 30px -12px rgba(0,0,0,.5); min-height: 100%; }
.door.wide .inside { margin: 0 9%; border-right: 3px dashed rgba(0,0,0,.3); box-shadow: inset 18px 0 30px -12px rgba(0,0,0,.5), inset -18px 0 30px -12px rgba(0,0,0,.5); }
.in-red { background-color: var(--red); color: #fff; } .in-green { background-color: var(--green); color: #fff; } .in-pine { background-color: var(--pine); color: #fff; }
.in-plum { background-color: var(--plum); color: #fff; } .in-snow { background-color: var(--snow); color: #13233F; } .in-gold { background-color: var(--wheat); color: #2A1A0C; }
.in-stars { background: radial-gradient(circle, rgba(255,255,255,.85) 0 1px, transparent 2px) 0 0 / 36px 36px, var(--navy); color: #fff; }
.kick { display: block; margin: 0 0 .6rem; font-family: var(--hand); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; color: var(--gold); }
.in-snow .kick, .in-gold .kick { color: var(--red); }
.t { display: block; font-family: var(--head); font-weight: 850; font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.12; margin-top: 1rem; text-wrap: balance; }
.door.wide .t { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-top: 0; }
.x { display: block; font-size: 1.18rem; line-height: 1.5; margin-top: .6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; margin-top: 1.1rem; padding: .6rem 1.4rem; border-radius: 12px; border: 0; font-family: var(--text); font-weight: 800; font-size: 1.15rem; text-decoration: none; cursor: pointer; transition: transform .15s ease; }
.btn::after { content: ''; width: .5em; height: .5em; margin-left: .7em; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: rotate(45deg); }
.btn-big { font-size: 1.3rem; min-height: 60px; padding-inline: 1.8rem; }
.in-red .btn, .in-green .btn, .in-pine .btn, .in-plum .btn, .in-stars .btn { background: var(--gold); color: #2A1A0C; }
.in-snow .btn { background: var(--red); color: #fff; } .in-gold .btn { background: var(--green); color: #fff; }
.back .btn, .story-paper .btn { background: var(--red); color: #fff; }

/* pictures, circles, stamps */
.pic { position: relative; display: block; border: 3px solid var(--ink); overflow: hidden; background: #000; }
.pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.in-red .pic, .in-green .pic, .in-pine .pic, .in-plum .pic { border-color: var(--gold); }
.pic.circle { border-radius: 50%; aspect-ratio: 1; width: min(88%, 420px); margin-inline: auto; border: 6px solid var(--brass); box-shadow: 0 0 0 3px var(--ink), 0 10px 18px rgba(0,0,0,.35); }
.pic.circle img { aspect-ratio: 1; height: 100%; }
.pic-video { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; color: #fff; font-family: var(--head); font-weight: 900; font-size: 1.4rem; background: radial-gradient(circle, #2a2a2a, #000); }
.pic-video.circle { aspect-ratio: 1; }
.play { width: 0; height: 0; border-left: 48px solid currentColor; border-block: 30px solid transparent; margin-left: 12px; }
.stamp { position: absolute; right: 4%; bottom: 8%; z-index: 2; max-width: 82%; font-family: var(--head); font-weight: 900; font-size: clamp(.95rem, 1.6vw, 1.25rem); line-height: 1; text-transform: uppercase; color: #C8102E; padding: .35rem .7rem; border: 4px solid #C8102E; border-radius: 6px; background: rgba(255,255,255,.85); transform: rotate(-9deg); white-space: nowrap; }
.doors .door:not(.door-span) .stamp { white-space: normal; text-align: center; font-size: .95rem; max-width: 70%; }
.pic.circle .stamp { right: 50%; bottom: 12%; transform: translateX(50%) rotate(-9deg); }

/* outrage-o-meter */
.outrage { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; margin: .9rem 0 0; font-weight: 700; font-size: 1rem; }
.pigs { display: inline-flex; gap: 3px; }
.pigs i { width: 30px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M7 6l9 7-8 6z M33 6l-9 7 8 6z' fill='%23E57A97' stroke='%23161616' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='20' cy='22' r='14' fill='%23F7A8BC' stroke='%23161616' stroke-width='2.2'/%3E%3Cellipse cx='20' cy='26' rx='7' ry='5' fill='%23E57A97' stroke='%23161616' stroke-width='2'/%3E%3Ccircle cx='17.5' cy='26' r='1.5' fill='%23161616'/%3E%3Ccircle cx='22.5' cy='26' r='1.5' fill='%23161616'/%3E%3Ccircle cx='14' cy='18' r='2' fill='%23161616'/%3E%3Ccircle cx='26' cy='18' r='2' fill='%23161616'/%3E%3C/svg%3E") center / contain no-repeat; }
.pigs .off { opacity: .3; filter: grayscale(1); }

/* door grids */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.8rem, 3vw, 2.4rem); align-items: start; }
.doors-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.door-span { grid-column: span var(--span); }
.door-span .inside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.6rem; align-items: start; }
.door-span .inside > .kick, .door-span .inside > .pic { grid-column: 1; }
.door-span .inside > .pic { grid-row: 1 / span 6; }
.door-span .inside > .kick { grid-row: auto; }
.door-span .inside > :not(.pic):not(.kick) { grid-column: 2; }
.door-span .inside > .t { margin-top: 0; }
.door-span .inside > .btn { justify-self: start; }

/* wide doors: picture beside the words */
.split { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center; }
.split .pic.circle { width: 100%; }
.copy { display: block; }
.copy .btn { margin-top: 1.3rem; }

/* greeting */
.greet { text-align: center; padding: clamp(1.8rem, 4vw, 3rem) clamp(1.2rem, 4vw, 3rem); box-shadow: inset 0 0 0 10px var(--red), inset 0 0 0 13px var(--gold), inset 18px 0 30px -12px rgba(0,0,0,.5); }
.greet .kick { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.greet h2 { font-weight: 900; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.05; }
.greet-text { font-size: clamp(1.15rem, 2vw, 1.35rem); margin: 1rem auto 0; max-width: 34em; }
.contact { margin-top: 1.4rem; }
.contact p { margin: 0; }
.contact-line { font-weight: 800; font-size: 1.2rem; }
.btn-mail { overflow-wrap: anywhere; background: #fff; color: var(--red); }
.btn-mail::after { display: none; }
.story-paper .btn-mail { background: var(--red); color: #fff; }

/* lead */
.lead-media { margin: 0; text-align: center; }
.lead-media .video.circle { border-radius: 50%; aspect-ratio: 1; overflow: hidden; border: 7px solid var(--brass); box-shadow: 0 0 0 4px var(--ink), 0 10px 20px rgba(0,0,0,.4); }
.video.circle iframe { width: 178%; left: 50%; transform: translateX(-50%); }
.lead-media figcaption { margin-top: 1rem; font-size: 1.05rem; color: #33405e; }
.lead-door .t { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }

/* pope */
.pope-door blockquote { margin: 0; font-family: var(--head); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.2; }
.pope-door blockquote p { margin: 0 0 .8em; }
.pope-door blockquote span { display: block; font-family: var(--text); font-weight: 700; font-size: .6em; color: var(--red); }
.pope-door .pic img { aspect-ratio: auto; }

/* predictions */
.predict { text-align: center; }
.balls { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.6rem, 2vw, 1.4rem); margin: .8rem 0 1.4rem; }
.ball { display: block; width: clamp(96px, 17vw, 180px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid #000; box-shadow: 0 0 0 4px var(--gold), 0 10px 18px rgba(0,0,0,.4); background: #000; }
.ball img { width: 100%; height: 100%; object-fit: cover; }
.ball:nth-child(odd) { transform: rotate(-5deg); } .ball:nth-child(even) { transform: rotate(5deg) translateY(8px); }
.predict .t { color: var(--gold); font-size: clamp(2.2rem, 5vw, 3.8rem); }
.predict .x { font-size: 1.3rem; }
.wanted-door .pic img { aspect-ratio: auto; }
.wanted-door .t { font-size: clamp(2.4rem, 5vw, 4rem); }
.wanted-door { margin-bottom: 0 !important; }

/* ---------- story pages: behind the door ---------- */
.opened span { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.cal-story > .shelf:first-child { margin-top: .4rem; margin-bottom: 1.6rem; }
.story-door { cursor: default; }
.story-door .leaf { width: clamp(56px, 11%, 120px); }
.story-door .leaf .ring { top: 300px; }
.story-inside { margin-left: clamp(56px, 11%, 120px); border-left: 3px dashed rgba(0,0,0,.3); box-shadow: inset 18px 0 30px -12px rgba(0,0,0,.5); }
.story-head { padding: clamp(1.5rem, 4vw, 3rem) clamp(1.2rem, 4vw, 3.2rem); background-image: var(--speck); background-size: 200px; }
.sec-tag { display: inline-block; font-family: var(--hand); font-size: 1.35rem; text-decoration: none; color: var(--ink); background: var(--gold); padding: .2rem 1rem; border-radius: 4px; }
.sec-tag:hover { background: #fff; }
.story-head h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); margin-top: 1rem; }
.story-stand { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; font-weight: 600; margin: 1.1rem 0 0; max-width: 34em; }
.story-paper { background: #FBFAF6; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.2rem, 4vw, 3.2rem) clamp(2rem, 4vw, 3rem); }
.story-media { margin: 0 0 2rem; }
.story-media .pic img { aspect-ratio: auto; }
.story-media .pic.circle { width: min(80%, 460px); }
.story-media .video.circle { width: min(80%, 460px); margin: 0 auto; border-radius: 50%; aspect-ratio: 1; overflow: hidden; border: 7px solid var(--brass); box-shadow: 0 0 0 4px var(--ink); }
.story-media figcaption { text-align: center; margin-top: 1rem; color: #444; }
.story-media.balls { flex-wrap: nowrap; }
.story-body { max-width: 40rem; margin: 0 auto; font-size: clamp(1.2rem, 1.5vw, 1.32rem); line-height: 1.65; }
.story-body p { margin: 0 0 1.1em; }
.story-body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.2rem 0 .9rem; color: var(--red); }
.story-body .punch { font-weight: 800; font-size: 1.12em; line-height: 1.45; margin: 1.5em 0; }
.story-body ul { padding-left: 1.3em; margin: 0 0 1.2em; } .story-body li { margin: .35em 0; font-weight: 700; }
.story-body hr { border: 0; height: 70px; margin: 2rem 0; background: url(img/deco-bulb-m.webp) 30% 0 / auto 70px no-repeat, url(img/deco-pig-bauble.webp) 50% 0 / auto 70px no-repeat, url(img/deco-bulb-a.webp) 70% 0 / auto 70px no-repeat; }
mark { background: linear-gradient(transparent 38%, #FFE14D 38%, #FFE14D 92%, transparent 92%); color: inherit; padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.story-paper > .contact { max-width: 40rem; margin: 2.5rem auto 0; padding-top: 1.6rem; border-top: 4px dashed #ccc; }
.back { margin: clamp(2.2rem, 4vw, 3rem) 0 0; text-align: center; }
.more .doors { margin-top: 1.6rem; }

.about-top { display: grid; grid-template-columns: minmax(110px, 220px) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem); align-items: center; }
.about-top h1 { margin-top: 0; }
.faq details { border: 3px solid var(--ink); border-radius: 12px; margin-bottom: 1rem; background: #fff; }
.faq details[open] { background: #FFF6DC; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--head); font-weight: 800; font-size: 1.25rem; line-height: 1.3; padding: 1.1rem 3.4rem 1.1rem 1.2rem; position: relative; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 2rem; font-weight: 900; }
.faq details[open] summary::after { content: '–'; }
.faq .ans { padding: 0 1.2rem .3rem; }

/* ---------- footer ---------- */
.foot { background: var(--grain), #2a190c; background-size: 400px 400px, auto; color: #F3E9DC; border-top: 8px solid #6b4524; }
.foot-inner { max-width: 1240px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem); display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.foot-copy { font-size: 1.02rem; line-height: 1.6; max-width: 46rem; }
.foot h2 { font-size: 1.5rem; color: #fff; margin: 1.4rem 0 .6rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.foot-nav a { color: #fff; font-weight: 700; font-size: 1.1rem; padding: .55rem .9rem; border: 2px solid #F3E9DC; border-radius: 10px; text-decoration: none; }
.foot-nav a:hover { background: #F3E9DC; color: #3B2614; }
.foot-contact { margin: 1.2rem 0 0; font-size: 1.15rem; font-weight: 700; }
.foot-contact a { color: #fff; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.foot .small { font-size: .95rem; color: #d6c8b6; margin-top: 1.4rem; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .door-span { grid-column: auto; }
  .door-span .inside { display: block; }
  .doors > .door:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .cal-head { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .cal-blurb { margin-inline: auto; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split .pic, .split .lead-media { max-width: 420px; width: 100%; margin: 0 auto; }
  .brand span { display: none; }
  .tv-side { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 18px; }
  .doors, .doors-2 { grid-template-columns: minmax(0, 1fr); }
  .doors > .door:last-child:nth-child(odd) { grid-column: auto; }
  .leaf { width: 12%; } .inside { margin-left: 12%; }
  .door.wide .leaf { width: 8%; } .door.wide .inside { margin: 0 8%; }
  .leaf .ring { width: 22px; height: 22px; border-width: 4px; top: calc(50% - 11px); }
  .about-top, .foot-inner { grid-template-columns: minmax(0, 1fr); }
  .about-top img { width: 160px; } .foot-inner img { width: 120px; }
  .topbar { gap: .4rem; } .topbar nav a { font-size: 1rem; padding: .5rem .6rem; } .brand img { width: 44px; }
  .shelf .deco-bulb { width: 34px; } .shelf .deco-bauble { width: 56px; } .shelf .deco-scrooge { width: 54px; }
  .h-1, .h-2 { display: none; } .h-bauble { width: 60px; left: calc(50% - 30px); }
  .story-media.balls { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .tape { overflow-x: auto; }
}
@media print {
  .tape-wrap, .topbar, .contact, .more, .foot, .deco, .gutter, .leaf { display: none; }
  body { background: #fff; } .cal { box-shadow: none; background: #fff; } .story-inside { margin: 0; }
}
