:root {
  color-scheme: dark;
  --background: #050506;
  --surface: #101014;
  --text: #f5f3ee;
  --muted: #b7b3ad;
  --red: #d01f31;
  --red-bright: #ff3449;
  --green: #51c878;
  --green-bright: #72e296;
  --line: rgba(255, 255, 255, 0.13);
}

* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

button,
.button {
  font: inherit;
}

.intro {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 2rem 1.25rem;
  isolation: isolate;
  background: var(--background);
}

.intro::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("assets/nvmaxel.jpg") center center / cover no-repeat;
  content: "";
}

.intro__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.intro__content {
  width: min(1500px, 100%);
  text-align: center;
}

h1,
h2 {
  font-family: Arial, Helvetica, sans-serif;
}

.intro h1 {
  max-width: none;
  margin: 0 auto;
  animation: title-rise-in 900ms ease-out both;
  font-size: clamp(2rem, 3vw, 3.7rem);
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.85);
}

.choices {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
  animation: choices-rise-in 900ms ease-out both;
}

.button {
  position: relative;
  display: inline-grid;
  min-width: 320px;
  min-height: 92px;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 1.8rem 4.5rem;
  background: transparent;
  color: white;
  font-size: clamp(2.75rem, 4vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  opacity: 1;
  visibility: visible;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  content: "";
  pointer-events: none;
}

.button span {
  position: relative;
  z-index: 1;
}

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

.button:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}

.button--yes {
  box-shadow: 0 0 0 rgba(0, 255, 120, 0);
}

.button--yes::before {
  border: 1px solid rgba(0, 255, 120, 0.85);
  background: rgba(0, 180, 80, 0.28);
}

.button--yes:hover {
  box-shadow:
    0 0 25px rgba(255, 255, 255, 0.12),
    0 0 42px rgba(0, 255, 120, 0.2);
}

.button--yes:hover::before {
  border-color: rgb(80, 255, 160);
  background: rgba(0, 180, 80, 0.38);
}

.button--no {
  box-shadow: 0 0 0 rgba(255, 80, 80, 0);
}

.button--no::before {
  border: 1px solid rgba(255, 80, 80, 0.85);
  background: rgba(200, 20, 20, 0.28);
}

.button--no:hover {
  box-shadow:
    0 0 25px rgba(255, 255, 255, 0.12),
    0 0 42px rgba(255, 80, 80, 0.2);
}

.button--no:hover::before {
  border-color: rgb(255, 125, 125);
  background: rgba(200, 20, 20, 0.38);
}

.reveal {
  background: var(--background);
}

.reveal-hero {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.portrait-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0b0b0d;
  animation: reveal-hero-in 700ms ease-out both;
}

.portrait-frame img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.portrait-frame img.is-missing {
  display: none;
}

.image-placeholder {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    linear-gradient(135deg, transparent 49.5%, var(--line) 50%, transparent 50.5%),
    linear-gradient(45deg, transparent 49.5%, var(--line) 50%, transparent 50.5%),
    radial-gradient(circle, #1a1a20, #08080a 70%);
  color: var(--muted);
  font-weight: 700;
}

.image-placeholder.is-hidden {
  display: none;
}

.scroll-arrow {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  width: min(12.5vw, 210px);
  height: 48px;
  z-index: 5;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  opacity: 0.72;
  text-decoration: none;
  cursor: pointer;
  transform: translateX(-50%) scale(1);
  transition: transform 180ms ease, opacity 180ms ease;
}

.scroll-arrow::before,
.scroll-arrow::after {
  position: absolute;
  top: 50%;
  width: 50%;
  height: 3px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.75);
  content: "";
}

.scroll-arrow::before {
  left: 0;
  transform: rotate(12deg);
  transform-origin: right center;
}

.scroll-arrow::after {
  right: 0;
  transform: rotate(-12deg);
  transform-origin: left center;
}

.scroll-arrow:hover,
.scroll-arrow:focus {
  opacity: 0.95;
  transform: translateX(-50%) scale(1.08);
}

.scroll-arrow:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.story {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background-image: url("assets/OfficeClean.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

.story::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  content: "";
  pointer-events: none;
}

.story article {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.story h1 {
  margin: 0 0 2rem;
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  line-height: 1.08;
}

.story p {
  margin: 0 0 1.4rem;
  color: #d2cfca;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.story .story-attribution {
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
}

@keyframes reveal-hero-in {
  from {
    opacity: 0;
    transform: scale(1.03);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes title-rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes choices-rise-in {
  from {
    transform: translateY(24px);
  }

  to {
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .intro h1 {
    white-space: normal;
  }

  .choices {
    gap: 1.5rem;
  }

  .button {
    min-width: min(280px, 42vw);
    padding-inline: 3rem;
  }
}

@media (max-width: 680px) {
  .choices {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: min(100%, 320px);
    min-width: 0;
    margin-inline: auto;
    padding: 1.5rem 2.5rem;
  }
}
