@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --wine: #6b1027;
  --wine-dark: #3e0b1b;
  --rose: #d96b7c;
  --cream: #fff7e8;
  --gold: #e7bd6a;
  --ink: #381724;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  background: radial-gradient(circle at top, #fff5e3, #f4d8d0 60%, #e8b9bb);
  min-height: 100vh;
}
.page-shell { width: min(1180px, 100% - 28px); margin: 0 auto; padding: 28px 0 36px; }
.hero { text-align: center; max-width: 720px; margin: 0 auto 22px; }
.eyebrow { color: #a24455; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700; margin: 0 0 8px; }
h1, h2 { font-family: 'Playfair Display', Georgia, serif; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.03; color: var(--wine); margin: 0 0 14px; }
.intro { font-size: clamp(.98rem, 2vw, 1.15rem); line-height: 1.6; margin: 0 auto; max-width: 590px; }
.date-note { font-weight: 700; color: #8c2c43; margin: 12px 0 0; }
.calendar-scene { position: relative; }
.scene-art {
  min-height: 220px; overflow: hidden; position: relative; border-radius: 24px 24px 0 0;
  background: linear-gradient(150deg, #401020, #8f2945 62%, #c85e70);
  border: 5px solid var(--cream); border-bottom: 0;
}
.moon { position: absolute; width: 78px; height: 78px; right: 12%; top: 28px; border-radius: 50%; background: #f9e6ad; box-shadow: 0 0 40px #f9e6ad66; }
.garland { position: absolute; width: 120%; height: 80px; left: -10%; border: 3px solid transparent; border-bottom-color: #d9b36c; border-radius: 50%; transform: rotate(-3deg); }
.garland-one { top: -46px; } .garland-two { top: -18px; left: -18%; opacity: .65; transform: rotate(4deg); }
.pine { position: absolute; color: #e7bd6a; font-size: 2.5rem; top: 24px; }
.pine-left { left: 6%; } .pine-right { right: 5%; top: 95px; }
.couple-art { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 250px; height: 180px; }
.person { position: absolute; bottom: -18px; width: 105px; height: 165px; }
.person-left { left: 20px; transform: rotate(-7deg); }
.person-right { right: 18px; transform: rotate(7deg); }
.face { position: absolute; top: 20px; left: 26px; width: 58px; height: 66px; border-radius: 48% 48% 45% 45%; background: #f3bd9b; z-index: 2; }
.hair { position: absolute; top: 12px; left: 20px; width: 70px; height: 57px; background: #3b1b20; border-radius: 50% 50% 30% 25%; z-index: 3; }
.person-right .hair { background: #d6a44f; border-radius: 50% 50% 38% 30%; }
.body { position: absolute; bottom: 0; left: 8px; width: 92px; height: 100px; background: #e7bd6a; border-radius: 42px 42px 0 0; }
.person-right .body { background: #f1d4c2; }
.heart { position: absolute; color: #ffb3c0; font-size: 2rem; z-index: 5; }
.heart-one { left: 103px; top: 24px; transform: rotate(-15deg); }
.heart-two { left: 134px; top: 46px; font-size: 1.2rem; }
.scene-caption { position: absolute; bottom: 12px; right: 20px; color: #fff1d0; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: clamp(.85rem, 2vw, 1.1rem); }
.calendar-board {
  background: var(--cream); border: 5px solid var(--cream); border-top: 0; border-radius: 0 0 24px 24px;
  padding: clamp(14px, 3vw, 28px); box-shadow: 0 18px 40px #65152a22;
}
.board-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .13em; font-weight: 700; color: #a24455; margin: 0 0 18px; }
.board-stars { color: #d6a44f; font-size: 1.1rem; letter-spacing: .2em; }
.doors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(7px, 1.5vw, 14px); }
.door { position: relative; aspect-ratio: 1 / 1; min-width: 0; padding: 0; border: 1px solid #e2b66b; border-radius: 9px; background: linear-gradient(145deg, #a82e4c, #6b1027); color: #fff4d8; cursor: pointer; overflow: hidden; box-shadow: 0 4px 0 #4a0d1d; transition: transform .18s ease, box-shadow .18s ease; }
.door:not(:disabled):hover, .door:not(:disabled):focus-visible { transform: translateY(-3px); box-shadow: 0 7px 0 #4a0d1d; outline: 3px solid #e7bd6a; outline-offset: 2px; }
.door-number { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.35rem, 4vw, 2.5rem); text-shadow: 0 2px 3px #35081788; }
.door-hint { position: absolute; bottom: 5px; right: 8px; z-index: 3; color: #f5d995; font-size: .8rem; }
.door::before { content: ''; position: absolute; inset: 5px; border: 1px solid #e7bd6a88; border-radius: 5px; pointer-events: none; z-index: 2; }
.door.is-locked { background: repeating-linear-gradient(135deg, #8a7a80, #8a7a80 8px, #75676e 8px, #75676e 16px); cursor: not-allowed; color: #eee1d9; box-shadow: 0 4px 0 #51434a; }
.door.is-locked .door-hint { color: #fff; }
.reveal { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity .25s ease; background: #f9e8cb; }
.reveal img { display: block; width: 100%; height: 100%; object-fit: cover; }
.door.is-open { background: #f9e8cb; box-shadow: inset 0 0 0 3px #e7bd6a; cursor: pointer; }
.door.is-open .door-number, .door.is-open .door-hint { display: none; }
.door.is-open .reveal { opacity: 1; }
.board-footer { text-align: center; font-family: 'Playfair Display', Georgia, serif; font-style: italic; color: #8c2c43; margin: 20px 0 2px; }
.reveal-panel { position: relative; display: grid; grid-template-columns: minmax(130px, 240px) 1fr; align-items: center; gap: 22px; padding: 20px; margin: 22px auto 0; max-width: 700px; background: #fff8eb; border: 2px solid #e7bd6a; border-radius: 18px; box-shadow: 0 12px 30px #65152a18; }
.reveal-panel[hidden] { display: none; }
.reveal-panel img { display: block; width: 100%; border-radius: 12px; background: #f7e5ce; }
.reveal-panel h2 { margin: 0 0 8px; color: var(--wine); font-size: clamp(1.4rem, 3vw, 2rem); }
.reveal-panel p:last-child { margin: 0; line-height: 1.55; }
.close-panel { position: absolute; right: 9px; top: 5px; border: 0; background: none; font-size: 1.8rem; color: var(--wine); cursor: pointer; }
footer { text-align: center; font-size: .82rem; color: #6d3442; margin-top: 22px; }
@media (max-width: 520px) {
  .page-shell { width: min(100% - 16px, 1180px); padding-top: 18px; }
  .scene-art { min-height: 175px; }
  .couple-art { transform: translateX(-50%) scale(.83); transform-origin: bottom center; }
  .doors { gap: 6px; }
  .door { border-radius: 6px; }
  .door::before { inset: 3px; }
  .door-hint { right: 4px; bottom: 2px; font-size: .65rem; }
  .board-heading { font-size: .58rem; }
  .reveal-panel { grid-template-columns: 1fr; max-width: 360px; }
  .reveal-panel img { max-width: 220px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
