:root {
  --black: #080808;
  --ink: #111111;
  --cream: #fff6de;
  --paper: #f6eee0;
  --white: #ffffff;
  --red: #e3291d;
  --deep-red: #9d130c;
  --yellow: #ffd82e;
  --blue: #1a66cc;
  --cyan: #16b8d4;
  --green: #22a65a;
  --purple: #6a45a7;
  --border: #111111;
  --shadow: 8px 8px 0 #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(8, 8, 8, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 8, 8, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 22px 22px;
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, 0.7) 3px),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.35), transparent 18%);
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 10px 24px;
  color: var(--white);
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 4px solid var(--yellow);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.45rem;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 2px solid var(--white);
  border-radius: 50%;
}

.brand span {
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

nav a {
  padding: 8px 0;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a:focus-visible {
  border-color: var(--red);
}

.copy-ticker,
.primary-action,
.secondary-action,
.ca-action,
.twitter-action,
.site-footer button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  color: var(--black);
  font-weight: 900;
  text-transform: uppercase;
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--red);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.copy-ticker:hover,
.primary-action:hover,
.secondary-action:hover,
.ca-action:hover,
.twitter-action:hover,
.site-footer button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--red);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  border-bottom: 8px solid var(--black);
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.42) 34%, rgba(0, 0, 0, 0.04) 62%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(620px, 43vw);
  min-height: calc(100vh - 72px);
  padding: 76px 0 68px 48px;
}

.hero-text {
  min-width: 0;
  padding: 24px 0;
}

.flight-tag,
.section-kicker {
  margin: 0 0 12px;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 var(--red);
}

.hero-line {
  max-width: 680px;
  margin: 12px 0 0;
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 560px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.secondary-action {
  color: var(--white);
  background: var(--red);
  box-shadow: 4px 4px 0 var(--yellow);
}

.ca-action {
  background: var(--white);
  box-shadow: 4px 4px 0 var(--yellow);
}

.twitter-action,
.footer-twitter {
  color: var(--white);
  background: var(--blue);
  border: 3px solid var(--black);
  border-radius: 6px;
  box-shadow: 4px 4px 0 var(--yellow);
}

.footer-twitter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.footer-twitter:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--yellow);
}

.ticker-rail {
  overflow: hidden;
  color: var(--yellow);
  background: var(--black);
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid var(--red);
}

.rail-track {
  display: flex;
  width: max-content;
  animation: rail 30s linear infinite;
}

.rail-track span {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 28px;
  font-family: "Courier New", monospace;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  border-right: 2px dashed rgba(255, 216, 46, 0.45);
}

@keyframes rail {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.arrivals-section {
  background: var(--cream);
}

.arrivals-layout,
.joke-layout,
.hot-water-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 42px;
}

.arrivals-copy h2,
.joke-copy h2,
.section-heading h2,
.hot-water-layout h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 4rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.arrivals-copy p:not(.section-kicker),
.joke-copy p,
.hot-water-layout p {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 1.18rem;
  line-height: 1.5;
  font-weight: 750;
}

.flight-board {
  padding: 14px;
  color: var(--white);
  background: #050505;
  border: 5px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.board-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  color: var(--white);
  font-weight: 900;
  background: #171717;
}

.board-head span:last-child {
  color: var(--yellow);
}

.board-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  margin-top: 10px;
  padding: 12px;
  font-family: "Courier New", monospace;
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: uppercase;
  background-image:
    radial-gradient(currentColor 1px, transparent 1px);
  background-size: 5px 5px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  animation: ledFlicker 3.5s steps(2, end) infinite;
}

.board-row.danger {
  color: #ff3a2c;
}

.board-row.warm {
  color: var(--yellow);
}

.board-row.blue {
  color: var(--cyan);
}

.board-row.green {
  color: #64ff92;
}

@keyframes ledFlicker {
  0%,
  94%,
  100% {
    opacity: 1;
  }
  95% {
    opacity: 0.72;
  }
  97% {
    opacity: 0.95;
  }
}

.joke-section {
  color: var(--white);
  background: #111111;
  border-top: 7px solid var(--red);
  border-bottom: 7px solid var(--yellow);
}

.joke-layout {
  grid-template-columns: 0.82fr 1fr;
}

.poster {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 5px solid var(--white);
  border-radius: 8px;
  box-shadow: 10px 10px 0 var(--red);
  transform: rotate(-1.2deg);
}

.quote-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  margin-top: 28px;
  padding: 18px;
  color: var(--black);
  background: var(--yellow);
  border: 4px solid var(--white);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--red);
  font-weight: 900;
}

.quote-card strong {
  color: var(--deep-red);
  text-transform: uppercase;
}

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

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.manifest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bag-tag {
  position: relative;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  border: 4px solid var(--black);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.bag-tag::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 54px;
  height: 34px;
  content: "";
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  transform: rotate(8deg);
}

.bag-tag span {
  display: block;
  font-weight: 900;
}

.bag-tag h3 {
  margin: 28px 0 10px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 3.3rem;
}

.bag-tag p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 800;
}

.bag-tag.red {
  background: var(--red);
}

.bag-tag.green {
  background: var(--green);
}

.bag-tag.yellow {
  color: var(--black);
  background: var(--yellow);
}

.bag-tag.blue {
  background: var(--blue);
}

.bag-tag.purple {
  background: var(--purple);
}

.bag-tag.black {
  background: var(--black);
}

.hot-water-section {
  color: var(--black);
  background: #f9d94f;
  border-top: 7px solid var(--black);
  border-bottom: 7px solid var(--black);
}

.hot-water-layout {
  grid-template-columns: 340px 1fr;
}

.cup {
  position: relative;
  display: grid;
  place-items: center;
  width: 280px;
  height: 340px;
  margin: 0 auto;
  color: var(--black);
  background: var(--white);
  border: 5px solid var(--black);
  border-radius: 8px 8px 42px 42px;
  box-shadow: 12px 12px 0 var(--red);
  transform: rotate(-3deg);
}

.cup::after {
  position: absolute;
  right: -68px;
  top: 92px;
  width: 72px;
  height: 96px;
  content: "";
  border: 18px solid var(--black);
  border-left: 0;
  border-radius: 0 80px 80px 0;
}

.cup strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 3.8rem;
  line-height: 0.9;
  text-align: center;
}

.steam {
  position: absolute;
  bottom: 334px;
  width: 18px;
  height: 90px;
  border-left: 5px solid rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  animation: steam 2.2s ease-in-out infinite;
}

.steam.one {
  left: 82px;
}

.steam.two {
  left: 132px;
  animation-delay: 0.35s;
}

.steam.three {
  left: 182px;
  animation-delay: 0.7s;
}

@keyframes steam {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.9) rotate(8deg);
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(1.1) rotate(-8deg);
  }
}

.boarding-section {
  color: var(--white);
  background: #101a2d;
}

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

.timeline article {
  min-height: 235px;
  padding: 20px;
  color: var(--black);
  background: var(--white);
  border: 4px solid var(--black);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--red);
}

.timeline article:nth-child(2) {
  box-shadow: 6px 6px 0 var(--yellow);
}

.timeline article:nth-child(3) {
  box-shadow: 6px 6px 0 var(--cyan);
}

.timeline article:nth-child(4) {
  box-shadow: 6px 6px 0 var(--green);
}

.timeline span {
  display: inline-block;
  padding: 5px 8px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  background: var(--black);
}

.timeline h3 {
  margin: 18px 0 10px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.timeline p {
  margin: 0;
  font-weight: 800;
  line-height: 1.35;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px;
  color: var(--white);
  background: var(--black);
  border-top: 5px solid var(--yellow);
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2rem;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.copy-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  padding: 12px 16px;
  color: var(--black);
  font-weight: 900;
  background: var(--yellow);
  border: 3px solid var(--black);
  border-radius: 8px;
  box-shadow: 5px 5px 0 var(--red);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 16px 14px;
  }

  nav {
    order: 3;
    width: 100%;
    gap: 14px;
    font-size: 0.9rem;
  }

  .hero-content {
    width: min(560px, 64vw);
    min-height: calc(100vh - 132px);
    padding: 56px 0 54px 28px;
  }

  h1 {
    font-size: 4.8rem;
  }

  .hero-line {
    font-size: 1.7rem;
  }

  .arrivals-layout,
  .joke-layout,
  .hot-water-layout {
    grid-template-columns: 1fr;
  }

  .hot-water-layout {
    gap: 70px;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    position: relative;
  }

  .brand span {
    font-size: 1.2rem;
  }

  nav {
    display: none;
  }

  .copy-ticker {
    width: 100%;
  }

  .hero {
    min-height: calc(100vh - 132px);
  }

  .hero-visual {
    min-height: 100%;
  }

  .hero-bg {
    object-position: 39% center;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.5) 42%, rgba(0, 0, 0, 0.04) 70%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.45), transparent 70%);
  }

  .hero-content {
    width: 100%;
    min-height: calc(100vh - 132px);
    align-items: end;
    padding: 44vh 18px 38px;
  }

  h1 {
    font-size: 3.25rem;
    text-shadow: 4px 4px 0 var(--red);
  }

  .hero-line {
    font-size: 1.35rem;
  }

  .hero-copy {
    max-width: 310px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-actions .primary-action,
  .hero-actions .ca-action,
  .hero-actions .twitter-action {
    width: auto;
    min-height: 42px;
    padding: 9px 5px;
    font-size: 0.82rem;
  }

  .hero-actions .primary-action {
    display: none;
  }

  .hero-actions .twitter-action {
    grid-column: auto;
  }

  .section-shell {
    width: min(100% - 26px, 1160px);
    padding: 58px 0;
  }

  .arrivals-copy h2,
  .joke-copy h2,
  .section-heading h2,
  .hot-water-layout h2 {
    font-size: 2.65rem;
  }

  .board-head {
    display: grid;
  }

  .board-row {
    grid-template-columns: 1fr;
    gap: 2px;
    font-size: 1.05rem;
  }

  .manifest-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .cup {
    width: 210px;
    height: 270px;
  }

  .cup::after {
    right: -54px;
    top: 76px;
    width: 58px;
    height: 76px;
    border-width: 14px;
  }

  .cup strong {
    font-size: 2.8rem;
  }

  .steam {
    bottom: 264px;
  }

  .steam.one {
    left: 56px;
  }

  .steam.two {
    left: 98px;
  }

  .steam.three {
    left: 140px;
  }

  .site-footer {
    display: grid;
    padding: 24px 18px;
  }

  .footer-actions {
    justify-content: stretch;
  }

  .footer-actions > * {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
