@font-face {
  font-family: "Integral CF";
  src: local("Integral CF Regular"), url("./fonts/Fontspring-DEMO-integralcf-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: local("Coolvetica"), url("./fonts/Coolvetica Rg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Coolvetica";
  src: local("Coolvetica Italic"), url("./fonts/Coolvetica Rg It.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: local("Geist"), url("./fonts/Geist-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --gf-pink: #ff0080;
  --gf-black: #ffffff;

  --gf-font-wordmark: "Integral CF", Arial, sans-serif;
  --gf-font-title: "Coolvetica", Arial, sans-serif;
  --gf-font-body: "Geist", Arial, sans-serif;
  --gf-integral-height: 0.8;
  --gf-integral-tracking: 0.035em;

  --gf-logo: clamp(64px, 10vw, 96px);
  --gf-h1: clamp(48px, 7vw, 72px);
  --gf-page-title: clamp(36px, 5vw, 48px);
  --gf-h2: clamp(28px, 3vw, 32px);
  --gf-h3: clamp(20px, 2.2vw, 24px);
  --gf-title: clamp(18px, 2vw, 22px);
  --gf-body: clamp(16px, 1.6vw, 18px);
  --gf-meta: clamp(14px, 1.4vw, 16px);
  --gf-button: clamp(16px, 1.5vw, 18px);
  --gf-nav: clamp(16px, 1.5vw, 18px);
  --gf-label: clamp(13px, 1.3vw, 14px);

  --gf-section-gap: clamp(40px, 6vw, 56px);
  --gf-card-gap: clamp(16px, 3vw, 24px);
  --gf-heading-margin: 24px;
  --gf-meta-margin: 8px;
  --gf-button-margin: clamp(16px, 3vw, 24px);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--gf-pink);
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--gf-pink);
  color: var(--gf-black);
  font-family: var(--gf-font-body);
  font-size: var(--gf-body);
  font-weight: 400;
  line-height: 1.45;
  text-transform: uppercase;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--gf-black);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.gf-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 56px);
}

.gf-logo {
  display: inline-block;
  margin: 0;
  font-family: var(--gf-font-wordmark);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: var(--gf-integral-tracking);
  font-kerning: normal;
  transform: scaleY(var(--gf-integral-height));
  transform-origin: left center;
}

.gf-display,
.gf-h1 {
  margin: 0;
  font-family: var(--gf-font-title);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  font-kerning: normal;
}

.gf-logo {
  font-size: var(--gf-logo);
}

.gf-logo,
.gf-intense-logo {
  animation: gf-wordmark-color 8.8s steps(1, end) infinite;
}

.gf-h1 {
  font-size: var(--gf-h1);
}

.gf-page-title {
  margin: 0;
  font-family: var(--gf-font-title);
  font-size: var(--gf-page-title);
  font-weight: 400;
  line-height: 0.95;
}

.gf-h2 {
  margin: 0 0 var(--gf-heading-margin);
  font-family: var(--gf-font-title);
  font-size: var(--gf-h2);
  font-weight: 400;
  line-height: 1.05;
  font-stretch: 96%;
  font-kerning: normal;
}

.gf-h3 {
  margin: 0;
  font-family: var(--gf-font-title);
  font-size: var(--gf-h3);
  font-weight: 400;
  line-height: 1.12;
}

.gf-title {
  margin: 0;
  font-family: var(--gf-font-title);
  font-size: var(--gf-title);
  font-weight: 400;
  line-height: 1.18;
  font-stretch: 98%;
  font-kerning: normal;
}

.gf-body {
  margin: 0;
  max-width: 62ch;
  font-family: var(--gf-font-body);
  font-size: var(--gf-body);
  font-weight: 400;
  font-kerning: normal;
}

.gf-meta {
  margin: var(--gf-meta-margin) 0 0;
  font-family: var(--gf-font-body);
  font-size: var(--gf-meta);
  font-weight: 400;
}

.gf-label,
.gf-tiny {
  font-family: var(--gf-font-body);
  font-size: var(--gf-label);
  font-weight: 400;
  line-height: 1;
}

.gf-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
  font-family: var(--gf-font-title);
  font-size: var(--gf-nav);
  font-weight: 400;
}

.gf-section {
  margin-top: var(--gf-section-gap);
}

.gf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gf-card-gap);
}

.gf-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--gf-button-margin);
}

.gf-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: var(--gf-black);
  font-family: var(--gf-font-body);
  font-size: var(--gf-button);
  font-weight: 500;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  cursor: pointer;
  font-stretch: 94%;
  font-kerning: normal;
}

.gf-button-primary {
  background: var(--gf-black);
  color: var(--gf-pink);
  text-decoration: none;
}

.gf-button-secondary {
  background: transparent;
  color: var(--gf-black);
}

.gf-form {
  display: grid;
  gap: 20px;
  width: min(560px, 100%);
}

.gf-field {
  display: grid;
  gap: 8px;
}

.gf-field label {
  font-size: var(--gf-label);
  font-weight: 400;
}

.gf-field input {
  width: 100%;
  min-height: 54px;
  border: 2px solid var(--gf-black);
  border-radius: 0;
  background: var(--gf-pink);
  color: var(--gf-black);
  padding: 0 14px;
  font-size: var(--gf-body);
  font-weight: 400;
  outline: 0;
}

.gf-field input::placeholder {
  color: var(--gf-black);
}

.gf-field input:focus {
  border-width: 4px;
}

.gf-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: clamp(32px, 8vw, 120px);
  align-items: start;
}

.gf-hero {
  min-height: min(760px, calc(100vh - 40px));
  display: grid;
  align-content: space-between;
  gap: 64px;
}

.gf-card {
  display: grid;
  gap: 12px;
}

.gf-poster {
  aspect-ratio: 2 / 3;
  background: var(--gf-black);
}

.gf-requirements {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--gf-meta);
  font-weight: 400;
}

.gf-requirements li::before {
  content: "x ";
  font-weight: 800;
}

.gf-note {
  max-width: 36ch;
  font-size: var(--gf-meta);
  font-weight: 400;
}

.gf-countdown {
  display: grid;
  gap: 10px;
  margin-top: clamp(24px, 4vw, 44px);
  max-width: 520px;
}

.gf-countdown-kicker,
.gf-countdown-message {
  margin: 0;
  font-family: var(--gf-font-body);
  font-size: var(--gf-meta);
  font-weight: 400;
}

.gf-countdown-time {
  display: inline-block;
  margin: 0;
  font-family: var(--gf-font-body);
  font-size: clamp(56px, 11vw, 150px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.gf-countdown-finished .gf-countdown-kicker {
  text-decoration: line-through;
  text-decoration-thickness: 0.08em;
}

.gf-intense {
  min-height: 100vh;
  overflow-x: hidden;
}

.gf-intense .gf-shell {
  width: 100%;
  min-height: 100vh;
  padding: clamp(16px, 3vw, 40px);
}

.gf-intense-stage {
  display: grid;
  min-height: calc(100vh - clamp(32px, 6vw, 80px));
  grid-template-rows: auto 1fr auto;
  gap: clamp(24px, 5vw, 56px);
}

.gf-intense .gf-nav {
  justify-content: space-between;
  font-size: clamp(13px, 1.6vw, 18px);
  font-family: var(--gf-font-title);
  font-weight: 400;
  font-stretch: 92%;
}

.gf-intense .gf-nav a:nth-child(1) {
  animation: gf-text-blink-a 8.7s steps(1, end) infinite;
}

.gf-intense .gf-nav a:nth-child(2) {
  animation: gf-text-blink-b 11.3s steps(1, end) infinite;
}

.gf-intense .gf-nav a:nth-child(3) {
  animation: gf-text-blink-c 9.8s steps(1, end) infinite;
}

.gf-intense-mark {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.gf-intense-logo {
  display: inline-block;
  margin: 0;
  max-width: none;
  font-family: var(--gf-font-wordmark);
  font-size: clamp(56px, 12vw, 180px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: var(--gf-integral-tracking);
  overflow-wrap: anywhere;
  transform: scaleY(var(--gf-integral-height));
  transform-origin: center;
  font-kerning: normal;
}

.gf-intense-tagline {
  margin: 0;
  max-width: 22ch;
  font-family: var(--gf-font-body);
  font-size: clamp(22px, 4vw, 64px);
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: 0;
  transform: scaleY(var(--gf-integral-height));
  transform-origin: center;
  font-kerning: normal;
  animation: gf-text-blink-b 12.4s steps(1, end) infinite;
}

@keyframes gf-wordmark-color {
  0%, 74% {
    color: #ffffff;
  }

  75%, 76% {
    color: #2cff05;
  }

  77%, 78% {
    color: #ffffff;
  }

  79%, 80% {
    color: #052cff;
  }

  81%, 92% {
    color: #ffffff;
  }

  93%, 94% {
    color: #00fff7;
  }

  95%, 100% {
    color: #ffffff;
  }
}

.gf-hero-copy {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(120px, 220px);
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
  justify-content: center;
  margin-top: clamp(22px, 4vw, 44px);
}

.gf-hero-image {
  width: min(22vw, 220px);
  min-width: 120px;
  height: auto;
  display: block;
  animation: gf-image-invert 10.6s steps(1, end) infinite;
}

.gf-color-cycle {
  animation: gf-color-cycle 4.8s steps(1, end) infinite;
}

.gf-signup-cycle {
  animation: gf-signup-cycle 1.2s steps(1, end) infinite;
}

.gf-signup-cycle .gf-button-primary {
  background: #000000;
  color: #ffffff;
  border: 3px solid #ffffff;
  text-decoration: none;
}

.gf-signup-cycle .gf-button-primary:hover,
.gf-signup-cycle .gf-button-primary:focus {
  background: #ffffff;
  color: #000000;
  outline: 0;
}

@keyframes gf-color-cycle {
  0%, 24.99% {
    background: #b026ff;
    color: #ff1818;
    --gf-pink: #b026ff;
    --gf-black: #ff1818;
  }

  25%, 49.99% {
    background: #2cff05;
    color: #ff05a9;
    --gf-pink: #2cff05;
    --gf-black: #ff05a9;
  }

  50%, 74.99% {
    background: #ffffff;
    color: #000000;
    --gf-pink: #ffffff;
    --gf-black: #000000;
  }

  75%, 100% {
    background: #2323ff;
    color: #ffff23;
    --gf-pink: #2323ff;
    --gf-black: #ffff23;
  }
}

@keyframes gf-signup-cycle {
  0%, 24.99% {
    background: #9123ff;
    color: #ff2323;
    --gf-pink: #9123ff;
    --gf-black: #ff2323;
  }

  25%, 49.99% {
    background: #ffff23;
    color: #23ff23;
    --gf-pink: #ffff23;
    --gf-black: #23ff23;
  }

  50%, 74.99% {
    background: #2323ff;
    color: #23ff23;
    --gf-pink: #2323ff;
    --gf-black: #23ff23;
  }

  75%, 100% {
    background: #000000;
    color: #ffffff;
    --gf-pink: #000000;
    --gf-black: #ffffff;
  }
}

.gf-intense-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 20px);
  justify-content: center;
  margin-top: clamp(24px, 5vw, 56px);
}

.gf-intense-actions .gf-button {
  min-height: clamp(54px, 7vw, 76px);
  padding: 0 clamp(18px, 3vw, 34px);
  font-size: clamp(18px, 2.4vw, 30px);
}

.gf-intense-actions .gf-button-primary {
  background: transparent;
  color: var(--gf-black);
  text-decoration: underline;
}

.gf-intense-actions .gf-button:nth-child(1) {
  animation: gf-text-blink-c 10.9s steps(1, end) infinite;
}

.gf-intense-actions .gf-button:nth-child(2) {
  animation: gf-text-blink-a 13.1s steps(1, end) infinite;
}

.gf-intense-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 3px solid var(--gf-black);
  border-bottom: 3px solid var(--gf-black);
}

.gf-intense-item {
  min-height: clamp(96px, 13vw, 160px);
  padding: clamp(12px, 2vw, 24px);
  border-right: 3px solid var(--gf-black);
  display: grid;
  align-content: space-between;
}

.gf-intense-item:last-child {
  border-right: 0;
}

.gf-intense-item b {
  font-family: var(--gf-font-title);
  font-size: clamp(16px, 2vw, 28px);
  font-weight: 400;
  line-height: 0.98;
  font-stretch: 92%;
}

.gf-intense-item:nth-child(1) b,
.gf-intense-item:nth-child(3) span {
  animation: gf-text-blink-b 12.9s steps(1, end) infinite;
}

.gf-intense-item:nth-child(2) b,
.gf-intense-item:nth-child(4) span {
  animation: gf-text-blink-c 9.4s steps(1, end) infinite;
}

.gf-intense-item:nth-child(3) b,
.gf-intense-item:nth-child(1) span {
  animation: gf-text-blink-a 14.2s steps(1, end) infinite;
}

.gf-intense-item:nth-child(4) b,
.gf-intense-item:nth-child(2) span {
  animation: gf-text-blink-d 11.7s steps(1, end) infinite;
}

.gf-intense-item span {
  font-size: var(--gf-label);
  font-weight: 700;
}

.gf-watch-row {
  display: grid;
  gap: 18px;
}

.gf-watch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 3px solid var(--gf-black);
  border-bottom: 3px solid var(--gf-black);
}

.gf-watch-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 170px;
  padding: clamp(14px, 2vw, 24px);
  border-right: 3px solid var(--gf-black);
}

.gf-watch-card:last-child {
  border-right: 0;
}

.gf-watch-warning {
  margin: 0;
  font-family: var(--gf-font-body);
  font-weight: 900;
}

.gf-watch-timer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: baseline;
}

.gf-song-timer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: baseline;
}

.gf-song-timer[hidden] {
  display: none;
}

#watchPressureCountdown,
#songPressureCountdown {
  font-family: var(--gf-font-body);
  font-size: clamp(34px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

#songPressureWarning {
  margin: 0;
  font-family: var(--gf-font-body);
  font-weight: 900;
}

.gf-emergency {
  animation: gf-emergency-flash 0.24s steps(1, end) infinite;
}

@keyframes gf-emergency-flash {
  0%, 32% {
    background: #ff0000;
    color: #ffffff;
    --gf-pink: #ff0000;
    --gf-black: #ffffff;
  }

  33%, 65% {
    background: #000000;
    color: #ffffff;
    --gf-pink: #000000;
    --gf-black: #ffffff;
  }

  66%, 100% {
    background: #ffffff;
    color: #000000;
    --gf-pink: #ffffff;
    --gf-black: #000000;
  }
}

@media (max-width: 900px) {
  .gf-split,
  .gf-grid {
    grid-template-columns: 1fr;
  }

  .gf-hero {
    min-height: auto;
  }

  .gf-intense-strip {
    grid-template-columns: 1fr 1fr;
  }

  .gf-watch-grid {
    grid-template-columns: 1fr;
  }

  .gf-watch-card {
    border-right: 0;
    border-bottom: 3px solid var(--gf-black);
  }

  .gf-watch-card:last-child {
    border-bottom: 0;
  }

  .gf-intense-item:nth-child(2) {
    border-right: 0;
  }

  .gf-intense-item:nth-child(-n + 2) {
    border-bottom: 3px solid var(--gf-black);
  }

  .gf-hero-copy {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .gf-intense-tagline {
    max-width: 14ch;
  }

  .gf-hero-image {
    width: min(48vw, 180px);
  }
}

@keyframes gf-text-blink-a {
  0%, 72% { color: var(--gf-black); }
  73%, 74% { color: #2cff05; }
  75%, 76% { color: var(--gf-black); }
  77%, 78% { color: #052cff; }
  79%, 100% { color: var(--gf-black); }
}

@keyframes gf-text-blink-b {
  0%, 38% { color: var(--gf-black); }
  39%, 40% { color: #00fff7; }
  41%, 42% { color: var(--gf-black); }
  43%, 44% { color: #2cff05; }
  45%, 100% { color: var(--gf-black); }
}

@keyframes gf-text-blink-c {
  0%, 84% { color: var(--gf-black); }
  85%, 86% { color: #052cff; }
  87%, 88% { color: var(--gf-black); }
  89%, 90% { color: #00fff7; }
  91%, 100% { color: var(--gf-black); }
}

@keyframes gf-text-blink-d {
  0%, 57% { color: var(--gf-black); }
  58%, 59% { color: #2cff05; }
  60%, 61% { color: var(--gf-black); }
  62%, 63% { color: #052cff; }
  64%, 100% { color: var(--gf-black); }
}

@keyframes gf-image-invert {
  0%, 67% {
    filter: none;
  }

  68%, 69% {
    filter: invert(1);
  }

  70%, 71% {
    filter: none;
  }

  72%, 73% {
    filter: invert(1);
  }

  74%, 100% {
    filter: none;
  }
}
