:root {
  color-scheme: light;
  --paper: #fbf7ef;
  --ink: #25203d;
  --muted: #554e63;
  --amber: #bf6d17;
  --amber-light: #efb16c;
  --line: #ded5c8;
  --sand: #f0e9dc;
  --font: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 5px; }
.shell { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.section-space { padding-block: clamp(68px, 9vw, 130px); }
section[id] { scroll-margin-top: 20px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5;
  padding: 12px 18px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 83px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.04em;
  white-space: nowrap;
  text-decoration: none;
}
nav { display: flex; align-items: center; gap: clamp(19px, 3vw, 43px); }
nav a {
  padding-block: 11px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.nav-contact:hover { border-color: var(--ink); text-decoration: none; }
.nav-contact span, .text-link span { color: #95500b; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(38px, 5vw, 84px);
  padding-top: clamp(58px, 6vw, 98px);
  padding-bottom: clamp(62px, 6.8vw, 112px);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
  font: 600 .75rem/1.4 var(--mono);
  letter-spacing: .105em;
  text-transform: uppercase;
}
.marker { width: 9px; height: 9px; background: var(--amber); flex: 0 0 auto; }
h1, h2, h3 { text-wrap: balance; }
h1 {
  font-size: clamp(3rem, 5.4vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -.073em;
  line-height: .99;
}
h2 {
  max-width: 19ch;
  font-size: clamp(2.35rem, 4.15vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1.02;
}
h3 {
  font-size: 1.26rem;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.19;
}
.lead {
  max-width: 38ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 14px 18px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .94rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease;
}
.button-primary { color: var(--paper); background: var(--ink); }
.button-primary:hover { background: #453a60; }
.button-primary span { color: var(--amber-light); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}
.prototype-media img {
  background: #fdfdfd;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: clamp(375px, 40vw, 600px);
  object-fit: cover;
  object-position: 76% center;
  border-radius: 5px;
}
figcaption {
  margin-top: 10px;
  color: var(--muted);
  font: 500 .68rem/1.4 var(--mono);
  text-align: right;
}

.challenge {
  background: var(--sand);
  padding-block: clamp(48px, 6.2vw, 86px);
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: 26px clamp(38px, 5vw, 84px);
}
.body-copy { max-width: 58ch; color: var(--muted); font-size: clamp(1.06rem, 1.55vw, 1.3rem); line-height: 1.58; }
.body-copy p + p { margin-top: 14px; }
.body-copy .source-note { margin-top: 21px; font-size: .9rem; font-weight: 600; }
.source-note a { text-underline-offset: 3px; }
.source-note a:hover { color: #95500b; }
.perspective {
  align-items: start;
  padding-bottom: clamp(42px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
}
.testimonial blockquote {
  margin: 0;
  padding-inline-start: clamp(16px, 3vw, 36px);
  border-inline-start: 2px solid var(--amber);
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.62;
}
.testimonial blockquote p + p { margin-top: 14px; }
.testimonial blockquote strong { color: var(--ink); }
.testimonial figcaption {
  margin-top: 18px;
  text-align: left;
  font: 500 .88rem/1.5 var(--font);
}
.testimonial figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.defence-context .body-copy { margin-top: 23px; }
.context-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  font-weight: 600;
}
.context-sources a { text-underline-offset: 3px; }
.context-sources a:hover { color: #95500b; }
.defence-plan {
  padding: clamp(20px, 3.5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 5px;
}
.defence-plan-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}
.brovdi-portrait { width: clamp(84px, 10vw, 124px); }
.brovdi-portrait img { width: 100%; height: auto; border-radius: 4px; }
.brovdi-portrait figcaption { margin-top: 6px; text-align: left; }
.brovdi-portrait a { text-underline-offset: 2px; }
.photo-note { margin-top: 13px; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.defence-plan ol { margin: 19px 0 0; padding-inline-start: 1.65em; }
.defence-plan li {
  padding: 12px 10px;
  border-top: 1px solid var(--line);
  line-height: 1.4;
}
.defence-plan li::marker { color: var(--muted); font: 600 .8em var(--mono); }
.defence-plan .plan-focus { background: #eadbc6; border-top-color: transparent; }
.defence-plan .plan-focus::marker { color: #95500b; }

.system {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(65px, 8vw, 118px);
}
.system .kicker { color: var(--amber-light); }
.system h2 { max-width: 24ch; }
.stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid #635874;
}
.stages li { padding: 30px clamp(18px, 3vw, 42px) 32px; }
.stages li:first-child { padding-left: 0; }
.stages li + li { border-left: 1px solid #635874; }
.stages h3 { margin: 15px 0 9px; font-size: 1.75rem; }
.stages p { max-width: 31ch; color: #e0d7e4; font-size: 1.05rem; line-height: 1.55; }
.stage-icon {
  display: grid;
  position: relative;
  place-content: center;
  width: 48px;
  height: 42px;
  color: var(--amber-light);
}
.acoustic { display: flex; align-items: center; justify-content: flex-start; gap: 4px; }
.acoustic i { width: 2px; height: 10px; background: currentColor; }
.acoustic i:nth-child(2n) { height: 19px; }
.acoustic i:nth-child(3), .acoustic i:nth-child(5) { height: 26px; }
.acoustic i:nth-child(4) { height: 36px; }
.optical::before, .optical::after {
  position: absolute;
  inset: 5px auto auto 3px;
  width: 33px;
  height: 33px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}
.optical::after { inset: 12px auto auto 10px; width: 19px; height: 19px; }
.optical i { position: absolute; inset: 19px auto auto 17px; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.mesh i {
  display: block;
  width: 27px;
  height: 27px;
  margin-left: -12px;
  border: 1px solid currentColor;
  background-image: linear-gradient(90deg, transparent 7px, currentColor 7px, currentColor 8px), linear-gradient(transparent 7px, currentColor 7px, currentColor 8px);
  background-size: 8px 8px;
  transform: rotate(45deg);
}

.applications { padding-bottom: 0; }
.applications .body-copy { margin-top: 17px; }
.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 42px);
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.application-grid li { padding-top: 18px; border-top: 1px solid var(--line); }
.application-grid p { margin-top: 10px; color: var(--muted); font-size: 1.04rem; line-height: 1.55; }

.development {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(30px, 8vw, 125px);
}
.development-copy h2 { max-width: 14ch; }
.milestones { margin-top: 34px; }
.milestones > div { padding-block: 18px; border-top: 1px solid var(--line); }
.milestones > div:last-child { border-bottom: 1px solid var(--line); }
.milestones p, .team-bio { margin-top: 8px; color: var(--muted); font-size: 1.04rem; line-height: 1.55; }
.prototype-views {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 18px);
}
.prototype-views img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
.about { background: var(--sand); }
.about h2 { max-width: 24ch; }
.team-members {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  margin: clamp(25px, 4vw, 48px) 0 0;
  padding: 0;
  list-style: none;
}
.team-member {
  padding: clamp(20px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
}
.team-headshot {
  width: min(100%, 160px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  background: var(--sand);
  filter: grayscale(100%);
}
.team-profile { margin-top: 20px; }
.team-member h3 { font-size: 1.7rem; }
.team-role { margin-top: 5px; color: #95500b; font-size: .95rem; font-weight: 650; }
.team-member .team-bio { margin-top: 14px; }

.contact { background: #eadbc6; padding-block: clamp(55px, 8vw, 103px); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact h2 { max-width: 24ch; }
.contact p:not(.kicker) { max-width: 52ch; margin-top: 17px; color: var(--muted); font-size: 1.13rem; line-height: 1.55; }
.contact-actions { display: grid; justify-items: start; gap: 12px; min-width: 0; }
.contact-webmail { font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.contact-address { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; user-select: all; }
.button-contact { background: var(--ink); color: var(--paper); }
.button-contact:hover { background: #453a60; }
.footer-inner { min-height: 95px; }
.footer-brand { font-size: 17px; gap: 6px; }
.footer-brand img { object-fit: cover; object-position: center; }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 76px); }
  .hero { gap: 38px; }
  h1 { font-size: clamp(3rem, 6.2vw, 4.65rem); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 71px; gap: 14px; }
  nav { gap: 17px; }
  .nav-contact { padding-inline: 10px; gap: 6px; }
  .hero, .section-grid, .application-grid, .development, .team-members { grid-template-columns: 1fr; }
  .team-member {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
  }
  .team-profile { margin-top: 0; }
  .hero { gap: 30px; padding-block: 47px 53px; }
  h1 { max-width: 15ch; font-size: clamp(2.88rem, 8.5vw, 4.5rem); }
  .hero-media img { height: auto; aspect-ratio: 1.28; }
  .lead { margin-top: 18px; }
  .hero-actions { margin-top: 22px; }
  .stages { grid-template-columns: 1fr; margin-top: 28px; }
  .stages li, .stages li:first-child { display: grid; grid-template-columns: 54px 1fr; gap: 5px 12px; padding: 20px 0; }
  .stages li + li { border-left: 0; border-top: 1px solid #635874; }
  .stages h3 { margin: 3px 0 0; }
  .stages p { grid-column: 2; max-width: 45ch; }
  .stage-icon { grid-row: span 2; }
  .prototype-media { width: min(100%, 480px); justify-self: center; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 12px 7px; }
  .header-inner .brand { width: 100%; }
  nav { justify-content: space-between; width: 100%; gap: 10px; }
  .nav-contact { padding-inline: 0; border-color: transparent; }
  .nav-contact:hover { border-color: transparent; text-decoration: underline; }
  .team-member { display: block; }
  .team-headshot { width: min(100%, 140px); }
  .team-profile { margin-top: 18px; }
  .footer-inner { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
