@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2?v=6219bc4bfdfc") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500.woff2?v=ca24916a2af7") format("woff2");
}
[hidden]:not([hidden="until-found" i]) { display: none !important; }
.od-icon { display: inline-block; inline-size: var(--od-icon-size, 1em); block-size: var(--od-icon-size, 1em); flex: none; }

/* ---------- Design tokens ---------- */
:root {
  --ink: #1c1b1a;
  --brand: #112638;          /* Prescience navy, from the supplied mark */
  --brand-hover: #0a1727;
  --ink-soft: #45443f;
  --ink-muted: #6b6a64;
  --accent: #b8441f;
  --paper: #fbfaf7;
  --paper-veil: rgba(251, 250, 247, 0.78);
  --line: rgba(28, 27, 26, 0.16);
  --btn-bg: var(--brand);
  --btn-bg-hover: var(--brand-hover);
  --btn-fg: #ffffff;
  --focus: var(--brand);

  --font-sans: "Instrument Sans", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --text-xs: 0.75rem;     /* 12px eyebrow, tracked */
  --text-sm: 0.9375rem;   /* 15px nav */
  --text-base: 1rem;      /* 16px */
  --text-md: 1.125rem;    /* 18px pillars */
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); /* subtitle */
  --text-display: clamp(2.75rem, 1.5rem + 6.5vw, 6.25rem);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 48px;
  --space-10: 64px;
  --space-12: 96px;

  --radius-sm: 6px;
  --radius-md: 10px;

  --dur-fast: 180ms;
  --dur-base: 260ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in: cubic-bezier(0.6, 0, 0.8, 0.2);

  --page-pad: clamp(20px, 4vw, 56px);
  --max-w: 1440px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-sm); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Hero shell ---------- */
/* The illustration fills the hero. The grid splits the space between the header
   and the pillar bar into two equal halves: the copy block is pinned to the bottom
   of the upper half, so the button lands near the middle and the headline and
   supporting line sit in the open ocean and sky above it. The lower half stays
   clear so the campus scene reads unobstructed. */
.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) minmax(0, 1fr) auto;
  min-height: 100svh;
  isolation: isolate;
  background: var(--paper);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* decorative backdrop: cropping is deliberate */
  object-position: 50% 50%;
}
/* a faint wash behind the copy only, so the supporting line stays readable over the water */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 48% 34% at 50% 38%, rgba(251,250,247,0.62) 0%, rgba(251,250,247,0.3) 55%, rgba(251,250,247,0) 100%);
  pointer-events: none;
}
.hero__space { min-height: 0; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 5;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-5);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--brand);
}
.brand__mark { display: block; width: auto; height: 40px; flex: none; }
.brand__word {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-5), 3vw, var(--space-8));
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-5), 3vw, var(--space-8));
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-out);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--ink); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.menu-btn:hover { color: var(--ink); background: rgba(28,27,26,0.06); }
.menu-btn .od-icon { --od-icon-size: 24px; }
.menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: inline-block; }

/* slide-down panel opened by the menu button */
.menu-panel {
  position: absolute;
  top: calc(100% - var(--space-2));
  right: var(--page-pad);
  min-width: 220px;
  padding: var(--space-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(28,27,26,0.12);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.menu-panel.is-open { opacity: 1; transform: translateY(0); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.menu-panel a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-fast) var(--ease-out);
}
.menu-panel a:hover, .menu-panel a:focus-visible { background: rgba(28,27,26,0.06); }

/* ---------- Hero copy ---------- */
.hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding-top: var(--space-6);
  padding-bottom: 0;
}
.eyebrow {
  margin: 0 0 var(--space-5);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.headline {
  margin: 0;
  max-width: 14ch;
  font-size: var(--text-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.headline > span { display: block; }
.lede {
  margin: var(--space-6) 0 0;
  max-width: 34ch;
  font-size: var(--text-lg);
  line-height: 1.45;
  color: var(--ink-soft);
  text-wrap: balance;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding: 14px 22px;
  min-height: 48px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 0;
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(17,38,56,0.18);
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.cta:hover, .cta:focus-visible { background: var(--btn-bg-hover); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(17,38,56,0.24); }
.cta:active { transform: translateY(0); }
.cta .od-icon { --od-icon-size: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.cta:hover .od-icon { transform: translateX(3px); }
.cta:focus-visible { outline-color: var(--ink); }

/* ---------- Pillar bar ---------- */
.pillars {
  position: relative;
  z-index: 2;
  background: var(--paper-veil);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.pillars__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.pillar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.pillars__list > li + li { border-left: 1px solid var(--line); }
.pillar .od-icon { --od-icon-size: 26px; color: var(--ink); }

/* ---------- Content sections ---------- */
.section {
  padding-block: var(--space-12);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--space-6);
}
.section .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: var(--space-8);
  align-items: start;
}
.section__kicker {
  margin: 0 0 var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
}
.section__title {
  margin: 0;
  font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section__body { margin: 0; max-width: 62ch; font-size: var(--text-md); line-height: 1.6; color: var(--ink-soft); }
.section__cta { margin-top: var(--space-5); }
.vision__copy > .section__body + .section__body { margin-top: var(--space-4); }
.vision__questions {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-5);
  padding-left: 1.15em;
  color: var(--brand);
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}
.vision__questions li::marker { color: var(--accent); }
@media (min-width: 1024px) {
  .vision__copy { padding-top: calc(var(--text-xs) * 1.6 + var(--space-3)); }
}
.experiments-page .site-header { border-bottom: 1px solid var(--line); }
.experiment-intro { grid-column: 1 / -1; }
.experiment-intro .section__body { margin-top: var(--space-5); }
.page-intro { padding-block: var(--space-10); }
.page-title { margin: var(--space-3) 0 var(--space-5); font-size: clamp(2.75rem, 6vw, 5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.05; }
.nav__link[aria-current="page"] { color: var(--brand); text-decoration: underline; text-underline-offset: 6px; }
.project {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.project__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-8);
  padding: clamp(24px, 4vw, 64px);
  background: radial-gradient(ellipse at 85% 45%, #e9eef8, transparent 60%), var(--paper);
}
.project__name {
  margin: 0 0 var(--space-5);
  color: var(--brand);
  font: 700 clamp(2.75rem, 4.5vw, 4.5rem) / 1 Georgia, "Times New Roman", serif;
  letter-spacing: -0.05em;
}
.project__name em { color: var(--accent); }
.project__question {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.project__description { max-width: 48ch; margin: 0; color: var(--ink-soft); }
.project__art { display: flex; justify-content: center; }
.project__art img { display: block; width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 24px 24px rgba(17, 38, 56, 0.12)); }
.project__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.project-step { display: flex; flex-direction: column; min-width: 0; padding: clamp(20px, 2.5vw, 36px); }
.project-step + .project-step { border-left: 1px solid var(--line); }
.project-step__copy { flex: 1; padding-bottom: var(--space-5); }
.project-step__number { display: block; margin-bottom: var(--space-3); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.15em; color: var(--accent); }
.project-step h4 { margin: 0 0 var(--space-2); font-size: var(--text-md); font-weight: 500; letter-spacing: -0.02em; }
.project-step p { margin: 0; font-size: var(--text-sm); color: var(--ink-soft); }
.project-step > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.project__note { margin: 0; padding: var(--space-4) clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); color: var(--ink-muted); font-size: var(--text-xs); }

.team {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}
.person { display: grid; grid-template-columns: 144px minmax(0, 1fr); align-items: start; gap: var(--space-5); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.person__photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.person__body { display: flex; flex-direction: column; align-self: stretch; }
.person__body h3 { margin: 0 0 var(--space-2); font-size: 1.5rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.person__role { margin: 0 0 var(--space-3); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.person__bio { margin: 0; color: var(--ink-soft); }
.person__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); margin-top: auto; padding-top: var(--space-3); }
.person__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); text-decoration-thickness: 1px; text-underline-offset: 4px; color: var(--brand); overflow-wrap: anywhere; }
.person__links a:hover { color: var(--accent); }

@media (min-width: 768px) and (max-width: 1100px) {
  .person { grid-template-columns: 100px minmax(0, 1fr); gap: var(--space-4); }
}

.site-footer {
  padding-block: var(--space-8);
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: var(--text-sm);
}
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.site-footer p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .section .container { grid-template-columns: 1fr; gap: var(--space-5); }
}
@media (max-width: 767px) {
  .nav__links { display: none; }
  .brand__mark { height: 34px; }
  .brand__word { font-size: 0.8125rem; letter-spacing: 0.12em; }
  .hero { grid-template-rows: auto minmax(0, 1.15fr) minmax(0, 0.85fr) auto; }
  .hero__bg::after { background: radial-gradient(ellipse 80% 36% at 50% 40%, rgba(251,250,247,0.7) 0%, rgba(251,250,247,0.35) 60%, rgba(251,250,247,0) 100%); }
  .headline { line-height: 1.02; }
  .pillars__list { grid-template-columns: 1fr; }
  .pillar { justify-content: flex-start; padding: var(--space-4) 0; }
  .pillars__list > li + li { border-left: 0; border-top: 1px solid var(--line); }
  .project__hero { grid-template-columns: 1fr; gap: var(--space-5); }
  .project__art { grid-row: 1; }
  .project__art img { max-width: 240px; }
  .project__steps, .team { grid-template-columns: 1fr; }
  .project-step + .project-step { border-left: 0; border-top: 1px solid var(--line); }
  .project-step > img { max-height: 300px; }
  .person { grid-template-columns: 112px minmax(0, 1fr); gap: var(--space-4); }
  .menu-panel { left: var(--page-pad); right: var(--page-pad); }
}

@media (max-width: 399px) {
  .person { grid-template-columns: 1fr; }
  .person__photo { width: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .cta:hover { transform: none; }
  .cta:hover .od-icon { transform: none; }
}
