:root {
  color-scheme: dark;
  --ink: #000000;
  --red: #9e0031;
  --paper: #f0f4ef;
  --soft: #201a20;
  --muted: #c2c1c5;
  --red-on-dark: #ff4770;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: var(--sans);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red-on-dark);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--ink);
  color: var(--paper);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
}

.brand-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.brand-name span {
  font-weight: 500;
}

.brand-name b {
  color: var(--red-on-dark);
  font-weight: 700;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
}

.primary-navigation a {
  color: rgb(240 244 239 / 75%);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.primary-navigation a:hover {
  color: var(--red-on-dark);
}

.primary-navigation .nav-apply {
  color: var(--paper);
}

.nav-apply span {
  margin-left: 5px;
  color: var(--red-on-dark);
  font-size: 15px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  border: 1px solid rgb(240 244 239 / 35%);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: var(--paper);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  min-height: calc(100svh - 76px);
  place-items: center;
  background:
    linear-gradient(rgb(20 17 21 / 46%), rgb(20 17 21 / 60%)),
    url("background.png") center 48% / auto 96% no-repeat,
    var(--ink);
  color: var(--paper);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 6vh, 62px);
  min-height: inherit;
  justify-content: center;
  padding-block: 36px 80px;
  transform: translateY(-18px);
}

.countdown-wrap {
  width: min(100%, 1040px);
  padding: clamp(18px, 3vw, 36px);
  border: 1px solid rgb(240 244 239 / 14%);
  border-radius: 3px;
  background: rgb(20 17 21 / 42%);
  backdrop-filter: blur(5px);
  filter: drop-shadow(0 0 20px rgb(255 71 112 / 24%));
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.countdown-unit {
  display: grid;
  justify-items: center;
  gap: 5px;
  border-right: 1px solid rgb(240 244 239 / 34%);
}

.countdown-unit:last-child {
  border-right: 0;
}

.countdown-unit span {
  color: #fff;
  font-size: clamp(48px, 11vw, 144px);
  font-weight: 750;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 0 14px rgb(255 255 255 / 38%),
    0 0 38px rgb(255 71 112 / 48%);
}

.countdown-unit small {
  color: var(--paper);
  font-size: clamp(9px, 1.1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.button {
  display: inline-flex;
  min-width: 168px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--red-on-dark);
  border-radius: 2px;
  color: var(--paper);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #9e0031, #d10b49);
  box-shadow: 0 0 22px rgb(255 71 112 / 28%);
}

.button-primary:hover {
  background: linear-gradient(135deg, #bd003b, #ed174f);
  box-shadow: 0 0 30px rgb(255 71 112 / 48%);
}

.button-secondary {
  background: rgb(20 17 21 / 45%);
}

.button-secondary:hover {
  background: rgb(158 0 49 / 35%);
  box-shadow: 0 0 24px rgb(255 71 112 / 24%);
}

.section-pad {
  padding: 104px 0;
}

.about {
  background: var(--ink);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 23px;
  border-bottom: 1px solid rgb(240 244 239 / 22%);
}

.section-kicker {
  color: var(--muted);
}

.section-kicker span {
  color: var(--red-on-dark);
}

.section-note {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  line-height: 1.25;
  text-align: right;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: 10%;
  padding: 66px 0 78px;
}

.about-grid h2,
.apply-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.about-copy {
  max-width: 490px;
  padding-top: 8px;
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.about-copy .about-lead {
  color: var(--paper);
  font-size: 17px;
  line-height: 1.65;
}

.underlined-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--red-on-dark);
  color: var(--red-on-dark);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}

.about-ribbon {
  display: flex;
  min-height: 104px;
  align-items: center;
  gap: 22px;
  padding: 20px clamp(20px, 4vw, 44px);
  border: 1px solid rgb(240 244 239 / 16%);
  background: var(--soft);
  color: var(--paper);
}

.about-ribbon p {
  flex: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.8vw, 32px);
}

.about-ribbon strong {
  color: var(--red-on-dark);
  font-weight: 400;
  font-style: italic;
}

.ribbon-side {
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.applications {
  background: var(--ink);
}

.apply-heading {
  border-color: rgb(240 244 239 / 25%);
}

.apply-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding: 54px 0 36px;
}

.apply-intro h2 {
  max-width: 640px;
  font-size: clamp(47px, 6vw, 76px);
}

.apply-intro p {
  max-width: 275px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.application-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px 28px 22px;
  border: 1px solid rgb(240 244 239 / 18%);
  background: var(--soft);
  color: var(--paper);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.application-card:not([aria-disabled="true"]):hover {
  transform: translateY(-4px);
  border-color: var(--red-on-dark);
  background: #29171f;
  box-shadow: 0 10px 36px rgb(158 0 49 / 20%);
}

.application-card[aria-disabled="true"] {
  cursor: not-allowed;
}

.card-light {
  background: var(--soft);
  color: var(--paper);
}

.card-light:not([aria-disabled="true"]):hover {
  background: #29171f;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--red-on-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.card-arrow {
  font-size: 19px;
}

.card-content {
  padding: 30px 0 24px;
}

.card-content h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.card-content p {
  max-width: 330px;
  margin: 0;
  color: rgb(240 244 239 / 70%);
  font-size: 11px;
  line-height: 1.7;
}

.card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgb(240 244 239 / 20%);
  color: rgb(240 244 239 / 72%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.card-cta span {
  color: var(--red-on-dark);
  font-size: 15px;
}

.application-period {
  margin: 22px 0 0;
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.form-note {
  min-height: 16px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.footer-main {
  display: grid;
  min-height: 168px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  border-bottom: 1px solid rgb(240 244 239 / 18%);
}

.footer-brand-group > p {
  margin: 0;
  padding-left: 54px;
  color: rgb(240 244 239 / 70%);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}

.footer-contact {
  display: grid;
  gap: 12px;
}

.footer-contact a {
  width: fit-content;
  color: rgb(240 244 239 / 75%);
  font-size: 11px;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-contact a:hover {
  color: var(--red-on-dark);
}

.footer-contact .footer-instagram,
.footer-contact .footer-instagram:hover,
.footer-contact .footer-instagram:focus-visible {
  text-decoration: none;
}

.footer-instagram span {
  margin-left: 5px;
  color: var(--red-on-dark);
}

.footer-top {
  justify-self: end;
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.footer-top span {
  margin-left: 9px;
  color: var(--red-on-dark);
  font-size: 15px;
}

.footer-bottom {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  color: rgb(240 244 239 / 52%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

@media (max-width: 800px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .hero {
    min-height: calc(100svh - 68px);
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 12;
  }

  .primary-navigation {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--ink);
  }

  .primary-navigation.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-navigation a {
    padding: 17px 0;
    border-top: 1px solid rgb(240 244 239 / 13%);
  }

  .hero-grid {
    gap: 36px;
    padding-block: 30px 60px;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .button {
    min-width: min(100%, 168px);
    min-height: 48px;
    padding-inline: 16px;
    font-size: 10px;
  }

  .countdown-wrap {
    padding: 16px 10px;
  }

  .countdown-unit span {
    font-size: clamp(28px, 8vw, 48px);
  }

  .countdown-unit small {
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .about-grid {
    gap: 7%;
  }

  .section-pad {
    padding: 82px 0;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 4.5rem;
  }

  .container {
    width: calc(100% - 40px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 11px;
  }

  .countdown-unit span {
    font-size: clamp(28px, 8vw, 48px);
  }

  .countdown-unit small {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .section-pad {
    padding: 66px 0;
  }

  .section-heading {
    padding-bottom: 18px;
  }

  .section-kicker {
    font-size: 9px;
  }

  .section-note {
    font-size: 14px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 31px;
    padding: 43px 0 46px;
  }

  .about-grid h2 {
    font-size: clamp(58px, 14vw, 78px);
  }

  .about-copy {
    padding: 0;
  }

  .about-copy .about-lead {
    font-size: 15px;
  }

  .about-copy p {
    font-size: 12px;
  }

  .about-ribbon {
    min-height: 92px;
    gap: 12px;
    padding: 18px 16px;
  }

  .about-ribbon p {
    font-size: 21px;
  }

  .ribbon-side {
    display: none;
  }

  .apply-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 41px 0 25px;
  }

  .apply-intro h2 {
    font-size: clamp(48px, 12vw, 66px);
  }

  .apply-intro p {
    max-width: 330px;
    font-size: 11px;
  }

  .application-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .application-card {
    min-height: 250px;
    padding: 22px;
  }

  .application-period {
    font-size: 11px;
  }

  .card-content h3 {
    font-size: 30px;
  }

  .form-note {
    font-size: 9px;
    line-height: 1.6;
  }

  .footer-main {
    min-height: auto;
    grid-template-columns: 1fr auto;
    gap: 24px 12px;
    padding-block: 28px;
  }

  .footer-brand-group {
    grid-column: 1 / -1;
  }

  .footer-brand-group > p {
    padding-left: 50px;
    font-size: 15px;
  }

  .footer-contact {
    gap: 10px;
  }

  .footer-top {
    align-self: end;
    font-size: 9px;
  }

  .footer-bottom {
    min-height: 49px;
    gap: 16px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
