@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: #05070a;
  --panel: #090b0f;
  --field: #12151b;
  --line: rgba(230, 235, 245, 0.18);
  --muted: #a5a9b2;
  --soft: #c6c9d0;
  --white: #ffffff;
  --cyan: #14d8d0;
  --blue: #668bf8;
  --magenta: #ed50e9;
  --gradient: linear-gradient(90deg, var(--cyan) 0%, var(--blue) 50%, var(--magenta) 100%);
  --edge: 4.2vw;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --page-title-size: clamp(48px, 5.3vw, 82px);
  --page-title-size-mobile: clamp(38px, 12.2vw, 56px);
  --page-title-leading: 0.94;
}

*,
*::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) 0%, var(--blue) 50%, var(--cyan) 100%);
}

.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(255, 255, 255, 0.42);
  font-size: clamp(6px, 0.56vw, 9px);
  letter-spacing: 0.26em;
  line-height: 1;
  text-align: right;
}

.site-primary-nav {
  position: absolute;
  top: 8px;
  left: 59%;
  display: flex;
  gap: clamp(11px, 1.3vw, 24px);
  align-items: center;
  pointer-events: auto;
  transform: translateX(-50%);
}

.site-primary-nav a {
  position: relative;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(5.5px, 0.48vw, 7.5px);
  letter-spacing: 0.18em;
  text-decoration: none;
  white-space: nowrap;
}

.site-primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gradient);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 180ms ease, transform 220ms ease;
}

.site-primary-nav a:hover,
.site-primary-nav a:focus-visible {
  color: var(--white);
}

.site-primary-nav a:hover::after,
.site-primary-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.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%;
  object-fit: cover;
  filter: brightness(1.04) saturate(1.04) contrast(1.03);
  opacity: 0;
  animation: none;
}

.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, 10, 0.01) 42%, rgba(5, 7, 10, 0.18) 82%),
    linear-gradient(90deg, var(--ink) 0%, rgba(5, 7, 10, 0.95) 27%, rgba(5, 7, 10, 0.36) 43%, rgba(5, 7, 10, 0.01) 65%, rgba(5, 7, 10, 0.06) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.03) 0%, rgba(5, 7, 10, 0) 68%, rgba(5, 7, 10, 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;
}

.home-page .portal-art {
  display: none;
}

.home-page.home-art-ready .stage-image {
  animation: stage-emerge 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(255, 255, 255, 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(255, 255, 255, 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(255, 255, 255, 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(20, 216, 208, 0.11), rgba(102, 139, 248, 0.08), rgba(237, 80, 233, 0.15));
  content: "";
  opacity: 0;
  transition: opacity 250ms ease;
}

.contact-button:hover,
.submit-button:hover {
  border-color: rgba(20, 216, 208, 0.64);
  box-shadow: 0 0 32px rgba(102, 139, 248, 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(255, 255, 255, 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(102, 139, 248, 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(255, 255, 255, 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(20, 216, 208, 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-context {
  width: fit-content;
  margin: 18px 0 0;
  background: var(--gradient);
  background-clip: text;
  color: transparent;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-context + .contact-intro {
  margin-top: 10px;
}

.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(255, 255, 255, 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(255, 255, 255, 0.65) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 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(20, 216, 208, 0.72);
  background-color: #151920;
  box-shadow: 0 0 0 3px rgba(20, 216, 208, 0.08);
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-color: rgba(237, 80, 233, 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(255, 255, 255, 0.34);
  font-size: 6px;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.form-privacy a {
  color: rgba(255, 255, 255, 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, 10, 0.98), rgba(5, 7, 10, 0.62) 55%, rgba(5, 7, 10, 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(102, 139, 248, 0.11), transparent 30%),
    radial-gradient(circle at 100% 68%, rgba(237, 80, 233, 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(255, 255, 255, 0.12);
}

.legal-content section:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 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(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  font-size: 7px;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.error-page {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.98), rgba(5, 7, 10, 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));
  }

  .site-primary-nav {
    top: 82px;
    right: 0;
    left: 0;
    gap: 18px;
    padding: 10px 0;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    transform: none;
  }

  .site-primary-nav::-webkit-scrollbar {
    display: none;
  }

  .site-primary-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    flex: 0 0 auto;
    padding: 0;
    font-size: 9px;
    letter-spacing: 0.12em;
    scroll-snap-align: start;
  }

  .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, 10, 0.14) 0%, rgba(5, 7, 10, 0.12) 58%, var(--ink) 100%),
      linear-gradient(90deg, rgba(5, 7, 10, 0.55), transparent 44%, rgba(5, 7, 10, 0.1));
  }

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

  .eyebrow {
    font-size: 9px;
    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: 12px;
    line-height: 1.85;
  }

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

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

  .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: 7px;
  }

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

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

  .site-footer nav {
    margin-top: 9px;
    flex-wrap: wrap;
    gap: 0 16px;
  }

  .site-footer a,
  .footer-newsletter-link {
    display: flex;
    min-height: 40px;
    align-items: center;
  }

  .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: 13px;
  }

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

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

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

  .field label {
    font-size: 10px;
  }

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

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

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

  .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);
    overflow-y: auto;
    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: 9px;
    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: 13px;
    line-height: 1.8;
  }

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

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

  .newsletter-privacy {
    font-size: 9px;
    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: 13px;
    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;
  }
}

/* Partner With NMG and Work With Us */

.work-page {
  --work-image: url("/assets/img/work/gateway.jpg");
  --work-position: center;
  min-height: 100svh;
  background: var(--ink);
}

.work-page--rights {
  --work-image: url("/assets/img/work/rights.jpg");
  --work-position: 62% center;
}

.work-page--investment {
  --work-image: url("/assets/img/work/investment.jpg");
  --work-position: 64% center;
}

.work-page--venues {
  --work-image: url("/assets/img/work/venues.jpg");
  --work-position: 61% center;
}

.work-page--brands {
  --work-image: url("/assets/img/work/brands.jpg");
  --work-position: 62% center;
}

.work-page--creative {
  --work-image: url("/assets/img/work/creative.jpg");
  --work-position: 63% center;
}

.work-page--freelance {
  --work-image: url("/assets/img/work/freelance.jpg");
  --work-position: 58% center;
}

.work-page--productions {
  --work-image: url("/assets/img/pages/productions.jpg");
  --work-position: center;
}

.work-page--next {
  --work-image: url("/assets/img/pages/what-comes-next.jpg");
  --work-position: center;
}

.work-page--store {
  --work-image: url("/assets/img/pages/store.jpg");
  --work-position: center;
}

.work-page--about {
  --work-image: url("/assets/img/pages/about.jpg");
  --work-position: 58% center;
}

.work-page--news {
  --work-image: url("/assets/img/pages/news.jpg");
  --work-position: center;
}

.work-page--press {
  --work-image: url("/assets/img/work/press.jpg");
  --work-position: 62% center;
}

.work-page--talent {
  --work-image: url("/assets/img/work/talent.jpg");
  --work-position: 60% center;
}

.work-page--work-with-us,
.work-page--jobs {
  --work-image: url("/assets/img/work/talent.jpg");
  --work-position: 60% center;
}

.work-shell {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
}

.work-shell::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  background-image: var(--work-image);
  background-position: var(--work-position);
  background-size: cover;
  content: "";
  filter: brightness(0.82) saturate(0.94);
  transform: scale(1.015);
}

.work-shell::after {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(5, 7, 10, 0.04) 0, rgba(5, 7, 10, 0.14) 34%, rgba(5, 7, 10, 0.55) 78%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.98) 0%, rgba(5, 7, 10, 0.88) 36%, rgba(5, 7, 10, 0.28) 69%, rgba(5, 7, 10, 0.46) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.18), rgba(5, 7, 10, 0.06) 56%, rgba(5, 7, 10, 0.82));
  content: "";
}

.work-header {
  display: flex;
  width: min(1480px, calc(100% - 8.4vw));
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto;
  padding-top: clamp(28px, 5vh, 52px);
}

.work-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 34px);
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.work-nav a {
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  transition: color 180ms ease;
}

.work-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gradient);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.work-nav a:hover,
.work-nav a:focus-visible,
.work-nav a[aria-current="page"] {
  color: var(--white);
}

.work-nav a:hover::after,
.work-nav a:focus-visible::after,
.work-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.work-main {
  width: min(1480px, calc(100% - 8.4vw));
  margin: 0 auto;
  padding: clamp(96px, 15vh, 162px) 0 60px;
}

.work-hero {
  width: min(680px, 51vw);
}

.work-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 23px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 7px;
  letter-spacing: 0.2em;
  line-height: 1.7;
}

.work-breadcrumb a {
  text-decoration: none;
}

.work-breadcrumb a:hover {
  color: var(--cyan);
}

.work-breadcrumb span:not(:last-child)::after {
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.24);
  content: "/";
}

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

.work-hero h1 {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: clamp(48px, 5.3vw, 82px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.work-page:not(.work-page--gateway) .work-hero h1 {
  font-size: clamp(44px, 4.7vw, 74px);
}

.work-lede {
  max-width: 625px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.95;
}

.work-lede + .work-lede {
  margin-top: 15px;
}

.work-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
}

.work-hero-actions .contact-button {
  width: min(290px, 100%);
}

.work-route-grid {
  display: grid;
  margin-top: clamp(76px, 11vh, 118px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-route-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-route-card {
  position: relative;
  display: flex;
  min-height: 174px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 25px 22px;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 7, 10, 0.58);
  color: var(--white);
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition:
    background 260ms ease,
    transform 320ms var(--ease-out);
}

.work-route-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 216, 208, 0.15), rgba(102, 139, 248, 0.06) 55%, rgba(237, 80, 233, 0.14));
  content: "";
  opacity: 0;
  transition: opacity 260ms ease;
}

.work-route-card:hover,
.work-route-card:focus-visible {
  z-index: 1;
  background: rgba(8, 11, 18, 0.78);
  outline: 1px solid var(--cyan);
  outline-offset: -1px;
  transform: translateY(-4px);
}

.work-route-card:hover::before,
.work-route-card:focus-visible::before {
  opacity: 1;
}

.route-number,
.route-name,
.route-description,
.route-arrow {
  position: relative;
}

.route-number {
  color: rgba(255, 255, 255, 0.4);
  font-size: 7px;
  letter-spacing: 0.24em;
}

.route-name {
  display: block;
  margin-top: 25px;
  font-size: clamp(13px, 1.15vw, 17px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.route-description {
  display: block;
  max-width: 265px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 7.5px;
  line-height: 1.65;
}

.route-arrow {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  align-self: flex-end;
  margin-top: 16px;
  color: var(--cyan);
  font-size: 0;
}

.route-arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%) rotate(-45deg);
}

.route-arrow::after {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
}

.work-content-grid {
  display: grid;
  align-items: end;
  gap: clamp(48px, 7vw, 112px);
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.65fr);
}

.work-detail-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(12px);
}

.work-detail-panel h2 {
  margin: 0 0 24px;
  font-size: 9px;
  letter-spacing: 0.22em;
  line-height: 1.5;
}

.work-detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-detail-list li {
  position: relative;
  padding: 17px 0 17px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  line-height: 1.65;
}

.work-detail-list li::before {
  position: absolute;
  top: 23px;
  left: 1px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  content: "";
}

.work-detail-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 7px;
  line-height: 1.7;
}

.work-subroutes {
  display: flex;
  margin-top: clamp(68px, 10vh, 106px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  flex-wrap: wrap;
  gap: 12px 22px;
}

.work-subroutes a {
  color: rgba(255, 255, 255, 0.46);
  font-size: 6.5px;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.work-subroutes a:hover,
.work-subroutes a[aria-current="page"] {
  color: var(--cyan);
}

.work-footer {
  display: flex;
  width: min(1480px, calc(100% - 8.4vw));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.34);
  font-size: 6px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.work-footer nav {
  display: flex;
  gap: 18px;
}

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

.work-footer a:hover {
  color: var(--cyan);
}

.talent-panel {
  margin-top: 52px;
}

.talent-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.talent-form .field-full,
.talent-form .form-feedback,
.talent-form .form-privacy,
.talent-form .submit-button {
  grid-column: 1 / -1;
}

.file-field input[type="file"] {
  padding: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
}

.file-field input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 9px 13px;
  border: 1px solid rgba(20, 216, 208, 0.55);
  border-radius: 999px;
  background: rgba(20, 216, 208, 0.08);
  color: var(--white);
  font: inherit;
  cursor: pointer;
}

.field-hint {
  margin: -3px 0 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 6.5px;
  line-height: 1.6;
}

.talent-success {
  min-height: 420px;
  justify-content: center;
  padding: 30px 0;
}

.roles-panel {
  margin-top: clamp(68px, 10vh, 106px);
}

.roles-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 23px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.roles-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(25px, 3vw, 44px);
  letter-spacing: -0.055em;
}

.roles-count {
  padding: 9px 13px;
  border: 1px solid rgba(20, 216, 208, 0.5);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 6.5px;
  letter-spacing: 0.18em;
}

.roles-empty {
  display: grid;
  max-width: 760px;
  gap: 18px;
  padding: 38px 0 12px;
}

.roles-empty p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 9px;
  line-height: 1.8;
}

.roles-empty .roles-empty-title {
  color: var(--white);
  font-size: clamp(16px, 2vw, 25px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.roles-empty .contact-button {
  width: min(310px, 100%);
  margin-top: 8px;
}

.consent-field label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 7px;
  line-height: 1.65;
  cursor: pointer;
}

.consent-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--cyan);
}

.content-section {
  margin-top: clamp(72px, 10vw, 140px);
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(18px);
}

.content-section-grid {
  display: grid;
  gap: clamp(32px, 6vw, 90px);
  grid-template-columns: minmax(180px, 0.48fr) minmax(0, 1fr);
}

.content-section h2,
.coming-soon-panel h2,
.news-empty h2,
.team-building-panel h2 {
  margin: 0;
  font-size: clamp(24px, 3.7vw, 55px);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.content-section-copy p,
.coming-soon-panel p,
.news-empty p,
.team-building-panel p {
  max-width: 720px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(8px, 0.76vw, 11px);
  line-height: 1.9;
}

.principles-grid {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.14);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.principle-card {
  padding: 25px;
  background: rgba(5, 7, 10, 0.96);
}

.principle-card strong,
.principle-card span {
  display: block;
}

.principle-card strong {
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: 0.17em;
}

.principle-card span {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 7px;
  line-height: 1.7;
}

.team-building-panel,
.coming-soon-panel,
.news-empty {
  position: relative;
  display: flex;
  min-height: min(560px, 66svh);
  margin-top: clamp(72px, 10vw, 140px);
  padding: clamp(34px, 6vw, 82px);
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  isolation: isolate;
}

.team-building-panel::before,
.coming-soon-panel::before,
.news-empty::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-position: center;
  background-size: cover;
  content: "";
}

.team-building-panel::before {
  background-image: url("/assets/img/pages/team.jpg");
}

.coming-soon-panel::before {
  background-image: url("/assets/img/pages/productions.jpg");
}

.news-empty::before {
  background-image: url("/assets/img/pages/news.jpg");
}

.team-building-panel::after,
.coming-soon-panel::after,
.news-empty::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 10, 0.94), rgba(5, 7, 10, 0.22) 76%), linear-gradient(0deg, rgba(5, 7, 10, 0.82), transparent 70%);
  content: "";
}

.panel-copy {
  max-width: 700px;
}

.panel-copy .work-kicker {
  margin-bottom: 20px;
}

.panel-copy .contact-button {
  margin-top: 24px;
}

@media (max-width: 1000px) {
  .work-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-route-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-content-grid {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .work-hero {
    width: min(720px, 78vw);
  }

  .work-detail-panel {
    max-width: 640px;
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .site-primary-nav {
    right: var(--edge);
    left: 29%;
    justify-content: flex-end;
    gap: 14px;
    overflow-x: auto;
    transform: none;
    scrollbar-width: none;
  }

  .site-primary-nav::-webkit-scrollbar,
  .work-nav::-webkit-scrollbar {
    display: none;
  }

  .work-nav {
    max-width: calc(100% - 170px);
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-primary-nav a,
  .work-nav a {
    flex: 0 0 auto;
  }
}

@media (max-width: 760px) {
  .work-shell {
    overflow: visible;
  }

  .work-shell::before {
    position: absolute;
    height: 55svh;
    min-height: 430px;
    background-position: 66% center;
    filter: brightness(0.75) saturate(0.94);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, 0.75) 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0, 0, 0, 0.75) 86%, transparent 100%);
  }

  .work-shell::after {
    position: absolute;
    height: 68svh;
    min-height: 520px;
    background:
      linear-gradient(180deg, rgba(5, 7, 10, 0.18), rgba(5, 7, 10, 0.48) 55%, var(--ink) 92%),
      linear-gradient(90deg, rgba(5, 7, 10, 0.72), transparent 78%);
  }

  .work-header,
  .work-main,
  .work-footer {
    width: calc(100% - max(40px, env(safe-area-inset-left) + env(safe-area-inset-right) + 24px));
  }

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

  .work-header .brand-lockup-small .brand-words {
    min-width: 88px;
    font-size: 14px;
  }

  .work-header .brand-lockup-small .brand-rule {
    width: 46px;
  }

  .work-nav {
    position: absolute;
    top: 91px;
    right: 0;
    left: 0;
    gap: 18px;
    padding: 11px 0;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 9px;
    letter-spacing: 0.12em;
    scrollbar-width: none;
  }

  .work-nav::-webkit-scrollbar {
    display: none;
  }

  .work-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    flex: 0 0 auto;
    padding: 0;
    scroll-snap-align: start;
  }

  .work-main {
    padding: max(43svh, 370px) 0 48px;
  }

  .work-page:not(.work-page--gateway) .work-main {
    padding-top: max(39svh, 340px);
  }

  .work-hero {
    width: 100%;
  }

  .work-breadcrumb {
    font-size: 9px;
  }

  .work-kicker {
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  .work-hero h1,
  .work-page:not(.work-page--gateway) .work-hero h1 {
    margin-top: 20px;
    font-size: clamp(38px, 12.2vw, 56px);
    line-height: 0.96;
  }

  .work-lede {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.72;
  }

  .work-hero-actions {
    margin-top: 30px;
  }

  .work-hero-actions .contact-button {
    width: 100%;
  }

  .work-route-grid {
    margin-top: 50px;
    grid-template-columns: 1fr;
  }

  .work-route-grid--three {
    grid-template-columns: 1fr;
  }

  .work-route-card {
    min-height: 184px;
    padding: 24px 22px;
  }

  .route-name {
    font-size: 18px;
  }

  .route-description {
    max-width: 320px;
    font-size: 12px;
    line-height: 1.65;
  }

  .route-number {
    font-size: 9px;
  }

  .content-section-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }

  .content-section,
  .team-building-panel,
  .coming-soon-panel,
  .news-empty {
    margin-top: 58px;
  }

  .content-section h2,
  .coming-soon-panel h2,
  .news-empty h2,
  .team-building-panel h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .content-section-copy p,
  .coming-soon-panel p,
  .news-empty p,
  .team-building-panel p {
    font-size: 13px;
    line-height: 1.75;
  }

  .principle-card strong {
    font-size: 10px;
  }

  .principle-card span {
    font-size: 11px;
  }

  .team-building-panel,
  .coming-soon-panel,
  .news-empty {
    min-height: 500px;
    padding: 28px;
  }

  .team-building-panel::after,
  .coming-soon-panel::after,
  .news-empty::after {
    background: linear-gradient(0deg, rgba(5, 7, 10, 0.96), rgba(5, 7, 10, 0.18) 82%);
  }

  .work-content-grid {
    gap: 42px;
  }

  .work-detail-panel {
    padding: 23px 21px;
    border-radius: 16px;
  }

  .work-detail-list li {
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 12px;
    line-height: 1.65;
  }

  .work-detail-panel h2 {
    font-size: 11px;
  }

  .work-detail-note {
    font-size: 10px;
  }

  .work-subroutes a {
    display: flex;
    min-height: 44px;
    align-items: center;
    font-size: 9px;
  }

  .work-subroutes {
    margin-top: 54px;
  }

  .talent-panel {
    margin-top: 42px;
  }

  .talent-form {
    grid-template-columns: 1fr;
  }

  .talent-form > * {
    grid-column: 1 !important;
  }

  .talent-form {
    gap: 22px;
  }

  .talent-form .field label {
    font-size: 10px;
  }

  .talent-form .field input,
  .talent-form .field select,
  .talent-form .field textarea {
    font-size: 16px;
  }

  .field-hint,
  .consent-field {
    font-size: 10px;
    line-height: 1.65;
  }

  .work-footer {
    font-size: 9px;
    display: block;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .work-footer nav {
    margin-top: 12px;
  }

  .work-footer a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }
}

@media (hover: none) {
  .work-route-card:hover,
  .contact-button:hover,
  .submit-button:hover {
    transform: none;
  }
}

@media (max-width: 430px) {
  .work-main {
    padding-top: max(45svh, 390px);
  }

  .work-page:not(.work-page--gateway) .work-main {
    padding-top: max(42svh, 370px);
  }

  .work-hero h1,
  .work-page:not(.work-page--gateway) .work-hero h1 {
    font-size: clamp(35px, 11.2vw, 48px);
  }

  .content-section,
  .team-building-panel,
  .coming-soon-panel,
  .news-empty {
    padding: 25px 21px;
  }
}

/* v1.17: page journeys, navigation alignment and shared overlays */

@media (min-width: 1101px) {
  .home-page .site-primary-nav {
    right: 0;
    left: auto;
    justify-content: flex-end;
    transform: none;
  }

  .home-page .site-primary-nav a,
  .work-nav {
    font-size: 7px;
  }
}

.work-page--news {
  --work-image: url("/assets/img/pages/news-hero.jpg");
  --work-position: center;
}

.work-page--team {
  --work-image: url("/assets/img/pages/team.jpg");
  --work-position: 58% center;
}

.work-route-grid--about {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-gateway .work-lede {
  max-width: 670px;
  font-size: clamp(11px, 0.92vw, 14px);
}

.about-gateway .work-route-card,
.work-page--gateway .work-route-card {
  min-height: 220px;
  padding: 29px 30px 27px;
}

.about-gateway .route-number,
.work-page--gateway .route-number,
.work-page--work-with-us .route-number {
  width: fit-content;
  background: var(--gradient);
  background-clip: text;
  color: transparent;
  font-weight: 700;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-gateway .route-name,
.work-page--gateway .route-name {
  width: fit-content;
  background: none;
  color: var(--white);
  -webkit-text-fill-color: currentColor;
}

.about-gateway .route-description,
.work-page--gateway .route-description {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(9px, 0.72vw, 11px);
  line-height: 1.72;
}

.work-page--gateway .work-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-page--gateway .route-name {
  font-size: clamp(15px, 1.38vw, 21px);
}

.work-page--work-with-us .route-number {
  font-size: 8px;
}

.about-detail .work-main {
  display: flex;
  min-height: calc(100svh - 150px);
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(86px, 12vh, 130px);
}

.about-detail .work-shell::before {
  filter: brightness(0.8) saturate(0.92);
}

.about-detail .work-shell::after {
  background:
    radial-gradient(circle at 72% 45%, rgba(5, 7, 10, 0.03), rgba(5, 7, 10, 0.34) 62%, rgba(5, 7, 10, 0.7)),
    linear-gradient(90deg, rgba(5, 7, 10, 0.98) 0%, rgba(5, 7, 10, 0.88) 42%, rgba(5, 7, 10, 0.22) 78%, rgba(5, 7, 10, 0.45));
}

.about-story {
  display: grid;
  max-width: 1220px;
  align-items: end;
  gap: clamp(44px, 8vw, 130px);
  grid-template-columns: minmax(330px, 0.92fr) minmax(340px, 0.7fr);
}

.about-story .work-kicker {
  grid-column: 1 / -1;
  margin-bottom: -20px;
}

.about-story h1 {
  margin: 0;
  font-size: clamp(45px, 5.2vw, 80px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.94;
}

.about-story-copy {
  padding: 4px 0 5px;
}

.about-story-copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.77);
  font-size: clamp(11px, 0.92vw, 14px);
  line-height: 1.82;
}

.about-story-copy .contact-button {
  width: min(350px, 100%);
  margin-top: 30px;
}

.about-next {
  margin-top: clamp(62px, 9vh, 100px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.about-next a {
  display: grid;
  min-height: 94px;
  align-items: center;
  gap: 20px;
  padding: 19px 6px;
  color: var(--white);
  grid-template-columns: 80px 1fr 36px;
  text-decoration: none;
}

.about-next a > span:first-child {
  color: rgba(255, 255, 255, 0.4);
  font-size: 7px;
  letter-spacing: 0.22em;
}

.about-next strong {
  width: fit-content;
  background: var(--gradient);
  background-clip: text;
  font-size: clamp(16px, 1.7vw, 25px);
  letter-spacing: -0.045em;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.news-page .work-shell::before {
  filter: brightness(0.68) saturate(1.08);
}

.news-page .work-shell::after {
  background:
    radial-gradient(circle at 72% 45%, rgba(5, 7, 10, 0.02), rgba(5, 7, 10, 0.28) 58%, rgba(5, 7, 10, 0.62)),
    linear-gradient(90deg, rgba(5, 7, 10, 0.93), rgba(5, 7, 10, 0.58) 42%, rgba(5, 7, 10, 0.18) 78%, rgba(5, 7, 10, 0.42));
}

.news-page .work-lede {
  max-width: 650px;
  font-size: clamp(11px, 0.92vw, 14px);
}

.news-signal {
  position: relative;
  min-height: 440px;
  margin-top: clamp(48px, 6vw, 82px);
  padding: clamp(44px, 7vw, 96px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 82% 50%, rgba(216, 64, 221, 0.14), transparent 31%),
    radial-gradient(circle at 11% 54%, rgba(20, 216, 208, 0.13), transparent 34%),
    rgba(3, 5, 9, 0.82);
  isolation: isolate;
  backdrop-filter: blur(18px);
}

/* v1.17 refinements */

.contact-panel .field label {
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.contact-dialog .field > label {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.work-page--store .work-hero {
  width: min(720px, 56vw);
}

.work-page--store .work-shell::before {
  filter: brightness(0.7) saturate(1.1);
}

.work-page--store .work-shell::after {
  background:
    radial-gradient(circle at 76% 43%, rgba(237, 80, 233, 0.07), transparent 34%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.97) 0%, rgba(5, 7, 10, 0.84) 37%, rgba(5, 7, 10, 0.2) 72%, rgba(5, 7, 10, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.1), rgba(5, 7, 10, 0.78));
}

@media (max-width: 760px) {
  .contact-panel .field label {
    font-size: 10px;
  }

  .contact-dialog .field > label {
    gap: 14px;
  }

  .work-page--store .work-hero {
    width: 100%;
  }
}

/* v1.18: mobile navigation and seamless portal transition */

.mobile-nav-toggle,
.mobile-nav-cue,
.mobile-nav-layer {
  display: none;
}

.news-page .work-main {
  padding-top: clamp(118px, 15vh, 158px);
}

.news-page .news-signal {
  margin-top: 0;
}

@media (max-width: 760px) {
  body.mobile-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .site-header,
  .work-header {
    z-index: 110;
  }

  .work-header {
    position: relative;
  }

  .site-primary-nav,
  .work-nav {
    display: none;
  }

  .site-header .brand-lockup,
  .work-header .brand-lockup {
    position: relative;
    z-index: 111;
  }

  .mobile-nav-toggle {
    position: fixed;
    z-index: 212;
    top: max(20px, env(safe-area-inset-top));
    right: var(--edge);
    display: grid;
    width: 54px;
    height: 54px;
    padding: 0;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 50%;
    background:
      linear-gradient(rgba(5, 7, 10, 0.82), rgba(5, 7, 10, 0.9)) padding-box,
      var(--gradient) border-box;
    box-shadow:
      0 0 24px rgba(20, 216, 208, 0.08),
      0 0 30px rgba(237, 80, 233, 0.06);
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(16px) saturate(1.05);
    transition:
      transform 220ms var(--ease-out),
      box-shadow 220ms ease;
  }

  .mobile-nav-toggle:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
  }

  .mobile-nav-toggle:active {
    transform: scale(0.96);
  }

  .mobile-nav-signal {
    position: relative;
    display: block;
    width: 27px;
    height: 27px;
  }

  .mobile-nav-signal::before,
  .mobile-nav-signal::after {
    position: absolute;
    border-radius: 99px;
    background: var(--gradient);
    content: "";
    transition:
      top 240ms var(--ease-out),
      left 240ms var(--ease-out),
      width 240ms var(--ease-out),
      height 240ms var(--ease-out),
      transform 240ms var(--ease-out),
      background 180ms ease;
  }

  .mobile-nav-signal::before {
    top: 4px;
    left: 5px;
    width: 3px;
    height: 21px;
  }

  .mobile-nav-signal::after {
    top: 7px;
    right: 3px;
    width: 14px;
    height: 3px;
  }

  .mobile-menu-open .mobile-nav-signal::before,
  .mobile-menu-open .mobile-nav-signal::after {
    top: 12px;
    left: 2px;
    width: 23px;
    height: 2px;
    background: var(--white);
  }

  .mobile-menu-open .mobile-nav-signal::before {
    transform: rotate(45deg);
  }

  .mobile-menu-open .mobile-nav-signal::after {
    transform: rotate(-45deg);
  }

  .mobile-nav-cue {
    position: fixed;
    z-index: 212;
    top: max(82px, calc(env(safe-area-inset-top) + 82px));
    right: calc(var(--edge) + 56px);
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 6px;
    letter-spacing: 0.22em;
    line-height: 1.35;
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 220ms ease;
  }

  .mobile-nav-cue-arrow {
    position: absolute;
    top: -23px;
    right: -47px;
    width: 52px;
    height: 34px;
    overflow: visible;
  }

  .mobile-nav-cue-arrow path {
    fill: none;
    stroke: var(--magenta);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.35;
  }

  .mobile-menu-open .mobile-nav-cue {
    opacity: 0;
    transform: translateY(-5px);
  }

  .mobile-nav-layer {
    position: fixed;
    z-index: 200;
    inset: 0;
    display: block;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      opacity 220ms ease,
      visibility 0s linear 220ms;
  }

  .mobile-menu-open .mobile-nav-layer {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }

  .mobile-nav-scrim {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background:
      radial-gradient(circle at 82% 15%, rgba(237, 80, 233, 0.08), transparent 34%),
      radial-gradient(circle at 12% 52%, rgba(20, 216, 208, 0.08), transparent 37%),
      rgba(2, 4, 7, 0.68);
    backdrop-filter: blur(12px) saturate(0.76);
  }

  .mobile-nav-panel {
    position: absolute;
    z-index: 1;
    top: max(104px, calc(env(safe-area-inset-top) + 92px));
    right: var(--edge);
    left: var(--edge);
    max-height: calc(100svh - max(124px, calc(env(safe-area-inset-top) + 112px)));
    padding: 25px 20px 18px;
    overflow-y: auto;
    border: 1px solid transparent;
    border-radius: 21px;
    background:
      linear-gradient(145deg, rgba(12, 16, 22, 0.88), rgba(6, 8, 13, 0.9)) padding-box,
      linear-gradient(145deg, var(--cyan), var(--blue) 52%, var(--magenta)) border-box;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
    opacity: 0;
    overscroll-behavior: contain;
    transform: translateY(-10px) scale(0.985);
    backdrop-filter: blur(28px) saturate(0.92);
    transition:
      opacity 220ms ease,
      transform 300ms var(--ease-out);
  }

  .mobile-menu-open .mobile-nav-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .mobile-nav-panel-label {
    display: block;
    padding: 0 7px 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 7px;
    letter-spacing: 0.27em;
  }

  .mobile-nav-routes {
    border-top: 1px solid rgba(255, 255, 255, 0.11);
  }

  .mobile-nav-route {
    position: relative;
    display: grid;
    min-height: 62px;
    align-items: center;
    gap: 11px;
    padding: 4px 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    color: var(--white);
    grid-template-columns: 48px minmax(0, 1fr) 22px;
    text-decoration: none;
  }

  .mobile-nav-route:last-child {
    border-bottom: 0;
  }

  .mobile-nav-route-number {
    width: fit-content;
    background: var(--gradient);
    background-clip: text;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .mobile-nav-route-name {
    font-size: clamp(10px, 3.1vw, 13px);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
  }

  .mobile-nav-route-arrow {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
  }

  .mobile-nav-route-arrow::before {
    position: absolute;
    top: 8px;
    left: 0;
    width: 15px;
    height: 1px;
    background: currentColor;
    content: "";
  }

  .mobile-nav-route-arrow::after {
    position: absolute;
    top: 4px;
    right: 1px;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    content: "";
    transform: rotate(45deg);
  }

  .mobile-nav-route[aria-current="page"] {
    background: linear-gradient(90deg, rgba(20, 216, 208, 0.08), rgba(237, 80, 233, 0.04));
  }

  .mobile-nav-route:focus-visible {
    border-radius: 5px;
    outline: 1px solid var(--cyan);
    outline-offset: -2px;
  }

  .home-page .stage-world {
    height: max(59svh, 480px);
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 66%,
      rgba(0, 0, 0, 0.94) 75%,
      rgba(0, 0, 0, 0.62) 86%,
      rgba(0, 0, 0, 0.2) 95%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 66%,
      rgba(0, 0, 0, 0.94) 75%,
      rgba(0, 0, 0, 0.62) 86%,
      rgba(0, 0, 0, 0.2) 95%,
      transparent 100%
    );
  }

  .home-page .stage-world::after {
    position: absolute;
    z-index: 5;
    right: -16%;
    bottom: -4%;
    left: -16%;
    height: 34%;
    background:
      radial-gradient(ellipse at 10% 37%, rgba(20, 216, 208, 0.27), transparent 44%),
      radial-gradient(ellipse at 88% 41%, rgba(237, 80, 233, 0.24), transparent 43%),
      linear-gradient(180deg, transparent 0%, rgba(5, 7, 10, 0.34) 50%, var(--ink) 96%);
    content: "";
    filter: blur(24px);
    opacity: 0.78;
  }

  .home-page .hero-copy {
    padding-top: max(50svh, 405px);
  }

  .news-page .work-main,
  .news-page:not(.work-page--gateway) .work-main {
    padding-top: max(27svh, 220px);
  }

  .news-page .news-signal {
    margin-top: 0;
  }
}

@media (max-width: 380px) {
  .mobile-nav-panel {
    padding: 21px 16px 14px;
  }

  .mobile-nav-route {
    min-height: 57px;
    grid-template-columns: 43px minmax(0, 1fr) 20px;
  }

  .mobile-nav-route-name {
    font-size: 10px;
  }

  .mobile-nav-cue {
    font-size: 5.5px;
  }
}

.news-signal::before,
.news-signal::after {
  position: absolute;
  z-index: -1;
  width: 48%;
  height: 130%;
  border-radius: 50%;
  content: "";
  filter: blur(56px);
  opacity: 0.3;
}

/* v1.19: tactile backstage noticeboard and persistent mobile close control */

.work-page--news {
  --work-image: url("/assets/img/pages/news-noticeboard-v1.19.jpg");
  --work-position: center center;
}

.news-page .work-shell::before {
  filter: brightness(0.76) saturate(0.96);
}

.news-page .work-shell::after {
  background:
    radial-gradient(circle at 78% 43%, rgba(237, 80, 233, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.95) 0%, rgba(5, 7, 10, 0.82) 34%, rgba(5, 7, 10, 0.28) 68%, rgba(5, 7, 10, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.16), rgba(5, 7, 10, 0.04) 55%, rgba(5, 7, 10, 0.76));
}

.news-page .news-signal {
  background:
    radial-gradient(circle at 84% 48%, rgba(237, 80, 233, 0.1), transparent 32%),
    radial-gradient(circle at 12% 52%, rgba(20, 216, 208, 0.09), transparent 35%),
    linear-gradient(112deg, rgba(3, 5, 9, 0.88), rgba(3, 5, 9, 0.68) 58%, rgba(3, 5, 9, 0.44));
}

@media (max-width: 760px) {
  .news-page .work-shell::before {
    background-position: 58% center;
    filter: brightness(0.68) saturate(0.92);
  }

  .news-page .work-shell::after {
    background:
      linear-gradient(180deg, rgba(5, 7, 10, 0.14), rgba(5, 7, 10, 0.5) 56%, var(--ink) 94%),
      linear-gradient(90deg, rgba(5, 7, 10, 0.64), transparent 86%);
  }
}

.news-signal::before {
  top: -42%;
  left: -25%;
  border: 2px solid var(--cyan);
}

.news-signal::after {
  right: -23%;
  bottom: -48%;
  border: 2px solid var(--magenta);
}

.news-signal-glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 46%, rgba(102, 139, 248, 0.06) 46.2% 46.35%, transparent 46.55%);
}

.news-signal-copy {
  max-width: 690px;
}

.news-signal h2 {
  margin: 24px 0 0;
  font-size: clamp(48px, 6.5vw, 96px);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.news-signal p:not(.work-kicker) {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(11px, 0.92vw, 14px);
  line-height: 1.82;
}

.news-signal .contact-button {
  width: min(390px, 100%);
  margin-top: 32px;
}

.contact-dialog::backdrop {
  background: rgba(2, 4, 7, 0.64);
  backdrop-filter: blur(16px) saturate(0.78);
}

.contact-panel {
  background:
    linear-gradient(rgba(12, 16, 22, 0.88), rgba(8, 11, 16, 0.92)) padding-box,
    linear-gradient(145deg, var(--cyan), var(--blue) 50%, var(--magenta)) border-box;
  backdrop-filter: blur(28px) saturate(1.1);
}

@media (max-width: 1100px) {
  .work-page--gateway .work-route-grid,
  .work-route-grid--about {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-story {
    grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 0.8fr);
  }
}

@media (max-width: 760px) {
  .about-gateway .work-route-card,
  .work-page--gateway .work-route-card {
    min-height: 205px;
    padding: 25px 22px;
  }

  .work-page--gateway .work-route-grid,
  .work-route-grid--about {
    grid-template-columns: 1fr;
  }

  .about-gateway .route-description,
  .work-page--gateway .route-description {
    font-size: 12px;
  }

  .about-detail .work-main {
    display: block;
    min-height: auto;
    padding-top: max(42svh, 370px);
  }

  .about-story {
    display: block;
  }

  .about-story .work-kicker {
    margin-bottom: 20px;
  }

  .about-story h1 {
    font-size: clamp(38px, 11.5vw, 54px);
  }

  .about-story-copy {
    margin-top: 30px;
  }

  .about-story-copy p {
    font-size: 13px;
    line-height: 1.75;
  }

  .about-next {
    margin-top: 52px;
  }

  .about-next a {
    min-height: 100px;
    grid-template-columns: 50px 1fr 28px;
  }

  .about-next strong {
    font-size: 16px;
  }

  .news-page .work-shell::before {
    background-position: center;
  }

  .news-signal {
    min-height: 460px;
    margin-right: calc((100vw - 100%) / -2);
    margin-left: calc((100vw - 100%) / -2);
    padding: 54px max(20px, calc((100vw - 100%) / 2));
  }

  .news-signal h2 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .news-signal p:not(.work-kicker) {
    font-size: 13px;
    line-height: 1.75;
  }
}

/* v1.20: open-image news/store layouts, social links and refined mobile cue */

.work-page--store {
  --work-image: url("/assets/img/pages/store-preopening-merch-v1.20.jpg");
  --work-position: center center;
}

.news-page .work-shell::before {
  filter: brightness(0.79) saturate(0.98);
}

.news-page .work-shell::after {
  background:
    radial-gradient(circle at 74% 45%, rgba(5, 7, 10, 0.02), rgba(5, 7, 10, 0.16) 52%, rgba(5, 7, 10, 0.48)),
    linear-gradient(90deg, rgba(5, 7, 10, 0.91) 0%, rgba(5, 7, 10, 0.67) 35%, rgba(5, 7, 10, 0.2) 70%, rgba(5, 7, 10, 0.38) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.1), rgba(5, 7, 10, 0.05) 58%, rgba(5, 7, 10, 0.68));
}

.news-page .work-main {
  display: flex;
  min-height: calc(100svh - 195px);
  align-items: center;
  padding-top: clamp(78px, 10vh, 118px);
}

.news-page .news-signal {
  display: flex;
  width: min(720px, 54vw);
  min-height: 500px;
  align-items: center;
  margin: 0;
  padding: clamp(44px, 6vw, 86px) 0;
  overflow: visible;
  border: 0;
  background: transparent;
  isolation: auto;
  backdrop-filter: none;
}

.news-page .news-signal::before,
.news-page .news-signal::after,
.news-page .news-signal-glow {
  display: none;
}

.news-page .news-signal-copy {
  max-width: 650px;
}

.store-page .work-shell::before {
  filter: brightness(0.82) saturate(1.02);
}

.store-page .work-shell::after {
  background:
    radial-gradient(circle at 80% 42%, rgba(237, 80, 233, 0.04), transparent 33%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.76) 34%, rgba(5, 7, 10, 0.22) 67%, rgba(5, 7, 10, 0.38) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.05), rgba(5, 7, 10, 0.08) 57%, rgba(5, 7, 10, 0.72));
}

.store-page .work-main {
  display: flex;
  min-height: calc(100svh - 195px);
  align-items: center;
  padding-top: clamp(82px, 12vh, 132px);
}

.store-page .work-hero {
  width: min(670px, 51vw);
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.site-footer,
.work-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 26px;
  row-gap: 8px;
}

.site-footer > p,
.work-footer > span {
  grid-row: 1 / span 2;
  align-self: center;
}

.site-footer > .social-links,
.work-footer > .social-links {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.site-footer > nav:not(.social-links),
.work-footer > nav:not(.social-links) {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-footer .social-links,
.work-footer .social-links {
  gap: 9px;
}

.social-link {
  position: relative;
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  background: rgba(5, 7, 10, 0.34);
  color: var(--white);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms var(--ease-out);
}

.social-icon {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--white);
  -webkit-mask: var(--social-icon) center / contain no-repeat;
  mask: var(--social-icon) center / contain no-repeat;
  transition: background 180ms ease;
}

.social-icon--instagram {
  --social-icon: url("/assets/img/social/instagram.svg");
}

.social-icon--tiktok {
  --social-icon: url("/assets/img/social/tiktok.svg");
}

.social-icon--x {
  --social-icon: url("/assets/img/social/x.svg");
}

.social-icon--facebook {
  --social-icon: url("/assets/img/social/facebook.svg");
}

.social-icon--youtube {
  --social-icon: url("/assets/img/social/youtube.svg");
  width: 15px;
}

.social-link:focus-visible {
  border-color: var(--cyan);
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.social-link:focus-visible .social-icon {
  background: var(--gradient);
}

@media (hover: hover) and (pointer: fine) {
  .social-link:hover {
    border-color: rgba(20, 216, 208, 0.55);
    box-shadow:
      0 0 17px rgba(20, 216, 208, 0.1),
      0 0 20px rgba(237, 80, 233, 0.08);
    transform: translateY(-2px);
  }

  .social-link:hover .social-icon {
    background: var(--gradient);
  }
}

.form-action-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 18px;
}

.form-action-row .submit-button {
  flex: 1 1 255px;
}

.social-links--contact {
  flex: 0 0 auto;
}

.contact-dialog .social-link,
.contact-page .social-link {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  background: rgba(5, 7, 10, 0.48);
}

.contact-dialog .social-icon,
.contact-page .social-icon {
  width: 15px;
  height: 15px;
}

@media (max-width: 760px) {
  .news-page .work-shell,
  .store-page .work-shell {
    min-height: 100svh;
  }

  .news-page .work-shell::before,
  .store-page .work-shell::before {
    position: fixed;
    height: auto;
    min-height: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .news-page .work-shell::before {
    background-position: 58% center;
    filter: brightness(0.72) saturate(0.96);
  }

  .store-page .work-shell::before {
    background-position: 63% center;
    filter: brightness(0.72) saturate(1);
  }

  .news-page .work-shell::after,
  .store-page .work-shell::after {
    position: fixed;
    height: auto;
    min-height: 0;
  }

  .news-page .work-shell::after {
    background:
      linear-gradient(180deg, rgba(5, 7, 10, 0.18), rgba(5, 7, 10, 0.38) 54%, rgba(5, 7, 10, 0.8)),
      linear-gradient(90deg, rgba(5, 7, 10, 0.78), rgba(5, 7, 10, 0.25) 88%);
  }

  .store-page .work-shell::after {
    background:
      linear-gradient(180deg, rgba(5, 7, 10, 0.17), rgba(5, 7, 10, 0.45) 55%, rgba(5, 7, 10, 0.87)),
      linear-gradient(90deg, rgba(5, 7, 10, 0.82), rgba(5, 7, 10, 0.18) 86%);
  }

  .news-page .work-main,
  .store-page .work-main {
    display: flex;
    min-height: calc(100svh - 174px);
    align-items: center;
    padding-top: max(112px, calc(env(safe-area-inset-top) + 92px));
  }

  .news-page .news-signal {
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 64px 0 72px;
  }

  .store-page .work-hero {
    width: 100%;
  }

  .site-footer,
  .work-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-footer > .social-links,
  .work-footer > .social-links {
    order: 1;
    justify-self: auto;
  }

  .site-footer > nav:not(.social-links),
  .work-footer > nav:not(.social-links) {
    order: 2;
    justify-self: auto;
  }

  .site-footer > p,
  .work-footer > span {
    order: 3;
  }

  .social-links--home,
  .social-links--footer {
    margin-bottom: 1px;
  }

  .social-link {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .form-action-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .form-action-row .submit-button {
    width: 100%;
    flex: 0 0 auto;
  }

  .social-links--contact {
    justify-content: center;
  }

  .mobile-nav-cue {
    right: calc(var(--edge) + 61px);
    font-size: 5.6px;
    white-space: nowrap;
  }

  .mobile-nav-cue-target {
    position: relative;
    display: inline-block;
  }

  .mobile-nav-cue-arrow {
    position: absolute;
    top: -25px;
    left: 2px;
    width: 41px;
    height: 27px;
    overflow: visible;
  }

  .mobile-nav-cue-arrow path {
    fill: none;
    stroke: url("#nmg-mobile-cue-gradient");
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.2;
  }
}

/* v1.21: shared primary page-title scale */

.work-hero h1,
.about-story h1,
.legal-content h1,
.error-content h1,
.contact-page .form-view > h1,
.news-signal h2 {
  color: var(--white);
  font-size: var(--page-title-size);
  font-weight: 700;
  letter-spacing: -0.064em;
  line-height: var(--page-title-leading);
}

@media (max-width: 760px) {
  .work-hero h1,
  .about-story h1,
  .legal-content h1,
  .error-content h1,
  .contact-page .form-view > h1,
  .news-signal h2 {
    font-size: var(--page-title-size-mobile);
  }
}

@media (max-width: 430px) {
  .work-hero h1,
  .about-story h1,
  .legal-content h1,
  .error-content h1,
  .contact-page .form-view > h1,
  .news-signal h2 {
    font-size: clamp(35px, 11.2vw, 48px);
  }
}

/* v1.23 final cascade */

@media (min-width: 1101px) {
  .home-page .site-header {
    top: clamp(28px, 5vh, 52px);
  }

  .home-page .site-primary-nav {
    position: static;
    gap: clamp(16px, 2.3vw, 34px);
    padding-top: 12px;
    transform: none;
  }

  .home-page .site-primary-nav a {
    font-size: 7px;
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .home-page .site-primary-nav {
    top: 12px;
    right: 0;
    left: 170px;
    gap: 18px;
  }
}

.home-page .stage-image {
  filter: brightness(0.96) saturate(1.02) contrast(1.035);
}

.home-page .stage-shade {
  background:
    radial-gradient(circle at 69% 48%, rgba(18, 30, 43, 0.03) 0%, rgba(5, 7, 10, 0.04) 42%, rgba(5, 7, 10, 0.22) 82%),
    linear-gradient(90deg, var(--ink) 0%, rgba(5, 7, 10, 0.96) 27%, rgba(5, 7, 10, 0.42) 43%, rgba(5, 7, 10, 0.06) 65%, rgba(5, 7, 10, 0.1) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.07) 0%, rgba(5, 7, 10, 0.03) 68%, rgba(5, 7, 10, 0.23) 100%);
}

.social-links,
.site-footer .social-links,
.work-footer .social-links {
  gap: 2px;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(rgba(5, 7, 10, 0.74), rgba(5, 7, 10, 0.82)) padding-box,
    linear-gradient(110deg, rgba(20, 216, 208, 0.64), rgba(95, 141, 246, 0.46) 52%, rgba(237, 80, 233, 0.64)) border-box;
  box-shadow:
    0 0 20px rgba(20, 216, 208, 0.05),
    0 0 22px rgba(237, 80, 233, 0.04);
  backdrop-filter: blur(14px);
}

.social-link,
.contact-dialog .social-link,
.contact-page .social-link {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
  border: 0;
  background: transparent;
}

.social-icon,
.contact-dialog .social-icon,
.contact-page .social-icon {
  width: 13px;
  height: 13px;
  opacity: 0.84;
}

.social-icon--instagram {
  width: 14px;
  height: 14px;
}

.social-icon--tiktok {
  transform: translate(0.4px, -0.2px);
}

.social-icon--x {
  width: 12px;
  height: 12px;
}

.social-icon--facebook {
  width: 13.5px;
  height: 13.5px;
  transform: translateX(0.2px);
}

.social-icon--youtube {
  width: 15px;
  height: 13px;
  transform: translateX(0.25px);
}

@media (hover: hover) and (pointer: fine) {
  .social-link:hover {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
    transform: none;
  }

  .social-link:hover .social-icon {
    background: var(--white);
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .mobile-nav-cue {
    top: max(78px, calc(env(safe-area-inset-top) + 78px));
    right: calc(var(--edge) + 69px);
    color: rgba(255, 255, 255, 0.76);
    font-size: 5.8px;
    letter-spacing: 0.2em;
    white-space: nowrap;
  }

  .mobile-nav-cue-text {
    position: relative;
    display: block;
    white-space: nowrap;
  }

  .mobile-nav-cue-arrow {
    position: absolute;
    top: -41px;
    right: -69px;
    left: auto;
    width: 72px;
    height: 54px;
    overflow: visible;
  }

  .mobile-nav-cue-arrow path {
    fill: none;
    stroke: url("#nmg-mobile-cue-gradient");
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.85;
  }

  .mobile-nav-cue-arrow-head {
    stroke-width: 2.2 !important;
  }

  .social-links,
  .site-footer .social-links,
  .work-footer .social-links {
    gap: 3px;
    padding: 5px;
  }

  .social-link,
  .contact-dialog .social-link,
  .contact-page .social-link {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}

/* v1.24: stable navigation, tighter page rhythm and new editorial routes */

.home-page .site-header {
  top: 0;
  right: 0;
  left: 0;
  align-items: flex-start;
  padding: clamp(20px, 3.2vh, 34px) var(--edge) clamp(15px, 2.2vh, 23px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.82), rgba(5, 7, 10, 0.57) 52%, rgba(5, 7, 10, 0.76));
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px) saturate(0.86);
}

.work-main {
  width: min(1480px, calc(100% - 8vw));
  padding-top: clamp(104px, 13vh, 138px);
  padding-bottom: clamp(42px, 6vh, 68px);
}

.work-route-grid {
  margin-top: clamp(48px, 7vh, 78px);
}

.about-gateway .work-hero {
  width: min(780px, 62vw);
}

.about-gateway .work-route-card,
.work-page--gateway .work-route-card {
  min-height: 198px;
}

.about-detail .work-main {
  min-height: auto;
  justify-content: flex-start;
  padding-top: clamp(110px, 13vh, 142px);
}

.about-story {
  max-width: 1290px;
  align-items: start;
  gap: clamp(42px, 7vw, 106px);
  grid-template-columns: minmax(340px, 0.88fr) minmax(380px, 0.9fr);
}

.about-story .work-kicker {
  margin-bottom: -8px;
}

.about-story-copy {
  max-width: 650px;
}

.about-story-copy p {
  font-size: clamp(12px, 0.98vw, 15px);
}

.about-next {
  margin-top: clamp(46px, 6vh, 72px);
}

.about-next a {
  min-height: 84px;
}

.work-content-grid {
  gap: clamp(38px, 6vw, 92px);
}

.work-detail-panel {
  padding: clamp(28px, 3vw, 46px);
}

.work-lede,
.work-detail-panel p,
.work-detail-list {
  text-wrap: pretty;
}

/* NMG Diaries */

.work-page--diaries {
  --work-image: url("/assets/img/work/creative.jpg");
  --work-position: 62% center;
}

.diaries-page .work-shell::before {
  filter: brightness(0.62) saturate(0.9) contrast(1.04);
}

.diaries-page .work-shell::after {
  background:
    radial-gradient(circle at 78% 42%, rgba(237, 80, 233, 0.11), transparent 34%),
    radial-gradient(circle at 66% 72%, rgba(20, 216, 208, 0.1), transparent 32%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.96) 0%, rgba(5, 7, 10, 0.78) 43%, rgba(5, 7, 10, 0.26) 76%, rgba(5, 7, 10, 0.48));
}

.diaries-intro {
  max-width: 820px;
}

.diary-feed {
  display: grid;
  gap: 18px;
  margin-top: clamp(48px, 7vh, 84px);
  padding-left: clamp(20px, 3vw, 44px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.diary-entry {
  position: relative;
  display: grid;
  min-height: 280px;
  gap: clamp(28px, 5vw, 82px);
  padding: clamp(30px, 4.4vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    linear-gradient(135deg, rgba(10, 14, 20, 0.86), rgba(5, 7, 10, 0.66)),
    radial-gradient(circle at 90% 16%, rgba(237, 80, 233, 0.11), transparent 38%);
  grid-template-columns: minmax(160px, 0.42fr) minmax(340px, 1fr);
  backdrop-filter: blur(16px);
}

.diary-entry::before {
  position: absolute;
  top: 45px;
  left: calc(clamp(20px, 3vw, 44px) * -1 - 5px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 22px rgba(20, 216, 208, 0.36);
  content: "";
}

.diary-stamp {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.diary-stamp time {
  color: var(--white);
  font-size: clamp(16px, 1.65vw, 24px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.diary-stamp span {
  width: fit-content;
  background: var(--gradient);
  background-clip: text;
  color: transparent;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.diary-copy h2 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(32px, 4.2vw, 64px);
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.diary-copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(12px, 0.98vw, 15px);
  line-height: 1.82;
}

/* Hidden production page blueprint */

.production-template .work-shell::before {
  filter: brightness(0.5) saturate(0.78);
}

.production-template-grid {
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(330px, 0.8fr) minmax(420px, 1.05fr);
}

.production-template-copy h1 {
  margin: 24px 0 0;
  color: var(--white);
  font-size: clamp(48px, 6.8vw, 104px);
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.production-status {
  display: inline-flex;
  margin-top: 28px;
  padding: 10px 14px;
  border: 1px solid rgba(20, 216, 208, 0.48);
  color: var(--cyan);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.production-template-panels {
  display: grid;
  gap: 14px;
}

.production-info-panel {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(14px);
}

.production-info-panel h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(15px, 1.5vw, 22px);
}

.production-info-panel p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.75;
}

/* Newsletter confirmation status */

.newsletter-status-page .work-shell::before {
  filter: brightness(0.42) saturate(0.78);
}

.newsletter-status-card {
  width: min(740px, 100%);
  margin: clamp(32px, 6vh, 70px) auto 0;
  padding: clamp(34px, 5vw, 68px);
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(rgba(8, 11, 16, 0.9), rgba(5, 7, 10, 0.92)) padding-box,
    var(--gradient) border-box;
  text-align: center;
  backdrop-filter: blur(22px);
}

.newsletter-status-card h1 {
  margin: 22px 0 0;
  color: var(--white);
  font-size: clamp(40px, 7vw, 78px);
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.newsletter-status-card p:not(.work-kicker) {
  max-width: 590px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.8;
}

/* Rendering work below the viewport only when needed saves mobile memory. */

.work-route-grid,
.work-detail-panel,
.about-next,
.diary-feed,
.site-footer,
.work-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 360px;
}

@media (min-width: 1101px) {
  .home-page .site-header {
    top: 0;
  }

  .home-page .site-primary-nav {
    padding-top: 10px;
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .home-page .site-header {
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .home-page .site-primary-nav {
    top: 15px;
    right: var(--edge);
    left: 190px;
    gap: clamp(10px, 1.45vw, 18px);
  }

  .home-page .site-primary-nav a {
    font-size: 6.2px;
  }
}

@media (max-width: 760px) {
  .home-page .site-header {
    padding: max(18px, env(safe-area-inset-top)) var(--edge) 14px;
  }

  .mobile-nav-toggle {
    top: max(18px, env(safe-area-inset-top));
    width: 50px;
    height: 50px;
  }

  .mobile-nav-cue {
    top: max(76px, calc(env(safe-area-inset-top) + 73px));
    right: calc(var(--edge) + 47px);
    max-width: min(144px, calc(100vw - 150px));
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(4.7px, 1.3vw, 5.7px);
    letter-spacing: 0.18em;
  }

  .mobile-nav-cue-text {
    display: block;
    overflow: hidden;
    text-overflow: clip;
  }

  .mobile-nav-cue-arrow {
    top: -22px;
    right: -39px;
    width: clamp(28px, 8.8vw, 38px);
    height: clamp(18px, 5.8vw, 25px);
  }

  .mobile-nav-cue-arrow path {
    stroke-width: 1.15;
  }

  .mobile-nav-cue-arrow-head {
    stroke-width: 1.4 !important;
  }

  .mobile-nav-panel {
    top: max(88px, calc(env(safe-area-inset-top) + 82px));
    max-height: calc(100svh - max(108px, calc(env(safe-area-inset-top) + 100px)));
    padding: 18px 18px 12px;
  }

  .mobile-nav-panel-label {
    padding-bottom: 10px;
  }

  .mobile-nav-route {
    min-height: clamp(48px, 7.4svh, 58px);
  }

  .work-main,
  .work-page:not(.work-page--gateway) .work-main {
    width: calc(100% - 40px);
    padding-top: max(36svh, 300px);
    padding-bottom: 42px;
  }

  .about-gateway .work-hero {
    width: 100%;
  }

  .about-detail .work-main {
    display: block;
    min-height: auto;
    padding-top: max(34svh, 292px);
  }

  .about-story {
    display: block;
  }

  .about-story .work-kicker {
    margin-bottom: 18px;
  }

  .about-story-copy {
    margin-top: 26px;
  }

  .about-story-copy p {
    font-size: 13px;
  }

  .about-next {
    margin-top: 42px;
  }

  .work-route-grid {
    margin-top: 42px;
  }

  .diary-feed {
    padding-left: 15px;
  }

  .diary-entry {
    display: block;
    min-height: 0;
    padding: 28px 22px;
  }

  .diary-entry::before {
    top: 34px;
    left: -20px;
  }

  .diary-copy {
    margin-top: 32px;
  }

  .production-template-grid {
    display: block;
  }

  .production-template-panels {
    margin-top: 38px;
  }
}

@media (max-width: 390px) {
  .mobile-nav-cue {
    right: calc(var(--edge) + 43px);
    max-width: 126px;
    letter-spacing: 0.14em;
  }

  .mobile-nav-cue-arrow {
    right: -35px;
  }

  .mobile-nav-panel {
    padding-right: 14px;
    padding-left: 14px;
  }

  .mobile-nav-route {
    min-height: 46px;
  }
}

/* v1.25: quieter home header, simplified mobile cue and warmer NMG Diaries */

.home-page .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  isolation: isolate;
  padding: 12px var(--edge) 10px;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-page .site-header::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: clamp(188px, 19vw, 330px);
  height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 10, 0) 0%,
      rgba(5, 7, 10, 0.2) 18%,
      rgba(5, 7, 10, 0.56) 42%,
      rgba(5, 7, 10, 0.7) 100%
    );
  content: "";
  pointer-events: none;
  backdrop-filter: blur(15px) saturate(0.88);
}

.home-page .site-header > * {
  position: relative;
  z-index: 1;
}

.work-page--diaries {
  --work-image: url("/assets/img/home/nmg-home-backstage-threshold.webp");
  --work-position: 58% center;
}

.diaries-page .work-shell::before {
  filter: brightness(0.75) saturate(1.02) contrast(1.03);
}

.diaries-page .work-shell::after {
  background:
    radial-gradient(circle at 80% 34%, rgba(237, 80, 233, 0.13), transparent 36%),
    radial-gradient(circle at 58% 72%, rgba(20, 216, 208, 0.1), transparent 34%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.95) 0%, rgba(5, 7, 10, 0.74) 40%, rgba(5, 7, 10, 0.18) 73%, rgba(5, 7, 10, 0.38));
}

.diaries-intro {
  max-width: 910px;
}

.diaries-intro .work-lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.81);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.78;
}

.diary-feed {
  border-left-color: rgba(255, 255, 255, 0.12);
}

.diary-entry {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(10, 14, 20, 0.74), rgba(5, 7, 10, 0.54)),
    radial-gradient(circle at 90% 15%, rgba(237, 80, 233, 0.14), transparent 42%);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(20px) saturate(0.92);
}

.diary-entry::after {
  position: absolute;
  top: 0;
  left: clamp(30px, 4.4vw, 64px);
  width: 76px;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: var(--gradient);
  content: "";
  opacity: 0.78;
}

.diary-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(13px, 1.02vw, 16px);
  line-height: 1.76;
}

@media (min-width: 1101px) {
  .home-page .site-primary-nav {
    padding-top: 9px;
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .home-page .site-header {
    padding-top: 11px;
    padding-bottom: 9px;
  }

  .home-page .site-header::before {
    left: 164px;
    height: 54px;
  }

  .home-page .site-primary-nav {
    top: 13px;
  }
}

@media (max-width: 760px) {
  .home-page .site-header {
    padding: max(14px, env(safe-area-inset-top)) var(--edge) 8px;
  }

  .home-page .site-header::before {
    left: 36vw;
    height: max(64px, calc(env(safe-area-inset-top) + 50px));
    background:
      linear-gradient(
        90deg,
        rgba(5, 7, 10, 0) 0%,
        rgba(5, 7, 10, 0.24) 22%,
        rgba(5, 7, 10, 0.68) 58%,
        rgba(5, 7, 10, 0.78) 100%
      );
  }

  .mobile-nav-toggle {
    top: max(16px, env(safe-area-inset-top));
  }

  .mobile-nav-cue {
    top: max(16px, env(safe-area-inset-top));
    right: calc(var(--edge) + 62px);
    display: flex;
    width: min(156px, calc(100vw - 176px));
    max-width: none;
    height: 50px;
    align-items: center;
    justify-content: flex-end;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(5.1px, 1.42vw, 6px);
    letter-spacing: 0.18em;
    line-height: 1.35;
    text-align: right;
  }

  .mobile-nav-cue-text {
    display: block;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }

  .mobile-nav-cue-arrow {
    display: none;
  }

  .diaries-page .work-main {
    padding-top: max(36svh, 304px);
  }

  .diaries-intro .work-lede {
    font-size: 13px;
  }

  .diary-entry {
    border-radius: 16px;
  }
}

@media (max-width: 390px) {
  .mobile-nav-cue {
    right: calc(var(--edge) + 58px);
    width: min(138px, calc(100vw - 158px));
    letter-spacing: 0.14em;
  }
}

/* v1.26: purpose-built Diaries artwork and navigation that switches on fit */

.work-page--diaries {
  --work-image: url("/assets/img/pages/nmg-diaries-backstage-notes-v1.26.webp");
  --work-position: center center;
}

.diaries-page .work-shell::before {
  filter: brightness(0.82) saturate(1.03) contrast(1.02);
}

.diaries-page .work-shell::after {
  background:
    radial-gradient(circle at 72% 32%, rgba(237, 80, 233, 0.08), transparent 34%),
    radial-gradient(circle at 50% 58%, rgba(20, 216, 208, 0.08), transparent 36%),
    linear-gradient(90deg, rgba(5, 7, 10, 0.97) 0%, rgba(5, 7, 10, 0.86) 34%, rgba(5, 7, 10, 0.26) 66%, rgba(5, 7, 10, 0.38));
}

html.compact-navigation body.mobile-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

html.compact-navigation .site-header,
html.compact-navigation .work-header {
  z-index: 110;
}

html.compact-navigation .work-header {
  position: relative;
}

html.compact-navigation .site-primary-nav,
html.compact-navigation .work-nav {
  display: none;
}

html.compact-navigation .site-header .brand-lockup,
html.compact-navigation .work-header .brand-lockup {
  position: relative;
  z-index: 111;
}

html.compact-navigation .mobile-nav-toggle {
  position: fixed;
  z-index: 212;
  top: max(8px, calc(env(safe-area-inset-top) + 7px));
  right: var(--edge);
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(rgba(5, 7, 10, 0.66), rgba(5, 7, 10, 0.78)) padding-box,
    var(--gradient) border-box;
  box-shadow:
    0 0 18px rgba(20, 216, 208, 0.07),
    0 0 22px rgba(237, 80, 233, 0.05);
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(18px) saturate(0.92);
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms ease;
}

html.compact-navigation .mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

html.compact-navigation .mobile-nav-toggle:active {
  transform: scale(0.96);
}

html.compact-navigation .mobile-nav-signal {
  position: relative;
  display: block;
  width: 23px;
  height: 23px;
}

html.compact-navigation .mobile-nav-signal::before,
html.compact-navigation .mobile-nav-signal::after {
  position: absolute;
  border-radius: 99px;
  background: var(--gradient);
  content: "";
  transition:
    top 240ms var(--ease-out),
    left 240ms var(--ease-out),
    width 240ms var(--ease-out),
    height 240ms var(--ease-out),
    transform 240ms var(--ease-out),
    background 180ms ease;
}

html.compact-navigation .mobile-nav-signal::before {
  top: 3px;
  left: 4px;
  width: 3px;
  height: 18px;
}

html.compact-navigation .mobile-nav-signal::after {
  top: 6px;
  right: 2px;
  width: 12px;
  height: 3px;
}

html.compact-navigation .mobile-menu-open .mobile-nav-signal::before,
html.compact-navigation .mobile-menu-open .mobile-nav-signal::after {
  top: 10px;
  left: 2px;
  width: 19px;
  height: 2px;
  background: var(--white);
}

html.compact-navigation .mobile-menu-open .mobile-nav-signal::before {
  transform: rotate(45deg);
}

html.compact-navigation .mobile-menu-open .mobile-nav-signal::after {
  transform: rotate(-45deg);
}

html.compact-navigation .mobile-nav-cue {
  position: fixed;
  z-index: 212;
  top: max(8px, calc(env(safe-area-inset-top) + 7px));
  right: calc(var(--edge) + 52px);
  display: flex;
  width: clamp(104px, 15vw, 180px);
  height: 44px;
  align-items: center;
  justify-content: flex-end;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(5px, 0.58vw, 6.4px);
  letter-spacing: 0.17em;
  line-height: 1.25;
  text-align: right;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

html.compact-navigation .mobile-nav-cue-text {
  display: block;
  white-space: nowrap;
}

html.compact-navigation .mobile-nav-cue-arrow {
  display: none;
}

html.compact-navigation .mobile-menu-open .mobile-nav-cue {
  opacity: 0;
  transform: translateY(-4px);
}

html.compact-navigation .mobile-nav-layer {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: block;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 220ms ease,
    visibility 0s linear 220ms;
}

html.compact-navigation .mobile-menu-open .mobile-nav-layer {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

html.compact-navigation .mobile-nav-scrim {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background:
    radial-gradient(circle at 82% 15%, rgba(237, 80, 233, 0.08), transparent 34%),
    radial-gradient(circle at 12% 52%, rgba(20, 216, 208, 0.08), transparent 37%),
    rgba(2, 4, 7, 0.68);
  backdrop-filter: blur(12px) saturate(0.76);
}

html.compact-navigation .mobile-nav-panel {
  position: absolute;
  z-index: 1;
  top: max(72px, calc(env(safe-area-inset-top) + 64px));
  right: var(--edge);
  width: min(680px, calc(100% - 10vw));
  max-height: calc(100svh - max(92px, calc(env(safe-area-inset-top) + 84px)));
  padding: 22px 20px 16px;
  overflow-y: auto;
  border: 1px solid transparent;
  border-radius: 21px;
  background:
    linear-gradient(145deg, rgba(12, 16, 22, 0.88), rgba(6, 8, 13, 0.9)) padding-box,
    linear-gradient(145deg, var(--cyan), var(--blue) 52%, var(--magenta)) border-box;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  opacity: 0;
  overscroll-behavior: contain;
  transform: translateY(-10px) scale(0.985);
  backdrop-filter: blur(28px) saturate(0.92);
  transition:
    opacity 220ms ease,
    transform 300ms var(--ease-out);
}

html.compact-navigation .mobile-menu-open .mobile-nav-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

html.compact-navigation .mobile-nav-panel-label {
  display: block;
  padding: 0 7px 13px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 7px;
  letter-spacing: 0.27em;
}

html.compact-navigation .mobile-nav-routes {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

html.compact-navigation .mobile-nav-route {
  position: relative;
  display: grid;
  min-height: clamp(50px, 6.8svh, 60px);
  align-items: center;
  gap: 11px;
  padding: 4px 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--white);
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  text-decoration: none;
}

html.compact-navigation .mobile-nav-route:last-child {
  border-bottom: 0;
}

html.compact-navigation .mobile-nav-route-number {
  width: fit-content;
  background: var(--gradient);
  background-clip: text;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html.compact-navigation .mobile-nav-route-name {
  font-size: clamp(10px, 1.35vw, 13px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

html.compact-navigation .mobile-nav-route-arrow {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

html.compact-navigation .mobile-nav-route-arrow::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 15px;
  height: 1px;
  background: currentColor;
  content: "";
}

html.compact-navigation .mobile-nav-route-arrow::after {
  position: absolute;
  top: 4px;
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

html.compact-navigation .mobile-nav-route[aria-current="page"] {
  background: linear-gradient(90deg, rgba(20, 216, 208, 0.08), rgba(237, 80, 233, 0.04));
}

html.compact-navigation .mobile-nav-route:focus-visible {
  border-radius: 5px;
  outline: 1px solid var(--cyan);
  outline-offset: -2px;
}

html.compact-navigation .home-page .site-header::before {
  height: max(58px, calc(env(safe-area-inset-top) + 52px));
}

@media (max-width: 760px) {
  html.compact-navigation .home-page .site-header {
    padding-top: max(12px, env(safe-area-inset-top));
  }

  html.compact-navigation .home-page .site-header::before {
    left: 35vw;
  }

  html.compact-navigation .mobile-nav-panel {
    right: var(--edge);
    left: var(--edge);
    width: auto;
    padding: 18px 18px 12px;
  }

  html.compact-navigation .mobile-nav-route {
    min-height: clamp(47px, 7svh, 56px);
  }

  html.compact-navigation .mobile-nav-route-name {
    font-size: clamp(10px, 3.1vw, 13px);
  }

  .work-page--diaries {
    --work-position: 62% center;
  }
}

@media (max-width: 390px) {
  html.compact-navigation .mobile-nav-toggle {
    width: 42px;
    height: 42px;
  }

  html.compact-navigation .mobile-nav-cue {
    right: calc(var(--edge) + 49px);
    width: 104px;
    height: 42px;
    font-size: 5px;
    letter-spacing: 0.13em;
  }
}

/* v1.27: one shared header rhythm and a production-led home image */

.home-page .site-header {
  position: fixed;
  top: 0;
  right: auto;
  left: 50%;
  width: min(1480px, calc(100% - 8.4vw));
  min-height: 92px;
  margin: 0;
  padding: clamp(28px, 5vh, 52px) 0 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  backdrop-filter: none;
}

.home-page .site-header::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc((100vw - 100%) / -2);
  left: clamp(154px, 15vw, 230px);
  height: clamp(74px, 8.8vh, 92px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 10, 0) 0%,
      rgba(5, 7, 10, 0.18) 14%,
      rgba(5, 7, 10, 0.52) 35%,
      rgba(5, 7, 10, 0.69) 100%
    );
  pointer-events: none;
  backdrop-filter: blur(16px) saturate(0.88);
}

.home-page .site-primary-nav {
  position: static;
  display: flex;
  margin-left: auto;
  padding-top: 12px;
  gap: clamp(16px, 2.3vw, 34px);
  align-items: center;
  justify-content: flex-end;
  transform: none;
}

.home-page .site-primary-nav a {
  font-size: 7px;
}

.home-page .stage-image {
  filter: brightness(1.01) saturate(1.02) contrast(1.025);
}

.home-page .stage-shade {
  background:
    radial-gradient(circle at 76% 47%, rgba(18, 30, 43, 0) 0%, rgba(5, 7, 10, 0.02) 45%, rgba(5, 7, 10, 0.14) 84%),
    linear-gradient(90deg, var(--ink) 0%, rgba(5, 7, 10, 0.88) 25%, rgba(5, 7, 10, 0.28) 44%, rgba(5, 7, 10, 0.01) 67%, rgba(5, 7, 10, 0.03) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.02) 0%, rgba(5, 7, 10, 0) 66%, rgba(5, 7, 10, 0.2) 100%);
}

html.compact-navigation .home-page .site-header {
  width: min(1480px, calc(100% - 8.4vw));
}

@media (max-width: 760px) {
  .home-page .site-header,
  html.compact-navigation .home-page .site-header {
    width: calc(100% - max(40px, env(safe-area-inset-left) + env(safe-area-inset-right) + 24px));
    min-height: 78px;
    padding: max(20px, env(safe-area-inset-top)) 0 10px;
  }

  .home-page .site-header::before,
  html.compact-navigation .home-page .site-header::before {
    right: calc((100vw - 100%) / -2);
    left: 122px;
    height: max(72px, calc(env(safe-area-inset-top) + 58px));
  }

  .home-page .stage-artboard {
    left: 32%;
  }
}

/* v1.43: responsive refinement, new page worlds and one shared interaction system */

.work-page--about {
  --work-image: url("/assets/img/pages/v1.43/about-shared-room.webp");
  --work-position: center center;
}

.about-detail--why {
  --work-image: url("/assets/img/pages/v1.43/about-why-memory-wall.webp");
  --work-position: center center;
}

.about-detail--build {
  --work-image: url("/assets/img/pages/v1.43/about-how-we-build.webp");
  --work-position: center center;
}

.work-page--next,
.about-detail--next {
  --work-image: url("/assets/img/pages/v1.43/about-what-comes-next.webp");
  --work-position: center center;
}

.work-page--productions {
  --work-image: url("/assets/img/pages/v1.43/productions-reveal.webp");
  --work-position: center center;
}

.work-page--store,
.store-page {
  --work-image: url("/assets/img/pages/v1.43/store-collection-in-development.webp");
  --work-position: center center;
}

/* Full four-edge hover treatment on the About gateway. */

.about-gateway .work-route-grid--about {
  gap: 1px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
}

.about-gateway .work-route-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(5, 7, 10, 0.68);
  transition:
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 320ms var(--ease-out);
}

.about-gateway .work-route-card:hover,
.about-gateway .work-route-card:focus-visible {
  border-color: transparent;
  outline: 0;
  background:
    linear-gradient(rgba(8, 11, 18, 0.9), rgba(8, 11, 18, 0.9)) padding-box,
    var(--gradient) border-box;
  box-shadow:
    0 0 0 1px rgba(102, 139, 248, 0.1),
    0 0 28px rgba(20, 216, 208, 0.09),
    0 0 32px rgba(237, 80, 233, 0.08);
}

/* The freestanding diagonal arrows are replaced by the NMG Signal. */

.route-arrow {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: url("/assets/img/nmg-navigation-signal.png?v=1.49") center / contain no-repeat;
  color: transparent;
}

.route-arrow::before,
.route-arrow::after {
  content: none;
}

/* Compact continuation control for the About detail pages. */

.about-next {
  display: flex;
  margin-top: clamp(36px, 5vh, 58px);
  justify-content: flex-end;
  border: 0;
}

.about-next a {
  width: min(430px, 100%);
  min-height: 66px;
  padding: 7px 9px 7px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(rgba(7, 10, 15, 0.72), rgba(7, 10, 15, 0.82)) padding-box,
    linear-gradient(90deg, rgba(20, 216, 208, 0.62), rgba(102, 139, 248, 0.5), rgba(237, 80, 233, 0.62)) border-box;
  grid-template-columns: 58px minmax(0, 1fr) 42px;
  backdrop-filter: blur(14px);
  transition:
    box-shadow 220ms ease,
    transform 260ms var(--ease-out);
}

.about-next a:hover,
.about-next a:focus-visible {
  box-shadow: 0 0 30px rgba(102, 139, 248, 0.15);
  outline: 0;
  transform: translateY(-2px);
}

.about-next strong {
  overflow: hidden;
  font-size: clamp(12px, 1.15vw, 16px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about-next .route-arrow {
  width: 38px;
  height: 38px;
}

/* All public pill CTAs now use the homepage dimensions. */

.contact-button:not(.success-close),
.work-hero-actions .contact-button,
.about-story-copy .contact-button,
.news-signal .contact-button,
.coming-soon-hero .contact-button,
.roles-empty .contact-button {
  width: min(250px, 100%);
  min-height: 58px;
}

.home-contact-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-links--home-contact {
  display: none;
}

html.compact-navigation .home-page .social-links--home-contact {
  display: flex;
}

html.compact-navigation .home-page .site-footer .social-links--home {
  display: none;
}

/* Store pre-opening content makes the absence of products feel intentional. */

.store-page .work-main {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(34px, 5vh, 54px);
}

.store-preview-rail {
  display: grid;
  width: min(980px, 100%);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.12);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  backdrop-filter: blur(14px);
}

.store-preview-item {
  display: grid;
  min-height: 104px;
  align-content: center;
  gap: 8px;
  padding: 20px 22px;
  background: rgba(5, 7, 10, 0.72);
}

.store-preview-item span {
  width: fit-content;
  background: var(--gradient);
  background-clip: text;
  color: transparent;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.21em;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.store-preview-item strong {
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: -0.035em;
}

.store-preview-item small {
  color: rgba(255, 255, 255, 0.46);
  font-size: 7px;
  letter-spacing: 0.14em;
}

/* Checkbox controls align with the first line of their copy in every form. */

label.consent-field,
.consent-field > label {
  display: grid;
  align-items: start;
  gap: 12px;
  grid-template-columns: 18px minmax(0, 1fr);
}

label.consent-field > input[type="checkbox"],
.consent-field > label > input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 0 0;
  padding: 0;
}

label.consent-field > span,
.consent-field > label > span {
  min-width: 0;
}

/* A well-sized desktop homepage is a single intentional frame. */

@media (min-width: 761px) and (min-height: 680px) {
  body.home-page {
    height: 100svh;
    overflow: hidden;
  }

  .home-page .site-shell,
  .home-page .hero {
    height: 100svh;
    min-height: 0;
  }

  .home-page .hero-copy {
    padding-top: clamp(124px, 17svh, 184px);
    padding-bottom: 92px;
  }

  .home-page .hero h1 {
    margin-top: clamp(17px, 2.4vh, 24px);
    font-size: clamp(36px, min(3.55vw, 6.2vh), 66px);
  }

  .home-page .headline-block + .headline-block {
    margin-top: clamp(20px, 2.8vh, 30px);
  }

  .home-page .hero-rule {
    margin-top: clamp(18px, 2.5vh, 27px);
  }

  .home-page .hero-intro {
    margin-top: clamp(14px, 2vh, 21px);
  }

  .home-page .contact-action {
    margin-top: clamp(18px, 2.6vh, 28px);
    gap: 11px;
  }
}

@media (max-width: 760px) {
  .about-gateway .work-shell::before,
  .about-detail .work-shell::before,
  .work-page--next .work-shell::before,
  .work-page--productions .work-shell::before,
  .store-page .work-shell::before {
    background-position: 62% center;
  }

  .about-next {
    margin-top: 34px;
  }

  .about-next a {
    min-height: 62px;
    padding-left: 16px;
    grid-template-columns: 48px minmax(0, 1fr) 38px;
  }

  .about-next strong {
    font-size: 12px;
  }

  .home-contact-controls {
    width: 100%;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .home-contact-controls .contact-button {
    width: min(228px, 42vw);
    flex: 0 0 auto;
  }

  .social-links--home-contact {
    gap: 4px;
    flex: 0 0 auto;
  }

  .social-links--home-contact .social-link {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .social-links--home-contact .social-icon {
    width: 13px;
    height: 13px;
  }

  .store-page .work-main {
    gap: 34px;
  }

  .store-preview-rail {
    grid-template-columns: 1fr;
  }

  .store-preview-item {
    min-height: 90px;
  }

  .contact-button:not(.success-close),
  .work-hero-actions .contact-button,
  .about-story-copy .contact-button,
  .news-signal .contact-button,
  .coming-soon-hero .contact-button,
  .roles-empty .contact-button {
    min-height: 52px;
  }
}

@media (max-width: 520px) {
  .home-contact-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-contact-controls .contact-button {
    width: min(250px, 100%);
  }
}

/* v1.28: exact NMG navigation symbol with a persistent close control */

html.compact-navigation .mobile-nav-toggle {
  overflow: hidden;
  border: 0;
  background: #020509;
}

html.compact-navigation .mobile-nav-signal-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
  transition:
    opacity 180ms ease,
    transform 220ms var(--ease-out);
}

html.compact-navigation .mobile-nav-close {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

html.compact-navigation .mobile-nav-close::before,
html.compact-navigation .mobile-nav-close::after {
  position: absolute;
  top: 21px;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--white);
  content: "";
}

html.compact-navigation .mobile-nav-close::before {
  transform: rotate(45deg);
}

html.compact-navigation .mobile-nav-close::after {
  transform: rotate(-45deg);
}

html.compact-navigation .mobile-menu-open .mobile-nav-signal-image {
  opacity: 0;
  transform: scale(0.88);
}

html.compact-navigation .mobile-menu-open .mobile-nav-close {
  opacity: 1;
}

html.compact-navigation .mobile-nav-cue-arrow {
  display: none !important;
}

@media (max-width: 390px) {
  html.compact-navigation .mobile-nav-close::before,
  html.compact-navigation .mobile-nav-close::after {
    top: 20px;
    left: 11px;
  }
}

/* v1.29: individual social signals and first-visit social invitation */

.social-links,
.site-footer .social-links,
.work-footer .social-links,
.social-links--contact,
.social-links--newsletter {
  gap: 11px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.social-link,
.contact-dialog .social-link,
.contact-page .social-link,
.newsletter-dialog .social-link {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  place-items: center;
  border: 1.25px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(rgba(5, 7, 10, 0.88), rgba(8, 12, 19, 0.93)) padding-box,
    linear-gradient(135deg, rgba(20, 216, 208, 0.94), rgba(95, 141, 246, 0.86) 52%, rgba(237, 80, 233, 0.94)) border-box;
  box-shadow:
    0 0 17px rgba(20, 216, 208, 0.075),
    0 0 20px rgba(237, 80, 233, 0.06);
  transition:
    border-radius 220ms var(--ease-out),
    box-shadow 220ms ease,
    transform 220ms var(--ease-out);
}

.social-icon,
.contact-dialog .social-icon,
.contact-page .social-icon,
.newsletter-dialog .social-icon {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.social-icon--instagram {
  width: 17px;
  height: 17px;
}

.social-icon--tiktok {
  width: 16px;
  height: 16px;
}

.social-icon--x {
  width: 14px;
  height: 14px;
}

.social-icon--facebook {
  width: 15px;
  height: 15px;
}

.social-icon--youtube {
  width: 18px;
  height: 15px;
}

.social-link:focus-visible {
  border-color: transparent;
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .social-link:hover,
  .contact-dialog .social-link:hover,
  .contact-page .social-link:hover,
  .newsletter-dialog .social-link:hover {
    border-color: transparent;
    border-radius: 12px;
    background:
      linear-gradient(rgba(13, 19, 28, 0.96), rgba(10, 14, 22, 0.98)) padding-box,
      linear-gradient(135deg, var(--cyan), #6a8ff4 52%, var(--magenta)) border-box;
    box-shadow:
      0 0 22px rgba(20, 216, 208, 0.14),
      0 0 25px rgba(237, 80, 233, 0.12);
    transform: none;
  }

  .social-link:hover .social-icon {
    background: var(--white);
    opacity: 1;
  }
}

.newsletter-social-block {
  display: flex;
  width: min(660px, 100%);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 2px;
  padding: 16px 0 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-social-copy {
  min-width: 0;
}

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

.newsletter-social-copy > p:last-child {
  margin: 6px 0 0;
  color: var(--soft);
  font-size: 9px;
  letter-spacing: 0.02em;
  line-height: 1.6;
}

.newsletter-social-host {
  flex: 0 0 auto;
}

.newsletter-social-block--success {
  margin-top: 34px;
}

@media (max-width: 760px) {
  .social-links,
  .site-footer .social-links,
  .work-footer .social-links,
  .social-links--contact,
  .social-links--newsletter {
    gap: 10px;
    padding: 0;
  }

  .social-link,
  .contact-dialog .social-link,
  .contact-page .social-link,
  .newsletter-dialog .social-link {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .social-icon,
  .contact-dialog .social-icon,
  .contact-page .social-icon,
  .newsletter-dialog .social-icon {
    width: 17px;
    height: 17px;
  }

  .social-icon--instagram {
    width: 18px;
    height: 18px;
  }

  .social-icon--x {
    width: 15px;
    height: 15px;
  }

  .social-icon--facebook {
    width: 16px;
    height: 16px;
  }

  .social-icon--youtube {
    width: 19px;
    height: 16px;
  }

  .newsletter-social-block {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-top: 17px;
  }

  .newsletter-social-copy > p:last-child {
    font-size: 10px;
  }

  .newsletter-social-host {
    width: 100%;
  }

  .social-links--newsletter {
    width: 100%;
    justify-content: flex-start;
  }

  .newsletter-social-block--success {
    margin-top: 30px;
  }
}

/* v1.33: exact NMG colour system and legibility audit */

@media (min-width: 761px) {
  .home-page .site-primary-nav a,
  .work-nav,
  .work-nav a {
    font-size: 8px;
  }

  .site-footer,
  .work-footer {
    font-size: 7px;
  }

  .contact-label,
  .field label {
    font-size: 8px;
  }

  .form-privacy {
    font-size: 7px;
    line-height: 1.7;
  }

  .work-breadcrumb {
    font-size: 8px;
  }

  .route-number {
    font-size: 8px;
  }

  .route-description {
    font-size: clamp(8.5px, 0.7vw, 10.5px);
    line-height: 1.72;
  }

  .about-gateway .route-description,
  .work-page--gateway .route-description {
    font-size: clamp(9.5px, 0.78vw, 12px);
  }

  .work-detail-list li {
    font-size: 10px;
    line-height: 1.7;
  }

  .work-detail-note {
    font-size: 8px;
    line-height: 1.75;
  }

  .work-subroutes a {
    font-size: 7.5px;
  }

  .field-hint {
    font-size: 7.5px;
  }

  .consent-field {
    font-size: 8px;
  }

  .principle-card strong {
    font-size: 9px;
  }

  .principle-card span {
    font-size: 8px;
  }
}

/* v1.34: shared desktop navigation rhythm */

@media (min-width: 1101px) {
  .home-page .site-header,
  .work-header {
    width: min(1480px, calc(100% - 8.4vw));
    padding-top: clamp(28px, 5vh, 52px);
  }

  .home-page .site-header {
    min-height: 0;
    padding-bottom: 0;
  }

  .home-page .site-primary-nav,
  .work-nav {
    gap: clamp(16px, 2.3vw, 34px);
    padding-top: 12px;
  }

  .home-page .site-primary-nav a,
  .work-nav a {
    padding: 6px 0;
    font-size: 8px;
    letter-spacing: 0.18em;
    line-height: 1;
  }
}

/* v1.36: restore homepage navigation interaction on the shared component */

.home-page .site-header > .work-nav,
.home-page .site-header > .work-nav a {
  pointer-events: auto;
}

/* v1.37: one fixed, frosted navigation bar throughout the website */

.home-page .site-header,
.work-header,
html.compact-navigation .home-page .site-header,
html.compact-navigation .work-header {
  position: fixed;
  z-index: 110;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: 104px;
  margin: 0;
  padding: clamp(24px, 3.5vh, 36px)
    max(4.2vw, calc((100vw - 1480px) / 2))
    16px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 10, 0.84) 0%,
      rgba(5, 7, 10, 0.62) 50%,
      rgba(5, 7, 10, 0.76) 100%
    );
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.18);
  transform: none;
  isolation: isolate;
  -webkit-backdrop-filter: blur(18px) saturate(0.9);
  backdrop-filter: blur(18px) saturate(0.9);
}

.home-page .site-header::before,
html.compact-navigation .home-page .site-header::before {
  content: none;
}

.home-page .site-header > *,
.work-header > * {
  position: relative;
  z-index: 1;
}

.home-page .site-header > .work-nav,
.work-header > .work-nav {
  margin-left: auto;
}

.work-main {
  padding-top: clamp(174px, 18vh, 210px);
}

@media (max-width: 1100px) and (min-width: 761px) {
  .home-page .site-header,
  .work-header,
  html.compact-navigation .home-page .site-header,
  html.compact-navigation .work-header {
    min-height: 94px;
    padding: 22px 4.2vw 14px;
  }

  .work-main {
    padding-top: clamp(156px, 17vh, 188px);
  }
}

@media (max-width: 760px) {
  .home-page .site-header,
  .work-header,
  html.compact-navigation .home-page .site-header,
  html.compact-navigation .work-header {
    min-height: max(78px, calc(env(safe-area-inset-top) + 64px));
    padding:
      max(14px, env(safe-area-inset-top))
      max(5vw, env(safe-area-inset-right))
      10px
      max(5vw, env(safe-area-inset-left));
    align-items: flex-start;
    background: rgba(5, 7, 10, 0.72);
    -webkit-backdrop-filter: blur(18px) saturate(0.88);
    backdrop-filter: blur(18px) saturate(0.88);
  }

  .work-main {
    padding-top: max(118px, calc(env(safe-area-inset-top) + 104px));
  }
}

.contact-page .standalone-contact {
  padding-top: 128px;
}

.contact-page .contact-panel-standalone {
  min-height: calc(100svh - 152px);
}

.contact-page .contact-panel-standalone > .contact-panel-header .brand-lockup {
  display: none;
}

.contact-page .contact-panel-standalone > .contact-panel-header .dialog-close {
  margin-left: auto;
}

@media (max-width: 760px) {
  .contact-page .standalone-contact {
    padding-top: max(94px, calc(env(safe-area-inset-top) + 82px));
  }

  .contact-page .contact-panel-standalone {
    min-height: calc(100svh - max(94px, calc(env(safe-area-inset-top) + 82px)));
  }
}

/* v1.38: slimmer, clearer frosted navigation */

.home-page .site-header,
.work-header,
html.compact-navigation .home-page .site-header,
html.compact-navigation .work-header {
  min-height: 88px;
  padding: 14px max(4.2vw, calc((100vw - 1480px) / 2)) 6px;
  border-bottom-color: rgba(255, 255, 255, 0.045);
  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 10, 0.42) 0%,
      rgba(5, 7, 10, 0.2) 52%,
      rgba(5, 7, 10, 0.3) 100%
    );
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(12px) saturate(0.96);
  backdrop-filter: blur(12px) saturate(0.96);
}

.home-page .site-header > .work-nav,
.work-header > .work-nav {
  padding-top: 15px;
}

.work-main {
  padding-top: clamp(150px, 15.5vh, 174px);
}

.contact-page .standalone-contact {
  padding-top: 108px;
}

.contact-page .contact-panel-standalone {
  min-height: calc(100svh - 132px);
}

@media (max-width: 1100px) and (min-width: 761px) {
  .home-page .site-header,
  .work-header,
  html.compact-navigation .home-page .site-header,
  html.compact-navigation .work-header {
    min-height: 84px;
    padding: 12px 4.2vw 5px;
  }

  .work-main {
    padding-top: clamp(136px, 15vh, 158px);
  }
}

@media (max-width: 760px) {
  .home-page .site-header,
  .work-header,
  html.compact-navigation .home-page .site-header,
  html.compact-navigation .work-header {
    min-height: max(76px, calc(env(safe-area-inset-top) + 60px));
    padding:
      max(8px, env(safe-area-inset-top))
      max(5vw, env(safe-area-inset-right))
      5px
      max(5vw, env(safe-area-inset-left));
    background: rgba(5, 7, 10, 0.3);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.09);
    -webkit-backdrop-filter: blur(12px) saturate(0.94);
    backdrop-filter: blur(12px) saturate(0.94);
  }

  .work-main {
    padding-top: max(104px, calc(env(safe-area-inset-top) + 90px));
  }

  .contact-page .standalone-contact {
    padding-top: max(84px, calc(env(safe-area-inset-top) + 72px));
  }

  .contact-page .contact-panel-standalone {
    min-height: calc(100svh - max(84px, calc(env(safe-area-inset-top) + 72px)));
  }
}

/* v1.39: ultra-light navigation strip, centred links and logo-side fade */

.home-page .site-header,
.work-header,
html.compact-navigation .home-page .site-header,
html.compact-navigation .work-header {
  min-height: 80px;
  padding: 10px max(4.2vw, calc((100vw - 1480px) / 2)) 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-page .site-header::before,
.work-header::before,
html.compact-navigation .home-page .site-header::before,
html.compact-navigation .work-header::before {
  position: absolute;
  z-index: -1;
  top: 10px;
  right: 0;
  left: clamp(154px, 12vw, 210px);
  height: 54px;
  border: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 10, 0) 0%,
      rgba(5, 7, 10, 0.025) 9%,
      rgba(5, 7, 10, 0.1) 22%,
      rgba(5, 7, 10, 0.16) 42%,
      rgba(5, 7, 10, 0.18) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    inset 0 -1px 0 rgba(255, 255, 255, 0.035);
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.36) 11%, #000 27%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.36) 11%, #000 27%, #000 100%);
  -webkit-backdrop-filter: blur(10px) saturate(0.98);
  backdrop-filter: blur(10px) saturate(0.98);
}

@media (min-width: 761px) {
  .home-page .site-header > .work-nav,
  .work-header > .work-nav {
    position: absolute;
    top: 10px;
    left: 50%;
    height: 54px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(15px, 2.05vw, 32px);
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .home-page .site-header > .work-nav a,
  .work-header > .work-nav a {
    display: flex;
    height: 54px;
    padding: 0;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .home-page .site-header > .work-nav a::after,
  .work-header > .work-nav a::after {
    bottom: 6px;
  }
}

@media (max-width: 760px) {
  .home-page .site-header,
  .work-header,
  html.compact-navigation .home-page .site-header,
  html.compact-navigation .work-header {
    min-height: max(72px, calc(env(safe-area-inset-top) + 56px));
    padding:
      max(7px, env(safe-area-inset-top))
      max(5vw, env(safe-area-inset-right))
      0
      max(5vw, env(safe-area-inset-left));
    background: transparent;
  }

  .home-page .site-header::before,
  .work-header::before,
  html.compact-navigation .home-page .site-header::before,
  html.compact-navigation .work-header::before {
    top: max(7px, env(safe-area-inset-top));
    left: 108px;
    height: 46px;
    background: linear-gradient(90deg, transparent, rgba(5, 7, 10, 0.08) 30%, rgba(5, 7, 10, 0.15));
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%, #000 100%);
    mask-image: linear-gradient(90deg, transparent, #000 34%, #000 100%);
    -webkit-backdrop-filter: blur(9px) saturate(0.98);
    backdrop-filter: blur(9px) saturate(0.98);
  }
}

/* v1.43 final cascade: keep the new branded cues above historical overrides. */

.route-arrow,
html.compact-navigation .mobile-nav-route-arrow {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: url("/assets/img/nmg-navigation-signal.png?v=1.49") center / contain no-repeat;
  color: transparent;
}

.route-arrow::before,
.route-arrow::after,
html.compact-navigation .mobile-nav-route-arrow::before,
html.compact-navigation .mobile-nav-route-arrow::after {
  content: none;
}

.social-links--home-contact {
  display: none;
}

html.compact-navigation .home-page .social-links--home-contact {
  display: flex;
}

html.compact-navigation .home-page .site-footer .social-links--home {
  display: none;
}

@media (max-width: 760px) {
  html.compact-navigation .mobile-nav-route-arrow {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
}

/* v1.44: composed responsive controls and a quieter About journey */

.work-page--next,
.about-detail--next {
  --work-image: url("/assets/img/pages/v1.44/about-what-comes-next-arena.webp");
  --work-position: center center;
}

/* Keep the homepage CTA intact when navigation switches to its compact state. */

html.compact-navigation .home-page .contact-action {
  width: fit-content;
  max-width: 100%;
}

html.compact-navigation .home-page .home-contact-controls {
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

html.compact-navigation .home-page .home-contact-controls .contact-button {
  width: 250px;
  min-width: 250px;
  flex: 0 0 250px;
}

html.compact-navigation .home-page .social-links--home-contact {
  flex: 0 0 auto;
  justify-content: flex-start;
}

/* Restore a simple directional arrow and integrate it into each link. */

.route-arrow,
html.compact-navigation .mobile-nav-route-arrow {
  position: relative;
  width: 22px;
  height: 18px;
  flex: 0 0 22px;
  background: none;
  color: rgba(255, 255, 255, 0.82);
}

.route-arrow::before,
html.compact-navigation .mobile-nav-route-arrow::before {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: translateY(-50%);
}

.route-arrow::after,
html.compact-navigation .mobile-nav-route-arrow::after {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.work-route-card > .route-arrow {
  position: absolute;
  top: 25px;
  right: 25px;
  margin: 0;
}

.work-route-card:hover > .route-arrow,
.work-route-card:focus-visible > .route-arrow {
  color: var(--cyan);
  transform: translateX(3px);
}

/* About detail pages: editorial continuation link, not a separate panel. */

.about-detail .work-main {
  padding-top: clamp(146px, 16vh, 184px);
  padding-bottom: clamp(54px, 7vh, 82px);
}

.about-story {
  max-width: 1290px;
  align-items: start;
  column-gap: clamp(50px, 7vw, 108px);
  row-gap: clamp(22px, 3vh, 34px);
}

.about-story .work-kicker {
  margin-bottom: 0;
}

.about-story-copy {
  padding-top: 2px;
}

.about-story-copy p {
  margin-bottom: 16px;
}

.about-story-copy .contact-button {
  margin-top: 22px;
}

.about-next {
  display: block;
  width: min(650px, 100%);
  margin: clamp(24px, 3.5vh, 38px) 0 0 auto;
  border: 0;
}

.about-next a {
  display: grid;
  width: 100%;
  min-height: 0;
  align-items: center;
  gap: 18px;
  padding: 16px 2px 15px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  grid-template-columns: auto minmax(0, 1fr) 22px;
  backdrop-filter: none;
  transition:
    border-color 220ms ease,
    color 220ms ease;
}

.about-next a:hover,
.about-next a:focus-visible {
  border-top-color: rgba(20, 216, 208, 0.72);
  outline: 0;
  box-shadow: none;
  transform: none;
}

.about-next a > span:first-child {
  width: fit-content;
  background: var(--gradient);
  background-clip: text;
  color: transparent;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.22em;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-next strong {
  overflow: visible;
  color: var(--white);
  font-size: clamp(12px, 1.12vw, 16px);
  letter-spacing: -0.03em;
  text-overflow: clip;
  white-space: normal;
  -webkit-text-fill-color: currentColor;
}

.about-next .route-arrow {
  position: relative;
  top: auto;
  right: auto;
  width: 22px;
  height: 18px;
  margin: 0;
}

.about-next a:hover .route-arrow,
.about-next a:focus-visible .route-arrow {
  color: var(--cyan);
  transform: translateX(3px);
}

@media (max-width: 760px) {
  .about-detail .work-main {
    padding-top: max(36svh, 306px);
    padding-bottom: 46px;
  }

  .about-story .work-kicker {
    margin-bottom: 17px;
  }

  .about-story-copy {
    margin-top: 25px;
  }

  .about-next {
    margin-top: 29px;
  }

  .about-next a {
    min-height: 0;
    padding: 15px 1px 14px;
    grid-template-columns: auto minmax(0, 1fr) 22px;
  }

  .about-next strong {
    font-size: 12px;
  }

  html.compact-navigation .home-page .home-contact-controls .contact-button {
    width: 224px;
    min-width: 224px;
    flex-basis: 224px;
  }
}

@media (max-width: 520px) {
  html.compact-navigation .home-page .home-contact-controls {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  html.compact-navigation .home-page .home-contact-controls .contact-button {
    width: min(250px, 100%);
    min-width: min(250px, 100%);
    flex-basis: auto;
  }
}

/* v1.45: sticky page footer, complete card perimeter and true vector arrows */

/* Short pages still reserve all spare height above the footer. */

.work-shell {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
}

.work-main {
  flex: 1 0 auto;
}

.work-footer {
  margin-top: auto;
  flex: 0 0 auto;
}

/* Use one crisp right-facing SVG arrow instead of assembled line fragments. */

.route-arrow,
html.compact-navigation .mobile-nav-route-arrow {
  background: none;
  color: rgba(255, 255, 255, 0.82);
}

.route-arrow::before,
html.compact-navigation .mobile-nav-route-arrow::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: currentColor;
  content: "";
  transform: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M1 8h20M15 2l6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M1 8h20M15 2l6 6-6 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.route-arrow::after,
html.compact-navigation .mobile-nav-route-arrow::after {
  content: none;
}

/* A dedicated overlay draws the complete four-sided NMG gradient perimeter. */

.about-gateway .work-route-card {
  isolation: isolate;
}

.about-gateway .work-route-card::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  padding: 1px;
  background: var(--gradient);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.about-gateway .work-route-card:hover,
.about-gateway .work-route-card:focus-visible {
  border-color: transparent;
  background: rgba(8, 11, 18, 0.91);
  box-shadow:
    0 0 24px rgba(20, 216, 208, 0.11),
    0 0 28px rgba(237, 80, 233, 0.1);
}

.about-gateway .work-route-card:hover::after,
.about-gateway .work-route-card:focus-visible::after {
  opacity: 1;
}

.about-gateway .work-route-card > span,
.about-gateway .work-route-card > .route-arrow {
  z-index: 4;
}

/* v1.46: vertically centre the compact navigation cue within the frosted strip */

html.compact-navigation .mobile-nav-toggle {
  top: 15px;
}

html.compact-navigation .mobile-nav-cue {
  top: 10px;
  height: 54px;
  align-items: center;
}

@media (max-width: 760px) {
  html.compact-navigation .mobile-nav-toggle {
    top: calc(max(7px, env(safe-area-inset-top)) + 1px);
  }

  html.compact-navigation .mobile-nav-cue {
    top: max(7px, env(safe-area-inset-top));
    height: 46px;
  }
}

@media (max-width: 390px) {
  html.compact-navigation .mobile-nav-toggle {
    top: calc(max(7px, env(safe-area-inset-top)) + 2px);
  }
}

/* v1.47: keep social navigation in the footer at every viewport size. */

.social-links--home-contact {
  display: none !important;
}

html.compact-navigation .home-page .site-footer .social-links--home {
  display: flex;
}

/* Keep form actions aligned with the 250px site-wide primary button standard. */

@media (min-width: 761px) {
  .form-action-row .submit-button {
    width: 250px;
    max-width: 100%;
    flex: 0 0 250px;
  }
}

/* v1.49: keep every full desktop navigation aligned to the right of the strip. */

@media (min-width: 761px) {
  .home-page .site-header > .work-nav,
  .work-header > .work-nav {
    right: max(4.2vw, calc((100vw - 1480px) / 2));
    left: auto;
    width: auto;
    max-width: calc(100vw - max(4.2vw, calc((100vw - 1480px) / 2)) - clamp(174px, 17vw, 250px));
    justify-content: flex-end;
    transform: none;
  }
}

/* Give every gateway card one complete, stationary gradient perimeter. */

.about-gateway .work-route-card,
.work-page--work-with-us .work-route-card,
.work-page--gateway .work-route-card {
  isolation: isolate;
}

.about-gateway .work-route-card::after,
.work-page--work-with-us .work-route-card::after,
.work-page--gateway .work-route-card::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  padding: 1.25px;
  background: var(--gradient);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.about-gateway .work-route-card:hover,
.about-gateway .work-route-card:focus-visible,
.work-page--work-with-us .work-route-card:hover,
.work-page--work-with-us .work-route-card:focus-visible,
.work-page--gateway .work-route-card:hover,
.work-page--gateway .work-route-card:focus-visible {
  z-index: 3;
  border-color: transparent;
  outline: 0;
  background: rgba(8, 11, 18, 0.91);
  box-shadow:
    0 0 22px rgba(20, 216, 208, 0.13),
    0 0 28px rgba(237, 80, 233, 0.11);
  transform: none;
}

.about-gateway .work-route-card:hover::after,
.about-gateway .work-route-card:focus-visible::after,
.work-page--work-with-us .work-route-card:hover::after,
.work-page--work-with-us .work-route-card:focus-visible::after,
.work-page--gateway .work-route-card:hover::after,
.work-page--gateway .work-route-card:focus-visible::after {
  opacity: 1;
}

.about-gateway .work-route-card > span,
.work-page--work-with-us .work-route-card > span,
.work-page--gateway .work-route-card > span {
  z-index: 4;
}

/* v1.58: align the one-line Jobs at NMG heading with the two-line route headings. */

@media (min-width: 1101px) {
  .work-page--work-with-us .route-name {
    min-height: 2.3em;
  }
}
