/* ---------- tokens ---------- */
:root {
  --navy-950: #050a18;
  --navy-900: #070d1f;
  --navy-800: #0b1430;
  --navy-700: #122049;
  --navy-600: #1b2d62;
  --ice-100: #eef4fc;
  --ice-200: #cfe0f5;
  --ice-300: #a9c4e6;
  --ice-400: #7f9fc9;
  --gold-300: #f1dfae;
  --gold-400: #e2c98a;
  --gold-500: #d4b06a;
  --gold-600: #b8924c;
  --text: var(--ice-100);
  --muted: var(--ice-300);
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --ease-door: cubic-bezier(.4,0,.15,1);
  --door-radius: 10px;
  --gap: clamp(10px, 1.6vw, 18px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: .01em; margin: 0; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- backdrop ---------- */
#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% -5%, rgba(78,112,190,.42), transparent 70%),
    radial-gradient(45% 35% at 85% 110%, rgba(212,176,106,.10), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(40,70,140,.35), transparent 70%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
}
.aurora::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.45) 100%);
}

/* ---------- shared type ---------- */
.eyebrow {
  margin: 0 0 .6rem; font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-500); font-weight: 500;
}
.rule {
  width: 72px; height: 1px; margin: 1.1rem auto;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  position: relative;
}
.rule::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px;
  transform: translate(-50%,-50%) rotate(45deg); background: var(--gold-400);
}
.button {
  appearance: none; border: 1px solid var(--gold-500); background: linear-gradient(180deg, rgba(212,176,106,.18), rgba(212,176,106,.06));
  color: var(--gold-300); padding: .8rem 1.5rem; border-radius: 999px; cursor: pointer;
  letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 500;
  transition: background .25s, transform .2s var(--ease-out), box-shadow .25s;
}
.button:hover { background: linear-gradient(180deg, rgba(212,176,106,.3), rgba(212,176,106,.12)); box-shadow: 0 0 0 4px rgba(212,176,106,.12); }
.button:active { transform: translateY(1px); }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }

/* ---------- gate ---------- */
.gate {
  position: relative; z-index: 2; min-height: 100dvh; display: grid; place-items: center; padding: 6vh 20px;
  animation: fade-in .8s var(--ease-out) both;
}
.gate[hidden] { display: none; }
.gate__card { text-align: center; max-width: 440px; width: 100%; }
.gate__title { font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1.05; }
.gate__lead { color: var(--muted); margin: 0 0 1.6rem; font-family: var(--display); font-style: italic; font-size: 1.25rem; }
.gate__form { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.gate__input {
  flex: 1 1 200px; max-width: 260px; font: inherit; font-size: 1.05rem; text-align: center; letter-spacing: .08em;
  padding: .75rem 1rem; border-radius: 999px; color: var(--text);
  background: rgba(255,255,255,.05); border: 1px solid rgba(207,224,245,.22);
  transition: border-color .2s, box-shadow .2s;
}
.gate__input::placeholder { color: rgba(207,224,245,.35); letter-spacing: .08em; }
.gate__input:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(212,176,106,.14); }
.gate__error { min-height: 1.4em; margin: 1rem 0 0; color: var(--ice-300); font-size: .9rem; }
.gate__card.is-wrong { animation: shake .5s var(--ease-out); }

/* ---------- app ---------- */
.app { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; padding: clamp(28px, 6vh, 64px) clamp(16px, 4vw, 40px) 60px; animation: fade-in .9s var(--ease-out) both; }
.app[hidden] { display: none; }
.masthead { text-align: center; margin-bottom: clamp(26px, 5vh, 52px); }
.masthead h1 { font-size: clamp(2.5rem, 6.5vw, 4.4rem); line-height: 1.02; }
.intro { font-family: var(--display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--ice-200); margin: 0 0 .5rem; }
.status { margin: 0; color: var(--muted); font-size: .92rem; letter-spacing: .02em; }
.status strong { color: var(--gold-300); font-weight: 500; }

/* ---------- calendar grid ---------- */
.calendar {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  perspective: 1400px;
}
@media (min-width: 620px) { .calendar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .calendar { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.door {
  position: relative; appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer;
  aspect-ratio: 4 / 5; border-radius: var(--door-radius);
  perspective: 1100px; -webkit-tap-highlight-color: transparent;
  animation: door-in .7s var(--ease-out) both; animation-delay: calc(var(--i) * 28ms);
}
.door--final { grid-column: 1 / -1; aspect-ratio: auto; height: clamp(150px, 22vw, 220px); }
.door__inner { position: absolute; inset: 0; border-radius: var(--door-radius); transform-style: preserve-3d; }

/* what's behind the door */
.door__reveal {
  position: absolute; inset: 0; border-radius: var(--door-radius); overflow: hidden;
  background: var(--navy-950);
  box-shadow: inset 0 0 0 1px rgba(212,176,106,.35), inset 0 10px 30px rgba(0,0,0,.6);
}
.door__reveal img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s .35s; }
.door.is-open .door__reveal img { opacity: 1; }
.door__reveal::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(5,10,24,.55) 100%);
}
.door__reveal-num {
  position: absolute; right: 10px; bottom: 6px; font-family: var(--display); font-size: 1.1rem; color: var(--gold-300);
  text-shadow: 0 1px 6px rgba(0,0,0,.7); opacity: 0; transition: opacity .5s .5s;
}
.door.is-open .door__reveal-num { opacity: 1; }

/* the door panel */
.door__panel {
  position: absolute; inset: 0; border-radius: var(--door-radius);
  display: grid; place-items: center; backface-visibility: hidden;
  transform-origin: left center; transform: rotateY(0deg);
  transition: transform 1.1s var(--ease-door), box-shadow 1.1s var(--ease-door);
  background:
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,0) 40%, rgba(0,0,0,.18)),
    linear-gradient(180deg, #16254f, #0e1a3d);
  box-shadow: inset 0 0 0 1px rgba(207,224,245,.16), 0 10px 28px -12px rgba(0,0,0,.8);
}
.door__panel::before { /* inner frame */
  content: ""; position: absolute; inset: 7px; border-radius: calc(var(--door-radius) - 4px);
  border: 1px solid rgba(207,224,245,.12); pointer-events: none;
}
.door__panel::after { /* frost highlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(70% 55% at 30% 15%, rgba(207,224,245,.18), transparent 70%);
}
.door__num {
  font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 5.2vw, 3.1rem); line-height: 1;
  color: var(--ice-300); transition: color .4s, text-shadow .4s; font-variant-numeric: lining-nums;
}
.door__label {
  position: absolute; bottom: 10px; left: 0; right: 0; text-align: center;
  font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-400); font-weight: 500;
}
.door--final .door__num { font-size: clamp(2.4rem, 6vw, 3.6rem); }

/* states */
.door.is-locked { cursor: default; }
.door.is-locked .door__panel { opacity: .78; }
.door.is-locked .door__num { color: rgba(169,196,230,.45); }
.door.is-available .door__num, .door.is-today .door__num { color: var(--gold-300); text-shadow: 0 0 18px rgba(226,201,138,.35); }
.door.is-available .door__panel, .door.is-today .door__panel { box-shadow: inset 0 0 0 1px rgba(212,176,106,.5), 0 10px 28px -12px rgba(0,0,0,.8); }
.door.is-today .door__panel { animation: glow 2.8s ease-in-out infinite; }
.door.is-available:hover .door__panel, .door.is-today:hover .door__panel { transform: rotateY(-7deg); }
.door.is-open .door__panel { transform: rotateY(-108deg); box-shadow: inset 0 0 0 1px rgba(212,176,106,.5), 20px 0 30px -10px rgba(0,0,0,.6); }
.door.is-open:hover .door__panel { transform: rotateY(-112deg); }
.door.is-open .door__num, .door.is-open .door__label { opacity: .35; }
.door.is-shaking { animation: shake .45s var(--ease-out); }

/* double doors for Christmas Day */
.door--final .door__panel--left { right: 50%; border-radius: var(--door-radius) 0 0 var(--door-radius); transform-origin: left center; }
.door--final .door__panel--right { left: 50%; border-radius: 0 var(--door-radius) var(--door-radius) 0; transform-origin: right center; }
.door--final .door__panel--left .door__num { justify-self: end; margin-right: clamp(14px, 3vw, 34px); }
.door__label--inline { position: static; justify-self: start; margin-left: clamp(14px, 3vw, 34px); font-size: clamp(.7rem, 1.4vw, .95rem); letter-spacing: .3em; color: var(--gold-300); }
.door--final .door__label--inline::after { content: ""; display: block; width: 100%; height: 1px; margin-top: 10px; background: linear-gradient(90deg, var(--gold-500), transparent); }
.door--final.is-open .door__panel--left { transform: rotateY(-108deg); }
.door--final.is-open .door__panel--right { transform: rotateY(108deg); box-shadow: inset 0 0 0 1px rgba(212,176,106,.5), -20px 0 30px -10px rgba(0,0,0,.6); }
.door--final.is-available:hover .door__panel--left, .door--final.is-today:hover .door__panel--left { transform: rotateY(-7deg); }
.door--final.is-available:hover .door__panel--right, .door--final.is-today:hover .door__panel--right { transform: rotateY(7deg); }
.door--final .door__panel::before { inset: 9px; }


/* sparkles */
.sparkle {
  position: absolute; width: 6px; height: 6px; left: 50%; top: 50%; pointer-events: none; z-index: 3;
  background: var(--gold-300); border-radius: 50%; box-shadow: 0 0 10px 2px rgba(241,223,174,.6);
  animation: sparkle 1.1s var(--ease-out) forwards;
}

/* ---------- footer ---------- */
.footer { text-align: center; margin-top: 48px; color: rgba(169,196,230,.6); font-size: .8rem; letter-spacing: .04em; }
.footer p { margin: 0; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(4,8,20,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: fade-in .4s both; }
.lightbox__frame {
  position: relative; width: min(100%, 1120px); max-height: 100%; display: grid;
  grid-template-rows: auto auto; gap: 14px; align-content: center;
  animation: rise .6s var(--ease-out) both;
}
.lightbox__close {
  position: absolute; top: -4px; right: -4px; z-index: 4; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(207,224,245,.25); background: rgba(7,13,31,.7); color: var(--ice-200); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.lightbox__close:hover { background: rgba(7,13,31,.95); border-color: var(--gold-500); color: var(--gold-300); }
.lightbox__stage { position: relative; height: var(--stage-h, 60dvh); transition: height .7s var(--ease-out); }
.lightbox__slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .9s var(--ease-out); }
.slide.is-active { opacity: 1; }
.slide__pic { position: relative; max-width: 100%; max-height: 100%; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(212,176,106,.35); background-size: cover; background-position: center; }
.slide__pic img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.slide__pic img.is-loaded { opacity: 1; }
.lightbox__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(207,224,245,.22); background: rgba(7,13,31,.6); color: var(--ice-100); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s, opacity .3s;
}
.lightbox__arrow:hover { background: rgba(7,13,31,.95); border-color: var(--gold-500); color: var(--gold-300); }
.lightbox__arrow--prev { left: 6px; }
.lightbox__arrow--next { right: 6px; }
.lightbox__arrow[hidden], .lightbox__dots[hidden] { display: none; }
.lightbox__dots { display: flex; justify-content: center; gap: 8px; margin: 0 0 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(207,224,245,.3); cursor: pointer; transition: background .3s, transform .3s; }
.dot.is-active { background: var(--gold-400); transform: scale(1.25); }
.lightbox__caption { text-align: center; padding: 6px 48px 4px; max-height: 45dvh; overflow-y: auto; }
.lightbox__day { margin: 0 0 .3rem; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-500); font-weight: 500; }
.lightbox__title { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.1; }
.lightbox__subtitle { margin: .2rem 0 0; font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--ice-300); }
.lightbox__photo-caption { margin: .25rem 0 0; font-size: .9rem; color: var(--ice-300); min-height: 0; }
.lightbox__note { margin: .8rem auto 0; max-width: 56ch; color: var(--ice-200); font-size: 1rem; line-height: 1.6; }
.lightbox__message { margin: 1.2rem auto 0; max-width: 56ch; font-family: var(--display); font-size: 1.3rem; line-height: 1.5; color: var(--gold-300); }
.lightbox__message p { margin: 0 0 .8em; }
.lightbox__message[hidden] { display: none; }
:is(.lightbox__subtitle, .lightbox__photo-caption, .lightbox__note):empty { display: none; }
@media (max-width: 620px) {
  .lightbox { padding: 10px; }
  .lightbox__caption { padding: 0 6px; }
  .lightbox__arrow { width: 40px; height: 40px; }
  .lightbox__close { top: 0; right: 0; }
}

/* ---------- toast & preview ---------- */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 20;
  background: rgba(11,20,48,.92); border: 1px solid rgba(212,176,106,.4); color: var(--ice-100); padding: .7rem 1.2rem; border-radius: 999px;
  font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s var(--ease-out); backdrop-filter: blur(10px);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.preview-badge {
  position: fixed; top: 10px; right: 10px; z-index: 30; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(212,176,106,.15); border: 1px solid rgba(212,176,106,.5); color: var(--gold-300); padding: .35rem .7rem; border-radius: 999px;
}
.preview-badge a { color: inherit; }
.preview-badge[hidden] { display: none; }

/* ---------- motion ---------- */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes door-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes glow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(212,176,106,.55), 0 0 0 0 rgba(212,176,106,0), 0 10px 28px -12px rgba(0,0,0,.8); }
  50% { box-shadow: inset 0 0 0 1px rgba(241,223,174,.9), 0 0 28px 2px rgba(212,176,106,.28), 0 10px 28px -12px rgba(0,0,0,.8); }
}
@keyframes shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
@keyframes sparkle { 0% { transform: translate(-50%,-50%) scale(.4); opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .door.is-today .door__panel { animation: none; }
  #snow { display: none; }
}

/* ---------- decoration ---------- */
.tree { display: block; margin: 0 auto .4rem; opacity: .95; filter: drop-shadow(0 0 14px rgba(212,176,106,.35)); animation: fade-in 1.4s var(--ease-out) both; }
.gate .tree { width: 104px; height: 130px; }
.rule { width: 180px; }
.rule::before, .rule::after { content: ""; position: absolute; top: 50%; width: 5px; height: 5px; transform: translate(-50%,-50%) rotate(45deg); background: var(--gold-400); box-shadow: 0 0 10px rgba(226,201,138,.6); }
.rule::before { left: 50%; width: 6px; height: 6px; }
.rule::after { display: none; }
.rule span { position: absolute; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--gold-500); transform: translateY(-50%); }
.gold-text {
  background: linear-gradient(180deg, #f6e8c1 0%, #d9b870 48%, #b8924c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.door.is-available .door__num, .door.is-today .door__num, .door.is-open .door__num {
  background: linear-gradient(180deg, #f6e8c1 0%, #d9b870 48%, #b8924c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  filter: drop-shadow(0 0 10px rgba(226,201,138,.35));
}
.door__panel .corner { position: absolute; width: 14px; height: 14px; pointer-events: none; opacity: 0; transition: opacity .4s; }
.door.is-available .corner, .door.is-today .corner, .door.is-open .corner { opacity: .9; }
.corner::before, .corner::after { content: ""; position: absolute; background: var(--gold-500); }
.corner::before { width: 14px; height: 1px; } .corner::after { width: 1px; height: 14px; }
.corner--tl { top: 11px; left: 11px; } .corner--tr { top: 11px; right: 11px; transform: scaleX(-1); }
.corner--bl { bottom: 11px; left: 11px; transform: scaleY(-1); } .corner--br { bottom: 11px; right: 11px; transform: scale(-1); }
.masthead h1, .gate__title { text-shadow: 0 0 40px rgba(120,150,220,.25); }
/* snow sits between the lightbox backdrop and the photo while a door is open */
.lightbox #snow { position: fixed; inset: 0; z-index: 1; }
.lightbox__frame { z-index: 2; }

/* ---------- long captions: the whole photo view scrolls, close button stays put ---------- */
.lightbox { display: flex; flex-direction: column; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.lightbox__backdrop { position: fixed; }
.lightbox__frame { margin: auto; flex: none; max-height: none; }
.lightbox__caption { max-height: none; overflow: visible; padding-bottom: 18px; }
.lightbox__close { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 5; }
.preview-badge { right: auto; left: 10px; }

/* ---------- opened doors: large number watermark over the photo ---------- */
.door__reveal::after { background: radial-gradient(70% 60% at 50% 50%, rgba(5,10,24,.34), rgba(5,10,24,.12) 70%), linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(5,10,24,.45) 100%); z-index: 1; }
.door__reveal-num {
  position: absolute; inset: 0; right: 0; bottom: 0; z-index: 2; display: grid; place-items: center;
  font-family: var(--display); font-weight: 500; line-height: 1; font-variant-numeric: lining-nums;
  font-size: clamp(2.6rem, 7vw, 4.6rem); color: rgba(255,255,255,.88);
  text-shadow: 0 2px 14px rgba(5,10,24,.75), 0 0 2px rgba(5,10,24,.6);
  pointer-events: none; transition: opacity .5s .5s;
}
.door--final .door__reveal-num { font-size: clamp(3.2rem, 8vw, 5.4rem); }
@media (hover: hover) {
  .door.is-open:hover .door__reveal-num { opacity: .18; transition: opacity .25s; }
  .door.is-open:hover .door__reveal::after { opacity: .35; }
  .door__reveal::after { transition: opacity .25s; }
}

/* ---------- Safari/WebKit: keep door layers in plain stacking order ----------
   A shared preserve-3d context let WebKit depth-sort the photo, its number and the
   swung-open panel against each other, hiding the number in some columns. Each door now
   keeps its own perspective for the swing, but its contents are flattened and isolated. */
.calendar { perspective: none; }
.door { perspective: none; }
.door__inner { perspective: 1100px; transform-style: flat; }
.door__panel { -webkit-backface-visibility: hidden; backface-visibility: hidden; z-index: 2; }
.door__reveal { isolation: isolate; z-index: 1; }
.door__reveal img { position: relative; z-index: 0; }

/* ---------- door reached from an email link: thick gold ring, pulses then stays lit ---------- */
.door.is-highlighted::after {
  content: ""; position: absolute; inset: -5px; border-radius: calc(var(--door-radius) + 5px); pointer-events: none; z-index: 4;
  border: 4px solid var(--gold-300);
  box-shadow: 0 0 22px 4px rgba(226,201,138,.55), inset 0 0 14px rgba(226,201,138,.35);
  animation: ring-pulse 1.5s ease-in-out 3;
}
.door.is-highlighted .door__num { filter: drop-shadow(0 0 16px rgba(241,223,174,.7)); }
@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 22px 4px rgba(226,201,138,.55), inset 0 0 14px rgba(226,201,138,.35); border-color: var(--gold-300); }
  50% { box-shadow: 0 0 44px 12px rgba(241,223,174,.85), inset 0 0 22px rgba(241,223,174,.55); border-color: #fff3cf; }
}
