:root {
  color-scheme: dark;
  --ink: #070909;
  --ink-soft: #0d1111;
  --paper: #eef2ed;
  --muted: #9da8a2;
  --line: rgba(238, 242, 237, 0.18);
  --line-strong: rgba(238, 242, 237, 0.34);
  --acid: #b9ee49;
  --max: 1480px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: .065;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--acid);
  color: var(--ink);
  transition: top .2s ease;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 96px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(0,0,0,.48), transparent);
}

.site-header.is-solid {
  position: relative;
  background: var(--ink);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 104px;
  width: 104px;
  height: 78px;
  gap: .9rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .84;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: 100% !important;
  max-width: 104px !important;
  height: 78px !important;
  object-fit: contain;
}

.wordmark-mark {
  width: 28px;
  height: 28px;
  position: relative;
  border: 1px solid var(--paper);
}

.wordmark-mark::before,
.wordmark-mark::after {
  content: "";
  position: absolute;
  background: var(--paper);
}

.wordmark-mark::before { width: 1px; height: 100%; left: 50%; top: 0; }
.wordmark-mark::after { width: 100%; height: 1px; left: 0; top: 50%; }

.wordmark-text span { display: block; }
.wordmark-text span:last-child { color: var(--acid); }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.7rem);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: .4rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--acid);
  transition: right .25s ease;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: min(940px, 100svh);
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 160px var(--gutter) clamp(3rem, 8vh, 7rem);
  background: linear-gradient(145deg, #080b0b 0%, #0b1010 100%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.5rem;
  color: var(--acid);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 9ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9vw, 9.2rem);
  font-weight: 400;
  letter-spacing: -.07em;
  line-height: .83;
}

.hero h1 em,
.page-hero h1 em {
  display: block;
  color: var(--acid);
  font-weight: 400;
}

.hero-intro {
  max-width: 35rem;
  margin: 2.2rem 0 0;
  color: #cbd2ce;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
}

.hero-image {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.12);
  transform: scale(1.02);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,5,5,.74), transparent 52%);
}

.image-caption {
  position: absolute;
  z-index: 2;
  left: 2rem;
  bottom: 2rem;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(160px, .35fr) 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.section-kicker {
  margin: 0;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  max-width: 18ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5.7vw, 6rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .96;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.project-card {
  position: relative;
  min-width: 0;
  background: var(--ink);
}

.project-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.68) contrast(1.08);
  transition: transform .7s cubic-bezier(.2,.7,.1,1), filter .35s ease;
}

.project-card:hover img {
  transform: scale(1.035);
  filter: saturate(.9) contrast(1.05);
}

.project-card-copy { padding: 1.6rem; }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.25rem;
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.status { color: var(--acid); }

.project-card h3 {
  margin: 0 0 .8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.65rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.project-card p { max-width: 45rem; margin: 0; color: #b9c1bd; }

.project-link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.6rem;
  color: var(--paper);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-link::after {
  content: "↗";
  color: var(--acid);
  transition: transform .2s ease;
}

.project-link:hover::after { transform: translate(3px, -3px); }

.notes-wrap {
  border-top: 1px solid var(--line);
}

.note-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.note-date {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.note-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.5vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -.025em;
}

.note-arrow { color: var(--acid); font-size: 1.3rem; }

.statement {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(2rem, 7vw, 8rem);
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
}

.statement p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 4.75rem);
  letter-spacing: -.05em;
  line-height: 1.03;
}

.statement p span { color: var(--acid); }

.ecosystem {
  border-top: 1px solid var(--line);
}

.ecosystem-lead {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.ecosystem-lead p:last-child {
  max-width: 50rem;
  margin: 0;
  color: #c4cbc7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.5vw, 3.6rem);
  letter-spacing: -.045em;
  line-height: 1.06;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.ecosystem-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  background: var(--ink-soft);
  transition: background .25s ease;
}

.ecosystem-card:hover { background: #141919; }

.ecosystem-number,
.ecosystem-role {
  color: var(--muted);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.ecosystem-card h3 {
  margin: auto 0 .8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.ecosystem-card p { margin: 0 0 1.5rem; color: #adb6b1; }
.ecosystem-card .project-link { margin-top: 0; }
.ecosystem-card.current { box-shadow: inset 0 3px 0 var(--acid); }

.ecosystem-close {
  max-width: 61rem;
  margin: 2rem 0 0 auto;
  color: #aeb7b2;
  font-size: 1.03rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .8rem 1.5rem;
  margin: 0;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-links a:hover { color: var(--acid); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .9rem 1.25rem;
  border: 1px solid var(--paper);
  color: var(--paper);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease;
}

.button:hover { background: var(--paper); color: var(--ink); }
.button.acid { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.button.acid:hover { background: transparent; color: var(--acid); }

.page-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 11rem) var(--gutter) clamp(4rem, 7vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { max-width: none; font-size: clamp(4rem, 10vw, 10rem); }

.page-hero-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-top: 2.5rem;
}

.page-hero-copy p { margin: 0; max-width: 42rem; color: #b9c1bd; font-size: 1.08rem; }

.project-list { display: grid; gap: 5rem; }

.project-feature {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.project-feature:nth-child(even) { grid-template-columns: .82fr 1.18fr; }
.project-feature:nth-child(even) .project-feature-image { order: 2; }

.project-feature-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-feature-image img { width: 100%; height: 100%; object-fit: cover; }

.project-feature h2 {
  margin: .7rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .98;
}

.project-feature p { margin: 0; color: #b9c1bd; }

.archive-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.archive-cell { min-height: 220px; padding: 2rem; }
.archive-cell + .archive-cell { border-left: 1px solid var(--line); }
.archive-cell h3 { margin: 0 0 .8rem; font: 400 2rem/1 Georgia, serif; }
.archive-cell p { margin: 0; color: var(--muted); }

.article-list { display: grid; gap: 0; border-top: 1px solid var(--line); }

.article-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
}

.article-item h2 { margin: 0 0 .7rem; font: 400 clamp(1.7rem, 3.5vw, 3.4rem)/1.02 Georgia, serif; letter-spacing: -.04em; }
.article-item p { max-width: 50rem; margin: 0; color: #b9c1bd; }

.prose-grid {
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  gap: clamp(2rem, 8vw, 9rem);
}

.prose-grid h2 { margin: 0; font: 400 clamp(2.5rem, 5vw, 5.5rem)/.95 Georgia, serif; letter-spacing: -.055em; }
.prose-grid .prose { max-width: 48rem; }
.prose-grid .prose p { margin: 0 0 1.3rem; color: #c1c8c4; font-size: 1.08rem; }

.detail-hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.detail-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #070909 2%, rgba(7,9,9,.74) 40%, rgba(7,9,9,.15)); }

.detail-hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 9rem var(--gutter) 4rem;
}

.detail-hero h1 { margin: .5rem 0 0; max-width: 12ch; font: 400 clamp(3.2rem, 8vw, 8.5rem)/.9 Georgia, serif; letter-spacing: -.06em; }

.detail-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-spec { padding: 1.25rem; background: var(--ink); }
.detail-spec small { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.detail-spec strong { font-size: .96rem; font-weight: 600; }

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-panel > div { padding: clamp(2rem, 5vw, 5rem); background: var(--ink-soft); }
.contact-panel h2 { margin: 0 0 1.4rem; font: 400 clamp(2.3rem, 5vw, 5rem)/.96 Georgia, serif; letter-spacing: -.05em; }
.contact-panel p { color: #b9c1bd; }
.contact-email { display: inline-block; margin-top: 1.5rem; padding-bottom: .2rem; border-bottom: 1px solid var(--acid); color: var(--paper); font-size: clamp(1.1rem, 2vw, 1.6rem); }

.contact-types { list-style: none; margin: 0; padding: 0; }
.contact-types li { padding: 1rem 0; border-bottom: 1px solid var(--line); color: #c4cbc7; }

.site-footer {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 3rem var(--gutter);
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
}

.footer-name { margin: 0; font: 400 clamp(2rem, 5vw, 5rem)/.9 Georgia, serif; letter-spacing: -.055em; }
.footer-meta { margin: 3rem 0 0; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { height: 78px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 1.5rem;
    background: rgba(7,9,9,.98);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 660px; padding-top: 140px; }
  .hero-image { min-height: 58svh; }
  .section-head, .page-hero-copy, .statement, .prose-grid { grid-template-columns: 1fr; }
  .ecosystem-lead { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: 1fr; }
  .project-feature, .project-feature:nth-child(even) { grid-template-columns: 1fr; }
  .project-feature:nth-child(even) .project-feature-image { order: 0; }
  .detail-specs { grid-template-columns: repeat(2, 1fr); }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wordmark { flex-basis: 80px; width: 80px; height: 60px; }
  .brand-logo { width: 80px !important; max-width: 80px !important; height: 60px !important; }
  .wordmark-text { font-size: .82rem; }
  .wordmark-mark { width: 24px; height: 24px; }
  .hero-copy { min-height: 610px; }
  .hero h1 { font-size: clamp(3.8rem, 18vw, 6.5rem); }
  .note-row, .article-item { grid-template-columns: 1fr; gap: .55rem; }
  .note-arrow { display: none; }
  .archive-band { grid-template-columns: 1fr; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .ecosystem-card { min-height: 250px; }
  .footer-links { justify-content: flex-start; }
  .archive-cell + .archive-cell { border-left: 0; border-top: 1px solid var(--line); }
  .detail-specs { grid-template-columns: 1fr; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-meta { flex-direction: column; }
}

@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; }
}
