@font-face {
  font-family: "Playfair Display";
  src: url("/assets/fonts/playfair-latin.woff2?v=20260817-1") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2?v=20260817-1") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #080a0a;
  --ink-2: #0a0c0c;
  --ink-3: #0c0e0e;
  --panel: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .11);
  --line-soft: rgba(255, 255, 255, .06);
  --paper: #f1eee7;
  --paper-dim: #bec2bf;
  --muted: #9c9f9d;
  --muted-2: #6f7472;
  --gold: #d6b26b;
  --gold-bright: #f0d293;
  --gold-dim: rgba(214, 178, 107, .5);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1440px;
  --gutter: clamp(22px, 6.4vw, 96px);
  --header-h: 88px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 72% 8%, rgba(214, 178, 107, .04), transparent 26%),
    linear-gradient(180deg, #080a0a 0%, #0a0c0c 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: .05;
  pointer-events: none;
  mix-blend-mode: soft-light;
  /* A same-origin file, not a data: URI — img-src is 'self', which blocked the
     inline version outright, so this grain never rendered in production. */
  background-image: url("/assets/noise.svg");
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }
p { margin: 0; }
em { font-style: normal; color: var(--gold); }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { color: #090a0a; background: var(--gold-bright); }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
[hidden] { display: none !important; }

.sr-only, .honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #090a0a;
  background: var(--gold-bright);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.spotlight {
  position: fixed;
  z-index: 0;
  width: 430px;
  height: 430px;
  left: var(--mouse-x, 72vw);
  top: var(--mouse-y, 22vh);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(214, 178, 107, .06), transparent 68%);
}

.container {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.arrow { font-size: 1.05em; line-height: 1; transition: transform 180ms var(--ease); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--gold-dim);
  background: transparent;
  color: #ece9e1;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
  background: var(--gold);
  color: #090a0a;
}

.button:hover .arrow { transform: translate(2px, -2px); }
.button--block { width: 100%; }
.button--solid { border-color: var(--gold); background: var(--gold); color: #090a0a; }
.button--quiet { border-color: var(--line); color: var(--muted); }
.button--quiet:hover { border-color: var(--line); background: rgba(255, 255, 255, .06); color: var(--paper); }

.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(214, 178, 107, .35);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}

.quiet-link:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.quiet-link:hover .arrow { transform: translate(2px, -2px); }

.icon { width: 30px; height: 30px; color: var(--gold); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }
.reveal--1 { transition-delay: 70ms; }
.reveal--2 { transition-delay: 140ms; }
.reveal--3 { transition-delay: 210ms; }
.reveal--4 { transition-delay: 280ms; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), backdrop-filter 220ms var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(8, 10, 10, .8);
  backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: var(--header-h);
}

.brand {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: .12em;
  color: #ece5d4;
}

.brand i { font-style: normal; color: var(--gold); }
.brand--gold { color: var(--gold); font-size: 21px; }
.brand--gold i { color: var(--gold); }
.brand-link { justify-self: start; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 44px);
}

.nav-links a {
  position: relative;
  color: #dedfdc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transition: right 180ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-button {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: #eee;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.menu-button span { position: relative; }
.menu-button span::before, .menu-button span::after { content: ""; position: absolute; left: 0; }
.menu-button span::before { top: -6px; }
.menu-button span::after { top: 6px; }
.menu-button[aria-expanded="true"] span { background: transparent; }
.menu-button[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  padding: 18px var(--gutter) 32px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 10, .97);
  backdrop-filter: blur(18px);
}

.mobile-menu.is-open { display: block; }

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 24px;
}

.mobile-menu .button { margin-top: 24px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(820px, 100svh);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(8, 10, 10, .98) 0%, rgba(8, 10, 10, .9) 34%, rgba(8, 10, 10, .4) 68%, rgba(8, 10, 10, .7) 100%),
    radial-gradient(circle at 70% 52%, rgba(214, 178, 107, .08), transparent 36%);
}

/* Rendered hero scene. Present only when spec/hero-art-brief.md assets are in
   public/assets/hero/; otherwise the CSS terrain + monolith below stand in. */

.hero-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
}

/* The render puts the monolith at 73.8 % across and 19–84 % down, and it is
   934 px tall in a 16:9 frame. The hero therefore grows with very wide
   viewports, otherwise `cover` crops the top of the monolith under the nav.
   See spec/hero-art-brief.md before replacing the image. */
.hero--photo { min-height: min(max(820px, 44vw), 100svh); }

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 45%;
}

.hero--photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 10, 10, .96) 0%, rgba(8, 10, 10, .82) 30%, rgba(8, 10, 10, .28) 60%, rgba(8, 10, 10, .12) 78%, rgba(8, 10, 10, .55) 100%),
    linear-gradient(180deg, rgba(8, 10, 10, .82) 0%, rgba(8, 10, 10, 0) 22%, rgba(8, 10, 10, 0) 74%, rgba(8, 10, 10, .9) 100%);
}

.hero-terrain {
  position: absolute;
  z-index: 1;
  inset: auto -2% -1px -2%;
  height: 46%;
  min-height: 220px;
  opacity: .9;
}

.hero-terrain svg { width: 100%; height: 100%; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr);
  align-items: center;
  gap: 4vw;
  width: 100%;
  padding-top: calc(var(--header-h) + 34px);
  padding-bottom: 56px;
}

.hero-copy { max-width: 560px; }

.hero-title {
  font-size: clamp(60px, 7.4vw, 112px);
  line-height: .9;
  letter-spacing: -.035em;
}

.hero-title span { display: block; color: #f4f2ec; }
.hero-title .hero-title__fade { color: #6b706e; }
.hero-title .hero-title__gold {
  background: linear-gradient(94deg, #cfa964 4%, #f4dcaa 46%, #d3ad66 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 385px;
  margin: 38px 0 36px;
  color: var(--paper-dim);
  font-size: 15.5px;
  line-height: 1.8;
}

.hero-art {
  position: relative;
  min-height: 640px;
}

.hero-scene { position: absolute; inset: 0; }

.orbits {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 108%;
  height: auto;
  transform: translate(-50%, -50%);
  animation: orbit-drift 14s ease-in-out infinite alternate;
}

@keyframes orbit-drift {
  from { transform: translate(-50%, -50%) rotate(-2.5deg) scale(.985); }
  to { transform: translate(-50%, -50%) rotate(2deg) scale(1.015); }
}

.monolith {
  position: absolute;
  left: 54%;
  top: 44%;
  width: 232px;
  height: 472px;
  transform: translate(-50%, -50%);
  transition: transform 260ms ease-out;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .72));
}

.monolith span { position: absolute; display: block; }

.monolith__face {
  inset: 0 42% 0 0;
  clip-path: polygon(0 3.4%, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(97deg, #1d201f 0%, #141817 60%, #0e1110 100%);
}

.monolith__side {
  inset: 0 0 0 58%;
  clip-path: polygon(0 0, 100% 5.2%, 100% 100%, 0 100%);
  background: linear-gradient(90deg, #090b0b 0%, #101312 44%, #1b1e1c 100%);
}

.monolith__edge {
  inset: 0 auto 0 58%;
  width: 1px;
  transform: translateX(-.5px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05) 58%, transparent);
}

.monolith__seam {
  inset: 8% auto 0 73%;
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, #e9cf95 12%, #fff6d6 62%, #ffeec2 92%, #fff9e6 100%);
  box-shadow: 0 0 14px rgba(255, 240, 200, .85), 0 0 46px rgba(214, 178, 107, .6), 0 0 110px rgba(214, 178, 107, .3);
}

.monolith__floor {
  position: absolute;
  left: 54%;
  top: calc(44% + 236px);
  width: 420px;
  height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(12px);
  background: radial-gradient(ellipse, rgba(255, 240, 202, .3), rgba(214, 178, 107, .07) 40%, transparent 70%);
}

.monolith__floor::after {
  content: "";
  position: absolute;
  left: 54.5%;
  top: -6px;
  width: 3px;
  height: 120px;
  transform: translateX(-50%);
  filter: blur(2.5px);
  background: linear-gradient(180deg, rgba(255, 245, 214, .85), transparent);
}

.art-label {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.25;
  text-shadow: 0 0 20px rgba(8, 10, 10, .9);
}

.art-label::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px rgba(214, 178, 107, .8);
}

.art-label--one { left: 11%; top: 12%; }
.art-label--two { right: 2%; top: 22%; }
.art-label--three { left: 1%; top: 56%; }
.art-label--four { right: 1%; top: 62%; }

/* ---------- Sections ---------- */

.section { position: relative; border-bottom: 1px solid var(--line); }

.section-head { margin-bottom: 42px; }

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

/* Approach */

.approach { padding: 62px 0; }

.approach-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.approach-intro { padding-right: clamp(28px, 4vw, 64px); }

.approach-intro h2 {
  max-width: 280px;
  margin-bottom: 32px;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.18;
}

.approach-item {
  min-height: 226px;
  padding: 6px 22px 8px;
  border-left: 1px solid var(--line-soft);
}

.approach-item .icon { margin-bottom: 30px; }

.approach-item h3 {
  max-width: 160px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.16;
}

.approach-item p,
.solution-card p,
.step p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.72;
}

/* Solutions */

.solutions { padding: 76px 0 78px; }

.solutions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 328px);
  gap: 52px;
  align-items: stretch;
}

.solutions-main { display: flex; flex-direction: column; }
.solutions-main .solution-grid { margin-top: auto; }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: linear-gradient(148deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .014));
  transition: transform 240ms var(--ease), border-color 240ms var(--ease), background 240ms var(--ease);
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -55% auto;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(214, 178, 107, 0);
  border-radius: 50%;
  transition: transform 280ms var(--ease), border-color 280ms var(--ease);
}

.solution-card:hover {
  transform: translateY(-7px);
  border-color: rgba(214, 178, 107, .4);
  background: linear-gradient(148deg, rgba(214, 178, 107, .09), rgba(255, 255, 255, .02));
}

.solution-card:hover::before { transform: scale(1.2) translate(-10px, -10px); border-color: rgba(214, 178, 107, .32); }

.solution-card .icon {
  box-sizing: content-box;
  width: 24px;
  height: 24px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px;
}

.solution-card h3 {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.solution-card p { margin-top: 14px; font-size: 14px; line-height: 1.55; }

.card-link {
  position: relative;
  align-self: flex-end;
  margin-top: auto;
  padding: 6px 0 0;
  border: 0;
  background: none;
  color: var(--gold);
  font-size: 17px;
}

.portal {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 84%, rgba(214, 178, 107, .16), transparent 30%),
    linear-gradient(162deg, #121414 0%, #090a0a 64%);
}

/* With the render present the CSS doorway is not emitted, and the panel's own
   gradients would double the light already in the image. */
.portal--photo { background: #070808; }

.portal-photo { position: absolute; inset: 0; display: block; }

.portal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.portal span { position: absolute; display: block; }

.portal-frame {
  left: 50%;
  top: 11%;
  width: 76px;
  height: 71%;
  transform: translateX(-50%);
  border: 13px solid #141616;
  background: linear-gradient(180deg, #060707 0%, #100f0c 58%, #2e281d 84%, #6b5c40 97%, #9c8760 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .75), inset -8px 0 20px rgba(255, 255, 255, .02);
}

.portal-frame::before {
  content: "";
  position: absolute;
  inset: 4% 6px -1px auto;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(240, 210, 147, .8) 42%, #fff6dd);
  box-shadow: 0 0 22px rgba(240, 210, 147, .85), 0 0 60px rgba(214, 178, 107, .4);
}

.portal-steps {
  left: 50%;
  bottom: 9%;
  width: 190px;
  height: 96px;
  transform: translateX(-50%) perspective(300px) rotateX(58deg);
  background: repeating-linear-gradient(180deg, #1c1e1d 0 11px, #0a0b0b 12px 18px);
  clip-path: polygon(28% 0, 72% 0, 100% 100%, 0 100%);
  box-shadow: 0 -16px 44px rgba(214, 178, 107, .14);
}

/* Process */

.process { padding: 72px 0 78px; }

.process-grid {
  display: grid;
  grid-template-columns: 2.35fr repeat(4, minmax(0, 1fr));
}

.process-intro { padding-right: 48px; }

.process-intro h2 {
  margin-top: 18px;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -.028em;
}

.step {
  min-height: 200px;
  padding: 2px 24px 0;
  border-left: 1px solid var(--line-soft);
}

.step:first-of-type { border-left: 0; padding-left: 0; }

.step-number {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 27px;
}

.step-number::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(214, 178, 107, .5), transparent);
}

.step h3 { font-size: 21px; font-weight: 600; }

/* ---------- Contact ---------- */

.contact {
  padding: 84px 0 0;
  background:
    radial-gradient(ellipse at 80% 60%, rgba(214, 178, 107, .07), transparent 30%),
    #090b0b;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.32fr .68fr 1fr;
  gap: clamp(28px, 3vw, 42px);
  align-items: center;
}

.contact-intro h2 {
  font-size: clamp(28px, 2.7vw, 41px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.contact-intro p {
  max-width: 330px;
  margin: 22px 0 30px;
  color: var(--paper-dim);
  font-size: 15px;
  line-height: 1.75;
}

.contact-meta { align-self: center; }
.contact-meta .brand { display: block; letter-spacing: .16em; }
.contact-meta > p { margin: 16px 0 28px; color: var(--muted); font-size: 14px; }

.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.meta-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: .1em;
}

.meta-value { color: #d5d6d2; font-size: 14px; }
.meta-value--link { border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 2px; }
.meta-value--link:hover { color: var(--gold); border-bottom-color: var(--gold); }

.connect { margin-top: 28px; }
.connect-row { display: flex; align-items: center; gap: 18px; margin-top: 12px; }

.connect-row a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #cfd1cd;
  transition: color 180ms var(--ease);
}

.connect-row a:hover { color: var(--gold); }
.connect-row svg { width: 22px; height: 22px; }
.connect-icon { width: 22px; height: 22px; color: currentColor; }

.planet { position: relative; min-height: 230px; margin-right: -4%; }
.planet svg { width: 100%; height: auto; }

.site-footer {
  display: grid;
  grid-template-columns: .58fr 1fr;
  align-items: center;
  gap: clamp(28px, 3vw, 42px);
  margin-top: 70px;
  padding: 24px 0 22px;
  border-top: 1px solid var(--line-soft);
  color: #626866;
  font-size: 11.5px;
}

.footer-links { display: flex; gap: 34px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold); }

/* ---------- Subpages ---------- */

.page-intro {
  padding: calc(var(--header-h) + 84px) 0 72px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 76% 30%, rgba(214, 178, 107, .07), transparent 42%);
}

.page-intro h1 {
  max-width: 16ch;
  margin-top: 22px;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.page-intro p {
  max-width: 520px;
  margin-top: 26px;
  color: var(--paper-dim);
  font-size: 16.5px;
  line-height: 1.75;
}

.work-list { padding: 76px 0 40px; }
.work-index { padding: 70px 0 82px; }

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-bottom: 62px;
  margin-bottom: 62px;
  border-bottom: 1px solid var(--line-soft);
}

.project-feature:last-child { border-bottom: 0; }

.project-feature__media {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #101212;
}

.project-picture img { width: 100%; height: auto; transition: transform 500ms var(--ease); }
.project-feature__media:hover img { transform: scale(1.02); }

.project-number { color: var(--gold); font-size: 11px; letter-spacing: .18em; }

.project-feature__meta h3 {
  margin: 18px 0 16px;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.08;
}

.project-feature__meta p { color: var(--muted); font-size: 15px; line-height: 1.75; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}

.tag-list li {
  padding: 6px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
}

.project-links { display: flex; flex-wrap: wrap; gap: 26px; }

.project-index li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) 24px;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}

.project-index li:last-child { border-bottom: 1px solid var(--line-soft); }
.project-index span { color: var(--gold); font-family: var(--serif); font-size: 18px; }
.project-index a { font-family: var(--serif); font-size: 24px; }
.project-index a:hover { color: var(--gold); }
.project-index p { color: var(--muted); font-size: 13px; }
.project-index b { color: var(--gold); font-weight: 400; text-align: right; }

.prose-section { padding: 72px 0; }

.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
}

.prose { display: grid; gap: 22px; justify-items: start; }
.prose p { max-width: 62ch; color: var(--paper-dim); font-size: 16.5px; line-height: 1.8; }
.prose a:not(.quiet-link) { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.prose h2 { margin-bottom: 12px; font-size: 26px; font-weight: 600; }
.prose section { display: block; }
.prose section + section { margin-top: 34px; }

.fit-section { padding: 72px 0 80px; }

.fit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 clamp(28px, 4vw, 60px);
}

.fit-list li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}

.fit-list span { color: var(--gold); font-family: var(--serif); font-size: 17px; }
.fit-list p { color: var(--paper-dim); font-size: 15px; }

.case-hero { padding: calc(var(--header-h) + 76px) 0 66px; border-bottom: 1px solid var(--line); }

.case-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.case-hero h1 {
  margin: 20px 0 14px;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.case-hero .case-type { color: var(--gold); font-size: 12px; letter-spacing: .12em; }
.case-hero p:not(.case-type) { max-width: 46ch; margin: 20px 0 30px; color: var(--paper-dim); line-height: 1.8; }
.case-hero .project-picture { overflow: hidden; border: 1px solid var(--line-soft); border-radius: 8px; }

.case-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 3vw, 52px);
  padding: 70px var(--gutter);
}

.case-step { color: var(--gold); font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.case-body h2 { margin: 16px 0 14px; font-size: 24px; font-weight: 600; }
.case-body p { color: var(--muted); font-size: 15px; line-height: 1.8; }

.case-system {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 64px);
  padding: 56px var(--gutter);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.case-system h2 { margin-top: 16px; font-size: clamp(28px, 2.6vw, 40px); }
.case-system ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.case-system li { padding: 16px 0; border-top: 1px solid var(--line-soft); color: var(--paper-dim); font-size: 15px; }

.image-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .55fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  padding: 66px 0 80px;
}

.image-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 8px; }
.image-gallery img { width: 100%; height: auto; }

.legal-section { padding: 70px 0 84px; }

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, .4fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
}

.legal-updated { color: var(--muted-2); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Brief dialog ---------- */

.brief-dialog {
  width: min(820px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid rgba(214, 178, 107, .32);
  background: var(--ink-3);
  color: var(--paper);
  box-shadow: 0 60px 160px rgba(0, 0, 0, .8);
}

.brief-dialog::backdrop { background: rgba(0, 0, 0, .82); backdrop-filter: blur(9px); }

.dialog-inner {
  position: relative;
  max-height: calc(100dvh - 30px);
  padding: clamp(26px, 4.5vw, 54px);
  overflow: auto;
}

.dialog-head { padding-right: 54px; }

.dialog-head h2 {
  margin: 14px 0 14px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.dialog-head > p { max-width: 540px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 20px;
  line-height: 1;
}

.close-button:hover { border-color: var(--gold); color: var(--gold); }

.brief-wizard { margin-top: 34px; }

.wizard-progress { display: grid; gap: 12px; margin-bottom: 28px; }

.wizard-progress p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wizard-progress strong { color: var(--gold); font-weight: 700; }
.wizard-progress > div { height: 1px; background: var(--line); }

.wizard-progress span#progress-bar {
  display: block;
  height: 1px;
  background: var(--gold);
  transform: scaleX(.25);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}

.wizard-step { min-width: 0; padding: 0; margin: 0; border: 0; }
.wizard-step legend { padding: 0; font-family: var(--serif); font-size: 26px; }
.step-help { margin: 10px 0 22px; color: var(--muted); font-size: 14px; }

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.choice input { position: absolute; opacity: 0; width: 0; height: 0; }

.choice span {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 12px 16px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, .022);
  cursor: pointer;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}

.choice span i { color: var(--muted-2); font-family: var(--serif); font-size: 15px; font-style: normal; }
.choice span b { font-weight: 400; font-size: 14px; line-height: 1.45; }
.choice span:hover { border-color: rgba(214, 178, 107, .35); }
.choice input:checked + span { border-color: var(--gold); background: rgba(214, 178, 107, .09); }
.choice input:checked + span i { color: var(--gold); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.field { display: grid; gap: 8px; align-content: start; }
.field--wide { grid-column: 1 / -1; }

.field label {
  color: #9a9e9b;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.field label span { color: var(--muted-2); font-weight: 400; text-transform: none; letter-spacing: 0; }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, .025);
  color: #ecece7;
}

.field input, .field select { min-height: 50px; padding: 0 14px; }
.field textarea { min-height: 140px; padding: 14px; resize: vertical; line-height: 1.6; }
.field select option { background: #111; color: #eee; }
.field [aria-invalid="true"] { border-color: #d98b7a; }

.field-note, .step-error { color: var(--muted-2); font-size: 11.5px; line-height: 1.5; }
.field-note.is-error, .step-error { color: #e2a08e; }
.step-error:empty { display: none; }

.turnstile-slot { margin-top: 22px; }

.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.form-status { margin-top: 16px; color: var(--muted); font-size: 13px; }
.form-status.is-error { color: #e2a08e; }

.submission-success { display: grid; gap: 14px; justify-items: start; }
.submission-success h3 { font-size: clamp(28px, 4vw, 42px); line-height: 1.05; }
.submission-success p { max-width: 52ch; color: var(--paper-dim); line-height: 1.75; }
.submission-success small { color: var(--muted-2); font-size: 12px; }
.submission-reference { color: var(--muted); font-size: 14px; }
.submission-reference b { color: var(--gold); font-family: var(--serif); font-weight: 400; letter-spacing: .04em; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav > nav { display: none; }
  .nav-links { display: none; }
  .menu-button { display: grid; }
  .nav-actions .button:not(.button--block) { display: none; }

  .hero-grid { grid-template-columns: .92fr 1.08fr; }
  .hero-art { min-height: 600px; }
  .monolith { width: 194px; height: 400px; }
  .monolith__floor { top: calc(44% + 212px); width: 330px; }

  .approach-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .approach-intro { grid-column: 1 / -1; padding-right: 0; margin-bottom: 46px; }
  .approach-intro h2 { max-width: 520px; }
  .approach-item:first-of-type { border-left: 0; padding-left: 0; }

  .solutions-layout { grid-template-columns: 1fr; }
  .portal { min-height: 420px; }

  .process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process-intro { grid-column: 1 / -1; padding-right: 0; margin-bottom: 46px; }

  .contact-grid { grid-template-columns: 1fr 1fr; }
  .planet { grid-column: 1 / -1; min-height: 170px; }

  .prose-grid, .legal-grid, .case-hero__grid, .case-system, .project-feature { grid-template-columns: 1fr; }
  .image-gallery { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
}

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-top: calc(var(--header-h) + 56px); padding-bottom: 30px; }
  .hero-copy { max-width: 640px; }
  .hero-art { min-height: 540px; margin-top: 12px; }
  /* Stacked layout: the render becomes a band under the copy, sized to the art
     box, rather than a full-bleed background blown up to a very tall hero. */
  .hero--photo { --hero-band: 430px; min-height: 0; }
  .hero--photo .hero-art { min-height: var(--hero-band); }
  .hero-photo {
    inset: auto 0 0 0;
    height: calc(var(--hero-band) + 30px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%);
  }
  .hero-photo img { object-position: 90% 50%; }
  .hero--photo::after {
    background:
      linear-gradient(180deg, rgba(8, 10, 10, .7) 0%, rgba(8, 10, 10, 0) 34%, rgba(8, 10, 10, 0) 76%, rgba(8, 10, 10, .88) 100%);
  }
  .scroll-hint { display: none; }

  .approach-grid { grid-template-columns: 1fr 1fr; }
  .approach-item { padding: 26px 22px; border-top: 1px solid var(--line-soft); }
  .approach-item:nth-of-type(odd) { border-left: 0; padding-left: 0; }

  .solution-grid { grid-template-columns: 1fr 1fr; }

  .process-grid { grid-template-columns: 1fr 1fr; }
  .step { padding-top: 26px; border-top: 1px solid var(--line-soft); }
  .step:nth-of-type(odd) { border-left: 0; padding-left: 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .planet { grid-column: auto; }

  .project-index li { grid-template-columns: 40px minmax(0, 1fr) 20px; }
  .project-index p { grid-column: 2; }
  .image-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  :root { --gutter: 20px; --header-h: 74px; }
  .brand { font-size: 22px; }

  .hero-title { font-size: clamp(54px, 17vw, 84px); }
  .hero-description { font-size: 15px; }
  .hero-art { min-height: 440px; }
  .hero--photo { --hero-band: 360px; }
  .monolith { width: 148px; height: 306px; }
  .monolith__floor { top: calc(44% + 162px); width: 250px; }
  .art-label { font-size: 12px; }
  .art-label--one { left: 3%; top: 9%; }
  .art-label--two { right: 0; top: 20%; }
  .art-label--three { left: 0; top: 60%; }
  .art-label--four { right: 0; top: 66%; }

  .approach { padding: 48px 0; }
  .approach-grid, .solution-grid, .process-grid { grid-template-columns: 1fr; }
  .approach-item, .approach-item:nth-of-type(odd) { border-left: 0; padding-inline: 0; min-height: 0; }
  .solutions { padding: 58px 0; }
  .solution-card { min-height: 0; }
  .portal { min-height: 360px; }
  .process { padding: 58px 0; }
  .step, .step:nth-of-type(odd) { border-left: 0; padding-inline: 0; min-height: 0; }

  .contact { padding-top: 58px; }
  .meta-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-links { flex-wrap: wrap; gap: 20px; }

  .choice-grid, .field-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .wizard-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
