:root {
  --marine: #082e38;
  --marine-deep: #061f26;
  --turquoise: #32d9cf;
  --aqua: #75eee3;
  --gold: #d2ac65;
  --gold-ink: #8a6930;
  --ivory: #faf9f5;
  --ink: #10272c;
  --mute: #3e5559;
  --line: rgba(210, 172, 101, 0.55);
  --display: "Cormorant Garamond", Palatino, "Palatino Linotype", Georgia, serif;
  --serif: "Source Serif 4", Palatino, Georgia, serif;
  --mono: "IBM Plex Mono", "Segoe UI", ui-monospace, monospace;
  --max: 72rem;
  --rail: 34rem;
  --section: 5.5rem;
  --read: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: #0c5c62; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0 0 1.15rem; }
section[id], .opening { scroll-margin-top: 5rem; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 2px;
  transform: scaleX(var(--read));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), var(--turquoise));
}

.wrap { width: min(var(--max), calc(100% - 3rem)); margin: 0 auto; }
.kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 0.9rem;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(6, 31, 38, 0.94);
  border-bottom: 1px solid rgba(210, 172, 101, 0.35);
  backdrop-filter: blur(16px);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  color: var(--ivory);
  font-family: var(--display);
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}
.brand-mark { width: 2.7rem; height: 2.7rem; border-radius: 50%; object-fit: cover; flex: none; }
.act, button.act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.2rem 0 0.45rem;
  border: 0;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.act.solid {
  background: var(--turquoise);
  color: var(--marine-deep);
  border: 0;
  padding: 0.8rem 1.15rem;
  letter-spacing: 0.12em;
}
.chapter.ivory .act:not(.solid) {
  color: var(--marine-deep);
  border-bottom-color: var(--gold-ink);
}
.row { display: flex; flex-wrap: wrap; gap: 1.35rem 1.6rem; align-items: center; margin-top: 1.75rem; }

.opening {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 74% 8%, rgba(50, 217, 207, 0.28), transparent 42%),
    linear-gradient(180deg, #061f26 0%, #082e38 46%, #082e38 100%);
  color: var(--ivory);
}
.rays {
  position: absolute;
  inset: -20% -10%;
  background: linear-gradient(115deg, transparent 38%, rgba(117, 238, 227, 0.14) 50%, transparent 62%);
  animation: sweep 22s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%, 100% { transform: translate3d(-3%, 0, 0); }
  50% { transform: translate3d(3%, 1%, 0); }
}
.entrance { position: relative; z-index: 1; padding: 5.75rem 0 1.5rem; }
.hero { max-width: 62rem; }
.opening .kicker { color: var(--gold); }
.entrance h1 {
  margin: 0;
  max-width: 18em;
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  color: #faf9f5;
}
.entrance h1 em {
  display: block;
  margin-top: 0.35rem;
  font-style: italic;
  font-weight: 500;
  color: var(--aqua);
}
.lede {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(250, 249, 245, 0.92);
}
.inquiry-band { position: relative; z-index: 1; padding: 2.75rem 0 5.5rem; }
.inquiry { max-width: 44rem; }
.inquiry-step {
  margin: 0;
  padding: 1.35rem 0 0.15rem;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.45rem, 1.6vw, 1.85rem);
  line-height: 1.2;
  color: #faf9f5;
  opacity: 0;
  animation: arrive 0.9s ease forwards;
}
.inquiry-step:nth-child(2) { animation-delay: 0.22s; }
.inquiry-step:nth-child(3) { animation-delay: 0.44s; }
.inquiry-step span {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.inquiry-step.ask { font-style: italic; color: var(--aqua); }
.fine {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(250, 249, 245, 0.9);
}
@keyframes arrive { to { opacity: 1; } }

.chapter { padding: var(--section) 0; position: relative; }
.chapter h1,
.chapter h2 {
  margin: 0 0 1.15rem;
  max-width: 18ch;
  font-size: clamp(1.85rem, 2vw, 2.75rem);
}
.chapter.marine { background: var(--marine); color: var(--ivory); }
.chapter.marine h2 { color: var(--ivory); }
.chapter.marine .kicker,
.chapter.marine .fine { color: var(--gold); }
.chapter.ivory h2 em { color: #0e6f76; font-style: italic; }
.reading { box-shadow: inset 0 1px 0 var(--line); }
.measure { max-width: 40rem; margin-bottom: 1.15rem; font-size: 1.125rem; line-height: 1.7; }
.measure:last-child { margin-bottom: 0; }
.chapter.marine .measure { color: rgba(250, 249, 245, 0.92); }
.chapter.ivory .measure { color: var(--ink); }

.cases {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cases li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.85rem;
  align-items: baseline;
  padding: 1rem 0 0.85rem;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--ink);
}
.cases li:last-child { border-bottom: 1px solid var(--line); }
.cases span {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--gold-ink);
}
.ask {
  margin: 0.2rem 0 0;
  max-width: 24ch;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.25;
  color: #0e6f76;
}

.outcomes {
  display: grid;
  gap: 2rem;
  margin-top: 2.75rem;
}
.outcomes article { padding-top: 1rem; border-top: 1px solid var(--gold); }
.outcomes h3 {
  margin: 0 0 0.7rem;
  max-width: 22ch;
  font-size: 1.65rem;
  line-height: 1.15;
  color: var(--ink);
}
.outcomes p:last-child { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.65; }
.measure.after { margin-top: 2.5rem; }

.centerpiece {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}
.centerpiece h2 {
  max-width: 18em;
  margin-inline: auto;
}
.centerpiece .measure {
  text-align: left;
  margin-inline: auto;
}
.centerpiece .row { justify-content: center; }
.centerpiece form {
  text-align: left;
  max-width: 32rem;
  margin-inline: auto;
}
.invite h2 { max-width: none; }
.invite .measure {
  max-width: 36rem;
  text-align: center;
}
.invite .row { margin-top: 2.25rem; }
.invite .act.solid {
  min-height: 3.25rem;
  padding: 1rem 1.7rem;
  font-size: 0.78rem;
}
.institution {
  margin: 0.35rem auto 0;
  max-width: 40rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 1.7vw, 1.85rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ivory);
}
.balanced { max-width: 40rem; }
.balanced h2 { max-width: none; }
#contact .measure { max-width: 38rem; text-align: center; }
.address {
  margin: 0.4rem 0 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
}
.address a { color: var(--ink); }
#contact button.act.solid { width: 100%; justify-self: stretch; }
#opportunity,
#intelligence,
#contact { padding-block: 6.25rem; }

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }

form { display: grid; gap: 1.05rem; max-width: 36rem; margin-top: 0.4rem; }
label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
input, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(8, 46, 56, 0.4);
  background: transparent;
  color: var(--ink);
  padding: 0.7rem 0;
  font: 1.05rem var(--serif);
  border-radius: 0;
}
textarea { min-height: 7.5rem; resize: vertical; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; }
button.act.solid { width: auto; justify-self: start; }
.quiet {
  margin: 0.4rem 0 0;
  max-width: 36rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--mute);
}
footer.site {
  padding: 1.5rem 0 2.2rem;
  background: var(--ivory);
  color: var(--mute);
  font-size: 0.95rem;
  border-top: 1px solid rgba(16, 39, 44, 0.12);
}
footer.site p { margin: 0; }

.act:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 3px;
}

@media (min-width: 1100px) {
  .entrance { padding: 6.25rem 0 1.25rem; }
  .entrance h1 { font-size: 3.5rem; }
  .chapter h1,
  .chapter h2 { font-size: 2.75rem; }
  #value h2 { max-width: 14em; }
  .problem-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.1fr);
    column-gap: 4rem;
    align-items: start;
  }
  .outcomes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem; }
  .chapter { padding: var(--section) 0; }
  #opportunity,
  #intelligence,
  #contact { padding-block: 6.75rem; }
  .centerpiece button.act.solid { justify-self: center; }
  #research .balanced {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1fr);
    column-gap: 4rem;
    align-items: end;
  }
  #research .measure { margin: 0 0 0.4rem; }
  #contact .centerpiece button.act.solid { width: 100%; justify-self: stretch; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 1.75rem)); }
  .brand span { font-size: 1.15rem; }
  .brand-mark { width: 2.3rem; height: 2.3rem; }
  header .act.solid { padding: 0.65rem 0.75rem; font-size: 0.66rem; }
  .entrance { padding: 2.6rem 0 0.5rem; }
  .entrance h1 { max-width: 12em; font-size: clamp(2.15rem, 9vw, 2.7rem); }
  #opportunity,
  #intelligence,
  #contact { padding-block: 3.6rem; }
  .inquiry-band { padding: 2rem 0 3.25rem; }
  .inquiry-step { font-size: 1.45rem; }
  .chapter { --section: 3.35rem; padding: 3.35rem 0; }
  .chapter h1,
  .chapter h2 { font-size: clamp(1.8rem, 8vw, 2.15rem); }
  .cases { margin-top: 1.75rem; }
  .cases li { grid-template-columns: 2.1rem 1fr; font-size: 1.35rem; }
  .ask { font-size: 1.4rem; }
  .outcomes h3 { font-size: 1.45rem; }
  #contact .act.solid,
  #opportunity .act.solid { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .inquiry-step { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

.statement {
  margin: 0;
  background: white;
  border-top: 1px solid var(--gold);
  overflow-x: auto;
}
.statement img { width: 46rem; max-width: none; height: auto; display: block; }
.capability-view { overflow-x: hidden; }
.capability-view h1 { max-width: 12em; }
.statement.fit { overflow: hidden; }
.statement.fit img { width: 100%; max-width: 46rem; height: auto; margin-inline: auto; }
.pub { background: var(--ivory); color: var(--ink); }
.pub-cover { padding: 4.5rem 0 1.5rem; border-bottom: 1px solid var(--gold); }
.pub-cover h1 { margin: 0.4rem 0 1rem; font-size: clamp(2.4rem, 4vw, 3.65rem); max-width: 14ch; }
.specimen-banner {
  background: var(--marine);
  color: var(--ivory);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 0;
}
.read { display: grid; grid-template-columns: 1.2rem minmax(0, 42rem); gap: 1.1rem; padding: 2rem 0 3.5rem; }
.spine { background: linear-gradient(var(--gold), var(--turquoise)); width: 1px; justify-self: center; }
.evidence { margin: 1.2rem 0; border-top: 1px solid var(--gold); padding-top: 0.6rem; }
.evidence summary { cursor: pointer; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); }
.chapter-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); }
body.sheet { background: var(--ivory); }
body.sheet header.site { background: rgba(6, 31, 38, 0.94); }

.papers {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.75rem;
}
.papers article {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}
.papers h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  max-width: 18em;
}
.papers p { max-width: 42rem; }
.papers .row { margin-top: 0.4rem; }
@media (min-width: 1100px) {
  .papers { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
