@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&display=swap');

.december-page [hidden] { display: none !important; }

.december-kicker {
  margin: 0;
  color: #d4c3bd;
  font: 500 .75rem/1.45 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.december-kicker > span[aria-hidden] { margin-right: .4em; color: var(--red-bright); }

.hero__advent-note {
  display: grid;
  gap: 6px;
  max-width: 35ch;
  margin: 0 0 25px;
  padding-left: 15px;
  border-left: 2px solid #d7aa69;
  color: #f7e6ce;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.45;
}
.hero__advent-note span {
  color: #e0b876;
  font: 500 .78rem/1.4 var(--mono);
  letter-spacing: .1em;
}
.hero .hero__actions { flex-wrap: wrap; gap: 16px 24px; }
.hero .hero__advent-button {
  min-height: 55px;
  padding: 0 18px;
  border-color: #d7aa69;
  background: rgba(33, 20, 17, .75);
  color: #f5d7a3;
  font: 600 .875rem/1.2 var(--mono);
  letter-spacing: .04em;
}
.hero .hero__advent-button:hover { background: #d7aa69; color: #261312; }

.december-links {
  padding-block: clamp(36px, 6vw, 88px);
  background: #211415;
  border-block: 1px solid var(--line);
}
.december-links__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(15px, 3vw, 40px);
  margin-top: 18px;
}
.december-links__grid a {
  position: relative;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px 48px 24px 0;
  border-top: 1px solid var(--line);
}
.december-links__grid a:hover { border-color: var(--red-bright); }
.december-links__grid strong {
  font-size: clamp(1.32rem, 2.7vw, 2.65rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.05em;
}
.december-links__grid a[href="/advent-calendar/"] strong {
  color: #f2d5a8;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.1rem, 2.2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: .015em;
  line-height: 1.2;
  text-transform: uppercase;
}
.december-links__grid a > span {
  color: #d0c3be;
  font-size: .875rem;
  line-height: 1.4;
}
.december-links__grid b {
  position: absolute;
  top: 25px;
  right: 9px;
  color: var(--red-bright);
}

.december-page .site-header { background: var(--ink); }
.december-page [aria-current="page"] { color: #f18488; }
.december-page .desktop-nav { margin-right: 0; }
.december-main {
  max-width: 1600px;
  margin-inline: auto;
  padding-top: clamp(116px, 10vw, 172px);
  padding-bottom: clamp(64px, 8vw, 108px);
}
.december-main h1 {
  margin: 14px 0 21px;
  font-size: clamp(2.6rem, 7.6vw, 7.25rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .92;
}
.december-main h1 em { color: var(--red-bright); font-style: normal; }
#calendar-title {
  max-width: 15ch;
  color: #f2d5a8;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(2.6rem, 5.7vw, 6.2rem);
  font-weight: 600;
  letter-spacing: .025em;
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}
#calendar-title em { color: #d7aa69; }
.december-lede {
  max-width: 59ch;
  margin: 0;
  color: #d7cbc6;
  font-size: clamp(.96rem, 1.35vw, 1.18rem);
  line-height: 1.58;
}
.december-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 38px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  font: 500 .72rem/1.4 var(--mono);
}
.december-footer .wordmark { font-family: var(--sans); margin-right: auto; }
.december-footer a:hover { color: var(--red-bright); }

.fee-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(25px, 5vw, 80px);
  align-items: center;
}
.fee-hero__photo { margin: 0; }
.fee-hero__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.23;
  object-fit: cover;
  object-position: left center;
  border: 1px solid var(--line);
}
.fee-hero__photo figcaption {
  margin-top: 12px;
  text-align: right;
  font: 500 .77rem/1.4 var(--mono);
}
.fee-hero__photo a:hover { color: var(--red-bright); }
.fee-hero__split-link { align-items: center; gap: 19px; }
.fee-hero__split-link > span:first-child { font-size: .9rem; line-height: 1.65; }
.fee-hero__split-link strong { color: var(--red-bright); font-weight: 700; }
.december-block {
  margin-top: clamp(53px, 8vw, 112px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 28px;
}
.december-block h2 {
  margin: 7px 0 23px;
  font-size: clamp(1.9rem, 4.55vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.065em;
}
.fee-split, .fee-addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.fee-split article, .fee-addresses > div {
  min-width: 0;
  padding: clamp(18px, 3.25vw, 42px);
  background: #211617;
  border: 1px solid var(--line);
}
.fee-split .fee-split__percent {
  margin: 0 0 9px;
  color: var(--red-bright);
  font-size: clamp(2.9rem, 7.2vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.08em;
}
.fee-split h3, .fee-addresses h3 {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 2.1vw, 2rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.fee-split article p:last-child {
  margin: 0;
  max-width: 47ch;
  color: #d7cbc6;
  line-height: 1.55;
}
.fee-addresses code {
  display: block;
  margin: 12px 0 17px;
  font: 400 .85rem/1.5 var(--mono);
  overflow-wrap: anywhere;
}
.fee-addresses a { color: #f18488; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }

.calendar-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px 44px;
  margin-bottom: clamp(18px, 3vw, 38px);
}
.calendar-status {
  flex: 0 1 31ch;
  margin: 0;
  padding: 8px 0 8px 15px;
  border-left: 2px solid var(--red);
  color: #e1d4ce;
  font: 500 .82rem/1.6 var(--mono);
}
.calendar-board { position: relative; }
.calendar-board__art { width: 100%; height: auto; }
.calendar-doors {
  position: absolute;
  inset: 18.9% auto auto 52.08%;
  width: 42.24%;
  height: 68.8%;
  display: grid;
  grid-template: repeat(6, minmax(0, 1fr)) / repeat(5, minmax(0, 1fr));
  gap: 1.58% 1.68%;
}
.calendar-door {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: transparent;
  font: 700 clamp(.9rem, 2.3vw, 1.9rem)/1 var(--sans);
}
.calendar-door:not(:disabled) {
  border-color: #9d6652;
  background: #1b1010;
  color: #f5dfbb;
  cursor: pointer;
}
.calendar-door:not(:disabled)::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 16%;
  background: linear-gradient(90deg, #77382e, #3b1917);
  transform: skewY(-5deg);
  transform-origin: left center;
}
.calendar-door:not(:disabled):hover, .calendar-door[aria-pressed="true"] {
  border-color: #f4cd91;
  background: #582126;
}
.calendar-door:focus-visible { z-index: 1; outline: 2px solid #fff; outline-offset: 2px; }
.calendar-reveal {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(19px, 4vw, 63px);
  align-items: center;
  margin-top: clamp(28px, 6vw, 73px);
  padding-top: clamp(20px, 3vw, 42px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.calendar-reveal__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
}
.calendar-reveal h2 {
  margin: 12px 0;
  font-size: clamp(1.9rem, 5vw, 4.9rem);
  line-height: .98;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}
.calendar-reveal p:not(.december-kicker) { color: #d7cbc6; line-height: 1.5; }

@media (max-width: 740px) {
  .fee-hero, .calendar-reveal { grid-template-columns: 1fr; }
  .calendar-heading { display: block; }
  .calendar-status { margin-top: 20px; }
}
@media (max-width: 600px) {
  .december-links__grid, .fee-split, .fee-addresses { grid-template-columns: 1fr; }
  .calendar-doors {
    position: static;
    width: auto;
    height: auto;
    grid-template: repeat(6, minmax(48px, auto)) / repeat(5, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
  }
  .calendar-door:disabled { border-color: #57312a; background: #37191a; color: #e0bab1; }
}
