.date-section { position: relative; padding: 4rem 1.25rem 5rem; background: radial-gradient(ellipse at 50% 18%, #34456166, transparent 52%), #0b1730; border-top: 1px solid #c0c0c035; text-align: center; }
.date-inner { max-width: 38rem; margin-inline: auto; }
.date-cross { display: block; color: #cbd3df; font: 2rem Georgia, serif; margin-bottom: 1.4rem; }
.date-section h2 { font-size: clamp(1.8rem, 5.5vw, 2.5rem); font-weight: 400; line-height: 1.7; margin: 0; text-wrap: balance; }
.scratch-instruction { max-width: 30rem; margin: 1rem auto 1.75rem; font-size: 1rem; color: #d1d8e5; line-height: 1.9; }
.scratch-card { position: relative; isolation: isolate; width: min(100%, 360px); min-height: 440px; margin: 0 auto; border: 1px solid #d7dfec80; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 45px #0007, 0 0 35px #b8cbe212; background: radial-gradient(ellipse at 50% 35%, #304360, #0b1730 78%); }
/* Every calendar line stays painted beneath the same canvas from the start.
   It must never get date-step visibility or per-line entrance animations. */
.calendar-face { position: relative; min-height: inherit; padding: 2rem 1.5rem; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .4rem; text-align: center; }
.calendar-face::before, .calendar-face::after { content: ""; position: absolute; pointer-events: none; }
.calendar-face::before { inset: 10px; border: 1px solid #d9e2ef88; box-shadow: inset 0 0 0 4px #0b1730, inset 0 0 0 5px #b6c2d440; }
.calendar-face::after { width: 9px; height: 9px; bottom: 9px; left: calc(50% - 5px); transform: rotate(45deg); background: #cbd4e1; border: 1px solid #f3f6fc; }
.calendar-cross { color: #dce3ef; font: 1.8rem/1.1 Georgia, serif; margin-bottom: .4rem; text-shadow: 0 1px 0 #8492a8, 0 0 12px #d8e4fa30; }
.calendar-day { position: relative; width: fit-content; margin-inline: auto; line-height: 1; }
.date-day { display: block; color: #e2e6ee; font: clamp(6rem, 25vw, 7.8rem)/1.05 Georgia, serif; letter-spacing: -.045em; padding-right: .045em; background: linear-gradient(145deg, #fff 10%, #9ca9bd 29%, #f7f8fc 48%, #a3afc0 69%, #e8edf5 90%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 0 #5d6c83) drop-shadow(0 6px 10px #0007); }
#date-ordinal { position: absolute; left: calc(100% + .12em); top: .45em; font: 1.35rem/1 Georgia, serif; color: #dfe5ef; }
.calendar-year { margin: 0; font: 2rem/1.35 Georgia, serif; letter-spacing: .13em; padding-left: .13em; color: #dbe2ed; text-shadow: 0 1px 1px #7a8ba3; }
.calendar-rule { width: 42%; height: 1px; margin: .55rem 0; background: linear-gradient(90deg, transparent, #d9e0ed, transparent); }
#scratch-coating { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; touch-action: auto; -webkit-user-select: none; user-select: none; }
.scratch-spark { position: absolute; z-index: 2; left: var(--scratch-x, 50%); top: var(--scratch-y, 50%); width: 3px; height: 3px; border-radius: 50%; background: #f7f9ff; pointer-events: none; opacity: 0; box-shadow: 7px -9px 0 #d8e0f0aa, -10px -4px 0 #f1f2fa88, 5px 12px 0 #e4e9f477; }
.scratch-card[data-scratching=true] .scratch-spark { opacity: .85; }
.reveal-button { min-height: 48px; margin: 1.5rem auto .8rem; padding: .65rem 1.5rem; border: 1px solid #d5deec66; border-radius: 3px; color: var(--pearl); background: #152742; font-size: 1rem; }
.reveal-button:disabled { opacity: .65; }
.revealed-details { margin: 0 auto; max-width: 34rem; }
.date-step { visibility: hidden; opacity: 0; }
.date-step.is-visible { visibility: visible; opacity: 1; }
.calendar-face .date-month { font-family: var(--font-body); font-size: 1.5rem; margin: 0; line-height: 1.65; color: #e1e6ee; }
html[lang=en] .calendar-face .date-month { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .18em; padding-left: .18em; }
.calendar-face .date-weekday { font-size: 1.05rem; line-height: 1.7; margin: 0; color: #dce2ec; }
html[lang=en] .calendar-face .date-weekday { text-transform: uppercase; letter-spacing: .17em; padding-left: .17em; }
.calendar-face .date-time { font-size: 1rem; line-height: 1.8; margin: 0; color: #e1e6ee; max-width: 100%; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .35rem; width: 100%; max-width: 380px; margin: 2rem auto; padding-block: 1.25rem; border-block: 1px solid #c0c0c045; }
.countdown > div { display: flex; flex-direction: column; align-items: center; gap: .35rem; min-width: 0; }
.countdown [data-count] { font: 2rem/1.2 Georgia, serif; color: #eef0f4; font-variant-numeric: tabular-nums; }
.countdown [data-i18n] { font-size: .875rem; line-height: 1.6; color: #cbd4e3; }
.date-programme { font-size: 1.25rem; margin: 1.5rem 0 .7rem; line-height: 1.9; }
.date-venue { font-size: 1.05rem; line-height: 1.9; margin: 0 auto; max-width: 27rem; }
.date-dinner { color: #cbd4e3; font-size: 1rem; line-height: 1.9; margin: 1rem 0 0; }
.date-continue { width: fit-content; margin: 2.5rem auto 0; }
@media (prefers-reduced-motion:reduce) { .scratch-spark { display: none; } }
