:root {
  color-scheme: dark;
  --black: #080908;
  --black-soft: #111210;
  --cream: #f2eee5;
  --muted: #c5c0b7;
  --gold: #dfc27d;
  --gold-deep: #a98132;
  --line: rgba(223, 194, 125, .35);
  --content: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--cream);
  background: var(--black);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.launch-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.background,
.shade,
.texture {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.background {
  background:
    var(--black)
    url("iv42-gym-background.jpg")
    center center / cover no-repeat;
  animation: background-breathe 18s ease-in-out infinite alternate;
}

.shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 5, 4, .96) 0%, rgba(4, 5, 4, .79) 42%, rgba(4, 5, 4, .34) 73%, rgba(4, 5, 4, .64) 100%),
    linear-gradient(180deg, rgba(4, 5, 4, .58), transparent 32%, rgba(4, 5, 4, .84));
}

.texture {
  z-index: -1;
  opacity: .55;
  background:
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(223, 194, 125, .025) 18px 19px),
    linear-gradient(90deg, rgba(223, 194, 125, .08), transparent 1px);
  background-size: auto, 100% 100%;
}

.site-head,
.launch-content,
.site-foot {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.site-head {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand-logo {
  width: clamp(220px, 24vw, 330px);
  height: auto;
  display: block;
}

.contact-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--cream);
  transform: translateY(-1px);
}

.contact-link svg,
.action svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.launch-content {
  align-self: center;
  padding-block: clamp(40px, 7vh, 90px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: clamp(.72rem, 1.2vw, .86rem);
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--cream);
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-size: clamp(4rem, 9vw, 8.7rem);
  font-weight: 800;
  line-height: .82;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  display: block;
  color: var(--gold);
}

.launch-message {
  max-width: 690px;
  margin: clamp(26px, 4vh, 42px) 0 0;
  color: var(--cream);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.launch-message strong {
  color: var(--gold);
  white-space: nowrap;
}

.supporting-copy {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(.9rem, 1.35vw, 1rem);
  line-height: 1.6;
}

.countdown {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 4vh, 40px);
  border-block: 1px solid var(--line);
}

.time-part {
  position: relative;
  min-height: 94px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 16px clamp(10px, 2vw, 22px);
}

.time-part + .time-part::before {
  content: "";
  position: absolute;
  inset: 20px auto 20px 0;
  width: 1px;
  background: var(--line);
}

.time-part strong {
  color: var(--cream);
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.time-part span {
  margin-top: 6px;
  color: var(--gold);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.countdown-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(8, 9, 8, .54);
  font-size: .76rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.action:hover,
.action:focus-visible {
  border-color: var(--gold);
  color: var(--black);
  background: var(--gold);
  transform: translateY(-2px);
}

.action-primary {
  border-color: var(--gold);
  color: var(--black);
  background: var(--gold);
}

.action-primary:hover,
.action-primary:focus-visible {
  color: var(--black);
  background: var(--cream);
}

.action-primary svg {
  fill: currentColor;
  stroke: none;
}

.icon-dot {
  fill: currentColor;
  stroke: none;
}

.site-foot {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.is-live .countdown {
  grid-template-columns: 1fr;
}

.is-live .time-part {
  display: none;
}

.is-live .countdown::before {
  content: "THE WEBSITE IS NOW LIVE";
  padding: 24px 0;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .08em;
}

@keyframes background-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@media (max-width: 720px) {
  .launch-page {
    min-height: 100svh;
  }

  .background {
    background-position: 66% center;
  }

  .shade {
    background:
      linear-gradient(180deg, rgba(4, 5, 4, .82) 0%, rgba(4, 5, 4, .5) 34%, rgba(4, 5, 4, .9) 100%),
      linear-gradient(90deg, rgba(4, 5, 4, .86), rgba(4, 5, 4, .38));
  }

  .site-head,
  .launch-content,
  .site-foot {
    width: min(100% - 30px, var(--content));
  }

  .site-head {
    min-height: 84px;
  }

  .brand-logo {
    width: min(218px, 62vw);
  }

  .contact-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .contact-link {
    width: 44px;
    height: 44px;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .launch-content {
    padding-block: clamp(30px, 5vh, 52px);
  }

  h1 {
    font-size: clamp(3.25rem, 16.3vw, 5rem);
    line-height: .86;
  }

  .launch-message {
    margin-top: 24px;
    font-size: 1rem;
  }

  .supporting-copy {
    font-size: .84rem;
  }

  .countdown {
    margin-top: 24px;
  }

  .time-part {
    min-height: 76px;
    padding: 12px 8px;
  }

  .time-part strong {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }

  .time-part span {
    font-size: .58rem;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 22px;
  }

  .action {
    min-width: 0;
    padding-inline: 12px;
    font-size: .67rem;
  }

  .site-foot {
    min-height: 56px;
    font-size: .6rem;
  }

  .site-foot span:last-child {
    text-align: right;
  }
}

@media (max-width: 380px) {
  .launch-message strong {
    white-space: normal;
  }

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

  .action {
    padding-inline: 6px;
    font-size: .57rem;
  }

  .site-foot span:last-child {
    display: none;
  }
}

@media (max-height: 650px) and (max-width: 720px) {
  .site-head {
    min-height: 68px;
  }

  .brand-logo {
    width: min(188px, 60vw);
  }

  .contact-link {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .launch-content {
    padding-block: 14px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: .6rem;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 3.25rem);
  }

  .launch-message {
    margin-top: 14px;
    font-size: .88rem;
    line-height: 1.4;
  }

  .supporting-copy {
    display: none;
  }

  .countdown {
    margin-top: 14px;
  }

  .time-part {
    min-height: 60px;
    padding: 8px 5px;
  }

  .time-part strong {
    font-size: 1.65rem;
  }

  .time-part span {
    margin-top: 4px;
    font-size: .5rem;
  }

  .actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
  }

  .action {
    min-height: 44px;
  }

  .site-foot {
    min-height: 40px;
  }
}

@media (max-height: 800px) and (min-width: 721px) {
  .site-head {
    min-height: 76px;
  }

  .brand-logo {
    width: clamp(220px, 22vw, 270px);
  }

  .launch-content {
    padding-block: 16px;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  h1 {
    font-size: clamp(4rem, 7vw, 5.7rem);
  }

  .launch-message {
    margin-top: 16px;
  }

  .supporting-copy {
    margin-top: 6px;
  }

  .countdown {
    margin-top: 16px;
  }

  .time-part {
    min-height: 66px;
  }

  .actions {
    margin-top: 16px;
  }

  .site-foot {
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
