/* ============================================================
   LUNARAE FESTIVE LAYER (temporary, Christmas and New Year 2026)
   Every rule is scoped under html.festive, which js/festive.js only adds
   between now and 7 Jan 2027 (Singapore time). Without that class this file
   changes nothing. To remove the season for good: delete the festive.css
   link and the festive.js script from index.html (see README).
   Look: champagne paper, warm gold, soft pearl snow, matches the gift card.
============================================================ */
html.festive { --fbar-h: 40px; --f-gold: #A8843F; --f-gold-deep: #8A6A2E; --f-paper: #F3E9CF; }

/* ---------- Announcement bar (in the page flow, scrolls away; the nav follows it) ---------- */
.fbar {
  position: relative;
  z-index: 1001;
  height: var(--fbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 14px;
  background: linear-gradient(90deg, #1C1814, #2E2418 50%, #1C1814);
  border-bottom: 1px solid rgba(201, 169, 110, 0.5);
  color: #E8D5AD;
  font-family: var(--font-caps);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
.fbar__star { color: #DEC089; font-size: 10px; }
.fbar__text b { font-weight: 400; color: #F4E3C0; }
.fbar__link {
  color: #1C1814;
  background: linear-gradient(135deg, #E3C98F, #C9A96E);
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.16em;
  font-weight: 400;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fbar__link:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(201, 169, 110, 0.45); }
html.festive .hero { min-height: calc(100vh - var(--fbar-h)); }

/* ---------- Hero: gentle pearl and gold snow + a small gift pill ---------- */
.fsnow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; display: block; }
.fhero__pill {
  display: inline-block;
  margin-top: 26px;
  padding: 10px 22px;
  border: 1px solid rgba(222, 192, 137, 0.6);
  border-radius: 40px;
  background: rgba(28, 24, 20, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #F4E3C0;
  font-family: var(--font-caps);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  animation: fsoft-in 1.2s 0.8s both;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.fhero__pill:hover { background: rgba(201, 169, 110, 0.22); border-color: #DEC089; transform: translateY(-1px); }
@keyframes fsoft-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Festive gift banner (after the intro strip) ---------- */
.fgift {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  background:
    radial-gradient(circle at 96% 6%, rgba(232, 196, 110, 0.55) 0, rgba(232, 196, 110, 0) 170px),
    radial-gradient(circle at 3% 96%, rgba(232, 196, 110, 0.45) 0, rgba(232, 196, 110, 0) 190px),
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(255, 250, 236, 0.9), rgba(255, 250, 236, 0) 75%),
    var(--f-paper);
  border-top: 1px solid rgba(168, 132, 63, 0.45);
  border-bottom: 1px solid rgba(168, 132, 63, 0.45);
}
.fgift__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.fgift__art {
  position: relative;
  border: 1px solid rgba(168, 132, 63, 0.85);
  padding: 8px;
  background: rgba(255, 250, 236, 0.6);
  box-shadow: 0 24px 60px rgba(60, 42, 14, 0.2);
}
.fgift__art img { width: 100%; height: auto; display: block; aspect-ratio: 8 / 5; object-fit: cover; object-position: center 60%; }
.fgift__art::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(168, 132, 63, 0.35); pointer-events: none; }
.fgift__label {
  font-family: var(--font-caps);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--f-gold);
  margin-bottom: 14px;
}
.fgift__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  line-height: 1.05;
  color: var(--f-gold-deep);
  margin-bottom: 16px;
}
.fgift__title em { font-style: italic; color: var(--f-gold); }
.fgift__text { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.5; color: #4A3F34; max-width: 440px; margin-bottom: 20px; }
.fgift__occs-title { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--f-gold-deep); margin-bottom: 10px; }
.fgift__occs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.fgift__occ {
  font-family: var(--font-caps);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 30px;
  border: 1px solid rgba(168, 132, 63, 0.8);
  background: rgba(255, 250, 236, 0.7);
  color: #4A3F34;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.fgift__occ:hover { background: var(--f-gold-deep); color: #FAF3E6; border-color: var(--f-gold-deep); transform: translateY(-1px); }
.fgift__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.fgift__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(135deg, #E3C98F, #C9A96E);
  color: #1C1814;
  font-family: var(--font-caps);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(168, 132, 63, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}
.fgift__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(168, 132, 63, 0.5); }
.fgift__small { font-size: 0.86rem; color: #6E5A3A; }
.fgift__occ:focus-visible, .fgift__btn:focus-visible, .fbar__link:focus-visible, .fhero__pill:focus-visible { outline: 2px solid var(--f-gold-deep); outline-offset: 3px; }

/* small gold stars in the corners of the banner */
.fgift__star { position: absolute; color: #C9A04E; pointer-events: none; animation: ftwinkle 4s ease-in-out infinite; }
.fgift__star--1 { top: 26px; left: 5%; font-size: 18px; }
.fgift__star--2 { top: 40px; right: 8%; font-size: 12px; animation-delay: 1.2s; }
.fgift__star--3 { bottom: 30px; right: 4%; font-size: 16px; animation-delay: 2.1s; }
.fgift__star--4 { bottom: 24px; left: 46%; font-size: 10px; animation-delay: 0.6s; }
@keyframes ftwinkle { 0%, 100% { opacity: 0.25; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.2); } }

/* ---------- Gift section and footer: warm gold touches ---------- */
html.festive .gift {
  background:
    radial-gradient(circle at 97% 3%, rgba(232, 196, 110, 0.4) 0, rgba(232, 196, 110, 0) 220px),
    radial-gradient(circle at 2% 99%, rgba(232, 196, 110, 0.32) 0, rgba(232, 196, 110, 0) 240px),
    var(--cream);
}
html.festive .giftbuy { border-color: rgba(168, 132, 63, 0.6); }
html.festive .footer__closing {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201, 169, 110, 0.22), transparent 70%),
    var(--dark);
}
.fwish {
  margin: -36px 0 40px;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: #DEC089;
}
.fwish::before, .fwish::after { content: "\2726"; font-style: normal; font-size: 0.7em; color: #C9A96E; margin: 0 14px; vertical-align: 2px; }

/* ---------- Phones ---------- */
@media (max-width: 860px) {
  .fgift { padding: 56px 0; }
  .fgift__inner { grid-template-columns: 1fr; gap: 32px; }
  .fgift__text { max-width: none; }
}
@media (max-width: 600px) {
  html.festive { --fbar-h: 38px; }
  .fbar { font-size: 9.5px; letter-spacing: 0.1em; gap: 9px; }
  .fbar__long { display: none; }
  .fbar__link { padding: 5px 11px; }
  .fhero__pill { font-size: 10px; letter-spacing: 0.1em; padding: 9px 16px; max-width: calc(100% - 64px); }
  .fhero__more { display: none; }
}
@media (max-width: 360px) { .fbar__star { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .fhero__pill { animation: none; }
  .fgift__star { animation: none; opacity: 0.7; }
}
