:root {
  --bg: #070909;
  --bg-raised: #0b0d0d;
  --bg-soft: #111514;
  --text: #e8e1d5;
  --muted: #beb6aa;
  --dim: #8f887f;
  --brass: #b8945f;
  --brass-bright: #d8b574;
  --green-black: #172019;
  --line: rgba(232,225,213,.14);
  --line-strong: rgba(232,225,213,.24);
  --glass: rgba(13,16,14,.62);
  --focus: #e7c894;
  --max: 1440px;
  --pad: clamp(24px, 4vw, 64px);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background:
    radial-gradient(circle at 68% 8%, rgba(184,148,95,.08), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 350;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .18;
  background: url("assets/noise.svg") repeat;
  mix-blend-mode: soft-light;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; border-radius: 2px; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 40;
  top: 0;
  left: 50%;
  width: min(100%, 1536px);
  transform: translateX(-50%);
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid rgba(232,225,213,.08);
  background: linear-gradient(to bottom, rgba(7,9,9,.74), rgba(7,9,9,.22), transparent);
  backdrop-filter: blur(3px);
}
.brand { font-size: clamp(1rem, 1.45vw, 1.3rem); letter-spacing: -.02em; }
.brand span { color: var(--dim); padding: 0 .25em; }
.coming-soon { display: inline-flex; gap: 18px; align-items: center; color: var(--muted); font-size: .9rem; }
.status-dot { width: 11px; height: 11px; background: var(--text); border-radius: 50%; box-shadow: 0 0 22px rgba(232,225,213,.18); }

.hero {
  width: min(100%, 1536px);
  margin: 0 auto;
  min-height: min(880px, 88vh);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #050707;
  border-bottom: 1px solid var(--line);
}
.hero-present, .hero-future, .hero-shade, .threshold { position: absolute; inset: 0; }
.hero-present { width: 54%; z-index: 1; background: radial-gradient(circle at 65% 48%, #0d1414 0, #070a0a 42%, #050707 78%); overflow: hidden; }
.constellation {
  width: 119%;
  max-width: none;
  height: 102%;
  object-fit: cover;
  object-position: center;
  opacity: .94;
  transform: translate3d(2%,0,0);
  animation: field-breathe 16s ease-in-out infinite alternate;
}
.hero-future {
  left: 52%;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(7,9,9,.75) 0%, rgba(7,9,9,.08) 15%, transparent 35%),
    linear-gradient(0deg, rgba(7,9,9,.48) 0%, transparent 32%),
    url("assets/future-world-crop.webp");
  background-size: cover;
  background-position: 48% center;
  filter: saturate(.9) contrast(1.03) brightness(.95);
}
.hero-future::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, transparent 42%, rgba(232,195,133,.08) 64%, transparent 81%);
}
.hero-shade {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(5,7,7,.93) 0%, rgba(5,7,7,.84) 18%, rgba(5,7,7,.34) 36%, transparent 50%),
    linear-gradient(0deg, rgba(5,7,7,.72) 0%, transparent 22%, transparent 88%, rgba(5,7,7,.3) 100%);
  pointer-events: none;
}
.threshold { left: 51.5%; width: 110px; z-index: 5; overflow: visible; pointer-events: none; }
.threshold-line { position: absolute; left: 52px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(232,225,213,.12) 14%, rgba(216,181,116,.28) 48%, rgba(232,225,213,.08) 88%, transparent); }
.threshold img { position: absolute; width: 148px; max-width: none; top: 39%; left: -21px; transform: translateY(-50%); filter: drop-shadow(0 0 14px rgba(184,148,95,.18)); }

.hero-inner {
  position: relative;
  z-index: 10;
  width: min(100%, var(--max));
  min-height: min(880px, 88vh);
  margin: 0 auto;
  padding: 142px var(--pad) 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.hero-copy { max-width: 480px; align-self: start; margin-top: 42px; }
.eyebrow, .story-kicker {
  margin: 0 0 20px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
}
.hero h1 {
  margin: 0;
  font-size: clamp(3.55rem, 5.55vw, 5.45rem);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 300;
  text-wrap: balance;
}
.hero h1 span { color: #e2c18f; }
.hero-lede { margin: 28px 0 0; max-width: 390px; color: var(--text); font-size: clamp(1.08rem, 1.45vw, 1.34rem); line-height: 1.65; }

.pane {
  width: min(350px, 82%);
  justify-self: end;
  margin-top: 42px;
  padding: 24px 24px 20px;
  border: 1px solid rgba(232,225,213,.2);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(22,24,21,.62), rgba(9,11,10,.52));
  box-shadow: 0 28px 70px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(15px) saturate(.9);
  color: rgba(232,225,213,.88);
}
.pane-topline { display: flex; justify-content: space-between; font-size: .72rem; color: rgba(232,225,213,.55); }
.pane h2 { font-size: 1.55rem; font-weight: 300; margin: 8px 0 1px; letter-spacing: -.03em; }
.pane-sub, .pane-meta { color: rgba(232,225,213,.55); font-size: .76rem; margin: 0; }
.pane-meta { margin-top: 22px; }
.pane-rule { height: 1px; background: rgba(232,225,213,.11); margin: 18px 0 2px; }
.pane-list { margin: 0; }
.pane-list div { padding: 14px 0 10px; border-bottom: 1px solid rgba(232,225,213,.08); }
.pane-list div:last-child { border-bottom: 0; }
.pane-list dt { font-size: .86rem; }
.pane-list dd { margin: 2px 0 0; font-size: .74rem; color: rgba(232,225,213,.52); }
.pane-list .attention dt::after { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--brass-bright); margin-left: 8px; vertical-align: middle; }

.hero-mobile-flow { display: none; }

.bridge {
  width: min(calc(100% - 48px), 1440px);
  margin: 0 auto;
  min-height: 92px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.bridge p { margin: 0; font-size: .8rem; letter-spacing: .42em; color: var(--muted); }
.bridge span { color: var(--text); }

.doors {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.door { min-height: 250px; padding: 52px clamp(28px, 4vw, 64px); display: grid; grid-template-columns: 74px 1fr; gap: 28px; align-items: start; }
.door + .door { border-left: 1px solid var(--line); }
.door-mark { width: 66px; height: 66px; }
.door h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.75rem); font-weight: 300; letter-spacing: -.04em; }
.door p { margin: 0 0 24px; color: var(--muted); font-size: 1.05rem; max-width: 390px; }
.door a { display: inline-flex; gap: 9px; align-items: center; color: var(--brass-bright); font-size: .98rem; }
.door a span { transition: transform .25s ease; }
.door a:hover span { transform: translateY(4px); }

.story-section {
  position: relative;
  width: min(calc(100% - 48px), var(--max));
  min-height: 650px;
  margin: 0 auto;
  padding: 128px clamp(0px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(160px, .42fr) minmax(0, 1fr) minmax(280px, .8fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.story-kicker { padding-top: 10px; color: var(--brass); }
.story-copy { position: relative; z-index: 3; max-width: 690px; }
.story-copy h2 { margin: 0 0 30px; font-size: clamp(2.5rem, 4.25vw, 4.2rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 300; }
.story-copy p { margin: 0 0 22px; color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.23rem); line-height: 1.72; }
.story-copy .closing-line { color: var(--text); margin-top: 36px; }
.foundation-field { position: absolute; width: 610px; right: -150px; top: 40px; opacity: .46; pointer-events: none; }
.twenty-section { background: radial-gradient(circle at 86% 43%, rgba(184,148,95,.08), transparent 34%); }
.future-window {
  align-self: stretch;
  min-height: 430px;
  border-left: 1px solid rgba(232,225,213,.12);
  background:
    linear-gradient(90deg, rgba(7,9,9,.7), transparent 28%),
    url("assets/future-world-mobile.webp") center/cover;
  box-shadow: inset 28px 0 60px rgba(7,9,9,.46);
  filter: saturate(.78) brightness(.76);
}

.closing {
  width: min(calc(100% - 48px), var(--max));
  min-height: 340px;
  margin: 0 auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 92px clamp(0px, 4vw, 64px) 72px;
}
.not-sometime { margin: 0; color: var(--muted); font-family: var(--mono); font-size: clamp(.88rem, 1.2vw, 1.05rem); letter-spacing: .22em; }
.not-sometime strong { color: var(--text); font-weight: 400; }
.building { margin: 12px 0 0; color: var(--brass-bright); font-size: clamp(1.6rem, 3vw, 3rem); letter-spacing: -.035em; font-weight: 300; }
.contact-link { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); padding: 12px 0; }
.contact-link img { width: 20px; height: 20px; }
.contact-link:hover { color: var(--text); }

.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  min-height: 76px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dim);
  font-size: .78rem;
}

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 900ms cubic-bezier(.22,1,.36,1), transform 900ms cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes field-breathe { from { opacity: .77; transform: translate3d(1%,0,0) scale(1); } to { opacity: .96; transform: translate3d(3%,-.5%,0) scale(1.012); } }

@media (max-width: 1000px) {
  .hero { min-height: 840px; }
  .hero-inner { min-height: 840px; grid-template-columns: 46% 54%; padding-top: 126px; }
  .hero h1 { font-size: clamp(3rem, 6vw, 4.4rem); }
  .hero-future { left: 47%; }
  .hero-present { width: 50%; }
  .threshold { left: 46.4%; }
  .pane { width: min(320px, 94%); }
  .story-section { grid-template-columns: 130px 1fr; }
  .foundation-field, .future-window { grid-column: 2; width: 100%; position: relative; right: auto; top: auto; min-height: 300px; opacity: .52; }
}

@media (max-width: 767px) {
  :root { --pad: 22px; }
  .site-header { min-height: 62px; position: absolute; }
  .brand { font-size: .92rem; }
  .coming-soon { font-size: .75rem; gap: 10px; }
  .status-dot { width: 8px; height: 8px; }

  .hero { min-height: 990px; overflow: hidden; }
  .hero-present { width: 100%; height: 54%; background: radial-gradient(circle at 58% 54%, #101615 0%, #060808 66%); }
  .hero-present .constellation { width: 145%; height: 100%; opacity: .72; transform: translateX(-8%); }
  .hero-future {
    top: 48%; left: 0; width: 100%; height: 52%;
    background-image: linear-gradient(0deg, rgba(7,9,9,.36), transparent 35%), linear-gradient(180deg, rgba(7,9,9,.58), transparent 24%), url("assets/future-world-mobile.webp");
    background-position: 54% center;
  }
  .hero-shade { background: linear-gradient(180deg, rgba(5,7,7,.4), rgba(5,7,7,.28) 40%, rgba(5,7,7,.78) 52%, transparent 68%, rgba(5,7,7,.44)); }
  .threshold { top: 46.5%; left: 0; width: 100%; height: 110px; }
  .threshold-line { left: 0; right: 0; top: 54px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,225,213,.12), rgba(216,181,116,.38), rgba(232,225,213,.12), transparent); }
  .threshold img { width: 98px; top: 4px; left: 50%; transform: translateX(-50%); }
  .hero-inner { min-height: 990px; display: block; padding: 104px var(--pad) 42px; }
  .hero-copy { margin: 0; max-width: 340px; }
  .eyebrow { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(3.4rem, 16vw, 4.85rem); }
  .hero-lede { font-size: 1.05rem; line-height: 1.58; max-width: 315px; margin-top: 22px; }
  .pane { position: absolute; right: 18px; bottom: 54px; width: min(285px, calc(100% - 36px)); margin: 0; padding: 18px; backdrop-filter: blur(12px); }
  .pane h2 { font-size: 1.25rem; }
  .pane-list div { padding: 9px 0 7px; }
  .hero-mobile-flow { position: absolute; display: flex; z-index: 12; left: 22px; top: 47.4%; transform: translateY(-50%); align-items: center; gap: 10px; font-family: var(--mono); font-size: .59rem; letter-spacing: .16em; color: var(--dim); }
  .hero-mobile-flow .future { color: var(--brass-bright); }
  .flow-arrow { color: var(--brass); }

  .bridge { width: calc(100% - 32px); min-height: 78px; }
  .bridge p { font-size: .64rem; letter-spacing: .28em; text-align: center; }
  .doors { width: calc(100% - 32px); grid-template-columns: 1fr; }
  .door { min-height: 220px; grid-template-columns: 58px 1fr; padding: 40px 12px; gap: 20px; }
  .door + .door { border-left: 0; border-top: 1px solid var(--line); }
  .door-mark { width: 54px; height: 54px; }
  .door h2 { font-size: 2rem; }
  .door p { font-size: .98rem; }

  .story-section { width: calc(100% - 32px); min-height: auto; padding: 88px 0 72px; grid-template-columns: 1fr; gap: 18px; }
  .story-kicker { padding: 0; margin-bottom: 4px; }
  .story-copy h2 { font-size: clamp(2.6rem, 12vw, 3.5rem); margin-bottom: 24px; }
  .story-copy p { font-size: 1rem; line-height: 1.7; }
  .foundation-field, .future-window { grid-column: 1; min-height: 260px; margin-top: 28px; border-left: 0; border-top: 1px solid var(--line); }
  .foundation-field { width: 130%; margin-left: -15%; opacity: .4; }

  .closing { width: calc(100% - 32px); min-height: 300px; padding: 72px 0 54px; display: block; }
  .not-sometime { font-size: .76rem; line-height: 1.7; }
  .building { margin-top: 18px; font-size: 2rem; }
  .contact-link { margin-top: 48px; font-size: .92rem; }
  .site-footer { width: calc(100% - 32px); min-height: 90px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 4px; }
}

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