@charset "UTF-8";

/* One palette, type scale and spacing rhythm shared by every page. */
:root {
  color-scheme: light dark;
  --canvas: #f5f5f0;
  --surface: #ecefea;
  --ink: #22292f;
  --muted: #626b70;
  --line: #cfd4d2;
  --accent: #245dcc;
  --on-accent: #ffffff;
  --chip-face: #e1e6e8;
  --chip-side: #d3dadd;
  --inverse: #19242e;
  --inverse-ink: #edf1f3;
  --inverse-muted: #b3bfc8;
  --inverse-line: #44525d;
  --inverse-accent: #91b6ff;
  --gutter: clamp(1.25rem, 4.5vw, 5rem);
  --column-gap: clamp(2rem, 5vw, 5rem);
  --section-space: clamp(3.5rem, 6.5vw, 6.5rem);
  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-family: var(--sans);
  font-synthesis: none;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; }
figure, p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--on-accent); }
svg { display: block; max-width: 100%; }
.wrap { width: min(100% - var(--gutter) * 2, 80rem); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section.wrap:not(.hero):not(.page-intro) { border-top: 1px solid var(--line); }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--column-gap); align-items: start; }
.two-column > *, .hero > *, .team-row > *, .footer-main > * { min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; inset: .75rem auto auto .75rem; padding: 1rem 1.5rem; color: var(--canvas); background: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* The wordmark is a single vector drawing, including all three dots. */
.site-header { display: flex; align-items: center; gap: var(--space-lg); min-height: 6.5rem; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; min-height: 2.75rem; }
.brand-mark { display: block; width: 7rem; height: auto; }
.brand-fallback { font-size: 2rem; font-weight: 600; letter-spacing: -.04em; }
.brand-descriptor { max-width: 12rem; font: 11px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.main-navigation { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); margin-left: auto; font-size: 14px; line-height: 1.5; }
.main-navigation a { position: relative; display: flex; align-items: center; min-height: 2.75rem; }
.main-navigation a::after { content: ''; position: absolute; height: 1px; background: currentColor; bottom: .25rem; inset-inline: 0; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.main-navigation a:hover::after, .main-navigation a[aria-current]::after { transform: scaleX(1); }
.main-navigation a[aria-current] { color: var(--accent); }
.menu-toggle { display: none; }

/* Display type changes continuously, with no breakpoint size jumps. */
.display-title { font-size: clamp(3.25rem, 2.3rem + 4.6vw, 7rem); font-weight: 400; line-height: 1.04; letter-spacing: -.045em; }
.display-title em { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h2 { font-size: clamp(1.875rem, 1.25rem + 1.7vw, 3rem); font-weight: 400; line-height: 1.16; letter-spacing: -.03em; }
h3 { font-size: clamp(1.375rem, 1.2rem + .45vw, 1.625rem); font-weight: 400; line-height: 1.25; letter-spacing: -.02em; }
.eyebrow, .section-index, .small-label { font: 11px/1.6 var(--mono); letter-spacing: .065em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .625rem; }
.accent-square { width: 5px; height: 5px; flex: 0 0 5px; background: var(--accent); }
.small-label { color: var(--muted); }
.section-kicker { display: flex; justify-content: space-between; gap: var(--space-md); margin-bottom: var(--space-xl); }
.section-heading { margin-top: var(--space-md); }
.body-copy, .intro-copy, .hero-description { font-size: 17px; line-height: 1.7; color: var(--muted); }
.body-copy { max-width: 36rem; }
.body-copy p + p { margin-top: var(--space-sm); }
.body-copy > .text-link { margin-top: var(--space-md); }
.section-heading + .body-copy { margin-top: var(--space-md); }
.page-intro .display-title, .hero .display-title { margin-top: var(--space-md); }
.intro-copy { max-width: 40rem; margin-top: var(--space-lg); font-size: clamp(1.0625rem, .95rem + .4vw, 1.25rem); }

/* Internal actions share one weight, underline and arrow size. */
.arrow-icon { width: 1.125rem; height: 1.125rem; flex: 0 0 1.125rem; }
.text-link, .profile-link { display: inline-flex; align-items: center; gap: .75rem; max-width: 100%; min-height: 2.75rem; padding-block: .625rem; font-size: 14px; line-height: 1.5; color: var(--ink); border-bottom: 1px solid var(--ink); }
.text-link .arrow-icon, .profile-link .arrow-icon { transition: transform .18s ease; }
.text-link:hover, .profile-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link:hover .arrow-icon { transform: translateX(3px); }
.profile-link { font-size: 13px; color: var(--muted); border-color: var(--line); }
.profile-link:hover .arrow-icon { transform: translate(2px, -2px); }

/* Hero section - single column */

.hero {
  display: block;
  padding-top: 100px;
  padding-bottom: 110px;
}

.hero-copy {
  max-width: 900px;
  padding-block: var(--space-xs);
}

.hero-description {
  max-width: 40rem;
  margin-top: 24px;
}

/* Explore technology link */

.hero .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 48px;
  padding-top: 20px;

  border-top: 2px solid #1268B3;

  color: #1268B3;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;

  transition: gap 0.2s ease, color 0.2s ease;
}

.hero .text-link:hover {
  gap: 18px;
  color: #084B87;
}

/* Figure headings and captions remain HTML so they stay readable on phones. */
.scientific-figure { width: 100%; }
.figure-sheet { background: var(--surface); border: 1px solid var(--line); }
.figure-meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-sm); padding: 1rem 1.25rem 0; font: 11px/1.5 var(--mono); color: var(--muted); letter-spacing: .02em; }
.figure-meta .figure-species { color: var(--accent); font-family: var(--sans); font-size: 14px; }
.figure-graphic { display: block; width: 100%; height: auto; }
.figure-caption { font-size: 12px; line-height: 1.65; color: var(--muted); margin-top: .75rem; max-width: 42rem; }
.figure-axis { fill: none; stroke: var(--muted); stroke-width: .6; stroke-dasharray: 3 6; opacity: .35; }
.chip-face { fill: var(--chip-face); stroke: var(--ink); stroke-width: .9; }
.chip-side { fill: var(--chip-side); stroke: var(--ink); stroke-width: .9; }
.chip-outline { stroke: var(--ink); stroke-width: .6; opacity: .45; }
.chip-detail { stroke: var(--ink); stroke-width: .6; opacity: .35; }
.waveguide { stroke: var(--accent); stroke-width: 1.4; }
.grating { stroke: var(--accent); stroke-width: .8; }
.light-beam { fill: var(--accent); opacity: .13; }
.beam-axis { stroke: var(--accent); stroke-width: .8; stroke-dasharray: 4 4; }
.ion-guide { fill: none; stroke: var(--accent); stroke-width: .8; }
.ion-halo { fill: var(--accent); opacity: .08; }
.ion-dot { fill: var(--accent); }
.well-mesh { fill: none; stroke: var(--ink); stroke-width: .5; opacity: .58; }
.figure-graphic path, .figure-graphic polyline, .figure-graphic ellipse { vector-effect: non-scaling-stroke; }

.principle-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--column-gap); margin-top: var(--space-xl); }
.principle-strip > div { min-width: 0; border-top: 1px solid var(--line); padding-top: var(--space-md); }
.principle-strip span { font: 11px/1.6 var(--mono); letter-spacing: .03em; color: var(--muted); }
.principle-strip h3 { margin-top: var(--space-md); }
.principle-strip p { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 20rem; margin-top: .75rem; }
.dark-section { color-scheme: dark; background: var(--inverse); color: var(--inverse-ink); --ink: var(--inverse-ink); --muted: var(--inverse-muted); --line: var(--inverse-line); --accent: var(--inverse-accent); --on-accent: #19242e; }
.contact-band .two-column { align-items: center; }
.contact-band .body-copy > .text-link { margin-top: 0; }

.principle-list { margin-top: var(--space-xl); }
.principle-row { display: grid; grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-lg); border-top: 1px solid var(--line); padding-block: var(--space-lg); align-items: baseline; }
.principle-row p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.principle-row:last-child { padding-bottom: 0; }
.source-note { font-size: 13px; margin-top: var(--space-sm); }
.contact-layout .body-copy { max-width: 100%; }
.contact-email { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-block: var(--space-sm); padding-block: .5rem; max-width: 100%; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.4; color: var(--accent); border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }
.contact-layout .text-link { display: flex; width: fit-content; }
.team-list { margin-top: var(--space-xl); }
.team-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--column-gap); padding-block: var(--space-lg); border-top: 1px solid var(--line); align-items: center; }
.team-identity { display: grid; gap: .375rem; }
.team-identity h3 { font-size: clamp(1.375rem, 1.2rem + .45vw, 1.625rem); }
.team-identity p { font-size: 13px; line-height: 1.6; color: var(--muted); }
.team-row .profile-link { justify-self: start; }

.site-footer { border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--column-gap); padding-block: var(--space-xl); }
.footer-identity { display: flex; align-items: start; gap: var(--space-lg); }
.footer-identity p { font-size: 17px; line-height: 1.5; letter-spacing: -.015em; padding-top: .25rem; }
.footer-main nav { display: flex; align-items: start; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: 13px; }
.footer-main nav a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.footer-main nav a:hover { color: var(--accent); }
.footer-bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--column-gap); border-top: 1px solid var(--line); padding-block: var(--space-md); font-size: 12px; line-height: 1.6; color: var(--muted); }
.footer-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a:hover { color: var(--ink); }

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #151c23;
    --surface: #1c2730;
    --ink: #edf1f3;
    --muted: #acb8c1;
    --line: #394751;
    --accent: #91b6ff;
    --on-accent: #151c23;
    --chip-face: #283945;
    --chip-side: #20303b;
    --inverse: #1d2c38;
    --inverse-ink: #edf1f3;
    --inverse-muted: #b5c3cd;
    --inverse-line: #485c6b;
  }
}

/* Collapse the editorial grid before either column becomes cramped. */
@media (max-width: 55.999rem) {
  .brand-descriptor { display: none; }
  .hero, .two-column { grid-template-columns: minmax(0, 1fr); }
  .hero { row-gap: var(--space-xl); }
  .hero-copy { padding: 0; }
  .hero-visual { max-width: 38rem; }
  .hero-bottom { margin-top: 0; }
  .small-label { display: none; }
  .principle-strip { gap: var(--space-lg); }
  .footer-identity { flex-direction: column; gap: var(--space-sm); }
}

@media (max-width: 47.999rem) {
  .site-header { min-height: 5.25rem; flex-wrap: wrap; gap: 0; }
  .brand-mark { width: 6.25rem; }
  .menu-toggle { display: flex; align-items: center; gap: .75rem; min-height: 2.75rem; margin-left: auto; padding: .75rem 0 .75rem .75rem; border: 0; color: var(--ink); background: transparent; cursor: pointer; font-size: 14px; }
  .menu-lines { position: relative; width: 20px; height: 12px; border-block: 1px solid currentColor; }
  .menu-open .menu-lines { border-color: transparent; }
  .menu-open .menu-lines::before, .menu-open .menu-lines::after { content: ''; position: absolute; width: 20px; height: 1px; left: 0; top: 4.5px; background: currentColor; transform: rotate(45deg); }
  .menu-open .menu-lines::after { transform: rotate(-45deg); }
  .main-navigation { display: none; flex-basis: 100%; margin-left: 0; padding-bottom: var(--space-md); }
  .menu-open .main-navigation { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-navigation a { border-top: 1px solid var(--line); padding-block: 1rem; font-size: 17px; }
  .main-navigation a::after { display: none; }
  html:not(.js) .main-navigation { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
  html:not(.js) .main-navigation a { border: 0; font-size: 13px; }
  html:not(.js) .menu-toggle { display: none; }
  .body-copy, .hero-description { font-size: 16px; }
  .section-kicker { margin-bottom: var(--space-lg); }
  .hero-bottom { font-size: 11px; align-items: start; }
  .figure-meta { padding: .875rem 1rem 0; }
  .principle-strip { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .principle-strip > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; padding-top: var(--space-md); }
  .principle-strip span { grid-column: 1 / -1; }
  .principle-strip h3, .principle-strip p { margin: 0; }
  .principle-strip p { font-size: 14px; }
  .principle-row { grid-template-columns: 2rem minmax(0, 1fr); gap: .75rem 1rem; padding-block: var(--space-md); }
  .principle-row p { grid-column: 2; font-size: 15px; }
  .team-row { grid-template-columns: minmax(0, 1fr); gap: .75rem; padding-block: var(--space-md); }
  .footer-main, .footer-bottom { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .footer-identity { flex-direction: row; align-items: center; gap: var(--space-lg); }
  .footer-identity p { padding: 0; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Technology figure aligned with text */
.technology-figure {
  width: 100%;
  max-width: none;
  margin: 28px 0 0;
}

.technology-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Hero technology link */

.hero .hero-link,
.hero .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 2px solid #1268B3;
  color: #1268B3;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.hero .hero-link:hover,
.hero .text-link:hover {
  gap: 18px;
  color: #084B87;
}