.new-year {
  --ink: #173e32;
  --muted: #536b60;
  --cream: #faf5eb;
  --line: #e2dac8;
  --festive-gold: #dfb665;
  --festive-green: #10352a;
}

.new-year header { background: #fffaf0; }

.new-year-banner {
  position: relative;
  padding: 23px 0 13px;
  background: var(--festive-green);
  color: #fff5df;
  text-align: center;
}

.new-year-banner::before {
  position: absolute;
  inset: 0 0 auto;
  height: 15px;
  background:
    radial-gradient(circle at 18px 8px, #fff4bb 2px, #f2b751 3px, transparent 8px) 0 0 / 96px 15px repeat-x,
    radial-gradient(circle at 66px 8px, #ffdeb1 2px, #c96a44 3px, transparent 8px) 0 0 / 96px 15px repeat-x,
    linear-gradient(#688875, #688875) center 4px / 100% 1px no-repeat;
  content: "";
  pointer-events: none;
}

.new-year-banner p {
  margin: 0;
  font: 500 clamp(18px, 2.4vw, 25px) / 1.3 Georgia, serif;
}

.new-year .hero {
  background: radial-gradient(ellipse at 75% 22%, #fae6bd, transparent 62%), #f7f2e7;
}

.new-year .hero-photo {
  border: 2px solid var(--festive-gold);
  box-shadow: 0 16px 36px #482e232e;
}

.new-year .hero .eyebrow { color: #76541f; }
.new-year .strip, .new-year .footer { background: var(--festive-green); }
.new-year .strip { border-block: 1px solid #b5873d; }
.new-year .strip strong, .new-year .footer .brand { color: #ffe4a9; }
.new-year .card { border-color: var(--line); }
.new-year .icon { background: #f4e8cf; }
.new-year :is(.btn, .pill, .language-picker, .snowfall-toggle):focus-visible {
  outline: 2px solid #a26628;
  outline-offset: 4px;
}

.new-year-countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(5px, 2vw, 12px);
  margin: 12px auto 4px;
}
.new-year-countdown[hidden] { display: none; }
.new-year-countdown div {
  min-width: clamp(56px, 16vw, 82px);
  padding: 4px 6px 5px;
  border: 1px solid #dfb66566;
  border-radius: 8px;
  background: #ffffff0e;
}
.new-year-countdown strong {
  display: block;
  color: #ffe4a9;
  font-size: clamp(21px, 4vw, 30px);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.new-year-countdown span { font-size: .78rem; }

/* Winter celebration */
.new-year {
  --festive-green: #103b38;
  --festive-gold: #e9c77d;
  --cream: #f3f8f6;
  --line: #d6e5df;
}
.new-year header {
  background: linear-gradient(100deg, #f8fffd 0%, #eff8f5 60%, #fbf4e4 100%);
  border-bottom: 1px solid #d5e7e0;
}
.new-year .brand { color: #123e38; }
.new-year .brand small { color: #58776d; }
.new-year .links a:not(.pill):hover { color: #a0732e; }
.new-year-banner {
  overflow: hidden;
  padding: 36px 0 25px;
  background:
    radial-gradient(ellipse at 50% -25%, #557a62aa, transparent 53%),
    radial-gradient(circle at 12% 45%, #e1be6e2e, transparent 23%),
    radial-gradient(circle at 87% 70%, #b6ded128, transparent 24%),
    linear-gradient(115deg, #092b29, #174d43 54%, #0a3333);
  border-bottom: 3px solid #dcb96f;
}
.new-year-banner::before {
  height: 20px;
  background:
    radial-gradient(circle at 18px 9px, #fff8ce 2px, #f3bb58 3px, transparent 9px) 0 0 / 100px 20px repeat-x,
    radial-gradient(circle at 68px 9px, #fff8e3 2px, #bfe6d4 3px, transparent 9px) 0 0 / 100px 20px repeat-x,
    linear-gradient(#acc3a9, #acc3a9) center 5px / 100% 1px no-repeat;
}
.new-year-banner::after {
  content: '✦  ✧';
  position: absolute;
  top: 40px;
  right: max(5%, calc((100% - 1120px) / 2));
  font-size: clamp(23px, 4vw, 46px);
  letter-spacing: .25em;
  color: #f7d794;
  opacity: .72;
  pointer-events: none;
}
.new-year-banner .wrap { position: relative; z-index: 1; }
.new-year-banner p {
  color: #fff9ec;
  font: 500 clamp(24px, 4vw, 40px) / 1.2 Georgia, serif;
  letter-spacing: -.02em;
  text-shadow: 0 2px 16px #0004;
}
.new-year-countdown { gap: 9px; margin: 18px auto 0; }
.new-year-countdown div {
  min-width: clamp(61px, 17vw, 88px);
  padding: 8px 8px 7px;
  border: 1px solid #f4dcaa70;
  border-radius: 12px;
  background: #ffffff12;
  box-shadow: inset 0 1px #ffffff1c;
}
.new-year-countdown strong { color: #ffe5a8; }
.new-year-countdown span { color: #ecf4eb; }
.new-year .hero {
  position: relative;
  background: radial-gradient(ellipse at 12% 12%, #ffffff, transparent 50%), linear-gradient(135deg, #edf7f4, #f9f7ec 63%, #e3f0ea);
}
.new-year .hero-copy { position: relative; z-index: 1; }
.new-year .hero .eyebrow { color: #947038; }
.new-year .hero h1 { color: #123f39; }
.new-year .hero h1 span { color: #af8238; }
.new-year .hero-photo {
  overflow: hidden;
  border: 3px solid #f3dfb4;
  box-shadow: 0 18px 40px #183c3240, 0 0 0 1px #b68d4b55;
}
.new-year .hero-photo img { display: block; }
.new-year .strip { background: linear-gradient(105deg, #0c3734, #195348); border-block: 1px solid #c7a866; }
.new-year .section.alt { background: #f3f8f6; }
.new-year .card { border-color: #d3e5dc; box-shadow: 0 8px 26px #1741390b; }
.new-year .icon { background: #edf5ec; color: #496e59; }
.new-year .footer { background: linear-gradient(120deg, #082c2b, #15483e); }
.new-year .btn:not(.light), .new-year .pill { background: #16483d; }
.new-year .btn:not(.light):hover, .new-year .pill:hover { background: #236457; }
@media (max-width: 600px) {
  .new-year-banner { padding: 32px 0 21px; }
  .new-year-banner::after { right: 3%; top: 36px; opacity: .35; font-size: 22px; }
  .new-year-countdown { gap: 6px; }
  .new-year-countdown div { min-width: 58px; padding: 7px 5px; }
}

/* Soft winter sky and sea tones */
.new-year {
  background: #f5f9fa;
  --cream: #eef6f6;
  --line: #d7e8e7;
}
.new-year header {
  background: linear-gradient(115deg, #ffffff 0%, #eff8f7 100%);
  border-bottom-color: #d9e9e8;
}
.new-year .hero {
  background: radial-gradient(ellipse at 82% 0%, #d9eff0 0%, transparent 48%),
    radial-gradient(ellipse at 12% 88%, #e6f5ef 0%, transparent 52%),
    linear-gradient(125deg, #f8fcfb, #eff8f8 55%, #e4f2f2);
}
.new-year .hero-photo {
  border-color: #ffffff;
  box-shadow: 0 18px 42px #285a5a35, 0 0 0 1px #c9dfdc;
}
.new-year main > .section:not(.alt):not(.greening):not(.boiler-section) {
  background: linear-gradient(155deg, #ffffff, #f5faf9);
}
.new-year main > .section.alt {
  background: linear-gradient(135deg, #eef7f7, #f9fcfb);
}
.new-year .boiler-section {
  background: linear-gradient(145deg, #edf7f7, #f8fcfa);
}
.new-year .boiler-panel {
  background: linear-gradient(130deg, #ffffff, #f1f9f7);
  border-color: #d5e7e2;
}
.new-year .card { background-color: #ffffff; }

/* A quiet Caspian Sea backdrop across the site. */
.new-year {
  background: #d6ebed url('sea-background.svg') center center / cover fixed no-repeat;
}
.new-year main > .section:not(.alt):not(.greening):not(.boiler-section),
.new-year main > .section.alt,
.new-year .boiler-section,
.new-year .greening {
  background: rgba(247, 252, 251, .88);
}
.new-year main > .section.alt { background: rgba(235, 247, 248, .86); }
.new-year .hero {
  background: linear-gradient(115deg, rgba(250, 254, 253, .94), rgba(231, 247, 247, .79));
}
.new-year .card, .new-year .boiler-panel, .new-year .board-toolbar {
  background-color: rgba(255, 255, 255, .96);
}
@media (max-width: 760px) {
  .new-year { background-attachment: scroll; background-size: auto 100vh; background-repeat: repeat-y; }
  .new-year main > .section:not(.alt):not(.greening):not(.boiler-section),
  .new-year main > .section.alt, .new-year .boiler-section, .new-year .greening {
    background-color: rgba(247, 252, 251, .9);
  }
}
