/* One Clear Prayer: the Advent calendar (/advent/ only, loaded after site.css).
   The night before her sunrise. Each opened window glows amber; the more that are lit,
   the warmer the sky and the clearer her hills. --lit runs from 0 (dark) to 1 (Christmas). */

@property --lit { syntax: "<number>"; inherits: true; initial-value: 0; }

/* ---------- The title band becomes the top of the night ---------- */
.band {
  min-height: 250px; padding-bottom: 20px;
  background: #121A36;
}
.band::before {
  background:
    radial-gradient(ellipse 50% 70% at 50% 60%, rgba(52,62,104,.55) 0%, rgba(26,36,70,0) 75%),
    linear-gradient(to bottom, rgba(18,26,54,.25) 0%, rgba(18,26,54,0) 40%, rgba(18,26,54,0) 70%, #121A36 100%);
}
.band::after { background: radial-gradient(ellipse 30% 55% at 50% 56%, rgba(244,192,108,.10) 0%, rgba(244,192,108,0) 70%); }
.band-sky { mix-blend-mode: multiply; opacity: .9; background-color: #2A3460; }
.band h1 { color: var(--cream); }

/* ---------- The night ---------- */
.advent {
  --lit: 0;
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--cream);
  padding: 4px 0 clamp(170px, 21vw, 380px);
  transition: --lit 2.6s cubic-bezier(.3,.6,.2,1);
}
.night {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, #121A36 0%, #172042 30%, var(--navy) 62%, #222D58 100%);
}
/* a few quiet stars, which fade as the light comes */
.night-stars {
  position: absolute; left: 0; right: 0; top: 0; height: 70%;
  background-image:
    radial-gradient(1.4px 1.4px at 8% 12%, rgba(253,243,226,.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 17% 34%, rgba(253,243,226,.6) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 28% 8%, rgba(253,243,226,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 39% 26%, rgba(253,243,226,.5) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 61% 6%, rgba(244,192,108,.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 22%, rgba(253,243,226,.55) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 84% 11%, rgba(253,243,226,.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 31%, rgba(253,243,226,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 48%, rgba(253,243,226,.45) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 96% 52%, rgba(253,243,226,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 51% 18%, rgba(253,243,226,.45) 50%, transparent 51%);
  opacity: calc(.95 - var(--lit) * .7);
}
/* the light coming up behind the hills */
.night-dawn {
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 85%;
  background:
    radial-gradient(ellipse 48% 62% at 50% 100%, rgba(253,243,226,.9) 0%, rgba(244,192,108,.75) 16%, rgba(214,150,40,.32) 42%, rgba(214,150,40,0) 72%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(244,192,108,.25) 0%, rgba(244,192,108,0) 80%);
  opacity: calc(.12 + var(--lit) * .78);
}
/* her hills, drawn into the dark: they show as the light grows behind them */
.night-hills {
  position: absolute; left: 0; right: 0; bottom: 0; height: clamp(170px, 21vw, 380px);
  background: url("/assets/img/hills-strip-1920.jpg") center 30% / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: calc(.7 + var(--lit) * .3);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 34%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, #000 34%);
}
@media (min-width: 1921px) { .night-hills { background-image: url("/assets/img/hills-strip-2560.jpg"); } }

.advent-wrap { position: relative; width: 100%; max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.advent-lead {
  max-width: 34em; margin: 0 auto; text-align: center;
  font-size: 21px; line-height: 1.6; color: var(--cream-soft);
}

/* What today is: filled in by the script */
.advent-status { margin: 36px auto 0; text-align: center; min-height: 1px; }
.advent-status:empty { margin-top: 0; }
.st-main { font-size: 30px; line-height: 1.25; font-weight: 700; color: var(--cream); text-wrap: balance; }
.st-sub { margin-top: 10px; font-style: italic; font-size: 20px; line-height: 1.5; color: var(--cream-soft); text-wrap: balance; }
.st-go { margin-top: 24px; }
.btn-amber {
  background: var(--amber); color: var(--navy); border-color: var(--amber);
  box-shadow: 0 1px 2px rgba(0,0,0,.25), 0 10px 28px -10px rgba(244,192,108,.55);
}
.btn-amber:hover { background: #F7CD86; border-color: #F7CD86; box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 16px 34px -10px rgba(244,192,108,.7); }
.advent :focus-visible { outline-color: var(--amber); }

/* ---------- The hill: rows climb from November at the foot to the chapel at the top ----------
   In the page the rows are in date order (for reading and the keyboard); here they stack upward. */
.weeks { margin-top: 56px; display: flex; flex-direction: column-reverse; gap: 58px; }
.week { position: relative; display: grid; grid-template-columns: 120px minmax(0, 1fr) 120px; align-items: end; }
/* each row stands on a fine line of hill, like the lines in her picture */
.week::before {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -38px; height: 28px; pointer-events: none;
  border-top: 1px solid rgba(214,150,40,.32);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.week-christmas::before { display: none; }
.wk {
  grid-column: 1; align-self: center; padding-bottom: 40px;
  font-weight: 400; font-style: italic; font-size: 19px; line-height: 1.2; color: var(--cream-soft);
}
.week .wins { grid-column: 2; }
/* rows further up the hill sit a little further away */
.week-november { --far: 1; }
.week-hope { --far: .95; }
.week-peace { --far: .9; }
.week-joy { --far: .86; }
.week-love { --far: .82; }
.week-november .wins { grid-template-columns: repeat(2, minmax(0, 104px)); justify-content: center; }
.wins { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 22px; }
.slot { position: relative; display: flex; justify-content: center; }

/* A window: an arch with a fine gold frame and a cross in the glass */
.win {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: 100%; max-width: calc(104px * var(--far, 1)); padding: 0; margin: 0;
  font: inherit; color: inherit; text-decoration: none; text-align: center;
  background: none; border: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.win:focus-visible { outline: 3px solid var(--amber); outline-offset: 8px; border-radius: 6px; }
.arch {
  position: relative; display: block; width: 100%; aspect-ratio: 5 / 7;
  border-radius: 50% 50% 3px 3px / 35.7% 35.7% 3px 3px;
  background:
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(52,62,104,.55) 0%, rgba(52,62,104,0) 80%),
    linear-gradient(to bottom, #1A2348 0%, #121A36 100%);
  box-shadow:
    inset 0 0 0 1px rgba(214,150,40,.42),
    inset 0 0 0 5px rgba(18,26,54,.9),
    inset 0 0 0 6px rgba(214,150,40,.16),
    0 14px 26px -16px rgba(0,0,0,.7);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .6s ease;
}
/* the glass, lit */
.pane {
  position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 64%, #FFF4DC 0%, rgba(253,243,226,0) 70%),
    radial-gradient(ellipse 110% 90% at 50% 60%, #F4C06C 0%, #E9AD4A 45%, #D69628 80%, #C4861F 100%);
  box-shadow: inset 0 0 0 1px rgba(253,243,226,.55), inset 0 -10px 22px rgba(196,134,31,.45);
  transition: opacity 1.4s cubic-bezier(.3,.6,.2,1);
}
/* the cross: one upright, one crossbar */
.arch::before, .arch::after { content: ""; position: absolute; z-index: 1; background: rgba(214,150,40,.34); transition: background-color 1.2s ease; }
.arch::before { left: calc(50% - 1px); width: 2px; top: 7%; bottom: 3%; }
.arch::after { top: 40%; height: 2px; left: 5%; right: 5%; }

.cap { display: block; line-height: 1.2; }
.num { font-size: 20px; font-weight: 700; color: var(--cream); font-variant-numeric: lining-nums; }
.mon { display: none; font-size: 16px; font-style: italic; color: var(--cream-soft); }
.slot[data-key="nov-29"] .mon, .slot[data-key="1"] .mon { display: inline; }
.word { display: none; margin-top: 4px; font-style: italic; font-size: 18px; line-height: 1.2; color: var(--amber); overflow-wrap: anywhere; }
.when { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Lit */
.slot.lit .pane { opacity: 1; }
.slot.lit .arch {
  box-shadow:
    inset 0 0 0 1px rgba(253,243,226,.7),
    0 0 0 1px rgba(214,150,40,.55),
    0 0 22px 2px rgba(244,192,108,.40),
    0 0 64px 10px rgba(244,192,108,.16),
    0 16px 30px -16px rgba(0,0,0,.6);
}
.slot.lit .arch::before, .slot.lit .arch::after { background: rgba(26,36,70,.82); }
.slot.lit .word { display: block; }

/* Ready to open (its day has come) */
.slot.ready .arch {
  box-shadow:
    inset 0 0 0 1px rgba(244,192,108,.8),
    inset 0 0 0 5px rgba(18,26,54,.9),
    inset 0 0 0 6px rgba(244,192,108,.3),
    0 0 18px -2px rgba(244,192,108,.28),
    0 14px 26px -16px rgba(0,0,0,.7);
}
.slot.ready .arch::before, .slot.ready .arch::after { background: rgba(244,192,108,.5); }
.win:hover .arch, .win:focus-visible .arch { transform: translateY(-4px); }
.slot.ready .win:hover .arch, .slot.ready .win:focus-visible .arch {
  box-shadow: inset 0 0 0 1px var(--amber), inset 0 0 0 5px rgba(18,26,54,.9), inset 0 0 0 6px rgba(244,192,108,.45),
    0 0 30px 0 rgba(244,192,108,.42), 0 18px 30px -16px rgba(0,0,0,.7);
}

/* Today */
.slot.today .cap::after {
  content: "Today"; display: block; margin-top: 2px;
  font-size: 15px; font-style: italic; color: var(--amber);
}
.slot.today .arch::after { box-shadow: none; }
.today-halo {
  position: absolute; left: 50%; top: 0; width: 100%; max-width: calc(104px * var(--far, 1)); aspect-ratio: 5 / 7; transform: translateX(-50%);
  border-radius: 50% 50% 3px 3px / 35.7% 35.7% 3px 3px; pointer-events: none;
  box-shadow: 0 0 0 6px rgba(244,192,108,.12), 0 0 40px 6px rgba(244,192,108,.30);
}

/* Not yet */
.slot.locked .win { cursor: default; }
.slot.locked .arch { opacity: .7; }
.slot.locked .num { color: rgba(253,243,226,.6); }
.slot.locked .win:hover .arch { transform: none; }
.tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 3;
  transform: translate(-50%, 6px); opacity: 0; pointer-events: none;
  width: max-content; max-width: 220px; padding: 9px 14px; border-radius: 4px;
  background: var(--cream); color: var(--ink); font-size: 16px; line-height: 1.35; font-style: italic; text-align: center;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.55);
  transition: opacity .3s ease, transform .3s ease;
}
.tip::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -7px; border: 7px solid transparent; border-top-color: var(--cream); }
.slot.nudge .tip { opacity: 1; transform: translate(-50%, 0); }

/* Christmas: the chapel at the top of the hill, one larger window with a small cross above it */
.week-christmas { margin-bottom: 6px; }
.week-christmas .wk { visibility: hidden; }
.week-christmas .wins { grid-template-columns: minmax(0, 1fr); }
.slot-christmas { justify-content: center; }
.slot-christmas .win { width: 150px; }
.slot-christmas .win, .slot-christmas .today-halo { max-width: 150px; }
.slot-christmas .today-halo { top: 46px; }
.slot-christmas .win::before {
  content: ""; display: block; width: 22px; height: 32px; margin-bottom: -2px;
  background:
    linear-gradient(rgba(214,150,40,.85), rgba(214,150,40,.85)) center 0 / 2px 100% no-repeat,
    linear-gradient(rgba(214,150,40,.85), rgba(214,150,40,.85)) center 9px / 100% 2px no-repeat;
  transition: filter 1.2s ease;
}
.slot-christmas.lit .win::before { filter: drop-shadow(0 0 6px rgba(244,192,108,.9)); }
.slot-christmas .arch { border-radius: 50% 50% 3px 3px / 30% 30% 3px 3px; aspect-ratio: 5 / 8; }
.slot-christmas .pane { background:
    radial-gradient(ellipse 70% 55% at 50% 62%, #FFF8E8 0%, rgba(253,243,226,0) 72%),
    radial-gradient(ellipse 110% 90% at 50% 60%, #F7CD86 0%, #F4C06C 40%, #E2A23A 78%, #D69628 100%); }
.slot-christmas .arch::after { top: 36%; }
.slot-christmas .num { font-size: 22px; }
.slot-christmas .mon { display: inline; }
.slot-christmas.lit .arch {
  box-shadow: inset 0 0 0 1px rgba(253,243,226,.8), 0 0 0 1px rgba(214,150,40,.6),
    0 0 34px 6px rgba(244,192,108,.55), 0 0 130px 34px rgba(244,192,108,.24), 0 18px 34px -16px rgba(0,0,0,.6);
}

/* ---------- Every day, in order (shown when there is no script) ---------- */
.adv-days { background: var(--page); padding: 88px 0 24px; }
.adv-days-wrap { width: 100%; max-width: calc(var(--read) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.adv-days h2 { font-size: 36px; }
.adv-days-note { margin-top: 10px; font-style: italic; font-size: 19px; color: var(--ink-soft); }
.adv-day { padding: 56px 0; border-bottom: 1px solid var(--rule-ink); }
.adv-day:last-child { border-bottom: 0; }
.adv-js .adv-days { display: none; }

/* One day's words: used in the list and in the opened window */
.day-date { font-style: italic; font-size: 19px; color: var(--ink-soft); }
.day-title { margin-top: 4px; font-weight: 700; font-size: 20px; color: var(--ink); }
.day-kicker { margin-top: 22px; font-style: italic; font-size: 17px; color: var(--ink-soft); }
.day-word { margin-top: 2px; font-size: 48px; line-height: 1.05; letter-spacing: -0.015em; color: var(--ink); }
.day-verse {
  position: relative; margin: 32px 0 0; padding: 28px 32px 26px;
  background: var(--cream); box-shadow: var(--sh-fine);
}
.day-verse::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, #EDB955, #D69628 60%, #C4861F); }
.day-verse blockquote p { font-style: italic; font-size: 21px; line-height: 1.65; }
.day-ref { margin-top: 14px; font-size: 16px; letter-spacing: .02em; color: var(--ink-soft); }
.day-kicker-note { margin-top: 34px; }
.day-note { margin-top: 8px; font-size: 20px; line-height: 1.65; }
.day-say {
  margin-top: 36px; padding: 34px clamp(24px, 5vw, 48px) 36px; border-radius: 2px;
  color: var(--cream);
  background:
    radial-gradient(ellipse 70% 60% at 18% 100%, rgba(244,192,108,.10) 0%, rgba(244,192,108,0) 70%),
    radial-gradient(ellipse 80% 70% at 75% 0%, #2B3562 0%, rgba(38,47,88,.5) 45%, rgba(26,36,70,0) 80%),
    linear-gradient(to bottom, #1D2750 0%, var(--navy) 50%, var(--navy-deep) 100%);
  box-shadow: var(--sh-panel);
}
.say-label { font-style: italic; font-size: 18px; color: var(--amber); }
.say-line { margin-top: 12px; font-size: 25px; line-height: 1.5; }

/* ---------- The opened window (a dialog) ---------- */

.adv-dlg {
  --pad: clamp(22px, 7vw, 64px);
  width: min(680px, calc(100% - 32px)); max-width: none; max-height: min(92vh, 980px);
  margin: auto; padding: 0; border: 0; border-radius: 6px;
  background:
    radial-gradient(ellipse 60% 220px at 50% 0%, rgba(244,192,108,.22) 0%, rgba(244,192,108,0) 100%),
    var(--page);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.2), 0 50px 110px -30px rgba(0,0,0,.7);
  overflow: auto; overscroll-behavior: contain;
}
.adv-dlg::backdrop { background: rgba(12,18,40,.76); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dlg-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 14px 14px 0; pointer-events: none; }
.dlg-close {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 17px; font-weight: 700; color: var(--ink);
  background: rgba(255,250,240,.92); border: 1.5px solid var(--rule-ink); border-radius: 999px;
  padding: 7px 16px 7px 14px; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.dlg-close:hover { border-color: var(--gold); box-shadow: var(--sh-btn); }
.dlg-close .x { font-size: 22px; line-height: 1; font-weight: 400; color: var(--gold); }
.dlg-body { padding: 0 var(--pad) 8px; margin-top: -20px; }
.dlg-mark {
  position: relative; display: block; width: 40px; aspect-ratio: 5 / 7; margin: 0 auto 18px;
  border-radius: 50% 50% 2px 2px / 35.7% 35.7% 2px 2px;
  background: radial-gradient(ellipse 110% 90% at 50% 60%, #FFF4DC 0%, #F4C06C 40%, #D69628 85%);
  box-shadow: 0 0 0 1px rgba(214,150,40,.6), 0 0 22px 4px rgba(244,192,108,.45);
}
.dlg-mark::before, .dlg-mark::after { content: ""; position: absolute; background: rgba(26,36,70,.8); }
.dlg-mark::before { left: calc(50% - .75px); width: 1.5px; top: 8%; bottom: 3%; }
.dlg-mark::after { top: 40%; height: 1.5px; left: 6%; right: 6%; }
.dlg-body .day-head { text-align: center; }
.dlg-body .day-word { font-size: 54px; outline: none; }
.dlg-body .day-say { margin-left: calc(-1 * clamp(0px, 3vw, 24px)); margin-right: calc(-1 * clamp(0px, 3vw, 24px)); }
.dlg-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 36px var(--pad) 0; padding: 22px 0 34px; border-top: 1px solid var(--rule-ink);
}
.dlg-nav button {
  font: inherit; font-size: 18px; font-weight: 700; color: var(--ink); cursor: pointer;
  background: none; border: 0; padding: 8px 2px; border-bottom: 1.5px solid var(--gold);
}
.dlg-nav button:hover { border-bottom-width: 2.5px; }
.dlg-nav button[hidden] { display: none; }
.dlg-nav .arrow { margin: 0 8px; }
.dlg-nav .prev .arrow { margin-left: 0; }
.dlg-nav .prev:hover .arrow { transform: translateX(-6px); }
.dlg-nav .next { margin-left: auto; }
.dlg-nav .next .arrow { margin-right: 0; }
.dlg-later { margin-left: auto; font-style: italic; font-size: 17px; color: var(--ink-soft); text-align: right; }

/* ---------- Under the calendar ---------- */
.advent-signup h2 { max-width: 760px; margin: 0 auto; }
.advent-signup-line { max-width: 34em; margin: 18px auto 0; font-size: 21px; line-height: 1.55; }
.advent-more { margin-top: 34px; font-size: 18px; color: var(--ink-soft); }
.advent-more a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.advent-more a:hover { text-decoration-thickness: 2.5px; }

/* ---------- Narrower ---------- */
@media (max-width: 1100px) {
  .week { grid-template-columns: 90px minmax(0, 1fr) 40px; }
  .wins { gap: 26px 16px; }
}
@media (max-width: 760px) {
  .band { min-height: 170px; }
  .advent-lead { font-size: 18px; }
  .advent-status { margin-top: 28px; }
  .st-main { font-size: 24px; }
  .st-sub { font-size: 18px; }
  .st-go .btn { width: 100%; }
  .weeks { margin-top: 44px; gap: 50px; }
  .week { grid-template-columns: minmax(0, 1fr); }
  .wk { grid-column: 1; padding-bottom: 14px; text-align: center; font-size: 17px; }
  .week .wins { grid-column: 1; }
  .week::before { left: -6%; right: -6%; bottom: -36px; height: 24px; }
  .wins { grid-template-columns: repeat(3, minmax(0, 84px)); justify-content: center; gap: 22px 34px; }
  .week-november .wins { grid-template-columns: repeat(2, minmax(0, 84px)); }
  .win, .today-halo { max-width: calc(80px * var(--far, 1)); }
  .slot-christmas .win { width: 124px; }
  .win { gap: 10px; }
  .num { font-size: 18px; }
  .mon { font-size: 15px; }
  .word { font-size: 16px; }
  .slot-christmas .win, .slot-christmas .today-halo { max-width: 124px; }
  .tip { font-size: 15px; max-width: 180px; }
  .slot:nth-child(3n+1) .tip { left: 0; transform: translate(0, 6px); }
  .slot:nth-child(3n+1).nudge .tip { transform: translate(0, 0); }
  .slot:nth-child(3n+1) .tip::after { left: 30px; }
  .slot:nth-child(3n) .tip { left: auto; right: 0; transform: translate(0, 6px); }
  .slot:nth-child(3n).nudge .tip { transform: translate(0, 0); }
  .slot:nth-child(3n) .tip::after { left: auto; right: 30px; margin-left: 0; margin-right: -7px; }

  .adv-days { padding-top: 64px; }
  .adv-days h2 { font-size: 28px; }
  .adv-day { padding: 44px 0; }
  .day-word { font-size: 40px; }
  .day-verse { padding: 22px 20px 20px; }
  .day-verse blockquote p { font-size: 19px; }
  .day-note { font-size: 18px; }
  .say-line { font-size: 21px; }

  .adv-dlg { width: 100%; height: 100%; max-height: 100%; max-height: 100dvh; border-radius: 0; }
  .dlg-body .day-word { font-size: 44px; }
  .dlg-body .day-say { margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); border-radius: 0; }
  .dlg-nav button { font-size: 17px; }
  .advent-signup-line { font-size: 18px; }
  .advent-more { font-size: 17px; }
}

/* ---------- Motion, only when the visitor has not asked for less ---------- */
@media (prefers-reduced-motion: no-preference) {
  .today-halo { animation: adv-breathe 5.5s ease-in-out infinite; }
  .adv-dlg[open] { animation: adv-in .55s cubic-bezier(.2,.7,.2,1) both; }
  .adv-dlg[open]::backdrop { animation: adv-fade .5s ease both; }
  .dlg-body.swap { animation: adv-swap .5s cubic-bezier(.2,.7,.2,1) both; }
  .slot.lighting .arch { animation: adv-light 1.4s ease-out both; }
}
@keyframes adv-breathe { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes adv-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes adv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes adv-swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes adv-light { 0% { filter: brightness(1); } 35% { filter: brightness(1.35); } 100% { filter: brightness(1); } }

/* the page stays still behind an opened window */
html.adv-open { overflow: hidden; }
