:root {
  --ink: #14120f;
  --charcoal: #1d1a16;
  --panel: #26211b;
  --ochre: #c8932e;
  --gold: #d9a954;
  --cream: #f4ecdc;
  --cream-dim: #cfc4ae;
  --line: rgba(244, 236, 220, 0.14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hero-overlay: linear-gradient(90deg, rgba(20, 18, 15, 0.9) 0%, rgba(20, 18, 15, 0.55) 55%, rgba(20, 18, 15, 0.15) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* Header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; }
/* Soft dark band so the nav stays readable over the bright window in the hero photo */
.site-header::before { content: ""; position: absolute; inset: 0 0 -36px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(20, 18, 15, 0.72) 0%, rgba(20, 18, 15, 0.38) 60%, rgba(20, 18, 15, 0) 100%); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; letter-spacing: 0.01em; }
.wordmark img { vertical-align: middle; margin: -4px 10px 0 0; }
.wordmark span { color: var(--gold); font-style: italic; }
.bar nav { display: flex; gap: 28px; }
.bar nav a { font-size: 0.875rem; text-decoration: none; color: var(--cream-dim); transition: color 0.2s; }
.bar nav a:hover { color: var(--cream); }

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(92svh, 900px);
  padding: 120px 0 80px;
  isolation: isolate;
  background:
    radial-gradient(60% 80% at 82% 38%, rgba(200, 147, 46, 0.38), transparent 70%),
    linear-gradient(135deg, #2b2016 0%, #14120f 70%);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-overlay); }
.hero-inner { position: relative; }
.eyebrow { font-size: 0.8125rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.6rem; }
.hero h1 { font-size: clamp(2.7rem, 7.2vw, 5.8rem); font-weight: 300; max-width: 11ch; }
.hero h1 em { font-style: italic; color: var(--gold); }
.lede { max-width: 38rem; margin: 2rem 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--cream-dim); }

/* Sections */
.section { padding: clamp(72px, 11vw, 140px) 0; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 300; margin-bottom: 1.4rem; }
.thesis { background: var(--charcoal); }
.thesis p { color: var(--cream-dim); max-width: 34rem; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }

/* Section photos are <img> filling their box; the 16:9 sources are never cropped on disk, only framed here.
   z-index -2 keeps the photo under each ::before overlay (-1) and the content (isolated stacking context). */
.bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bg-hero { object-position: 90% 40%; }
.bg-enterprise { object-position: 50% 55%; }
.bg-consortium { object-position: 55% 40%; }
.bg-horizon { object-position: 50% 25%; }

/* Image tiles: gradient fallback sits under the photo, so no image still looks finished */
.tile { overflow: hidden; border-radius: 4px; border: 1px solid var(--line); }
.tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-ownership img { object-position: 78% 40%; }
.tile-hands img { object-position: 60% 50%; }
.tile-ownership {
  aspect-ratio: 4 / 5;
  background-image: radial-gradient(70% 60% at 30% 25%, rgba(200, 147, 46, 0.4), transparent 70%), linear-gradient(160deg, #3a2a1a, #17130e);
}
.tile-youth {
  aspect-ratio: 3 / 2;
  background-image: radial-gradient(60% 70% at 70% 30%, rgba(168, 85, 43, 0.4), transparent 70%), linear-gradient(140deg, #33241a, #16120e);
}
.tile-hands {
  aspect-ratio: 1 / 1;
  background-image: radial-gradient(60% 60% at 40% 70%, rgba(217, 169, 84, 0.3), transparent 70%), linear-gradient(200deg, #2f2418, #15110d);
}

/* Figures */
.figures-section { padding: clamp(48px, 7vw, 88px) 0; background: var(--ink); border-block: 1px solid var(--line); }
.figures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.figures li { display: flex; flex-direction: column; gap: 10px; padding-left: 24px; border-left: 1px solid var(--ochre); }
.fig { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 300; line-height: 1; color: var(--gold); }
.fig-text { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; padding-top: 0.15em; }
.cap { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream-dim); }

/* How it works */
.how {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(200, 147, 46, 0.22), transparent 70%),
    var(--charcoal);
}
.how::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 18, 15, 0.8) 0%, rgba(20, 18, 15, 0.62) 45%, rgba(20, 18, 15, 0.5) 100%), linear-gradient(90deg, rgba(20, 18, 15, 0.45), rgba(20, 18, 15, 0) 70%); }
.steps { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { border-top: 1px solid var(--ochre); padding-top: 22px; }
.num { display: block; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; }
.steps h3 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.steps p { color: var(--cream-dim); font-size: 0.975rem; margin: 0; text-shadow: 0 1px 2px rgba(20, 18, 15, 0.6); }

/* People band */
.people { background: var(--ink); padding-bottom: clamp(56px, 8vw, 100px); }
.band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 21 / 9;
  min-height: 240px;
  padding: clamp(20px, 4vw, 48px) clamp(20px, 5vw, 64px);
  background:
    radial-gradient(50% 80% at 25% 40%, rgba(200, 147, 46, 0.3), transparent 70%),
    linear-gradient(120deg, #35261a, #15110d);
}
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 20% 100%, rgba(20, 18, 15, 0.7), transparent 75%), linear-gradient(0deg, rgba(20, 18, 15, 0.75), rgba(20, 18, 15, 0) 55%); }
.band p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 3vw, 2.3rem); text-shadow: 0 1px 3px rgba(20, 18, 15, 0.75), 0 0 28px rgba(20, 18, 15, 0.7); }
.pair { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(16px, 3vw, 32px); margin-top: clamp(16px, 3vw, 32px); align-items: end; }

/* Contact */
.contact {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(200, 147, 46, 0.22), transparent 70%),
    linear-gradient(180deg, #1f1a2b 0%, #14120f 75%);
}
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 18, 15, 0.8), rgba(20, 18, 15, 0.93)); }
.contact-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact p { color: var(--cream-dim); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
label { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream-dim); }
.opt { text-transform: none; letter-spacing: 0; opacity: 0.7; }
input, textarea {
  width: 100%;
  font: inherit;
  color: var(--cream);
  background: rgba(244, 236, 220, 0.05);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 16px;
  transition: border-color 0.2s, background 0.2s;
}
textarea { resize: vertical; min-height: 140px; }
input:hover, textarea:hover { border-color: rgba(244, 236, 220, 0.3); }
input:focus, textarea:focus { outline: none; border-color: var(--gold); background: rgba(244, 236, 220, 0.08); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button {
  justify-self: start;
  font: 500 0.9375rem var(--sans);
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--gold);
  border: 0;
  border-radius: 3px;
  padding: 15px 32px;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover { background: var(--cream); }
button:disabled { opacity: 0.6; cursor: progress; }
.notice { display: none; margin: 0; padding: 14px 16px; border-left: 3px solid var(--gold); background: rgba(244, 236, 220, 0.06); color: var(--cream); }
.notice.err { border-left-color: #d9775a; }
.notice:target, .notice.show { display: block; }

/* Footer */
.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--cream-dim); }
.footer-mark { display: block; margin: 0 auto 28px; opacity: 0.85; }
.site-footer p { margin: 0 0 0.5em; }
.disclaimer { max-width: 44rem; font-size: 0.8125rem; opacity: 0.8; }

/* Scroll reveals (only when JS is present) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .split, .contact-inner { grid-template-columns: 1fr; }
  .tile-ownership { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --hero-overlay: linear-gradient(180deg, rgba(20, 18, 15, 0.55) 0%, rgba(20, 18, 15, 0.9) 100%); }
  .bar nav a:not(:last-child) { display: none; }
  .hero { padding: 110px 0 56px; align-items: flex-end; }
  .figures { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .band { aspect-ratio: 4 / 3; }
  .pair { grid-template-columns: 1fr; }
  button { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
