/* Seasonal layers reuse the public header, content and button measurements. */
.christmas-corner, .christmas-lights { position: absolute; pointer-events: none; user-select: none; }
body:not(.seasonal-home) :is(.christmas-corner,.christmas-lights) { display: none; }
html:has(> body.seasonal-home) { overflow-x: clip; }
body.seasonal-home {
  --site-page: #0b2117;
  --site-header: #0b2117;
  --site-nav: #0b2117;
  --site-hero: #091b11;
  --site-ink: #fff4d9;
  --site-about-ink: #172b1d;
  --site-about: radial-gradient(ellipse at 50% 20%,#fff6e5,#f2dfbd 90%);
  color: var(--site-ink);
  background: var(--site-page);
  /* Keep the bow free to cross the header seam while trimming the page edges. */
  overflow-x: clip;
}
.seasonal-home .header { background: radial-gradient(ellipse at 42% 12%,#1b3925,#0d2318 53%,#06160c); }
.seasonal-home .header :is(.brand,.toggle) { position: relative; z-index: 3; }
.seasonal-home .header nav { z-index: 3; text-shadow: 0 1px 5px #07120b; }
.seasonal-home .header .header-texture { opacity: .3; }
.christmas-corner { display: block; height: auto; object-fit: contain; z-index: 1; }
/* Transform percentages follow each decoration's own size, not the text column. */
.christmas-upper-left { top: 0; left: 0; width: min(34%,590px); transform: translate(-3%,-3%); }
.christmas-upper-right { top: 0; right: 0; width: min(23%,409px); transform: translate(3%,-3%); }
.seasonal-home .intro { position: relative; z-index: 1; }
.seasonal-home .intro h1, .seasonal-home .intro > p { text-shadow: 0 2px 15px #091309; }
.seasonal-home .hero-media .food { border-radius: 0; mask-image: none; }
.seasonal-home .about { position: relative; isolation: isolate; overflow: clip; padding-bottom: clamp(110px,9vw,140px); background: var(--site-about); color: var(--site-about-ink); }
.seasonal-home .about :is(.about-heading,.about-content) { position: relative; z-index: 2; }
.christmas-lower-left { bottom: 0; left: 0; width: min(33%,565px); transform: translate(-6%,5%); }
.christmas-lower-right { bottom: 0; right: 0; width: min(27.5%,485px); transform: translate(2%,5%); }
.christmas-lights { top: 0; left: 31%; right: 19%; height: clamp(10px,1.2vw,20px); z-index: 1; }
.christmas-lights::before { content: ''; position: absolute; left: 0; right: 0; top: -100%; height: 200%; border-bottom: 1px solid #a48249; border-radius: 0 0 50% 50%; }
.christmas-lights i { position: absolute; width: 3px; height: 5px; border-radius: 50%; background: #fff0b7; box-shadow: 0 0 3px 1px #ffd673,0 0 9px 3px #f5aa3999; }
.christmas-lights i:nth-child(1) { left: 3%; top: 36%; }
.christmas-lights i:nth-child(2) { left: 15%; top: 73%; }
.christmas-lights i:nth-child(3) { left: 29%; top: 91%; }
.christmas-lights i:nth-child(4) { left: 40%; top: 98%; }
.christmas-lights i:nth-child(5) { left: 56%; top: 99%; }
.christmas-lights i:nth-child(6) { left: 70%; top: 92%; }
.christmas-lights i:nth-child(7) { left: 83%; top: 75%; }
.christmas-lights i:nth-child(8) { left: 96%; top: 39%; }
@media (min-width:701px) and (max-width:900px) {
  .seasonal-home .hero { display: block; min-height: 0; }
  .seasonal-home .intro { width: auto; padding: 24px 7% 20px; text-align: center; }
  .seasonal-home .intro h1 { max-width: 7.5em; margin-inline: auto; }
  .seasonal-home .intro > p { max-width: 430px; margin-inline: auto; }
  .seasonal-home .intro .divider { margin-inline: auto; }
  .seasonal-home .hero-actions { justify-content: center; }
  .seasonal-home .hero-media { position: static; display: block; inset: auto; z-index: auto; }
  .seasonal-home .hero-media .food { position: static; display: block; inset: auto; width: 100%; height: auto; aspect-ratio: 1.85; object-position: var(--image-focus-mobile,88% 52%); }
}
@media (max-width:700px) {
  .christmas-lights { display: none; }
  .christmas-upper-left { width: min(28%,130px); transform: translate(-1.5%,-1.5%); }
  .christmas-upper-right { width: min(18%,84px); transform: translate(1.5%,-1.5%); }
  .seasonal-home .toggle { background: #0b2117dd; }
  .seasonal-home .hero-media .food { aspect-ratio: 1.85; }
  .seasonal-home .about { padding: 25px 7% 70px; }
  .christmas-lower-left { width: min(26%,135px); transform: translate(-3%,2.5%); }
  .christmas-lower-right { width: min(22%,110px); transform: translate(1%,2.5%); }
}

/* New Year reuses the same seasonal anchors and public page components. */
body.newyear-home {
  --site-page: #051c17;
  --site-header: #041b14;
  --site-nav: #0b241a;
  --site-hero: #051916;
  --site-ink: #fff4dc;
  --site-about-ink: #fff4dc;
  --site-about: radial-gradient(ellipse at 50% 25%,#0f3826,#042419 70%,#031e16);
}
.newyear-home .header { background: radial-gradient(ellipse at 30% 100%,#0f3020,#041b14 70%); }
.newyear-home .christmas-lights { display: none; }
.newyear-home .christmas-upper-left { width: clamp(85px,11vw,205px); transform: translate(-12%,-7%); }
.newyear-home .christmas-upper-right { width: clamp(85px,11vw,205px); transform: translate(10%,-6%); }
.newyear-home .christmas-lower-left { width: min(30%,500px); transform: translate(-6%,6%); }
.newyear-home .christmas-lower-right { width: min(30%,500px); transform: translate(6%,6%); }
.newyear-home .about { padding-bottom: clamp(75px,7vw,110px); }
.newyear-home .divider .twig { width: clamp(36px,3.75vw,54px); }
.newyear-home .about-heading .twig { width: clamp(23px,3.2vw,52px); }
@media (max-width:900px) {
  .newyear-home .hero-media .food { aspect-ratio: 1.1; }
}
@media (max-width:700px) {
  .newyear-home .christmas-upper-left { width: clamp(45px,17vw,95px); transform: translate(-6%,-3.5%); }
  .newyear-home .christmas-upper-right { width: clamp(45px,17vw,95px); transform: translate(5%,-3%); }
  .newyear-home .christmas-lower-left { width: min(23%,135px); transform: translate(-3%,3%); }
  .newyear-home .christmas-lower-right { width: min(23%,135px); transform: translate(3%,3%); }
  .newyear-home .about { padding-bottom: 48px; }
  .newyear-home .toggle { background: #0b241add; }
}

/* Valentine's Day uses the same page, with roses and an ivory About surface. */
body.valentine-home {
  --site-page: #051c17;
  --site-header: #041b14;
  --site-nav: #0b241a;
  --site-hero: #051916;
  --site-ink: #fff4dc;
  --site-about-ink: #162619;
  --site-about: radial-gradient(ellipse at 50% 25%,#fcf2df,#f5e6ca 72%,#ebd8b8);
}
.valentine-home .header { background: radial-gradient(ellipse at 30% 100%,#0f3020,#041b14 70%); }
.valentine-home .christmas-lights { display: none; }
.valentine-home .christmas-upper-left { width: clamp(85px,12vw,220px); transform: translate(-12%,-7%); }
.valentine-home .christmas-upper-right { width: clamp(85px,12vw,220px); transform: translate(10%,-6%); }
.valentine-home .christmas-lower-left { width: min(30%,500px); transform: translate(-6%,6%); }
.valentine-home .christmas-lower-right { width: min(30%,500px); transform: translate(6%,6%); }
.valentine-home .about { padding-bottom: clamp(75px,7vw,110px); }
.valentine-home .divider .twig { width: clamp(36px,3.75vw,54px); }
.valentine-home .about-heading .twig { width: clamp(23px,3.2vw,52px); }
@media (max-width:900px) {
  .valentine-home .hero-media .food { aspect-ratio: 1.18; }
}
@media (max-width:700px) {
  .valentine-home .christmas-upper-left { width: clamp(43px,13vw,77px); transform: translate(-6%,-3.5%); }
  .valentine-home .christmas-upper-right { width: clamp(43px,13vw,77px); transform: translate(5%,-3%); }
  .valentine-home .christmas-lower-left { width: min(24%,135px); transform: translate(-3%,3%); }
  .valentine-home .christmas-lower-right { width: min(24%,135px); transform: translate(3%,3%); }
  .valentine-home .about { padding-bottom: 48px; }
  .valentine-home .toggle { background: #0b241add; }
}

/* Easter shares the native picture and seasonal anchors, with willow and eggs. */
body.easter-home {
  --site-page: #051c17;
  --site-header: #041b14;
  --site-nav: #0b241a;
  --site-hero: #051916;
  --site-ink: #fff4dc;
  --site-about-ink: #162619;
  --site-about: radial-gradient(ellipse at 50% 25%,#fcf2df,#f5e6ca 72%,#ebd8b8);
}
.easter-home .header { background: radial-gradient(ellipse at 30% 100%,#0f3020,#041b14 70%); }
.easter-home .christmas-lights { display: none; }
.easter-home .christmas-upper-left { width: clamp(85px,12vw,220px); transform: translate(-12%,-7%); }
.easter-home .christmas-upper-right { width: clamp(85px,12vw,220px); transform: translate(10%,-6%); }
.easter-home .christmas-lower-left { width: min(24%,365px); max-height: 95%; object-position: bottom left; transform: translate(-6%,6%); }
.easter-home .christmas-lower-right { width: min(24%,365px); max-height: 95%; object-position: bottom right; transform: translate(6%,2%); }
.easter-home .about { padding-bottom: clamp(75px,7vw,110px); }
.easter-home .divider .twig { width: clamp(36px,3.75vw,54px); }
.easter-home .about-heading .twig { width: clamp(23px,3.2vw,52px); }
@media (min-width:701px) and (max-width:900px) {
  .easter-home .about { padding-bottom: min(23vw,190px); }
}
@media (max-width:900px) {
  .easter-home .hero-media .food { aspect-ratio: 1.18; }
}
@media (max-width:700px) {
  .easter-home .christmas-upper-left { width: clamp(43px,13vw,77px); transform: translate(-6%,-3.5%); }
  .easter-home .christmas-upper-right { width: clamp(43px,13vw,77px); transform: translate(5%,-3%); }
  .easter-home .christmas-lower-left { width: min(20%,105px); transform: translate(-3%,3%); }
  .easter-home .christmas-lower-right { width: min(20%,105px); transform: translate(3%,1%); }
  .easter-home .about { padding-bottom: 65px; }
  .easter-home .toggle { background: #0b241add; }
}

/* Valborg keeps its lantern below the text, including the complete handle. */
body.valborg-home {
  --site-page: #051c17;
  --site-header: #041b14;
  --site-nav: #0b241a;
  --site-hero: #051916;
  --site-ink: #fff4dc;
  --site-about-ink: #162619;
  --site-about: radial-gradient(ellipse at 50% 25%,#fcf2df,#f5e6ca 72%,#ebd8b8);
}
.valborg-home .header { background: radial-gradient(ellipse at 30% 100%,#0f3020,#041b14 70%); }
.valborg-home .christmas-lights { display: none; }
.valborg-home .christmas-upper-left { width: clamp(85px,12vw,220px); transform: translate(-12%,-7%); }
.valborg-home .christmas-upper-right { width: clamp(85px,12vw,220px); transform: translate(10%,-6%); }
.valborg-home .christmas-lower-left { width: min(23%,345px); object-position: bottom left; transform: translate(-6%,6%); }
.valborg-home .christmas-lower-right { width: min(19%,265px); object-position: bottom right; transform: none; }
.valborg-home .about { padding-bottom: clamp(110px,9vw,140px); }
.valborg-home .divider .twig { width: clamp(36px,3.75vw,54px); }
.valborg-home .about-heading .twig { width: clamp(23px,3.2vw,52px); }
@media (min-width:701px) and (max-width:1100px) {
  .valborg-home .about { padding-bottom: min(23vw,225px); }
}
@media (max-width:900px) {
  .valborg-home .hero-media .food { aspect-ratio: 1.18; }
}
@media (max-width:700px) {
  .valborg-home .christmas-upper-left { width: clamp(43px,13vw,77px); transform: translate(-6%,-3.5%); }
  .valborg-home .christmas-upper-right { width: clamp(43px,13vw,77px); transform: translate(5%,-3%); }
  .valborg-home .christmas-lower-left { width: clamp(65px,20vw,105px); transform: translate(-3%,3%); }
  .valborg-home .christmas-lower-right { width: clamp(120px,36vw,150px); transform: none; }
  .valborg-home .about { padding-bottom: 130px; }
  .valborg-home .toggle { background: #0b241add; }
}

/* Student celebrations share the same page, with small blue-and-yellow edges. */
body.student-home {
  --site-page: #051c17;
  --site-header: #041b14;
  --site-nav: #0b241a;
  --site-hero: #051916;
  --site-ink: #fff4dc;
  --site-about-ink: #162619;
  --site-about: radial-gradient(ellipse at 50% 25%,#fcf2df,#f5e6ca 72%,#ebd8b8);
}
.student-home .header { background: radial-gradient(ellipse at 30% 100%,#0f3020,#041b14 70%); }
.student-home .christmas-lights { display: none; }
.student-home .christmas-upper-left { width: clamp(80px,11vw,180px); max-height: 95%; object-position: top left; transform: translate(-9%,-7%); }
.student-home .christmas-upper-right { width: clamp(80px,11vw,180px); max-height: 95%; object-position: top right; transform: translate(10%,-6%); }
.student-home .christmas-lower-left { width: min(23%,345px); max-height: 95%; object-position: bottom left; transform: translate(-6%,6%); }
.student-home .christmas-lower-right { width: min(19%,265px); object-position: bottom right; transform: none; }
.student-home .about { padding-bottom: clamp(90px,8vw,125px); }
.student-home .divider .twig { width: clamp(36px,3.75vw,54px); }
.student-home .about-heading .twig { width: clamp(23px,3.2vw,52px); }
@media (min-width:701px) and (max-width:1100px) {
  .student-home .about { padding-bottom: min(23vw,225px); }
}
@media (max-width:900px) {
  .student-home .hero-media .food { aspect-ratio: 1.18; }
}
@media (max-width:700px) {
  .student-home .christmas-upper-left { width: clamp(43px,13vw,77px); transform: translate(-4.5%,-3.5%); }
  .student-home .christmas-upper-right { width: clamp(43px,13vw,77px); transform: translate(5%,-3%); }
  .student-home .christmas-lower-left { width: clamp(54px,19vw,90px); max-height: 55px; transform: translate(-3%,3%); }
  .student-home .christmas-lower-right { width: clamp(54px,17vw,78px); max-height: 42px; transform: none; }
  .student-home .about { padding-bottom: 65px; }
  .student-home .toggle { background: #0b241add; }
}

/* Midsummer's flowers stay on the same full-width seasonal edges. */
body.midsummer-home {
  --site-page: #051c17;
  --site-header: #041b14;
  --site-nav: #0b241a;
  --site-hero: #051916;
  --site-ink: #fff4dc;
  --site-about-ink: #162619;
  --site-about: radial-gradient(ellipse at 50% 25%,#fcf2df,#f5e6ca 72%,#ebd8b8);
}
.midsummer-home .header { background: radial-gradient(ellipse at 30% 100%,#0f3020,#041b14 70%); }
.midsummer-home .christmas-lights { display: none; }
.midsummer-home .christmas-upper-left { width: clamp(80px,11vw,180px); max-height: 95%; object-position: top left; transform: translate(-9%,-7%); }
.midsummer-home .christmas-upper-right { width: clamp(80px,11vw,180px); max-height: 95%; object-position: top right; transform: translate(10%,-6%); }
.midsummer-home .christmas-lower-left { width: min(23%,345px); max-height: 95%; object-position: bottom left; transform: translate(-6%,6%); }
.midsummer-home .christmas-lower-right { width: min(19%,265px); max-height: 86%; object-position: bottom right; transform: translate(5%,5%); }
.midsummer-home .about { padding-bottom: clamp(90px,8vw,125px); }
.midsummer-home .divider .twig { width: clamp(36px,3.75vw,54px); }
.midsummer-home .about-heading .twig { width: clamp(23px,3.2vw,52px); }
@media (min-width:701px) and (max-width:1100px) {
  .midsummer-home .about { padding-bottom: min(23vw,225px); }
}
@media (max-width:900px) {
  .midsummer-home .hero-media .food { aspect-ratio: 1.18; }
}
@media (max-width:700px) {
  .midsummer-home .christmas-upper-left { width: clamp(43px,13vw,77px); transform: translate(-4.5%,-3.5%); }
  .midsummer-home .christmas-upper-right { width: clamp(43px,13vw,77px); transform: translate(5%,-3%); }
  .midsummer-home .christmas-lower-left { width: clamp(54px,19vw,90px); max-height: 56px; transform: translate(-3%,3%); }
  .midsummer-home .christmas-lower-right { width: clamp(54px,17vw,78px); max-height: 48px; transform: translate(2.5%,2.5%); }
  .midsummer-home .about { padding-bottom: 65px; }
  .midsummer-home .toggle { background: #0b241add; }
}

@media (min-width:901px) {
  :is(.student-home,.midsummer-home) .hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,#03140c80 0%,#03140c9e 38%,#03140c66 44%,transparent 60%);
  }
}

/* Halloween keeps its soup and seasonal edges within the existing home layout. */
body.halloween-home {
  --site-page: #051c17;
  --site-header: #041b14;
  --site-nav: #0b241a;
  --site-hero: #051916;
  --site-ink: #fff4dc;
  --site-about-ink: #162619;
  --site-about: radial-gradient(ellipse at 50% 25%,#fcf2df,#f5e6ca 72%,#ebd8b8);
}
.halloween-home .header { background: radial-gradient(ellipse at 30% 100%,#0f3020,#041b14 70%); }
.halloween-home .christmas-lights { display: none; }
.halloween-home .christmas-upper-left { width: clamp(80px,11vw,180px); max-height: 95%; object-position: top left; transform: translate(-9%,-7%); }
.halloween-home .christmas-upper-right { width: clamp(80px,11vw,180px); max-height: 95%; object-position: top right; transform: translate(10%,-6%); }
.halloween-home .christmas-lower-left { width: min(23%,345px); max-height: 95%; object-position: bottom left; transform: translate(-6%,6%); }
.halloween-home .christmas-lower-right { width: min(19%,265px); max-height: 86%; object-position: bottom right; transform: translate(2%,2%); }
.halloween-home .about { padding-bottom: clamp(90px,8vw,125px); }
.halloween-home .divider .twig { width: clamp(36px,3.75vw,54px); }
.halloween-home .about-heading .twig { width: clamp(23px,3.2vw,52px); }
@media (min-width:701px) and (max-width:1100px) {
  .halloween-home .about { padding-bottom: min(23vw,225px); }
}
@media (max-width:900px) {
  .halloween-home .hero-media .food { aspect-ratio: 1.18; }
}
@media (max-width:700px) {
  .halloween-home .christmas-upper-left { width: clamp(43px,13vw,77px); transform: translate(-4.5%,-3.5%); }
  .halloween-home .christmas-upper-right { width: clamp(43px,13vw,77px); transform: translate(5%,-3%); }
  .halloween-home .christmas-lower-left { width: clamp(54px,19vw,90px); max-height: 56px; transform: translate(-3%,3%); }
  .halloween-home .christmas-lower-right { width: clamp(54px,17vw,78px); max-height: 48px; transform: translate(1%,1%); }
  .halloween-home .about { padding-bottom: 65px; }
  .halloween-home .toggle { background: #0b241add; }
}

/* The owner's base palette also applies while a holiday layout is active. */
body.seasonal-home.seasonal-light {
  --site-page: var(--cream);
  --site-header: radial-gradient(ellipse at 25% 30%,#fff0d0,#f8dfb4);
  --site-nav: var(--cream);
  --site-hero: radial-gradient(ellipse at 25% 40%,#fff0d0,#f6dfb8);
  --site-ink: var(--green);
  --site-about-ink: #162619;
  --site-about: radial-gradient(ellipse at 50% 25%,#fcf2df,#f5e6ca 72%,#ebd8b8);
}
.seasonal-home.seasonal-light .header { background: var(--site-header); }
.seasonal-home.seasonal-light .header nav { text-shadow: none; }
.seasonal-home.seasonal-light .toggle { background: #fbe9c9dd; }
@media (min-width:901px) {
  .seasonal-home.seasonal-light .intro { color: #fff4dc; }
  .seasonal-home.seasonal-light #home-video { color: #fff4dc; border-color: #fff4dc; background: transparent; }
}
@media (max-width:900px) {
  .seasonal-home.seasonal-light .intro { color: var(--site-ink); }
  .seasonal-home.seasonal-light .intro :is(h1,p) { text-shadow: none; }
}
