:root {
  color-scheme: dark;
  --ink-950: #020608;
  --ink-900: #061017;
  --ink-850: #09151d;
  --ink-800: #0d1b24;
  --steel-300: #b7c1c1;
  --steel-400: #8e9ea2;
  --steel-500: #61747c;
  --gold-200: #efdca7;
  --gold-300: #d9b978;
  --gold-400: #b2874c;
  --gold-500: #815e31;
  --paper: #ece7dc;
  --muted: #aeb7b7;
  --line: rgba(212, 184, 119, 0.28);
  --line-strong: rgba(222, 192, 126, 0.56);
  --header-height: 92px;
  --page-pad: clamp(24px, 4.25vw, 82px);
  --display: Georgia, "Times New Roman", Times, serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  min-width: 320px;
  background: var(--ink-950);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--ink-950);
  color: var(--paper);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  color: #081116;
  background: var(--gold-300);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: #071015;
  background: var(--gold-200);
  border-radius: 2px;
  font-weight: 800;
}

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

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

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  padding: 0 var(--page-pad);
  border-bottom: 1px solid rgba(212, 184, 119, 0.15);
  background: linear-gradient(180deg, rgba(2, 6, 8, 0.82), rgba(2, 6, 8, 0.08));
  backdrop-filter: blur(5px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.4));
}

.brand__wordmark {
  font-family: var(--display);
  font-size: clamp(20px, 1.5vw, 29px);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold-200);
  text-shadow: 0 1px 22px rgba(204, 166, 94, 0.16);
}

.header-status {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: rgba(230, 232, 226, 0.72);
}

.status-pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 12px rgba(217, 185, 120, 0.6);
}

.status-pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(217, 185, 120, 0.55);
  border-radius: inherit;
  animation: status-ring 2.4s ease-out infinite;
}

.header-action {
  justify-self: end;
  border: 0;
  border-bottom: 1px solid rgba(217, 185, 120, 0.58);
  padding: 7px 0;
  color: var(--gold-200);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  color: white;
  border-color: white;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 48px) var(--page-pad) 156px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.world {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: #03090d;
}

.world::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 8, 0.98) 0%, rgba(2, 6, 8, 0.87) 27%, rgba(2, 6, 8, 0.42) 51%, rgba(2, 6, 8, 0.08) 75%, rgba(2, 6, 8, 0.16) 100%),
    linear-gradient(180deg, rgba(2, 6, 8, 0.32) 0%, rgba(2, 6, 8, 0) 42%, rgba(2, 6, 8, 0.84) 100%);
  pointer-events: none;
}

.world-art {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0) scale(1.015);
  transform-origin: center;
  transition: transform 900ms cubic-bezier(.2,.7,.1,1);
}

.atmosphere {
  position: absolute;
  z-index: 2;
  left: -15%;
  width: 130%;
  height: 160px;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.22;
  pointer-events: none;
}

.atmosphere--far {
  top: 54%;
  background: radial-gradient(ellipse at center, rgba(174, 189, 190, 0.48), rgba(109, 133, 143, 0.09) 60%, transparent 75%);
  animation: mist-far 22s ease-in-out infinite alternate;
}

.atmosphere--near {
  top: 73%;
  height: 210px;
  opacity: 0.18;
  background: radial-gradient(ellipse at center, rgba(207, 207, 194, 0.42), rgba(114, 132, 137, 0.08) 56%, transparent 74%);
  animation: mist-near 16s ease-in-out infinite alternate;
}

.embers {
  position: absolute;
  z-index: 4;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ember {
  position: absolute;
  bottom: -12px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #d7a75d;
  box-shadow: 0 0 7px rgba(215, 167, 93, 0.7);
  opacity: 0;
  animation: ember-rise var(--duration) linear var(--delay) infinite;
}

.world-vignette {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 180px 34px rgba(0, 0, 0, 0.62);
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(250px, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 132px);
}

.hero-copy {
  max-width: 780px;
  animation: reveal-up 900ms 120ms both cubic-bezier(.16,.8,.22,1);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: var(--gold-300);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
}

.eyebrow span {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

h1, h2, p { margin-top: 0; }

.hero h1 {
  max-width: 800px;
  margin-bottom: 20px;
  font-family: var(--display);
  font-size: clamp(57px, 6.1vw, 112px);
  line-height: 0.86;
  letter-spacing: -0.055em;
  font-weight: 700;
  text-wrap: balance;
  color: #f1ede4;
  text-shadow: 0 3px 40px rgba(0, 0, 0, 0.66);
}

.hero-promise {
  max-width: 700px;
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(22px, 1.75vw, 32px);
  line-height: 1.24;
  color: rgba(239, 235, 224, 0.82);
}

.hero-promise strong {
  color: var(--gold-200);
  font-weight: 700;
}

.hero-intro {
  max-width: 630px;
  margin: 0;
  color: rgba(220, 224, 221, 0.72);
  font-size: clamp(14px, 1.03vw, 18px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 50px;
  border-radius: 1px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

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

.button--primary {
  border: 1px solid #c9a663;
  color: #091117;
  background: linear-gradient(135deg, #ead39a 0%, #c69d5d 48%, #98703b 100%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.35);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: linear-gradient(135deg, #f5e4b6 0%, #d5b172 48%, #a98149 100%);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34), 0 0 0 3px rgba(222, 187, 117, 0.12);
}

.button--ghost {
  border: 1px solid rgba(187, 202, 203, 0.28);
  color: rgba(238, 240, 235, 0.82);
  background: rgba(4, 10, 14, 0.28);
  backdrop-filter: blur(5px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: white;
  border-color: rgba(223, 230, 228, 0.58);
  background: rgba(12, 24, 31, 0.52);
}

.button__arrow {
  font-size: 16px;
  line-height: 1;
}

.development-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 19px 0 0;
  color: rgba(180, 190, 191, 0.54);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.development-note span {
  color: var(--gold-400);
  font-size: 8px;
}

.field-notice {
  justify-self: end;
  width: min(100%, 286px);
  margin-right: clamp(0px, 1vw, 20px);
  padding: 18px 18px 20px;
  border: 1px solid rgba(207, 176, 111, 0.25);
  background:
    linear-gradient(145deg, rgba(9, 19, 25, 0.76), rgba(3, 8, 11, 0.54)),
    repeating-linear-gradient(135deg, transparent 0 7px, rgba(255,255,255,.01) 7px 8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255,255,255,.018);
  backdrop-filter: blur(10px);
  animation: reveal-up 900ms 280ms both cubic-bezier(.16,.8,.22,1);
}

.field-notice__topline {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(207, 176, 111, 0.18);
  color: rgba(217, 185, 120, 0.68);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.19em;
}

.field-notice__sigil {
  width: 92px;
  height: 92px;
  margin: 24px auto 18px;
  opacity: 0.68;
  filter: grayscale(0.2) drop-shadow(0 0 18px rgba(189, 146, 76, 0.12));
}

.field-notice__sigil img { width: 100%; height: 100%; }

.field-notice__quote {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.42;
  color: rgba(236, 231, 218, 0.82);
}

.field-notice__rule {
  height: 1px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, rgba(217,185,120,.5), transparent);
}

.field-notice__meta {
  margin: 0;
  color: rgba(174, 184, 184, 0.5);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: 0.17em;
}

.feature-rail {
  position: absolute;
  z-index: 10;
  right: var(--page-pad);
  bottom: 45px;
  left: var(--page-pad);
  min-height: 96px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 94px;
  border-top: 1px solid rgba(210, 180, 113, 0.26);
  border-bottom: 1px solid rgba(210, 180, 113, 0.12);
  background: linear-gradient(90deg, rgba(3, 9, 12, 0.58), rgba(7, 16, 21, 0.44));
  backdrop-filter: blur(7px);
  animation: reveal-up 900ms 420ms both cubic-bezier(.16,.8,.22,1);
}

.feature {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px clamp(16px, 2vw, 34px);
  border-right: 1px solid rgba(210, 180, 113, 0.13);
}

.feature__index {
  align-self: start;
  margin-top: 2px;
  color: rgba(217, 185, 120, 0.62);
  font-family: var(--display);
  font-size: 12px;
}

.feature h2 {
  margin: 0 0 6px;
  color: rgba(239, 235, 224, 0.88);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.13em;
}

.feature p {
  margin: 0;
  overflow: hidden;
  color: rgba(174, 184, 184, 0.54);
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-rail__seal {
  display: grid;
  place-content: center;
  text-align: center;
  color: rgba(217, 185, 120, 0.6);
  font-family: var(--display);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.14em;
}

.feature-rail__seal span {
  color: rgba(178, 190, 190, 0.4);
  font-family: var(--body);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.site-footer {
  position: absolute;
  z-index: 12;
  right: var(--page-pad);
  bottom: 14px;
  left: var(--page-pad);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(172, 182, 183, 0.32);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.modal {
  width: min(94vw, 610px);
  padding: 0;
  border: 1px solid rgba(215, 181, 111, 0.55);
  color: var(--paper);
  background: rgba(5, 13, 18, 0.97);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.72);
}

.modal::backdrop {
  background: rgba(0, 4, 7, 0.74);
  backdrop-filter: blur(9px);
}

.modal[open] { animation: modal-in 210ms ease-out both; }

.modal__frame {
  position: relative;
  padding: clamp(34px, 5vw, 58px);
  text-align: center;
  background:
    linear-gradient(140deg, rgba(29, 46, 56, 0.32), transparent 42%),
    radial-gradient(circle at 50% -10%, rgba(192, 150, 77, 0.14), transparent 38%);
}

.modal__frame::before,
.modal__frame::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  border-color: rgba(215, 181, 111, 0.32);
  pointer-events: none;
}

.modal__frame::before {
  top: 11px;
  left: 11px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.modal__frame::after {
  right: 11px;
  bottom: 11px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.modal__frame--wide { max-width: 780px; }
.modal:has(.modal__frame--wide) { width: min(94vw, 780px); }

.modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  color: rgba(231, 227, 215, 0.64);
  background: transparent;
  cursor: pointer;
  font-family: var(--display);
  font-size: 29px;
}

.modal__close:hover,
.modal__close:focus-visible { color: white; }

.modal__mark {
  width: 82px;
  height: 82px;
  margin-bottom: 18px;
  opacity: 0.76;
}

.modal__eyebrow {
  margin-bottom: 11px;
  color: var(--gold-300);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.25em;
}

.modal h2 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.03;
  color: #f0ece3;
}

.modal p:not(.modal__eyebrow, .modal__small) {
  color: rgba(216, 221, 218, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.modal__small {
  margin: 22px auto 28px;
  max-width: 460px;
  color: rgba(169, 179, 180, 0.48);
  font-size: 11px;
  line-height: 1.6;
}

.creed-grid {
  display: grid;
  gap: 13px;
  margin: 26px 0 30px;
  text-align: left;
}

.creed-grid p {
  margin: 0 !important;
  padding: 13px 0 13px 19px;
  border-left: 1px solid rgba(215, 181, 111, 0.35);
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 48px));
  transform: translateY(25px);
  padding: 14px 17px;
  border: 1px solid rgba(215, 181, 111, 0.36);
  color: rgba(235, 232, 222, 0.88);
  background: rgba(5, 14, 19, 0.94);
  box-shadow: 0 18px 50px rgba(0,0,0,.42);
  opacity: 0;
  pointer-events: none;
  font-size: 12px;
  line-height: 1.5;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes status-ring {
  0% { transform: scale(0.6); opacity: 0; }
  25% { opacity: 0.75; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes mist-far {
  from { transform: translate3d(-5%, 0, 0) scale(1); }
  to { transform: translate3d(5%, -8px, 0) scale(1.08); }
}

@keyframes mist-near {
  from { transform: translate3d(6%, 0, 0) scale(1.05); }
  to { transform: translate3d(-6%, 10px, 0) scale(0.98); }
}

@keyframes ember-rise {
  0% { transform: translate3d(0, 0, 0) scale(0.8); opacity: 0; }
  12% { opacity: var(--opacity); }
  70% { opacity: calc(var(--opacity) * 0.7); }
  100% { transform: translate3d(var(--drift), -72vh, 0) scale(0.15); opacity: 0; }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 720px) 240px; gap: 36px; }
  .field-notice { opacity: 0.8; }
  .feature { padding-inline: 18px; }
}

@media (max-width: 960px) {
  :root { --header-height: 78px; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-status { justify-self: end; }
  .header-action { display: none; }
  .hero { align-items: flex-start; padding-top: calc(var(--header-height) + 68px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .field-notice { display: none; }
  .world::before {
    background:
      linear-gradient(90deg, rgba(2, 6, 8, 0.98) 0%, rgba(2, 6, 8, 0.82) 55%, rgba(2, 6, 8, 0.3) 100%),
      linear-gradient(180deg, rgba(2, 6, 8, 0.2), transparent 43%, rgba(2, 6, 8, 0.9) 100%);
  }
  .world-art { width: 132%; height: 108%; left: -16%; }
  .feature-rail { grid-template-columns: repeat(3, 1fr); }
  .feature-rail__seal { display: none; }
  .feature:nth-child(3) { border-right: 0; }
}

@media (max-width: 720px) {
  :root { --page-pad: 22px; }
  .site-header { backdrop-filter: blur(9px); }
  .brand { gap: 10px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__wordmark { font-size: 19px; letter-spacing: 0.18em; }
  .header-status { font-size: 8px; letter-spacing: 0.15em; }
  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 196px;
  }
  .eyebrow { font-size: 9px; margin-bottom: 16px; }
  .eyebrow span { width: 26px; }
  .hero h1 { font-size: clamp(47px, 14vw, 72px); line-height: .9; margin-bottom: 17px; }
  .hero-promise { font-size: 21px; }
  .hero-intro { max-width: 510px; font-size: 14px; line-height: 1.58; }
  .hero-actions { margin-top: 25px; }
  .button { min-height: 47px; padding-inline: 18px; font-size: 9px; }
  .development-note { font-size: 8px; }
  .world-art { width: 166%; height: 110%; left: -38%; opacity: 0.87; }
  .feature-rail {
    right: 0;
    bottom: 35px;
    left: 0;
    grid-template-columns: 1fr;
    min-height: 142px;
    border-bottom: 0;
    background: rgba(3, 9, 12, 0.72);
  }
  .feature { min-height: 47px; padding: 8px var(--page-pad); border-right: 0; border-bottom: 1px solid rgba(210,180,113,.1); }
  .feature__index { font-size: 10px; }
  .feature h2 { margin-bottom: 2px; font-size: 9px; }
  .feature p { font-size: 8px; }
  .site-footer { bottom: 10px; justify-content: center; }
  .site-footer span:not(:first-child) { display: none; }
}

@media (max-width: 460px) {
  .header-status span:last-child { display: none; }
  .hero { padding-top: calc(var(--header-height) + 38px); }
  .hero-promise { max-width: 330px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 320px; }
  .button { width: 100%; }
  .world-art { width: 210%; left: -66%; }
  .modal__frame { padding: 42px 24px 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .embers { display: none; }
}

/* --------------------------------------------------------------------------
   Shared additions: editable notices, development page, and media viewer
   -------------------------------------------------------------------------- */

body.has-modal { overflow: hidden; }

.button { text-decoration: none; }

.button--quiet {
  border: 0;
  color: rgba(217, 185, 120, 0.76);
  background: transparent;
  box-shadow: inset 0 -1px rgba(217, 185, 120, 0.34);
}

.button--quiet:hover,
.button--quiet:focus-visible {
  color: var(--gold-200);
  box-shadow: inset 0 -1px rgba(239, 220, 167, 0.75);
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.modal__actions .button { min-width: 210px; }

.field-notice {
  transition: opacity 230ms ease, transform 230ms ease, border-color 230ms ease;
}

.field-notice.is-changing {
  transform: translateY(5px);
  border-color: rgba(207, 176, 111, 0.1);
  opacity: 0;
}

.site-shell--development {
  min-height: 100svh;
  overflow: visible;
  background:
    radial-gradient(circle at 80% 8%, rgba(94, 121, 133, 0.13), transparent 26%),
    radial-gradient(circle at 18% 38%, rgba(166, 123, 62, 0.08), transparent 32%),
    var(--ink-950);
}

.site-header--inner {
  position: sticky;
  inset: auto;
  top: 0;
  background: rgba(2, 7, 10, 0.9);
  backdrop-filter: blur(14px);
}

.development-main {
  position: relative;
  z-index: 1;
}

.development-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(78px, 9vw, 132px) var(--page-pad) clamp(90px, 10vw, 148px);
  border-bottom: 1px solid rgba(212, 184, 119, 0.14);
  background:
    linear-gradient(90deg, rgba(2, 6, 8, 0.96), rgba(5, 14, 19, 0.84) 48%, rgba(9, 23, 30, 0.62)),
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(255,255,255,.008) 12px 13px);
}

.development-hero::before,
.development-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.development-hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(217,185,120,.07) 1px, transparent 1px),
    linear-gradient(rgba(217,185,120,.05) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, transparent, black 44%, black 100%);
  opacity: 0.32;
}

.development-hero::after {
  right: -14%;
  bottom: -170px;
  width: 720px;
  height: 420px;
  border: 1px solid rgba(217, 185, 120, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 78px rgba(217,185,120,.025), 0 0 0 156px rgba(217,185,120,.018);
  transform: rotate(-12deg);
}

.development-hero__backdrop {
  position: absolute;
  right: clamp(24px, 8vw, 150px);
  top: 50%;
  width: clamp(260px, 33vw, 560px);
  aspect-ratio: 1;
  transform: translateY(-50%) rotate(7deg);
  opacity: 0.085;
  filter: grayscale(0.45) drop-shadow(0 0 60px rgba(217,185,120,.12));
}

.development-hero__backdrop img {
  width: 100%;
  height: 100%;
}

.development-hero__content {
  position: relative;
  z-index: 2;
  width: min(890px, 74%);
  animation: reveal-up 750ms 80ms both cubic-bezier(.16,.8,.22,1);
}

.development-hero h1 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(58px, 7.2vw, 126px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.055em;
  color: #f0ece3;
  text-shadow: 0 4px 46px rgba(0,0,0,.5);
}

.development-hero__content > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(217, 223, 220, 0.7);
  font-family: var(--display);
  font-size: clamp(19px, 1.55vw, 28px);
  line-height: 1.45;
}

.development-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.wip-warning {
  position: relative;
  z-index: 4;
  width: min(1420px, calc(100% - (var(--page-pad) * 2)));
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin: clamp(-54px, -4vw, -38px) auto 0;
  padding: clamp(28px, 3.5vw, 52px);
  border: 1px solid rgba(222, 185, 111, 0.58);
  background:
    linear-gradient(115deg, rgba(32, 27, 18, 0.96), rgba(7, 15, 20, 0.98) 52%, rgba(5, 13, 18, 0.98)),
    repeating-linear-gradient(135deg, transparent 0 9px, rgba(255,255,255,.015) 9px 10px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(255,255,255,.018);
}

.wip-warning::before,
.wip-warning::after {
  content: "";
  position: absolute;
  height: 1px;
  top: 12px;
  width: 31%;
  background: linear-gradient(90deg, transparent, rgba(217,185,120,.56));
}

.wip-warning::before { left: 14px; }
.wip-warning::after { right: 14px; transform: scaleX(-1); }

.wip-warning__mark {
  width: 78px;
  height: 78px;
  display: grid;
  place-content: center;
  align-self: start;
  border: 1px solid rgba(231, 197, 126, 0.52);
  color: var(--gold-200);
  background: rgba(217,185,120,.06);
  font-family: var(--display);
  font-size: 51px;
  line-height: 1;
}

.wip-warning__eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold-300);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.wip-warning h2 {
  max-width: 1100px;
  margin: 0 0 17px;
  color: #f0e9da;
  font-family: var(--display);
  font-size: clamp(25px, 2.5vw, 43px);
  line-height: 1.08;
}

.wip-warning__copy > p:not(.wip-warning__eyebrow) {
  max-width: 1120px;
  margin: 0 0 8px;
  color: rgba(211, 218, 215, 0.66);
  font-size: 14px;
  line-height: 1.65;
}

.wip-warning__copy strong {
  color: var(--gold-200);
}

.development-section {
  width: min(1520px, 100%);
  margin: 0 auto;
  padding: clamp(82px, 9vw, 142px) var(--page-pad) clamp(80px, 9vw, 140px);
}

.development-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(212, 184, 119, 0.2);
}

.development-section__heading h2,
.technical-focus h2 {
  margin: 0;
  font-family: var(--display);
  color: #eee9df;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.02;
}

.development-count {
  margin: 0 0 7px;
  color: rgba(217, 185, 120, 0.58);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.development-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
}

.development-card {
  min-width: 0;
  border: 1px solid rgba(172, 190, 194, 0.18);
  background:
    linear-gradient(145deg, rgba(10, 23, 30, 0.82), rgba(3, 9, 12, 0.94)),
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(255,255,255,.009) 8px 9px);
  box-shadow: 0 22px 65px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.development-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 185, 120, 0.4);
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.32);
}

.development-card__media {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(217, 185, 120, 0.18);
  background: #020608;
  cursor: zoom-in;
}

.development-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 53%, rgba(2,6,8,.5));
  pointer-events: none;
}

.development-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(.2,.7,.1,1), filter 180ms ease;
}

.development-card:hover .development-card__media img {
  transform: scale(1.025);
  filter: brightness(1.06);
}

.development-card__stamp,
.media-viewer__stamp {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 11px;
  padding: 6px 8px;
  border: 1px solid rgba(217,185,120,.34);
  color: rgba(239, 220, 167, 0.8);
  background: rgba(2, 7, 10, 0.8);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.development-card__body {
  padding: clamp(21px, 2vw, 30px);
}

.development-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.development-card__label,
.development-card__number {
  color: rgba(217, 185, 120, 0.66);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.development-card__number { color: rgba(153, 171, 175, 0.42); }

.development-card h3 {
  margin: 0 0 12px;
  color: #ece7dc;
  font-family: var(--display);
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.12;
}

.development-card__body > p {
  min-height: 5.1em;
  margin: 0;
  color: rgba(190, 201, 200, 0.61);
  font-size: 13px;
  line-height: 1.68;
}

.development-card__open {
  margin: 22px 0 0;
  padding: 0 0 7px;
  border: 0;
  border-bottom: 1px solid rgba(217,185,120,.36);
  color: rgba(217, 185, 120, 0.72);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.development-card__open:hover,
.development-card__open:focus-visible {
  color: var(--gold-200);
  border-color: var(--gold-200);
}

.development-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 48px;
  border: 1px dashed rgba(217,185,120,.28);
  color: rgba(194, 204, 203, 0.6);
  text-align: center;
}

.technical-focus {
  width: min(1180px, calc(100% - (var(--page-pad) * 2)));
  margin: 0 auto clamp(90px, 10vw, 150px);
  padding: clamp(40px, 5vw, 68px);
  border-left: 1px solid rgba(217,185,120,.48);
  background: linear-gradient(90deg, rgba(12, 26, 33, 0.7), rgba(4, 11, 15, 0.18));
}

.technical-focus h2 { max-width: 920px; }

.technical-focus > p:last-child {
  max-width: 850px;
  margin: 22px 0 0;
  color: rgba(190, 201, 200, 0.62);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer--inner {
  position: static;
  padding: 22px var(--page-pad);
  border-top: 1px solid rgba(212, 184, 119, 0.14);
  background: rgba(2, 7, 10, 0.72);
}

.media-viewer {
  width: min(94vw, 1320px);
  max-height: 94vh;
  padding: 0;
  border: 1px solid rgba(215, 181, 111, 0.52);
  color: var(--paper);
  background: #03090d;
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.82);
}

.media-viewer::backdrop {
  background: rgba(0, 4, 7, 0.86);
  backdrop-filter: blur(11px);
}

.media-viewer[open] { animation: modal-in 210ms ease-out both; }

.media-viewer__frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  max-height: 92vh;
}

.media-viewer__close {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 13px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(217,185,120,.25);
  color: rgba(239, 235, 224, 0.74);
  background: rgba(2,7,10,.78);
  cursor: pointer;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  backdrop-filter: blur(6px);
}

.media-viewer__close:hover,
.media-viewer__close:focus-visible { color: white; border-color: rgba(217,185,120,.6); }

.media-viewer__image-wrap {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: auto;
  background: #010405;
}

.media-viewer__image-wrap img {
  width: 100%;
  height: 100%;
  max-height: 92vh;
  display: block;
  object-fit: contain;
}

.media-viewer__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 34px 44px;
  border-left: 1px solid rgba(217,185,120,.18);
  background:
    linear-gradient(150deg, rgba(19, 37, 46, 0.8), rgba(4, 11, 15, 0.96)),
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(255,255,255,.01) 8px 9px);
}

.media-viewer__copy h2 {
  margin: 0 0 18px;
  color: #eee9df;
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.04;
}

.media-viewer__copy > p:last-child {
  margin: 0;
  color: rgba(195, 205, 203, 0.66);
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .development-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .development-hero__content { width: min(820px, 82%); }
  .media-viewer__frame { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 860px) {
  .development-hero { min-height: 420px; }
  .development-hero__content { width: 100%; }
  .development-hero__backdrop { right: -14%; opacity: .055; }
  .wip-warning { grid-template-columns: 1fr; }
  .wip-warning__mark { width: 58px; height: 58px; font-size: 38px; }
  .media-viewer__frame { display: block; overflow: auto; }
  .media-viewer__image-wrap img { height: auto; max-height: 66vh; }
  .media-viewer__copy { padding: 34px 28px 38px; border-top: 1px solid rgba(217,185,120,.18); border-left: 0; }
}

@media (max-width: 720px) {
  .development-hero {
    min-height: 390px;
    padding-top: 66px;
    padding-bottom: 104px;
  }
  .development-hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .development-hero__content > p:not(.eyebrow) { font-size: 18px; }
  .development-hero__actions { align-items: stretch; flex-direction: column; max-width: 340px; }
  .wip-warning {
    width: calc(100% - 28px);
    margin-top: -48px;
    padding: 27px 23px 30px;
  }
  .development-section { padding-inline: 14px; }
  .development-section__heading { align-items: start; flex-direction: column; }
  .development-gallery { grid-template-columns: 1fr; }
  .development-card__body > p { min-height: 0; }
  .technical-focus { width: calc(100% - 28px); padding: 32px 24px; }
  .site-footer--inner { flex-direction: column; align-items: center; gap: 8px; padding-block: 18px; }
  .site-footer--inner span { display: block !important; }
  .modal__actions { flex-direction: column; }
  .modal__actions .button { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .field-notice,
  .development-card,
  .development-card__media img,
  .development-hero__content,
  .media-viewer[open] {
    animation: none !important;
    transition: none !important;
  }
}
