:root {
  --bg: #070806;
  --ink: #efe8d8;
  --muted: #9a927f;
  --line: rgba(239, 232, 216, 0.12);
  --gold: #d4b56a;
  --gold-2: #f0d48a;
  --panel: rgba(14, 14, 12, 0.72);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; background: var(--bg); color: var(--ink); }
body {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

.top, main, footer { position: relative; z-index: 2; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 6vw 1.35rem;
  z-index: 4;
}
.mark {
  width: 3rem;
  height: 3rem;
  display: block;
  flex: 0 0 3rem;
  text-decoration: none;
  position: relative;
  z-index: 5;
}
#nav3d,
#nav3d img {
  display: block;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  pointer-events: none;
}

nav { display: flex; gap: 1.6rem; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
nav a:hover { color: var(--gold-2); }

.hero {
  min-height: calc(100svh - 5rem);
  padding: 4vh 6vw 8vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.9fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { min-width: 0; }
#mark3d {
  width: min(100%, 28rem);
  aspect-ratio: 1;
  justify-self: center;
  pointer-events: none;
  position: relative;
}
#mark3d img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  position: absolute;
  inset: 14%;
  pointer-events: none;
}
.eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
h1 em {
  font-style: italic;
  color: var(--gold-2);
}
.lede {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: #111;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn:hover { background: var(--gold-2); }
.text {
  color: var(--gold-2);
  text-decoration: none;
  font-size: 0.9rem;
}
.text:hover { text-decoration: underline; }

.block {
  padding: 5.5rem 6vw;
  border-top: 1px solid var(--line);
}
.block-head { max-width: 40rem; margin-bottom: 2.4rem; }
h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  margin-top: 0.35rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.5rem 1.45rem 1.35rem;
  backdrop-filter: blur(16px);
  min-height: 16rem;
  display: flex;
  flex-direction: column;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.card h3 {
  font-family: "Instrument Serif", serif;
  font-size: 1.85rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
}
.card p {
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.card a { margin-top: 1.2rem; color: var(--gold-2); text-decoration: none; }
.card a:hover { text-decoration: underline; }
.soon { margin-top: 1.2rem; color: var(--muted); font-size: 0.82rem; }
.card--live { border-color: rgba(212, 181, 106, 0.38); }

.project-intro h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.95;
}
.featured {
  border-top: 1px solid rgba(212, 181, 106, 0.35);
  border-bottom: 1px solid var(--line);
}
.featured h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.featured .btn { margin-top: 0.4rem; display: inline-flex; }
.prospect {
  list-style: none;
  display: grid;
  gap: 1.15rem;
  max-width: 44rem;
}
.prospect li { color: var(--muted); line-height: 1.6; }
.prospect strong { color: var(--ink); font-weight: 500; }

.method ol {
  list-style: none;
  display: grid;
  gap: 1.2rem;
  max-width: 46rem;
}
.method li {
  padding-left: 3rem;
  position: relative;
  color: var(--muted);
  line-height: 1.55;
}
.method li::before {
  content: attr(data-n);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-family: "Instrument Serif", serif;
  font-size: 1.2rem;
}
.method strong { color: var(--ink); font-weight: 500; }

.proof-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.proof {
  border: 1px dashed var(--line);
  padding: 1.3rem;
}
.proof span {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.proof p { color: var(--muted); line-height: 1.5; }

.about p, .contact p {
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.contact a { color: var(--gold-2); text-decoration: none; font-size: 1.15rem; }

.founder-tease {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.founder-tease img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(0.15) contrast(1.05);
}
.founder-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3vw;
  padding: 3vh 6vw 8vh;
  align-items: end;
  min-height: 88vh;
}
.founder-hero img {
  width: 100%;
  height: min(78vh, 820px);
  object-fit: cover;
  object-position: center 12%;
  filter: grayscale(0.18) contrast(1.08);
}
.founder-copy h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
.founder-copy .role {
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin: 1rem 0 1.4rem;
}
.thesis {
  border-left: 1px solid var(--gold);
  padding-left: 1.2rem;
  color: var(--ink);
  font-family: "Instrument Serif", serif;
  font-size: 1.35rem;
  line-height: 1.35;
  max-width: 28rem;
  margin: 1.6rem 0 2rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 6vw 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 2.5rem;
  }
  #mark3d {
    order: -1;
    width: min(72vw, 22rem);
  }
  .btn { min-height: 44px; }
  nav a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 800px) {
  .grid, .proof-row, .founder-tease, .founder-hero { grid-template-columns: 1fr; }
  .top { flex-wrap: wrap; gap: 0.8rem; }
  nav { gap: 0.9rem; flex-wrap: wrap; }
  .founder-hero img { height: 58vh; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  #mark3d { width: min(78vw, 18rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
