.tet-2027-page {
  --tet-red: #9c2528;
  --tet-red-dark: #68191c;
  --tet-jade: #195542;
  --tet-jade-dark: #103d30;
  --tet-gold: #d2a748;
  --tet-pink: #f3d8d1;
  --tet-paper: #fffaf0;
  --tet-ink: #26221d;
}

.tet-page {
  overflow: hidden;
  background: var(--tet-paper);
  color: var(--tet-ink);
}

.tet-page h1,
.tet-page h2,
.tet-page h3,
.tet-page p {
  margin-top: 0;
}

.tet-hero {
  position: relative;
  display: grid;
  min-height: min(670px, calc(100svh - 96px));
  align-items: center;
  color: #fff;
  isolation: isolate;
}

.tet-hero__image,
.tet-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tet-hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.tet-hero__shade {
  z-index: -1;
  background: rgba(26, 12, 9, 0.62);
}

.tet-fireworks {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tet-hero__content {
  position: relative;
  z-index: 1;
  padding-block: 58px 64px;
}

.tet-kicker,
.tet-eyebrow {
  color: var(--tet-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tet-kicker {
  margin-bottom: 14px;
}

.tet-hero h1 {
  max-width: 780px;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: 0;
}

.tet-date-line {
  margin-bottom: 32px;
  color: #fff6e5;
  font-size: 18px;
  font-weight: 650;
}

.tet-countdown {
  display: grid;
  grid-template-columns: repeat(4, 112px);
  width: max-content;
  max-width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

.tet-countdown > div {
  display: grid;
  min-width: 0;
  min-height: 108px;
  place-content: center;
  text-align: center;
}

.tet-countdown > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.tet-countdown strong {
  font-size: 38px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.tet-countdown span {
  margin-top: 8px;
  color: #f7dcc2;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.tet-countdown__status {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.tet-jump {
  position: sticky;
  z-index: 50;
  top: 72px;
  overflow: hidden;
  background: var(--tet-red-dark);
  color: #fff;
}

.tet-jump .container {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.tet-jump .container::-webkit-scrollbar {
  display: none;
}

.tet-jump a {
  flex: 0 0 auto;
  padding: 14px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.tet-jump a:hover,
.tet-jump a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.tet-section {
  scroll-margin-top: 132px;
  padding: 88px 0;
}

.tet-section--paper {
  background: var(--tet-paper);
}

.tet-section--blossom {
  background: #f7e8e3;
}

.tet-section--red {
  background: var(--tet-red-dark);
  color: #fff;
}

.tet-section--jade {
  background: var(--tet-jade-dark);
  color: #fff;
}

.tet-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.tet-heading h2,
.tet-eve h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: 0;
}

.tet-heading > p {
  margin-bottom: 4px;
  color: #655f57;
}

.tet-heading--light > p {
  color: rgba(255, 255, 255, 0.76);
}

.tet-heading .tet-eyebrow,
.tet-eve .tet-eyebrow {
  margin-bottom: 8px;
}

.tet-status {
  justify-self: end;
  align-self: start;
  padding: 7px 11px;
  border: 1px solid #d8a332;
  border-radius: 4px;
  color: #76530e;
  font-size: 13px;
  font-weight: 800;
}

.tet-alert {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 30px;
  margin-bottom: 30px;
  padding: 22px 0;
  border-top: 1px solid #d8c9ae;
  border-bottom: 1px solid #d8c9ae;
}

.tet-alert strong {
  color: var(--tet-red);
  font-size: 18px;
}

.tet-alert p {
  margin-bottom: 0;
}

.holiday-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid #d9ceba;
  background: #fff;
}

.holiday-strip article {
  display: grid;
  min-width: 0;
  min-height: 190px;
  padding: 18px 10px;
  align-content: center;
  text-align: center;
}

.holiday-strip article + article {
  border-left: 1px solid #e3d8c7;
}

.holiday-strip article.is-new-year {
  background: var(--tet-red);
  color: #fff;
}

.holiday-strip span,
.holiday-strip small {
  color: #756f66;
  font-size: 12px;
}

.holiday-strip .is-new-year span,
.holiday-strip .is-new-year small {
  color: rgba(255, 255, 255, 0.78);
}

.holiday-strip strong {
  margin: 8px 0 2px;
  color: var(--tet-red);
  font-size: 38px;
  line-height: 1;
}

.holiday-strip .is-new-year strong {
  color: #fff;
}

.holiday-strip em {
  margin-top: 14px;
  color: var(--tet-jade);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.holiday-strip .is-new-year em {
  color: #ffe5a6;
}

.tet-source {
  margin: 18px 0 0;
  color: #71695f;
  font-size: 13px;
}

.tet-source a {
  color: var(--tet-red);
  font-weight: 700;
}

.tet-eve {
  display: grid;
  gap: 44px;
}

.tet-eve__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: 40px;
  align-items: end;
}

.tet-eve__intro .tet-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -32px;
}

.tet-eve__intro p:last-child {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.8);
}

.tet-eve__moment {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.tet-eve__moment > div {
  display: grid;
  padding: 28px 24px;
  text-align: center;
}

.tet-eve__moment span,
.tet-eve__moment small {
  color: rgba(255, 255, 255, 0.72);
}

.tet-eve__moment strong {
  margin-block: 7px;
  color: #ffe4a4;
  font-size: 42px;
  line-height: 1;
}

.tet-eve__moment b {
  color: #ffe4a4;
  font-size: 14px;
}

.tet-milestones {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.tet-milestones article {
  min-height: 140px;
  padding: 22px;
  background: var(--tet-red-dark);
}

.tet-milestones time {
  color: #ffe4a4;
  font-weight: 800;
}

.tet-milestones h3 {
  margin: 12px 0 4px;
  font-size: 17px;
}

.tet-milestones p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.tet-age-form {
  display: flex;
  gap: 14px;
  align-items: end;
  padding: 22px 0;
  border-top: 1px solid rgba(105, 42, 34, 0.18);
  border-bottom: 1px solid rgba(105, 42, 34, 0.18);
}

.tet-age-form div {
  display: grid;
  gap: 6px;
  width: min(100%, 330px);
}

.tet-age-form label {
  font-size: 13px;
  font-weight: 800;
}

.tet-age-form input {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #bda89f;
  border-radius: 4px;
  background: #fff;
}

.tet-age-form .button {
  min-height: 48px;
  border-color: var(--tet-red);
  background: var(--tet-red);
}

.tet-filter-result {
  margin: 18px 0 0;
  color: #5e514b;
}

.tet-age-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.tet-age-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid #d7bbb2;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
}

.tet-age-grid span {
  color: var(--tet-red);
  font-size: 26px;
  font-weight: 850;
}

.tet-age-grid h3 {
  margin: 4px 0 7px;
  font-size: 18px;
}

.tet-age-grid p {
  margin-bottom: 0;
  color: #6a5c56;
  font-size: 13px;
}

.tet-cultural-note {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #d7bbb2;
}

.tet-cultural-note strong {
  color: var(--tet-jade);
}

.tet-cultural-note p {
  margin-bottom: 0;
}

.tet-date-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tet-date-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.tet-date-grid--light article {
  border-color: #dfd3c1;
  background: #fff;
}

.tet-date-card__top {
  display: flex;
  gap: 16px;
  align-items: center;
}

.tet-date-card__top time {
  display: grid;
  flex: 0 0 72px;
  min-height: 76px;
  place-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.tet-date-grid--light .tet-date-card__top time {
  border-right-color: #ddd0bc;
}

.tet-date-card__top time strong {
  color: #ffe2a0;
  font-size: 32px;
  line-height: 1;
}

.tet-date-grid--light .tet-date-card__top time strong {
  color: var(--tet-red);
}

.tet-date-card__top time span,
.tet-date-card__top small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.tet-date-grid--light .tet-date-card__top time span,
.tet-date-grid--light .tet-date-card__top small {
  color: #746d64;
}

.tet-date-card__top h3 {
  margin: 4px 0 0;
  font-size: 19px;
}

.tet-date-grid article > p {
  margin: 18px 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.tet-date-grid--light article > p {
  color: #69635b;
}

.tet-date-grid details {
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  padding-top: 12px;
}

.tet-date-grid--light details {
  border-top-color: #e6dac7;
}

.tet-date-grid summary {
  color: #ffe2a0;
  font-size: 13px;
  font-weight: 800;
}

.tet-date-grid--light summary {
  color: var(--tet-jade);
}

.tet-date-grid details span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.tet-date-grid--light details span {
  color: #706960;
}

.tet-more {
  margin-top: 28px;
  border-color: var(--tet-gold);
  background: var(--tet-gold);
  color: #251b0d;
}

.tet-empty {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tet-empty--light {
  border-color: #d9ceba;
}

.tet-note {
  background: #211d19;
  color: #fff;
}

.tet-note .container {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  padding-block: 26px;
}

.tet-note strong {
  color: #f1c765;
}

.tet-note p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

@media (max-width: 900px) {
  .tet-heading,
  .tet-eve__intro {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .tet-eve__intro .tet-eyebrow {
    grid-column: auto;
    margin-bottom: -4px;
  }

  .tet-status {
    justify-self: start;
  }

  .holiday-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .holiday-strip article:nth-child(5) {
    border-left: 0;
    border-top: 1px solid #e3d8c7;
  }

  .holiday-strip article:nth-child(n + 6) {
    border-top: 1px solid #e3d8c7;
  }

  .tet-milestones {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tet-age-grid,
  .tet-date-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .tet-hero {
    min-height: min(620px, calc(100svh - 72px));
    align-items: end;
  }

  .tet-hero__image {
    object-position: 62% center;
  }

  .tet-hero__shade {
    background: rgba(27, 11, 8, 0.68);
  }

  .tet-hero__content {
    padding-block: 42px;
  }

  .tet-hero h1 {
    font-size: 48px;
  }

  .tet-date-line {
    font-size: 15px;
  }

  .tet-countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .tet-countdown > div {
    min-height: 82px;
  }

  .tet-countdown strong {
    font-size: 28px;
  }

  .tet-jump {
    top: 64px;
  }

  .tet-jump a {
    padding: 12px 15px;
  }

  .tet-section {
    scroll-margin-top: 118px;
    padding: 60px 0;
  }

  .tet-heading h2,
  .tet-eve h2 {
    font-size: 34px;
  }

  .tet-alert,
  .tet-cultural-note,
  .tet-note .container {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .holiday-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .holiday-strip article {
    min-height: 150px;
    border-top: 1px solid #e3d8c7;
  }

  .holiday-strip article:nth-child(odd) {
    border-left: 0;
  }

  .holiday-strip article:nth-child(-n + 2) {
    border-top: 0;
  }

  .tet-eve__moment {
    grid-template-columns: 1fr;
  }

  .tet-eve__moment b {
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
  }

  .tet-milestones,
  .tet-age-grid,
  .tet-date-grid {
    grid-template-columns: 1fr;
  }

  .tet-age-form {
    display: grid;
  }

  .tet-age-form div,
  .tet-age-form .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tet-page {
    scroll-behavior: auto;
  }

  .tet-fireworks {
    display: none;
  }
}
