:root {
  color-scheme: dark;
  --page-edge: clamp(24px, 5vw, 96px);
  --shell-width: min(1600px, calc(100% - (var(--page-edge) * 2)));
  --header-height: 72px;
  --footer-height: 62px;
  --ink: #e4e3e0;
  --ink-rgb: 228 227 224;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

html {
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: #000;
  color: var(--ink);
  font-family: "Geologica", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 50%;
  width: var(--shell-width);
  min-height: var(--header-height);
  padding-inline: clamp(10px, 1.4vw, 24px);
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: clamp(18px, 2.4vw, 36px);
  border-bottom: 2px solid rgb(var(--ink-rgb) / 28%);
  transform: translateX(-50%);
}

.logo-link {
  display: block;
  flex: 0 0 auto;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  user-select: none;
}

.logo {
  width: 84px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  pointer-events: none;
  transform: translate(-20px, 4px);
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

.home-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.home-link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 13px);
  width: 1px;
  height: 16px;
  background: rgb(var(--ink-rgb) / 72%);
  transform: translateY(-50%);
}

.header-actions {
  justify-self: end;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  font-family: Inter, Arial, sans-serif;
}

.projects-menu {
  position: relative;
  display: inline-flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: center;
}

.nav-trigger,
.nav-link,
.projects-menu > a,
nav > a,
.project-dropdown a {
  position: relative;
  width: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: inherit;
}

.nav-link::before,
nav > a + a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(clamp(16px, 2.4vw, 30px) / -2);
  width: 1px;
  height: 16px;
  background: rgb(var(--ink-rgb) / 72%);
  transform: translate(-50%, -50%);
}

.project-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 132px;
  padding: 18px 0 12px;
  border-top: 2px solid rgb(var(--ink-rgb) / 28%);
  border-bottom: 2px solid rgb(var(--ink-rgb) / 28%);
  background: #000;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.projects-menu:hover .project-dropdown,
.projects-menu:focus-within .project-dropdown,
.projects-menu.is-open .project-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.project-dropdown a {
  width: 100%;
  min-height: 28px;
  color: rgb(var(--ink-rgb) / 78%);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.project-dropdown a:hover,
.project-dropdown a:focus-visible,
.nav-trigger:hover,
.nav-trigger:focus-visible,
.nav-link:hover,
.nav-link:focus-visible,
nav > a:hover,
nav > a:focus-visible {
  color: var(--ink);
  outline: none;
}

.language-toggle {
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgb(var(--ink-rgb) / 58%);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
  -webkit-user-select: none;
  user-select: none;
}

.language-toggle:hover {
  border-color: var(--ink);
}

.home-link:hover,
.home-link:focus-visible {
  color: var(--ink);
  outline: none;
}

main {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 32px) var(--page-edge)
    calc(var(--footer-height) + 32px);
}

.wordmark-lockup {
  width: min(930px, 84vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wordmark {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;

  user-select: none;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: 6.25rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
}

.contact-main,
.projects-main,
.privacy-main {
  align-items: center;
  width: var(--shell-width);
  margin-inline: auto;
}

.contact-panel,
.project-panel,
.projects-panel,
.privacy-panel {
  width: min(680px, 100%);
}

.page-kicker {
  margin: 0 0 22px;
  color: rgb(var(--ink-rgb) / 62%);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 300;
  letter-spacing: 0.16em;
}

.contact-copy,
.project-copy,
.project-subtitle,
.projects-copy {
  max-width: 520px;
  margin: 26px 0 34px;
  color: rgb(var(--ink-rgb) / 72%);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0;
}

.projects-panel {
  width: min(920px, 100%);
}

.projects-heading {
  max-width: 680px;
}

.project-row {
  min-height: 122px;
  margin-top: clamp(34px, 5vw, 70px);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  border-top: 1px solid rgb(var(--ink-rgb) / 62%);
  border-bottom: 1px solid rgb(var(--ink-rgb) / 38%);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  text-decoration: none;
}

.project-number,
.project-row-status {
  color: rgb(var(--ink-rgb) / 62%);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.16em;
}

.project-row-main {
  display: grid;
  gap: 10px;
}

.project-row-main strong {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.12em;
}

.project-row-main span {
  color: rgb(var(--ink-rgb) / 68%);
  font-size: 0.98rem;
  font-weight: 300;
  letter-spacing: 0;
}

.project-row:hover,
.project-row:focus-visible {
  border-color: rgb(var(--ink-rgb) / 86%);
  outline: none;
}

.project-main {
  align-items: center;
  width: var(--shell-width);
  margin-inline: auto;
}

.project-subtitle {
  margin-bottom: 18px;
  color: var(--ink);
}

.project-copy {
  margin-top: 0;
}

.project-status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-top: 1px solid rgb(var(--ink-rgb) / 62%);
  border-bottom: 1px solid rgb(var(--ink-rgb) / 42%);
  color: rgb(var(--ink-rgb) / 74%);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.16em;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid rgb(var(--ink-rgb) / 72%);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.contact-email:hover {
  border-color: var(--ink);
}

.privacy-main {
  align-items: flex-start;
}

.privacy-panel {
  width: min(760px, 100%);
  padding-block: clamp(24px, 4vw, 56px);
}

.privacy-panel h1 {
  text-align: left;
}

.privacy-updated,
.privacy-intro,
.privacy-section p {
  max-width: 660px;
  margin: 0;
  color: rgb(var(--ink-rgb) / 72%);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(0.94rem, 1.4vw, 1.08rem);
  font-weight: 300;
  line-height: 1.7;
}

.privacy-updated {
  margin-top: 18px;
  color: rgb(var(--ink-rgb) / 48%);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-intro {
  margin-top: 34px;
  color: var(--ink);
}

.privacy-section {
  max-width: 660px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(var(--ink-rgb) / 38%);
}

.privacy-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.privacy-section .contact-email {
  margin-top: 16px;
}

.site-footer {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 50%;
  width: var(--shell-width);
  min-height: var(--footer-height);
  padding-inline: clamp(10px, 1.4vw, 24px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  border-top: 2px solid rgb(var(--ink-rgb) / 28%);
  color: rgb(var(--ink-rgb) / 72%);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
}

.site-footer > :last-child {
  justify-self: end;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 30px);
}

.footer-nav a {
  color: rgb(var(--ink-rgb) / 78%);
  font: inherit;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--ink);
  outline: none;
}

@media (max-width: 980px) {
  :root {
    --page-edge: 32px;
  }

  h1 {
    font-size: 4.75rem;
  }

  .wordmark-lockup {
    width: min(760px, 84vw);
  }
}

@media (max-width: 640px) {
  :root {
    --page-edge: 16px;
    --header-height: 120px;
    --footer-height: 118px;
  }

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 66px 46px;
    padding-inline: 10px;
    column-gap: 0;
    row-gap: 0;
  }

  .logo-link {
    grid-column: 1;
    grid-row: 1;
  }

  .logo {
    width: 70px;
    transform: translate(-12px, 4px);
  }

  .language-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .home-link {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    font-size: 0.66rem;
  }

  .home-link::after {
    left: calc(100% + 11px);
    height: 14px;
  }

  .header-actions {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-self: end;
  }

  nav {
    gap: 16px;
  }

  .nav-trigger,
  .nav-link,
  nav > a {
    width: 72px;
    font-size: 0.66rem;
  }

  .nav-link::before,
  nav > a + a::before {
    left: -8px;
    height: 14px;
  }

  .project-dropdown {
    top: calc(100% + 6px);
    min-width: 116px;
  }

  .projects-menu {
    min-height: 46px;
  }

  .project-dropdown a {
    font-size: 0.62rem;
  }

  .language-toggle {
    min-width: 36px;
    height: 26px;
    padding-inline: 8px;
    font-size: 0.66rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    align-content: center;
    row-gap: 11px;
    padding-block: 10px;
  }

  .site-footer > :last-child {
    justify-self: start;
  }

  .footer-nav {
    order: -1;
    justify-self: center;
    margin-bottom: 6px;
  }

  main {
    padding-top: calc(var(--header-height) + 28px);
    padding-bottom: calc(var(--footer-height) + 28px);
  }

  .wordmark-lockup {
    width: min(560px, 88vw);
  }

  h1 {
    font-size: 3.35rem;
    text-align: left;
  }

  .contact-main {
    align-items: flex-start;
  }

  .privacy-main {
    align-items: flex-start;
  }

  .project-main {
    align-items: flex-start;
  }

  .projects-main {
    align-items: flex-start;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 460px) {
  .nav-trigger,
  .nav-link,
  nav > a {
    width: 68px;
  }

  .site-footer {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  h1 {
    font-size: 2.75rem;
  }
}

/* Neutral Prizgen surfaces */
.surface-page,
.surface-page .site-header,
.surface-page .site-footer,
.surface-page .project-dropdown {
  background: #000;
}

.surface-page {
  color-scheme: dark;
}

.surface-page .project-row {
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.contact-page .contact-panel {
  -webkit-user-select: text;
  user-select: text;
}

/* Nomentla project identity */
.nominae-document {
  background: #e4e3e0;
  color-scheme: light;
}

.project-page--nominae {
  --ink: #141414;
  --ink-rgb: 20 20 20;
  background: #e4e3e0;
  color: var(--ink);
  color-scheme: light;
  -webkit-user-select: auto;
  user-select: auto;
}

.project-page--nominae .site-header,
.project-page--nominae .site-footer {
  background: rgb(228 227 224 / 94%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.project-page--nominae .project-dropdown {
  background: #e4e3e0;
}

.project-page--nominae .logo {
  filter: contrast(1.12);
}

.project-page--nominae .project-main {
  align-items: center;
}

.project-page--nominae .project-panel {
  width: min(1120px, 100%);
  padding-block: clamp(44px, 7vw, 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  column-gap: clamp(44px, 7vw, 104px);
  border-top: 1px solid rgb(var(--ink-rgb) / 68%);
  border-bottom: 1px solid rgb(var(--ink-rgb) / 68%);
  animation: nominae-enter 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-page--nominae .project-panel > .page-kicker {
  grid-column: 1 / -1;
  margin-bottom: clamp(38px, 5vw, 70px);
  color: rgb(var(--ink-rgb) / 64%);
  font-family: "Courier New", monospace;
  font-weight: 400;
}

.nominae-project-heading {
  min-width: 0;
}

.project-page--nominae .nominae-wordmark {
  padding-right: 0.08em;
  color: var(--ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(5.2rem, 9.2vw, 9.25rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-align: left;
}

.project-page--nominae .project-subtitle {
  max-width: none;
  margin: clamp(28px, 4vw, 46px) 0 0;
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nominae-project-description {
  padding-left: clamp(28px, 4vw, 58px);
  border-left: 1px solid rgb(var(--ink-rgb) / 38%);
}

.project-page--nominae .project-copy {
  max-width: 390px;
  margin: 0 0 36px;
  color: rgb(var(--ink-rgb) / 74%);
  line-height: 1.75;
}

.project-page--nominae .project-status {
  min-height: 38px;
  border-color: rgb(var(--ink-rgb) / 54%);
  color: rgb(var(--ink-rgb) / 72%);
  font-family: "Courier New", monospace;
  font-weight: 400;
}

.nominae-legal-page .privacy-panel {
  -webkit-user-select: text;
  user-select: text;
}

.nominae-legal-page .privacy-panel h1 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.05em;
}

@keyframes nominae-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@media (max-width: 760px) {
  .project-page--nominae:not(.nominae-legal-page) .project-panel {
    grid-template-columns: 1fr;
    align-items: start;
    padding-block: 38px;
    border-top-color: transparent;
    border-bottom-color: transparent;
  }

  .project-page--nominae .project-panel > .page-kicker {
    grid-column: 1;
    margin-bottom: 34px;
  }

  .project-page--nominae .nominae-wordmark {
    font-size: clamp(4.1rem, 21vw, 7rem);
  }

  .nominae-project-description {
    margin-top: 38px;
    padding-top: 30px;
    padding-left: 0;
    border-top: 1px solid rgb(var(--ink-rgb) / 38%);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-page--nominae .project-panel {
    animation: none;
  }
}

/* Home depth journey */
.home-page {
  --ink: #e4e3e0;
  --ink-rgb: 228 227 224;
  --home-dropdown-depth: 0;
  background: #000;
  color: var(--ink);
  overflow-x: clip;
  user-select: auto;
}

.home-page .site-header,
.home-page .site-footer {
  z-index: 20;
  border-color: rgb(var(--ink-rgb) / 28%);
  background: linear-gradient(180deg, rgb(0 0 0 / 58%), rgb(0 0 0 / 10%));
  box-shadow: 0 1px 0 rgb(255 255 255 / 4%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
}

.home-page .site-footer {
  background: linear-gradient(0deg, rgb(0 0 0 / 62%), rgb(0 0 0 / 12%));
  box-shadow: 0 -1px 0 rgb(255 255 255 / 4%);
}

.home-page .logo {
  filter: drop-shadow(0 2px 14px rgb(2 10 28 / 48%));
}

.home-page .project-dropdown {
  border-color: rgb(var(--ink-rgb) / 28%);
  background-color: rgb(0 0 0 / 92%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.home-page.is-depth-enabled .project-dropdown {
  background-color: rgb(0 0 0 / 92%);
  background:
    radial-gradient(
      circle at 10% 15%,
      rgb(57 199 176 / calc(var(--home-dropdown-depth) * 15%)),
      transparent 58%
    ),
    radial-gradient(
      circle at 88% 8%,
      rgb(107 54 166 / calc(var(--home-dropdown-depth) * 17%)),
      transparent 62%
    ),
    linear-gradient(
      135deg,
      transparent 18%,
      rgb(209 30 114 / calc(var(--home-dropdown-depth) * 12%))
    ),
    rgb(0 0 0 / calc(92% - var(--home-dropdown-depth) * 18%));
  box-shadow:
    0 18px 44px
    rgb(0 0 0 / calc(var(--home-dropdown-depth) * 42%));
  -webkit-backdrop-filter:
    blur(calc(16px + var(--home-dropdown-depth) * 2px))
    saturate(calc(100% + var(--home-dropdown-depth) * 55%));
  backdrop-filter:
    blur(calc(16px + var(--home-dropdown-depth) * 2px))
    saturate(calc(100% + var(--home-dropdown-depth) * 55%));
}

.skip-depth {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 50%;
  padding: 11px 15px;
  border: 1px solid rgb(255 255 255 / 58%);
  background: #000;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  transform: translate(-50%, -160%);
  transition: transform 160ms ease;
}

.skip-depth:focus {
  outline: none;
  transform: translate(-50%, 0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.home-main {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  display: block;
  overflow: visible;
}

.depth-journey {
  position: relative;
  width: 100%;
  background: #000;
}

.depth-stage {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 48%, rgb(29 68 90 / 88%) 0 9%, transparent 34%),
    radial-gradient(ellipse at 15% 20%, rgb(0 138 121 / 78%) 0, transparent 42%),
    radial-gradient(ellipse at 84% 28%, rgb(116 23 106 / 74%) 0, transparent 44%),
    radial-gradient(ellipse at 72% 84%, rgb(186 58 40 / 58%) 0, transparent 42%),
    linear-gradient(135deg, #071b34 0%, #123e53 48%, #28183f 100%);
}

.depth-canvas,
.depth-ambient,
.depth-veil,
.depth-blackout,
.depth-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.depth-canvas {
  z-index: 0;
  display: none;
}

.depth-ambient {
  z-index: 1;
  background:
    radial-gradient(ellipse at 10% 75%, rgb(162 230 229 / 42%) 0 8%, transparent 28%),
    radial-gradient(ellipse at 34% 30%, rgb(225 31 111 / 40%) 0 7%, transparent 26%),
    radial-gradient(ellipse at 75% 44%, rgb(255 132 45 / 38%) 0 6%, transparent 24%),
    radial-gradient(ellipse at 90% 72%, rgb(0 166 144 / 34%) 0 10%, transparent 32%);
  mix-blend-mode: screen;
  opacity: 0.42;
}

.depth-veil {
  z-index: 2;
  background:
    radial-gradient(circle at 52% 49%, rgb(4 14 36 / 12%) 0 20%, transparent 50%),
    linear-gradient(90deg, rgb(3 14 34 / 42%) 0, transparent 22% 78%, rgb(3 14 34 / 38%) 100%),
    linear-gradient(180deg, rgb(3 13 31 / 36%) 0, transparent 28% 72%, rgb(3 13 31 / 38%) 100%);
}

.depth-blackout {
  z-index: 3;
  display: none;
  background: #000;
  opacity: 1;
}

.depth-grain {
  z-index: 8;
  opacity: 0.11;
  background-image:
    repeating-linear-gradient(117deg, transparent 0 3px, rgb(255 255 255 / 8%) 3px 4px),
    repeating-linear-gradient(23deg, transparent 0 7px, rgb(3 13 31 / 10%) 7px 8px);
  mix-blend-mode: soft-light;
}

.surface-layer {
  position: relative;
  z-index: 4;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-height) + 32px) var(--page-edge)
    calc(var(--footer-height) + 32px);
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
}

.home-page:not(.is-depth-enabled) .surface-layer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #000;
}

.hero-polyhedron {
  position: relative;
  z-index: 0;
  grid-area: 1 / 1;
  place-self: center;
  width: clamp(410px, min(108vw, 150svh), 1240px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: scale(var(--polyhedron-inner-scale, 1));
  transform-origin: center;
  will-change: transform;
}

.hero-polyhedron__canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  filter:
    saturate(1.12)
    contrast(1.14)
    brightness(0.94)
    blur(var(--polyhedron-blur, 0.32px))
    drop-shadow(0 0 24px rgb(204 218 235 / 10%));
  pointer-events: none;
  transition: opacity 520ms ease;
  -webkit-mask-image: radial-gradient(
    circle,
    #000 0 70%,
    rgb(0 0 0 / 88%) 86%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle,
    #000 0 70%,
    rgb(0 0 0 / 88%) 86%,
    transparent 100%
  );
}

.hero-polyhedron.is-ready .hero-polyhedron__canvas {
  opacity: var(--polyhedron-opacity, 0.46);
}

.hero-polyhedron__control {
  position: absolute;
  inset: 23%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  appearance: none;
  background: transparent;
  color: var(--ink);
  cursor: default;
  opacity: 0;
  pointer-events: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  clip-path: circle(48% at 50% 50%);
}

.depth-stage.is-polyhedron-interactive
  .hero-polyhedron.is-ready
  .hero-polyhedron__control {
  cursor: grab;
  pointer-events: auto;
}

.depth-stage.is-polyhedron-interactive
  .hero-polyhedron.is-ready
  .hero-polyhedron__control.is-dragging {
  cursor: grabbing;
}

.hero-polyhedron__control:focus-visible {
  opacity: 1;
  outline: none;
  box-shadow: inset 0 0 0 2px rgb(var(--ink-rgb) / 72%);
}

.home-page.is-depth-enabled
  .depth-stage.is-polyhedron-interactive
  .principles-layer {
  pointer-events: none;
}

.home-page .wordmark-lockup {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  place-self: center;
  width: min(930px, 84vw);
  filter: drop-shadow(0 18px 42px rgb(2 10 31 / 36%));
  pointer-events: none;
}

.depth-cue {
  position: absolute;
  bottom: calc(var(--footer-height) + 22px);
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgb(var(--ink-rgb) / 72%);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.64rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.depth-cue-icon {
  position: relative;
  width: 15px;
  height: 23px;
  display: block;
  border: 1px solid rgb(var(--ink-rgb) / 64%);
  border-radius: 9px;
}

.depth-cue-icon i {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: currentColor;
  transform: translateX(-50%);
  animation: cue-wheel 1.65s ease-in-out infinite;
}

.depth-cue-touch {
  display: none;
}

@keyframes cue-wheel {
  0%,
  100% {
    opacity: 0.32;
    transform: translate(-50%, 0);
  }

  48% {
    opacity: 1;
    transform: translate(-50%, 7px);
  }
}

.principles-layer {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-height) + clamp(34px, 6vh, 78px)) var(--page-edge)
    calc(var(--footer-height) + clamp(30px, 5vh, 64px));
  display: grid;
  align-items: center;
  outline: none;
}

.principles-shell {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.principles-heading {
  width: min(590px, 100%);
  margin-bottom: clamp(22px, 4vh, 46px);
  text-shadow: 0 2px 24px rgb(1 9 28 / 72%);
}

.principles-heading p,
.principle-index {
  margin: 0 0 12px;
  color: rgb(var(--ink-rgb) / 68%);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.66rem;
  font-weight: 300;
  letter-spacing: 0.18em;
}

.principles-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 3.6vw, 3.65rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 38px);
}

.principle-card {
  min-height: 218px;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgb(255 255 255 / 24%);
  background:
    linear-gradient(135deg, rgb(4 28 51 / 76%), rgb(22 30 62 / 52%)),
    rgb(6 22 44 / 46%);
  box-shadow:
    0 26px 80px rgb(1 9 28 / 32%),
    inset 0 1px 0 rgb(255 255 255 / 10%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}

.principle-card--mission {
  border-top-color: rgb(95 226 202 / 70%);
}

.principle-card--vision {
  border-top-color: rgb(255 176 65 / 72%);
}

.principle-card h3 {
  max-width: 480px;
  margin: 0;
  color: #fff;
  font-family: Geologica, Arial, sans-serif;
  font-size: clamp(1.2rem, 2.1vw, 2rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.principle-card > p:last-child {
  max-width: 470px;
  margin: 18px 0 0;
  color: rgb(var(--ink-rgb) / 76%);
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(0.84rem, 1.25vw, 1rem);
  font-weight: 300;
  line-height: 1.58;
}

.depth-meter {
  position: absolute;
  z-index: 7;
  top: 50%;
  right: clamp(18px, 2.8vw, 48px);
  height: min(340px, 46vh);
  display: none;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 12px;
  color: rgb(var(--ink-rgb) / 72%);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.16em;
  transform: translateY(-50%);
}

.depth-meter-stop {
  min-width: 44px;
  min-height: 44px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  letter-spacing: inherit;
  writing-mode: vertical-rl;
  transition: color 180ms ease;
}

.depth-meter-stop:hover,
.depth-meter-stop:focus-visible,
.depth-meter-stop[aria-current="location"] {
  color: var(--ink);
}

.depth-meter-stop:focus-visible {
  outline: 1px solid rgb(var(--ink-rgb) / 72%);
  outline-offset: 3px;
}

.depth-meter-track {
  position: relative;
  width: 24px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.depth-meter-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgb(var(--ink-rgb) / 24%);
  transform: translateX(-50%);
}

.depth-meter-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  display: block;
  background: linear-gradient(180deg, #70ead1, #ffbc4c 54%, #ed5b8e);
  pointer-events: none;
  transform: translateX(-50%) scaleY(var(--journey-progress, 0));
  transform-origin: 50% 0;
}

.is-depth-enabled .depth-journey {
  height: 220vh;
  height: 220svh;
}

.is-depth-enabled .depth-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: clip;
}

.is-depth-enabled .depth-canvas {
  display: block;
}

.is-depth-enabled .depth-ambient {
  opacity: var(--ambient-opacity, 0.24);
  transform: scale(var(--ambient-scale, 1));
  transform-origin: 52% 48%;
}

.is-depth-enabled .depth-veil {
  opacity: var(--veil-opacity, 1);
}

.is-depth-enabled .depth-blackout {
  display: block;
  opacity: var(--blackout-opacity, 1);
}

.is-depth-enabled .depth-grain {
  opacity: var(--grain-opacity, 0);
}

.is-depth-enabled .surface-layer,
.is-depth-enabled .principles-layer {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.is-depth-enabled .surface-layer {
  opacity: var(--surface-opacity, 1);
  filter: blur(var(--surface-blur, 0));
  transform: scale(var(--surface-scale, 1));
  transform-box: border-box;
  transform-origin: 50% 50%;
  will-change: transform, opacity, filter;
}

.is-depth-enabled .depth-cue {
  opacity: var(--cue-opacity, 1);
}

.is-depth-enabled .principles-heading {
  opacity: var(--heading-opacity, 0);
  transform: translate3d(0, var(--heading-y, 24px), 0)
    scale(var(--heading-scale, 0.88));
  transform-origin: 0 100%;
  will-change: transform, opacity;
}

.is-depth-enabled .principle-card--mission {
  opacity: var(--mission-opacity, 0);
  filter: blur(var(--mission-blur, 7px));
  transform: translate3d(var(--mission-x, 18vw), var(--mission-y, 8vh), 0)
    scale(var(--mission-scale, 0.54));
  transform-origin: 100% 50%;
  will-change: transform, opacity, filter;
}

.is-depth-enabled .principle-card--vision {
  opacity: var(--vision-opacity, 0);
  filter: blur(var(--vision-blur, 7px));
  transform: translate3d(var(--vision-x, -18vw), var(--vision-y, 8vh), 0)
    scale(var(--vision-scale, 0.54));
  transform-origin: 0 50%;
  will-change: transform, opacity, filter;
}

.is-depth-enabled .depth-meter {
  display: grid;
}

@media (max-width: 760px) {
  .is-depth-enabled .depth-journey {
    height: 240vh;
    height: 240svh;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .principles-heading {
    margin-bottom: 18px;
  }

  .principles-heading h2 {
    max-width: 420px;
    font-size: clamp(1.45rem, 7vw, 2.25rem);
  }

  .principle-card {
    min-height: 0;
    padding: 20px;
  }

  .principle-card h3 {
    font-size: clamp(1.06rem, 4.7vw, 1.42rem);
  }

  .principle-card > p:last-child {
    margin-top: 12px;
    font-size: clamp(0.76rem, 3.2vw, 0.9rem);
    line-height: 1.42;
  }

  .is-depth-enabled .depth-meter {
    top: calc(var(--header-height) + 12px);
    right: auto;
    left: 50%;
    width: min(300px, calc(100% - 32px));
    height: 44px;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 1fr;
    gap: 6px;
    transform: translateX(-50%);
  }

  .depth-meter-stop {
    min-width: 72px;
    writing-mode: horizontal-tb;
  }

  .depth-meter-track {
    width: 100%;
    height: 44px;
  }

  .depth-meter-track::before {
    top: 50%;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
    transform: translateY(-50%);
  }

  .depth-meter-track i {
    top: 50%;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #70ead1, #ffbc4c 54%, #ed5b8e);
    transform: translateY(-50%) scaleX(var(--journey-progress, 0));
    transform-origin: 0 50%;
  }

  .depth-cue-wheel {
    display: none;
  }

  .depth-cue-touch {
    display: inline;
  }
}

@media (max-width: 640px) {
  .home-page .site-header,
  .home-page .site-footer {
    -webkit-backdrop-filter: blur(10px) saturate(115%);
    backdrop-filter: blur(10px) saturate(115%);
  }

  .home-page .wordmark-lockup {
    width: min(560px, 88vw);
  }

  .hero-polyhedron {
    width: clamp(350px, min(122vw, 80svh), 640px);
  }

  .depth-cue {
    bottom: calc(var(--footer-height) + 17px);
    font-size: 0.58rem;
  }

  .principles-layer {
    padding: calc(var(--header-height) + 16px) 16px
      calc(var(--footer-height) + 16px);
  }

  .principles-heading p,
  .principle-index {
    margin-bottom: 8px;
    font-size: 0.58rem;
  }
}

@media (any-pointer: coarse) {
  .hero-polyhedron__control {
    touch-action: pan-y;
  }
}

@media (max-height: 620px) {
  .hero-polyhedron {
    width: clamp(325px, min(92vw, 98svh), 800px);
  }
}

@media (max-width: 640px) and (max-height: 760px) {
  .principles-heading {
    margin-bottom: 10px;
  }

  .principles-heading h2 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
  }

  .principle-card {
    padding: 14px 16px;
  }

  .principle-card h3 {
    font-size: 0.98rem;
    line-height: 1.12;
  }

  .principle-card > p:last-child {
    margin-top: 8px;
    font-size: 0.72rem;
    line-height: 1.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .depth-cue-icon i {
    animation: none;
  }

  .skip-depth,
  .depth-cue,
  .hero-polyhedron,
  .hero-polyhedron__canvas,
  .surface-layer,
  .principles-heading,
  .principle-card {
    transition: none !important;
  }
}
