:root {
  color-scheme: light;
  --ink: #0c2947;
  --orange: #ff7a18;
  --cream: #fff5df;
  --white: #ffffff;
  --px: 0px;
  --py: 0px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #156fbd;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

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

.scene,
.scene__image,
.scene__wash,
.scene__sunbeam,
.scene__dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene {
  z-index: -2;
  overflow: hidden;
  background: #2586d3;
}

.scene__image {
  object-fit: cover;
  object-position: 58% center;
  transform: translate(var(--px), var(--py)) scale(1.035);
  animation: camera-drift 14s ease-in-out infinite alternate;
  will-change: transform;
}

.scene__wash {
  background:
    linear-gradient(90deg, rgba(19, 106, 177, 0.18) 0%, rgba(29, 123, 198, 0.02) 47%, rgba(12, 41, 71, 0.04) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(12, 41, 71, 0.08));
}

.scene__sunbeam {
  inset: -35%;
  width: 170%;
  height: 170%;
  background: radial-gradient(circle, rgba(255, 245, 223, 0.3) 0 8%, transparent 30%);
  mix-blend-mode: screen;
  animation: light-sweep 11s ease-in-out infinite alternate;
}

.scene__dust {
  pointer-events: none;
  opacity: 0.55;
}

.topbar,
.hero,
.footer {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.mark {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(10, 50, 88, 0.14);
  box-shadow: 0 10px 30px rgba(12, 41, 71, 0.1);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 122, 24, 0.7);
  animation: status-pulse 2s ease-out infinite;
}

.hero {
  align-self: center;
  padding-bottom: 3vh;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  font-size: 0.72rem;
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  margin: 0;
  color: var(--white);
  font-size: clamp(4.25rem, 11.5vw, 10.25rem);
  font-family: "Arial Rounded MT Bold", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.82;
  text-shadow: 0 18px 50px rgba(12, 41, 71, 0.16);
}

h1 span {
  display: block;
}

.hero__accent {
  position: relative;
  width: max-content;
  margin-top: 0.22em;
  color: var(--orange);
}

.hero__accent::after {
  position: absolute;
  right: -0.06em;
  bottom: -0.14em;
  left: 0.08em;
  height: 0.08em;
  border-radius: 999px;
  background: var(--cream);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  animation: draw-line 1s 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro {
  margin: 38px 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 580;
  line-height: 1.55;
  text-shadow: 0 3px 20px rgba(12, 41, 71, 0.2);
}

.footer {
  display: grid;
  grid-template-columns: minmax(140px, 260px) auto 1fr;
  align-items: center;
  gap: 18px;
  padding-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer p {
  margin: 0;
}

.footer__year {
  justify-self: end;
}

.progress {
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 99px;
  background: rgba(12, 41, 71, 0.12);
}

.progress__track {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background:
    repeating-linear-gradient(-45deg, transparent 0 7px, rgba(255, 255, 255, 0.28) 7px 12px),
    var(--orange);
  background-size: 17px 17px;
  animation: progress-stripes 0.85s linear infinite;
}

.tape {
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 30px;
  background: repeating-linear-gradient(135deg, var(--ink) 0 18px, var(--orange) 18px 36px);
  box-shadow: 0 8px 20px rgba(12, 41, 71, 0.14);
  opacity: 0.92;
}

.tape--top {
  top: 17%;
  right: -65px;
  transform: rotate(8deg);
  animation: tape-float 5s ease-in-out infinite alternate;
}

.tape--bottom {
  bottom: 16%;
  left: -95px;
  transform: rotate(-8deg);
  animation: tape-float 6s 0.8s ease-in-out infinite alternate-reverse;
}

@keyframes camera-drift {
  0% {
    transform: translate(calc(var(--px) - 0.5%), calc(var(--py) - 0.2%)) scale(1.035);
  }
  100% {
    transform: translate(calc(var(--px) + 0.65%), calc(var(--py) + 0.3%)) scale(1.055);
  }
}

@keyframes light-sweep {
  from {
    transform: translate(-7%, -2%);
  }
  to {
    transform: translate(8%, 4%);
  }
}

@keyframes draw-line {
  to {
    transform: scaleX(1);
  }
}

@keyframes status-pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(255, 122, 24, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 122, 24, 0);
  }
}

@keyframes progress-stripes {
  to {
    background-position: 17px 0;
  }
}

@keyframes tape-float {
  to {
    translate: 0 10px;
  }
}

@media (max-width: 760px) {
  body {
    overflow-y: auto;
  }

  .site-shell {
    min-height: 100svh;
  }

  .scene__image {
    object-position: 68% center;
  }

  .scene__wash {
    background: linear-gradient(180deg, rgba(17, 104, 175, 0.12), rgba(12, 41, 71, 0.26));
  }

  .topbar,
  .hero,
  .footer {
    width: min(100% - 36px, 1440px);
  }

  .topbar {
    padding-top: 23px;
  }

  .mark {
    font-size: 0.75rem;
  }

  .status {
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .hero {
    align-self: end;
    padding-bottom: 12vh;
  }

  .eyebrow {
    max-width: 240px;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  h1 {
    font-size: clamp(4.1rem, 21vw, 7rem);
  }

  .intro {
    margin-top: 30px;
    font-size: 1rem;
  }

  .footer {
    grid-template-columns: 1fr auto;
    padding-bottom: 22px;
  }

  .progress {
    grid-column: 1 / -1;
    width: min(66vw, 260px);
  }

  .footer__year {
    justify-self: end;
  }

  .tape--top {
    top: 23%;
    right: -130px;
  }

  .tape--bottom {
    display: none;
  }
}

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