:root {
  --bg: #040404;
  --bg-deep: #090909;
  --text: #f3eee3;
  --muted: rgba(243, 238, 227, 0.72);
  --line: rgba(243, 238, 227, 0.12);
  --line-strong: rgba(243, 238, 227, 0.24);
  --lime: #d6ff38;
  --lime-soft: rgba(214, 255, 56, 0.18);
  --shadow: 0 32px 120px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(214, 255, 56, 0.06), transparent 20%),
    radial-gradient(circle at 88% 80%, rgba(214, 255, 56, 0.05), transparent 22%),
    linear-gradient(180deg, #060606 0%, #030303 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 20;
  width: 100%;
  height: 3px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(214, 255, 56, 0.18), var(--lime) 40%, rgba(214, 255, 56, 0.2));
  box-shadow: 0 0 24px rgba(214, 255, 56, 0.3);
}

.site-shell {
  position: relative;
  min-height: 240vh;
  overflow: clip;
}

.stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  overflow: hidden;
}

.noise,
.grid-overlay,
.scanline,
.radial,
.frame,
.wordmark {
  pointer-events: none;
}

.noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 35% 75%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 64% 88%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px);
  background-size: 22px 22px, 28px 28px, 24px 24px, 32px 32px;
  mix-blend-mode: screen;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(243, 238, 227, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 238, 227, 0.045) 1px, transparent 1px);
  background-size: min(7.2vw, 84px) min(7.2vw, 84px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.1) 68%, transparent 100%);
}

.scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  z-index: 1;
  height: 22%;
  background: linear-gradient(180deg, rgba(214, 255, 56, 0), rgba(214, 255, 56, 0.12), rgba(214, 255, 56, 0));
  mix-blend-mode: screen;
  filter: blur(12px);
  opacity: 0.75;
}

.radial {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.42;
}

.radial-a {
  width: 30vw;
  height: 30vw;
  top: -8vw;
  left: -8vw;
  background: rgba(214, 255, 56, 0.12);
}

.radial-b {
  width: 34vw;
  height: 34vw;
  right: -10vw;
  bottom: -18vw;
  background: rgba(214, 255, 56, 0.08);
}

.wordmark {
  position: absolute;
  z-index: 1;
  margin: 0;
  color: rgba(243, 238, 227, 0.98);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.78;
  text-wrap: balance;
  max-width: 0;
  overflow: visible;
  white-space: normal;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.35);
  will-change: transform, opacity;
}

.wordmark-top {
  top: 2vh;
  left: 1.2vw;
  width: min(68vw, 960px);
  font-size: clamp(7rem, 16vw, 15.5rem);
}

.wordmark-bottom {
  left: -1vw;
  bottom: -1vh;
  width: min(58vw, 840px);
  font-size: clamp(7rem, 15vw, 14.5rem);
  opacity: 0.9;
}

.poster-grid {
  position: relative;
  z-index: 3;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(16, minmax(0, 1fr));
  padding: clamp(18px, 2vw, 28px);
}

.module {
  position: relative;
  padding: 1rem 1rem 1.15rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow);
  will-change: transform, opacity, filter;
}

.module::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(214, 255, 56, 0.03), transparent 45%);
}

.module::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 15px;
  width: 15px;
  height: calc(100% - 15px);
  border-top: 1px solid rgba(214, 255, 56, 0.24);
  border-right: 1px solid rgba(214, 255, 56, 0.24);
  opacity: 0.9;
}

.module-overview {
  grid-column: 6 / span 3;
  grid-row: 5 / span 3;
  max-width: 29rem;
}

.module-policy {
  grid-column: 9 / span 4;
  grid-row: 4 / span 4;
}

.module-offer {
  grid-column: 8 / span 5;
  grid-row: 10 / span 3;
}

.module-contact {
  grid-column: 6 / span 7;
  grid-row: 14 / span 2;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.eyebrow,
.section-title,
.body-copy,
.policy-list,
.offer-list,
.contact-link {
  position: relative;
  z-index: 2;
  margin: 0;
}

.eyebrow,
.section-title {
  font-size: clamp(1rem, 0.95vw + 0.72rem, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.eyebrow,
.section-title {
  margin-bottom: 0.85rem;
}

.body-copy {
  max-width: 22rem;
  color: var(--muted);
  font-size: clamp(0.96rem, 0.34vw + 0.85rem, 1.13rem);
  line-height: 1.75;
}

.policy-list,
.offer-list {
  list-style: none;
  padding: 0;
}

.policy-list {
  display: grid;
  gap: 0.78rem;
  max-width: 26rem;
  color: var(--muted);
  font-size: clamp(0.93rem, 0.28vw + 0.87rem, 1.06rem);
  line-height: 1.64;
}

.offer-list {
  display: grid;
  gap: 0.5rem;
}

.policy-list li,
.offer-list li {
  position: relative;
  padding-left: 1.15rem;
}

.policy-list li::before,
.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(214, 255, 56, 0.42);
}

.offer-list li {
  color: var(--text);
  font-size: clamp(1.5rem, 2.2vw, 2.65rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.offer-list li::before {
  top: 0.52em;
}

.contact-link {
  color: var(--lime);
  font-size: clamp(1rem, 1.08vw + 0.72rem, 1.44rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(214, 255, 56, 0.58);
  text-shadow: 0 0 0 rgba(214, 255, 56, 0);
  transition: color 220ms ease, border-color 220ms ease, text-shadow 220ms ease, transform 220ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #f0ffb2;
  border-color: #f0ffb2;
  text-shadow: 0 0 18px rgba(214, 255, 56, 0.42);
  transform: translateY(-1px);
}

.frame {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(243, 238, 227, 0.12);
  opacity: 0.72;
  will-change: transform, opacity;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  border-color: rgba(214, 255, 56, 0.22);
  border-style: solid;
}

.frame-a {
  top: 27vh;
  left: 60vw;
  width: min(22vw, 340px);
  height: min(18vw, 240px);
}

.frame-a::before {
  inset: -16px 16px 16px -16px;
  border-width: 1px 0 0 1px;
}

.frame-a::after {
  inset: 16px -16px -16px 16px;
  border-width: 0 1px 1px 0;
}

.frame-b {
  left: 2vw;
  bottom: 15vh;
  width: min(17vw, 260px);
  height: min(12vw, 190px);
}

.frame-b::before {
  inset: -14px 14px 14px -14px;
  border-width: 1px 0 0 1px;
}

.frame-b::after {
  inset: 14px -14px -14px 14px;
  border-width: 0 1px 1px 0;
}

.frame-c {
  right: 9vw;
  bottom: 8vh;
  width: min(28vw, 420px);
  height: min(8vw, 120px);
  border-color: rgba(214, 255, 56, 0.16);
}

.frame-c::before {
  inset: -10px 10px 10px -10px;
  border-width: 1px 0 0 1px;
}

.frame-c::after {
  inset: 10px -10px -10px 10px;
  border-width: 0 1px 1px 0;
}

.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 32px, 0) rotate(0deg);
  transition: opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 900ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  filter: blur(0);
}

.module-overview.reveal.in-view {
  transition-delay: 0ms;
}

.module-policy.reveal.in-view {
  transition-delay: 80ms;
}

.module-offer.reveal.in-view {
  transition-delay: 160ms;
}

.module-contact.reveal.in-view {
  transition-delay: 220ms;
}

@media (max-width: 980px) {
  .site-shell {
    min-height: 220vh;
  }

  .wordmark-top {
    width: min(80vw, 820px);
    font-size: clamp(5.6rem, 17vw, 10rem);
  }

  .wordmark-bottom {
    width: min(70vw, 620px);
    font-size: clamp(5rem, 15vw, 9.2rem);
  }

  .poster-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-rows: repeat(18, minmax(0, 1fr));
  }

  .module-overview {
    grid-column: 4 / span 4;
    grid-row: 6 / span 3;
  }

  .module-policy {
    grid-column: 5 / span 4;
    grid-row: 4 / span 5;
  }

  .module-offer {
    grid-column: 4 / span 5;
    grid-row: 11 / span 3;
  }

  .module-contact {
    grid-column: 4 / span 5;
    grid-row: 15 / span 2;
    display: block;
  }

  .module-contact .eyebrow {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 680px) {
  html {
    scroll-behavior: auto;
  }

  .site-shell {
    min-height: auto;
  }

  .stage {
    position: relative;
    min-height: auto;
  }

  .grid-overlay {
    background-size: 52px 52px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 88%);
  }

  .scanline {
    height: 12rem;
  }

  .wordmark {
    line-height: 0.82;
  }

  .wordmark-top {
    top: 1rem;
    left: 0.55rem;
    width: 92vw;
    font-size: clamp(4.4rem, 23vw, 7.8rem);
  }

  .wordmark-bottom {
    left: -0.45rem;
    bottom: 0.4rem;
    width: 92vw;
    font-size: clamp(4rem, 21vw, 7rem);
    opacity: 0.14;
  }

  .poster-grid {
    display: block;
    height: auto;
    padding: 9.4rem 1rem 8rem;
  }

  .module {
    margin-bottom: 1rem;
    padding: 0.92rem 0.92rem 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0));
  }

  .module::after {
    right: -10px;
    top: 10px;
    width: 10px;
    height: calc(100% - 10px);
  }

  .module-overview,
  .module-policy,
  .module-offer,
  .module-contact {
    max-width: none;
  }

  .body-copy,
  .policy-list {
    max-width: none;
  }

  .offer-list li {
    font-size: clamp(1.65rem, 7.5vw, 2.28rem);
  }

  .module-contact {
    display: block;
  }

  .module-contact .eyebrow {
    margin-bottom: 0.75rem;
  }

  .frame-a {
    top: 8rem;
    right: -1rem;
    left: auto;
    width: 42vw;
    height: 28vw;
    opacity: 0.38;
  }

  .frame-b {
    left: -1rem;
    bottom: 8rem;
    width: 34vw;
    height: 22vw;
    opacity: 0.32;
  }

  .frame-c {
    right: 0.8rem;
    bottom: 4.2rem;
    width: 56vw;
    height: 16vw;
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress,
  .scanline,
  .wordmark,
  .frame,
  .module,
  .contact-link,
  .reveal {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}

.error-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.error-page .error-stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.error-page .error-wordmark {
  position: absolute;
  inset: auto auto 5vh -1vw;
  margin: 0;
  color: rgba(243, 238, 227, 0.14);
  font-size: clamp(8rem, 28vw, 20rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.82;
  pointer-events: none;
}

.error-page .error-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  padding: 1.25rem 1.25rem 1.35rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow);
}

.error-page .error-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.error-page .error-panel::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 15px;
  width: 15px;
  height: calc(100% - 15px);
  border-top: 1px solid rgba(214, 255, 56, 0.24);
  border-right: 1px solid rgba(214, 255, 56, 0.24);
}

.error-page .error-code {
  position: relative;
  z-index: 2;
  margin: 0 0 1rem;
  color: var(--lime);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.error-page .error-brand {
  position: relative;
  z-index: 2;
  margin: 0 0 1.2rem;
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.error-page .error-contact {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

@media (max-width: 680px) {
  .error-page .error-wordmark {
    inset: auto auto 9vh -0.5rem;
    font-size: clamp(6rem, 30vw, 10rem);
  }

  .error-page .error-panel {
    width: calc(100% - 0.5rem);
    padding: 1rem 1rem 1.1rem;
  }

  .error-page .error-contact {
    display: block;
  }

  .error-page .error-contact .eyebrow {
    margin-bottom: 0.75rem;
  }
}
