@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #05070b;
  --panel: #07090d;
  --field: #12151b;
  --line: rgba(230, 235, 245, 0.18);
  --muted: #9599a3;
  --soft: #c6c9d0;
  --white: #f7f7f5;
  --cyan: #17d7d2;
  --blue: #5f8ff2;
  --magenta: #df48df;
  --gradient: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 52%, var(--magenta) 100%);
  --edge: 4.2vw;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
  color-scheme: dark;
  font-family: "Unbounded", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: "Unbounded", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-150%);
  border: 1px solid var(--cyan);
  border-radius: 3px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.72rem;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: clamp(30px, 5.2vh, 54px);
  right: var(--edge);
  left: var(--edge);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}

.brand-lockup {
  display: inline-flex;
  gap: 13px;
  align-items: flex-start;
  color: var(--white);
  text-decoration: none;
  pointer-events: auto;
}

.brand-signal {
  display: block;
  width: 4px;
  height: 84px;
  flex: 0 0 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--magenta), var(--blue) 48%, var(--cyan));
}

.brand-words {
  display: flex;
  flex-direction: column;
  min-width: 126px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.brand-row {
  display: flex;
  align-items: center;
}

.brand-row-first {
  gap: 11px;
}

.brand-rule {
  width: 72px;
  height: 5px;
  border-radius: 99px;
  background: var(--gradient);
}

.brand-production {
  margin-top: 8px;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.31em;
  line-height: 1;
}

.brand-lockup-small {
  gap: 10px;
}

.brand-lockup-small .brand-signal {
  width: 3px;
  height: 70px;
  flex-basis: 3px;
}

.brand-lockup-small .brand-words {
  min-width: 108px;
  font-size: 16px;
}

.brand-lockup-small .brand-rule {
  width: 56px;
  height: 4px;
}

.brand-lockup-small .brand-production {
  margin-top: 7px;
  font-size: 6px;
}

.site-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  padding-top: 8px;
  color: rgba(247, 247, 245, 0.42);
  font-size: clamp(6px, 0.56vw, 9px);
  letter-spacing: 0.26em;
  line-height: 1;
  text-align: right;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
}

.stage-world {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  container-type: size;
  pointer-events: none;
}

.stage-artboard {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.68svh);
  aspect-ratio: 1672 / 941;
  transform: translate(-50%, -50%) scale(1.015);
  transform-origin: center;
}

@supports (width: 1cqw) {
  .stage-artboard {
    width: max(100cqw, 177.68cqh);
  }
}

.stage-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  filter: brightness(1.45) saturate(0.96) contrast(1.02);
  animation: stage-emerge 1.05s var(--ease-out) both;
}

.stage-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 69% 48%, rgba(18, 30, 43, 0) 0%, rgba(5, 7, 11, 0.01) 42%, rgba(5, 7, 11, 0.18) 82%),
    linear-gradient(90deg, var(--ink) 0%, rgba(5, 7, 11, 0.95) 27%, rgba(5, 7, 11, 0.36) 43%, rgba(5, 7, 11, 0.01) 65%, rgba(5, 7, 11, 0.06) 100%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.03) 0%, rgba(5, 7, 11, 0) 68%, rgba(5, 7, 11, 0.18) 100%);
}

.portal-art {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  opacity: 1;
  filter: saturate(1.04);
  animation: portal-arrive 0.9s 1.05s var(--ease-out) both;
}

.stage-activation {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.stage-tagline {
  opacity: 1;
  animation: stage-tagline-on 0.55s 1.05s ease-out both;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(35.5vw, 550px);
  margin-left: var(--edge);
  padding-top: clamp(280px, 30.5svh, 335px);
  padding-bottom: 155px;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: clamp(8px, 0.67vw, 11px);
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.5;
}

.home-page .eyebrow {
  width: fit-content;
  background: var(--gradient);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 {
  margin: clamp(30px, 3.8vh, 42px) 0 0;
  font-size: clamp(38px, 3.55vw, 66px);
  font-weight: 700;
  letter-spacing: -0.074em;
  line-height: 0.96;
}

.headline-block {
  display: block;
}

.headline-block + .headline-block {
  margin-top: clamp(38px, 4.8vh, 56px);
}

.hero-rule {
  width: min(100%, 455px);
  height: 2px;
  margin-top: clamp(30px, 3.8vh, 42px);
  background: var(--gradient);
}

.hero-intro {
  max-width: 390px;
  margin: clamp(24px, 3vh, 34px) 0 0;
  color: rgba(247, 247, 245, 0.7);
  font-size: clamp(10px, 0.72vw, 13px);
  letter-spacing: -0.02em;
  line-height: 1.95;
}

.contact-action {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: min(250px, 100%);
  margin-top: clamp(38px, 5.2vh, 56px);
}

.contact-label {
  color: rgba(247, 247, 245, 0.43);
  font-size: 7px;
  letter-spacing: 0.23em;
  line-height: 1.4;
  white-space: nowrap;
}

.contact-button,
.submit-button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px 7px 6px 22px;
  overflow: hidden;
  border: 1px solid rgba(247, 247, 245, 0.25);
  border-radius: 999px;
  background: rgba(8, 10, 15, 0.68);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 250ms ease,
    box-shadow 250ms ease,
    transform 250ms var(--ease-out);
}

.contact-button::before,
.submit-button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(23, 215, 210, 0.11), rgba(95, 143, 242, 0.08), rgba(223, 72, 223, 0.15));
  content: "";
  opacity: 0;
  transition: opacity 250ms ease;
}

.contact-button:hover,
.submit-button:hover {
  border-color: rgba(23, 215, 210, 0.64);
  box-shadow: 0 0 32px rgba(95, 143, 242, 0.18);
  transform: translateY(-2px);
}

.contact-button:hover::before,
.submit-button:hover::before {
  opacity: 1;
}

.contact-button:focus-visible,
.submit-button:focus-visible,
.dialog-close:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.legal-back:focus-visible,
.site-footer a:focus-visible,
.form-privacy a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.button-arrow {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-size: 0;
  line-height: 1;
  transition: transform 320ms var(--ease-out);
}

.button-arrow:not(.button-close-icon)::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
}

.button-arrow:not(.button-close-icon)::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: translate(-8%, -92%);
}

.button-close-icon {
  display: grid;
  place-items: center;
  font-size: 18px;
}

.contact-button:hover .button-arrow,
.submit-button:hover .button-arrow {
  transform: rotate(12deg) scale(1.04);
}

.site-footer {
  position: absolute;
  z-index: 5;
  right: var(--edge);
  bottom: clamp(22px, 4.3vh, 42px);
  left: var(--edge);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  color: rgba(247, 247, 245, 0.3);
  font-size: clamp(5px, 0.43vw, 7px);
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.site-footer p {
  display: flex;
  max-width: 74%;
  margin: 0;
  flex-wrap: wrap;
  gap: 0 0.7em;
}

.site-footer p span:not(:last-child)::after {
  margin-left: 0.7em;
  content: "/";
}

.site-footer nav {
  display: flex;
  gap: 18px;
  white-space: nowrap;
}

.site-footer a {
  text-decoration: none;
}

.footer-newsletter-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.site-footer a:hover,
.footer-newsletter-link:hover {
  color: var(--cyan);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: copy-arrive 850ms var(--ease-out) both;
}

.reveal-one {
  animation-delay: 1.05s;
}

.reveal-two {
  animation-delay: 1.28s;
}

.reveal-three {
  animation-delay: 1.52s;
}

.reveal-four {
  animation-delay: 1.72s;
}

.reveal-five {
  animation-delay: 1.88s;
}

.reveal-six {
  animation-delay: 2.08s;
}

/* Contact experience */

.contact-dialog {
  position: fixed;
  z-index: 50;
  inset: 24px 24px 24px auto;
  width: min(660px, 48vw);
  max-width: none;
  height: calc(100svh - 48px);
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--white);
  opacity: 0;
  transform: translateX(24px) scale(0.99);
  transition:
    opacity 360ms ease,
    transform 520ms var(--ease-out),
    display 520ms allow-discrete,
    overlay 520ms allow-discrete;
}

.contact-dialog[open] {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@starting-style {
  .contact-dialog[open] {
    opacity: 0;
    transform: translateX(24px) scale(0.99);
  }
}

.contact-dialog::backdrop {
  background: rgba(2, 4, 7, 0.76);
  opacity: 0;
  backdrop-filter: blur(3px);
  transition:
    opacity 360ms ease,
    display 520ms allow-discrete,
    overlay 520ms allow-discrete;
}

.contact-dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .contact-dialog[open]::backdrop {
    opacity: 0;
  }
}

.contact-panel {
  position: relative;
  width: 100%;
  height: 100%;
  padding: clamp(26px, 3.2vw, 44px);
  overflow: auto;
  border: 1px solid transparent;
  border-radius: 28px;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(145deg, var(--cyan), var(--blue) 50%, var(--magenta)) border-box;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.55);
  scrollbar-color: rgba(95, 143, 242, 0.5) transparent;
  scrollbar-width: thin;
}

.contact-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.dialog-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(247, 247, 245, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  font-size: 23px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.dialog-close:hover {
  border-color: var(--cyan);
  background: rgba(23, 215, 210, 0.08);
  transform: rotate(5deg);
}

.form-view {
  margin-top: clamp(22px, 3.1vh, 34px);
}

.form-view h1,
.form-view h2,
.success-view h1,
.success-view h2 {
  margin: 0;
  font-size: clamp(28px, 2.45vw, 38px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
}

.contact-intro {
  margin: 17px 0 0;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.65;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: clamp(30px, 4vh, 42px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.field label {
  color: rgba(247, 247, 245, 0.56);
  font-size: 7px;
  letter-spacing: 0.22em;
  line-height: 1.4;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: var(--field);
  color: var(--white);
  font-size: 11px;
  line-height: 1.5;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.field input,
.field select {
  min-height: 58px;
  padding: 0 18px;
}

.field textarea {
  min-height: 132px;
  padding: 18px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(198, 201, 208, 0.42);
  opacity: 1;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(247, 247, 245, 0.65) 50%),
    linear-gradient(135deg, rgba(247, 247, 245, 0.65) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 26px,
    calc(100% - 16px) 26px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 50px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(23, 215, 210, 0.72);
  background-color: #151920;
  box-shadow: 0 0 0 3px rgba(23, 215, 210, 0.08);
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: rgba(223, 72, 223, 0.72);
}

.submit-button {
  z-index: 0;
  width: min(255px, 100%);
  border: 0;
  background: var(--gradient);
  color: #fff;
}

.submit-button::before {
  background: rgba(255, 255, 255, 0.12);
}

.submit-button .button-arrow {
  background: rgba(82, 41, 154, 0.46);
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.form-feedback {
  min-height: 0;
  color: #ff9ce8;
  font-size: 10px;
  line-height: 1.55;
}

.form-feedback:empty {
  display: none;
}

.form-privacy {
  margin: auto 0 0;
  color: rgba(247, 247, 245, 0.34);
  font-size: 6px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.form-privacy a {
  color: rgba(247, 247, 245, 0.58);
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.success-view {
  display: flex;
  min-height: calc(100% - 90px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 9vh 3vw 5vh;
}

.success-view h1,
.success-view h2 {
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 72px);
}

.success-kicker {
  margin: 0;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.success-view > p:not(.success-kicker) {
  max-width: 430px;
  margin: 26px 0 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.85;
}

.success-close {
  width: min(230px, 100%);
  margin-top: 40px;
}

/* Newsletter experience */

.newsletter-dialog {
  position: fixed;
  z-index: 60;
  inset: 0;
  width: min(920px, calc(100vw - 32px));
  max-width: none;
  height: min(730px, calc(100svh - 32px));
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--white);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition:
    opacity 360ms ease,
    transform 520ms var(--ease-out),
    display 520ms allow-discrete,
    overlay 520ms allow-discrete;
}

.newsletter-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  .newsletter-dialog[open] {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}

.newsletter-dialog::backdrop {
  background: rgba(2, 4, 7, 0.72);
  opacity: 0;
  backdrop-filter: blur(5px);
  transition:
    opacity 360ms ease,
    display 520ms allow-discrete,
    overlay 520ms allow-discrete;
}

.newsletter-dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .newsletter-dialog[open]::backdrop {
    opacity: 0;
  }
}

.newsletter-panel {
  display: flex;
  height: 100%;
  max-height: calc(100svh - 32px);
  flex-direction: column;
  padding: clamp(34px, 4vw, 54px);
}

.newsletter-form-view {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin-top: clamp(28px, 4vh, 54px);
  padding: 0 clamp(0px, 1.5vw, 24px);
}

.newsletter-kicker {
  width: fit-content;
  margin: 0 0 28px;
  background: var(--gradient);
  background-clip: text;
  color: transparent;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.34em;
  line-height: 1.4;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.newsletter-form-view h2 {
  font-size: clamp(42px, 4.1vw, 62px);
  letter-spacing: -0.075em;
  line-height: 1.08;
}

.newsletter-intro {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.85;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: clamp(38px, 5vh, 56px);
}

.newsletter-submit,
.newsletter-return {
  width: min(310px, 100%);
}

.newsletter-privacy {
  max-width: 660px;
  margin-top: 2px;
}

.newsletter-success {
  flex: 1;
  min-height: 0;
  padding: clamp(56px, 9vh, 90px) clamp(0px, 1.5vw, 24px) 34px;
}

.newsletter-success h2 {
  font-size: clamp(52px, 5.4vw, 76px);
  line-height: 1.08;
}

.newsletter-return {
  margin-top: 46px;
}

/* Standalone contact fallback */

.contact-page {
  min-height: 100svh;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.98), rgba(5, 7, 11, 0.62) 55%, rgba(5, 7, 11, 0.82)),
    url("/assets/img/nmg-stage.jpg") center / cover fixed;
}

.standalone-contact {
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: flex-end;
  padding: 24px;
}

.contact-panel-standalone {
  width: min(660px, 100%);
  height: auto;
  min-height: calc(100svh - 48px);
}

/* Legal and error pages */

.legal-page {
  background:
    radial-gradient(circle at 88% 8%, rgba(95, 143, 242, 0.11), transparent 30%),
    radial-gradient(circle at 100% 68%, rgba(223, 72, 223, 0.08), transparent 30%),
    var(--ink);
}

.legal-header {
  display: flex;
  width: min(1180px, calc(100% - 48px));
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 34px 0 0;
}

.legal-back {
  padding-top: 10px;
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.legal-content {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(90px, 13vh, 150px) 0 110px;
}

.legal-content h1 {
  margin: 28px 0 0;
  font-size: clamp(46px, 8vw, 102px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.93;
}

.legal-rule {
  width: 100%;
  height: 2px;
  margin: 46px 0 20px;
  background: var(--gradient);
}

.legal-updated {
  margin: 0 0 72px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.legal-content section {
  padding: 36px 0;
  border-top: 1px solid rgba(247, 247, 245, 0.12);
}

.legal-content section:last-child {
  border-bottom: 1px solid rgba(247, 247, 245, 0.12);
}

.legal-content h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: -0.03em;
}

.legal-content section p {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.9;
}

.legal-content section p + p {
  margin-top: 13px;
}

.legal-content section a {
  color: var(--cyan);
}

.legal-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0;
  border-top: 1px solid rgba(247, 247, 245, 0.12);
  color: rgba(247, 247, 245, 0.42);
  font-size: 7px;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.error-page {
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.98), rgba(5, 7, 11, 0.55)),
    url("/assets/img/nmg-stage.jpg") center / cover;
}

.error-content {
  display: flex;
  width: min(900px, calc(100% - 48px));
  min-height: 100svh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin: 0 auto;
  padding: 60px 0;
}

.error-content .eyebrow {
  margin-top: clamp(70px, 12vh, 130px);
}

.error-content h1 {
  margin: 26px 0 42px;
  font-size: clamp(46px, 7vw, 94px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.error-content .contact-button {
  width: 240px;
}

/* Motion */

@keyframes stage-emerge {
  from {
    filter: brightness(0.35) saturate(0.7) contrast(1.01);
    opacity: 0.72;
  }
  to {
    filter: brightness(1.45) saturate(0.96) contrast(1.02);
    opacity: 1;
  }
}

@keyframes portal-arrive {
  from {
    opacity: 0;
    filter: blur(8px) saturate(0.9);
  }
  to {
    opacity: 1;
    filter: blur(0) saturate(1.04);
  }
}

@keyframes stage-tagline-on {
  from {
    opacity: 0;
    filter: blur(3px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes copy-arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  :root {
    --edge: 3.6vw;
  }

  .hero-copy {
    width: 39vw;
    padding-top: 29svh;
  }

  .hero h1 {
    font-size: 3.8vw;
  }

  .contact-dialog {
    width: min(620px, 58vw);
  }

  .site-footer p {
    max-width: 80%;
  }
}

@media (max-width: 760px) {
  :root {
    --edge: 5vw;
  }

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

  .site-header {
    position: absolute;
    top: max(20px, env(safe-area-inset-top));
  }

  .brand-lockup {
    gap: 9px;
  }

  .brand-signal {
    width: 3px;
    height: 66px;
    flex-basis: 3px;
  }

  .brand-words {
    min-width: 102px;
    font-size: 15px;
  }

  .brand-row-first {
    gap: 9px;
  }

  .brand-rule {
    width: 53px;
    height: 4px;
  }

  .brand-production {
    margin-top: 7px;
    font-size: 6px;
  }

  .site-meta {
    gap: 8px;
    max-width: 42vw;
    padding-top: 5px;
    font-size: 5.5px;
    letter-spacing: 0.2em;
  }

  .hero {
    min-height: max(100svh, 850px);
  }

  .stage-world {
    right: 0;
    bottom: auto;
    height: 51svh;
    min-height: 405px;
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 76%,
      rgba(0, 0, 0, 0.96) 81%,
      rgba(0, 0, 0, 0.7) 88%,
      rgba(0, 0, 0, 0.3) 95%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 76%,
      rgba(0, 0, 0, 0.96) 81%,
      rgba(0, 0, 0, 0.7) 88%,
      rgba(0, 0, 0, 0.3) 95%,
      transparent 100%
    );
  }

  .stage-shade {
    background:
      linear-gradient(180deg, rgba(5, 7, 11, 0.14) 0%, rgba(5, 7, 11, 0.12) 58%, var(--ink) 100%),
      linear-gradient(90deg, rgba(5, 7, 11, 0.55), transparent 44%, rgba(5, 7, 11, 0.1));
  }

  .hero-copy {
    width: auto;
    margin: 0;
    padding: max(48svh, 390px) var(--edge) 180px;
  }

  .eyebrow {
    font-size: 7px;
    letter-spacing: 0.18em;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(30px, 8.8vw, 42px);
    line-height: 0.98;
  }

  .headline-block + .headline-block {
    margin-top: 28px;
  }

  .hero-rule {
    width: 100%;
    margin-top: 28px;
  }

  .hero-intro {
    max-width: none;
    margin-top: 19px;
    font-size: 8px;
    line-height: 1.85;
  }

  .contact-action {
    width: 100%;
    margin-top: 31px;
    gap: 12px;
  }

  .contact-label {
    font-size: 6px;
  }

  .contact-button {
    min-height: 52px;
    font-size: 9px;
  }

  .button-arrow {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .site-footer {
    right: var(--edge);
    bottom: max(18px, env(safe-area-inset-bottom));
    left: var(--edge);
    display: block;
    font-size: 5px;
  }

  .site-footer p {
    display: block;
    max-width: 100%;
  }

  .site-footer p span {
    display: inline;
  }

  .site-footer nav {
    margin-top: 9px;
  }

  .contact-dialog {
    inset: 0;
    width: 100%;
    height: 100svh;
    max-height: none;
    transform: translateY(16px);
  }

  .contact-dialog[open] {
    transform: translateY(0);
  }

  @starting-style {
    .contact-dialog[open] {
      transform: translateY(16px);
    }
  }

  .contact-dialog::backdrop {
    background: var(--ink);
    backdrop-filter: none;
  }

  .contact-panel {
    min-height: 100%;
    padding:
      max(20px, env(safe-area-inset-top))
      var(--edge)
      max(26px, env(safe-area-inset-bottom));
    border-width: 0 1px;
    border-radius: 0;
  }

  .contact-panel-header {
    position: sticky;
    z-index: 3;
    top: 0;
    padding-bottom: 6px;
    background: linear-gradient(var(--panel) 82%, transparent);
  }

  .form-view {
    margin-top: 24px;
  }

  .form-view h1,
  .form-view h2 {
    font-size: 28px;
  }

  .contact-intro {
    margin-top: 13px;
    font-size: 9px;
  }

  .contact-form {
    gap: 19px;
    margin-top: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .field input,
  .field select {
    min-height: 54px;
  }

  .field textarea {
    min-height: 122px;
  }

  .submit-button {
    width: 100%;
    min-height: 54px;
  }

  .form-privacy {
    padding-bottom: 6px;
    font-size: 5.5px;
  }

  .standalone-contact {
    display: block;
    padding: 0;
  }

  .contact-panel-standalone {
    min-height: 100svh;
    border-width: 0 1px;
    border-radius: 0;
  }

  .newsletter-dialog {
    inset: 0;
    width: calc(100vw - 20px);
    height: calc(100svh - 20px);
    max-height: calc(100svh - 20px);
    transform: translateY(16px) scale(0.99);
  }

  .newsletter-dialog[open] {
    transform: translateY(0) scale(1);
  }

  @starting-style {
    .newsletter-dialog[open] {
      transform: translateY(16px) scale(0.99);
    }
  }

  .newsletter-dialog::backdrop {
    background: rgba(2, 4, 7, 0.84);
    backdrop-filter: blur(4px);
  }

  .newsletter-panel {
    min-height: 100%;
    max-height: calc(100svh - 20px);
    padding:
      max(22px, env(safe-area-inset-top))
      24px
      max(24px, env(safe-area-inset-bottom));
    border-width: 1px;
    border-radius: 24px;
  }

  .newsletter-panel .contact-panel-header {
    position: static;
    padding-bottom: 0;
    background: transparent;
  }

  .newsletter-form-view {
    display: block;
    margin-top: 48px;
    padding: 0;
  }

  .newsletter-kicker {
    margin-bottom: 26px;
    font-size: 7px;
    letter-spacing: 0.27em;
  }

  .newsletter-form-view h2 {
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.12;
  }

  .newsletter-intro {
    margin-top: 22px;
    font-size: 10px;
    line-height: 1.8;
  }

  .newsletter-form {
    gap: 20px;
    margin-top: 44px;
  }

  .newsletter-submit,
  .newsletter-return {
    width: 100%;
    min-height: 58px;
  }

  .newsletter-privacy {
    font-size: 5.5px;
    line-height: 1.8;
  }

  .newsletter-success {
    min-height: calc(100% - 90px);
    justify-content: center;
    padding: 44px 0 28px;
  }

  .newsletter-success h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .legal-header,
  .legal-content,
  .legal-footer {
    width: calc(100% - 40px);
  }

  .legal-header {
    padding-top: max(20px, env(safe-area-inset-top));
  }

  .legal-content {
    padding: 80px 0;
  }

  .legal-content h1 {
    font-size: clamp(44px, 16vw, 68px);
  }

  .legal-updated {
    margin-bottom: 54px;
  }

  .legal-content section {
    padding: 30px 0;
  }

  .legal-content h2 {
    font-size: 12px;
  }

  .legal-content section p {
    font-size: 10px;
    line-height: 1.85;
  }

  .error-content {
    width: calc(100% - 40px);
  }
}

@media (max-height: 780px) and (min-width: 761px) {
  .site-header {
    top: 25px;
  }

  .brand-signal {
    height: 68px;
  }

  .brand-words {
    font-size: 16px;
  }

  .brand-production {
    font-size: 6px;
  }

  .hero-copy {
    width: 36vw;
    padding-top: 25svh;
  }

  .hero h1 {
    font-size: clamp(34px, 3.35vw, 52px);
  }

  .headline-block + .headline-block {
    margin-top: 29px;
  }

  .hero-rule {
    margin-top: 25px;
  }

  .hero-intro {
    margin-top: 18px;
  }

  .contact-action {
    margin-top: 28px;
  }

  .contact-button {
    min-height: 50px;
  }

  .button-arrow {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .site-footer {
    bottom: 18px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  .portal-art {
    opacity: 1;
    transform: none;
  }

  .stage-activation {
    transform: none;
  }
}
