:root {
  color-scheme: light;

  /* Main Background */
  --navy: #FFFFFF;
  --carbon: #F8F8F8;
  --panel: #FFFFFF;
  --panel-2: #F2F2F2;

  /* Text */
  --text: #444444;
  --muted: #666666;
  --steel: #888888;

  /* Borders (Reddish) */
  --line: rgba(220, 38, 38, 0.20);

  /* Brand (WordPress Red Theme) */
  --red: #C62828;
  --red-dark: #8E1B1B;
  --red-light: #E53935;

  /* Map old colors to RED */
  --cyan: #C62828;
  --cyan-dark: #8E1B1B;
  --blue: #C62828;
  --orange: #E53935;

  /* Accent */
  --gray: #777777;
  --light-gray: #DDDDDD;

  /* Status */
  --green: #2E7D32;
  --purple: #7E57C2;

  /* Light Theme */
  --paper: #FFFFFF;
  --paper-2: #F5F5F5;
  --ink: #333333;
  --paper-muted: #666666;

  /* Effects */
  --shadow: 0 15px 35px rgba(0,0,0,.10);

  /* Layout */
  --max: 1440px;

  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--text);
}

body::before {
  content: none;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  background: var(--text);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 80px;
  padding: 10px clamp(18px, 4vw, 64px);

  /* New Corporate Theme */
  background: #ffffff;
  border-bottom: 3px solid #C62828;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);

  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 44px;
  object-fit: contain;
  padding: 3px;
  background: #fff;
}

.brand strong {
  display: block;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--steel);
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#primary-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

#primary-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 12px;

  border: 1px solid transparent;
  color: #555555;
  text-decoration: none;
  transition: all 0.25s ease;
}

#primary-nav a:hover,
#primary-nav a.active {
  border-color: #C62828;
  background: #C62828;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  min-width: 58px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(32, 212, 239, 0.06);
  color: var(--cyan);
  cursor: pointer;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

main {
  overflow: hidden;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 700;
}

h1 {
  max-width: 1120px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.4vw, 68px);
  letter-spacing: -0.018em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.7vw, 52px);
  letter-spacing: -0.01em;
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(23px, 2vw, 29px);
  line-height: 1.08;
}

p,
li {
  line-height: 1.68;
}

.eyebrow,
.card-code,
.article-meta,
.status-chip,
.heritage-line,
.panel-label {
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--cyan);
}

.eyebrow.dark {
  color: var(--blue);
}

.hero,
.page-hero,
.section,
.cta-section,
.article-hero,
.article-layout {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.75fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  min-height: min(860px, calc(100svh - 80px));
  padding-block: clamp(72px, 8vw, 110px);
}

.hero-copy {
  min-width: 0;
}

.hero-subtitle,
.page-hero > p:last-child,
.article-hero > p {
  max-width: 880px;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-qualification {
  max-width: 680px;
  margin: 24px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--orange);
  color: var(--steel);
  font-size: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button.primary {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #041116;
}

.button.secondary:hover,
.button.text:hover,
.button.primary:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(32, 212, 239, 0.18);
}

.button.text {
  border-color: transparent;
}

.text-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 12px;
  color: var(--cyan);
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.light .text-link {
  color: var(--blue);
}

.panel-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #E5E7EB;
  background: #F9FAFB;
  color: var(--red);
  font-weight: 700;
}

.panel-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--steel);
}

.process-stack {
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-stack li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 2px 14px;
  align-items: center;
  padding: 22px 20px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 8px;
  margin-bottom: 14px;
  background: #FFFFFF;
  transition: all 0.3s ease;
}

.process-stack li:hover {
  border-color: #C62828;
  box-shadow: 0 10px 24px rgba(198, 40, 40, 0.12);
  transform: translateY(-4px);
}

.process-stack li:hover {
  background: #FFF5F5; /* very light red on hover */
}

.process-stack li:last-child {
  border-bottom: 0;
}

.process-stack span {
  grid-row: 1 / 3;
  color: var(--red);
  font-family: "Roboto Mono", monospace;
  font-size: 13px;
  font-weight: 700;
}

.process-stack strong {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 25px;
  line-height: 1;
  color: #333333;
}
.process-stack small {
  color: #777777;
  font-size: 12px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin-inline: auto;
  border: 1px solid rgba(220,38,38,.18);
  background: #ffffff;
}

.proof-strip > div {
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid rgba(220,38,38,.15);
}

.proof-strip > div:last-child {
  border-right: 0;
}

.proof-strip span,
.history-grid span,
.contact-grid article > span,
.timeline > li > span,
.flow-grid > li > span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);   /* Changed from orange to red */
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.proof-strip strong {
  display: block;
  margin-bottom: 9px;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 30px;
  color: #333333;      /* Dark gray */
}

.proof-strip p {
  margin: 0;
  color: #666666;      /* Medium gray */
  font-size: 14px;
}

.section {
  padding-block: clamp(72px, 8vw, 112px);
}

.section.light,
.cta-section.light {
  max-width: none;
  background: #ffffff;
  color: #333333;
}

.section.light > *,
.cta-section.light > * {
  width: 100%;
  max-width: calc(var(--max) - clamp(36px, 10vw, 144px));
  margin-inline: auto;
}

.section-head {
  max-width: 960px;
  margin-bottom: 38px;
}

.section-head > p:last-child,
.split-head > p,
.large-copy,
.application-layout > div > p,
.split-content > div > p,
.architecture-detail > div > p,
.evidence-feature > div > p {
  color: #666666;
  font-size: clamp(16px, 1.4vw, 19px);
}

.light .section-head > p:last-child,
.light .split-head > p,
.light .large-copy,
.light .application-layout > div > p,
.light .split-content > div > p,
.light .architecture-detail > div > p,
.evidence-feature > div > p {
  color: #666666;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: end;
  max-width: none;
}

.split-head > p {
  margin-bottom: 18px;
}

.card-grid,
.system-grid,
.capability-grid,
.machine-grid,
.video-grid,
.preform-card-grid,
.article-list,
.contact-grid,
.field-grid {
  display: grid;
  gap: 18px;
}

.card-grid.two,
.video-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three,
.video-grid.three,
.preform-card-grid.three,
.article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four,
.proof-strip,
.flow-grid,
.timeline,
.contact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-grid,
.capability-grid,
.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.link-card,
.text-card,
.person-card,
.boundary-grid article,
.contact-grid article,
.article-nav a {
  position: relative;
  min-height: 260px;
  padding: 25px;
  border: 1px solid rgba(220, 38, 38, 0.18);
  background: #FFFFFF;
  color: #333333;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.link-card:hover,
.text-card:hover,
.person-card:hover,
.boundary-grid article:hover,
.contact-grid article:hover {
  border-color: #C62828;
  box-shadow: 0 10px 24px rgba(198, 40, 40, 0.12);
  transform: translateY(-4px);
}

.light .link-card,
.light .text-card,
.light .boundary-grid article,
.light .contact-grid article {
  border-color: #d5dee7;
  background: #fff;
  color: var(--ink);
}

.link-card {
  color: #333333;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.link-card:hover {
  border-color: #DC2626;
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.15);
  transform: translateY(-4px);
}

.link-card p,
.text-card p {
  color: #666666;
}

.light .link-card p,
.light .text-card p {
  color: #666666;
}

.card-code {
  display: block;
  margin-bottom: 20px;
  color: #DC2626;
  font-weight: 700;
}

.card-arrow {
  position: absolute;
  right: 22px;
  bottom: 19px;
  color: #DC2626;
  font-size: 24px;
}

.light .card-arrow {
  color: #DC2626;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.status-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  width: fit-content;
  padding: 0 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: #FFFFFF;
}

.light .status-chip,
.evidence-feature .status-chip {
  background: #FFFFFF;
}

.status-chip.physical {
  color: #DC2626;
}

.status-chip.developed {
  color: #16A34A;
}

.status-chip.development {
  color: #DC2626;
}

.status-chip.research {
  color: #991B1B;
}

.status-chip.schematic {
  color: #DC2626;
}

.status-chip.video {
  color: #DC2626;
}

.status-chip.patent {
  color: #7C3AED;
}

.evidence-band {
  border-block: 1px solid #E5E7EB;
}

.video-card {
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  color: #333333;
}

.video-card.light-card {
  border-color: #E5E7EB;
  background: #FFFFFF;
  color: #333333;
}

.video-facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #F5F5F5;
  color: #333333;
  cursor: pointer;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 160ms ease, transform 240ms ease;
}

.video-facade:hover img {
  opacity: 0.96;
  transform: scale(1.02);
}

.video-facade iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.play-control {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  min-width: 78px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--cyan);
  background: rgba(6, 10, 18, 0.9);
  color: var(--cyan);
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.video-duration {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 8px;
  background: #DC2626;
  color: #FFFFFF;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  border-radius: 4px;
}

.video-copy p {
  color: #666666;
}

.video-copy p {
  color: #666666;
}

.light-card .video-copy p {
  color: #666666;
}

.video-copy h3 {
  margin-top: 0;
  color: #333333;
}

.page-hero {
  padding-block: clamp(80px, 9vw, 126px);
}

.page-hero.compact {
  min-height: 500px;
  display: grid;
  align-content: center;
}

.validation-strip {
  padding: 18px clamp(18px, 5vw, 72px);
  border-block: 1px solid #E5E7EB;
  background: #FFFFFF;
  color: #666666;
  font-size: 14px;
  line-height: 1.6;
}

.validation-strip strong {
  color: #DC2626;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.direction-table {
  overflow: hidden;
  border: 1px solid rgba(220, 38, 38, 0.18);
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.direction-row {
  display: grid;
  grid-template-columns: 0.62fr 0.8fr 1.45fr;
  border-bottom: 1px solid rgba(220, 38, 38, 0.12);
}

.direction-row:last-child {
  border-bottom: 0;
}

.direction-row > * {
  padding: 17px;
  border-right: 1px solid rgba(220, 38, 38, 0.12);
  background: #FFFFFF;
  color: #444444;
  line-height: 1.6;
}

.direction-row > *:last-child {
  border-right: 0;
}

.direction-head {
  background: #C62828;
  color: #FFFFFF;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.direction-row:not(.direction-head):hover > * {
  background: #FFF5F5;
}

.architecture-detail,
.split-content,
.application-layout,
.collab-layout,
.evidence-feature,
.history-grid,
.leadership-grid,
.boundary-grid {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.architecture-detail,
.split-content,
.application-layout,
.collab-layout,
.evidence-feature {
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.9fr);
}

.history-grid {
  grid-template-columns: repeat(3, 1fr);
}

.history-grid article {
  padding: 28px;
  border-left: 4px solid var(--blue);
  background: #fff;
}

.history-grid article:nth-child(2) {
  border-left-color: var(--orange);
}

.history-grid article:nth-child(3) {
  border-left-color: var(--cyan-dark);
}

.history-grid h2 {
  font-size: clamp(29px, 3vw, 42px);
}

.history-grid p {
  color: var(--paper-muted);
}

.leadership-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.person-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  min-height: 0;
}

.person-monogram{
    width:120px;
    height:150px;
}

.person-monogram img{
    width:100%;
    height:auto;
}
}

.person-card span {
  color: var(--orange);
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.person-card p {
  color: var(--muted);
}

.evidence-feature {
  max-width: none;
  padding: clamp(72px, 8vw, 112px) clamp(18px, 5vw, 72px);
  background: var(--paper-2);
  color: var(--ink);
}

.evidence-feature > * {
  width: 100%;
  max-width: 660px;
}

.evidence-feature > figure {
  justify-self: end;
}

.evidence-feature figure,
.media-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #ccd7e1;
  background: #fff;
}

.evidence-feature figure img,
.media-figure img {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
}

.evidence-feature figcaption,
.media-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px;
  color: var(--paper-muted);
  font-size: 13px;
}

.preform-card {
  display: grid;
  grid-template-rows: 280px 1fr;
  overflow: hidden;
  border: 1px solid rgba(220, 38, 38, 0.20);
  background: #FFFFFF;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.preform-card:hover {
  border-color: #C62828;
  box-shadow: 0 10px 24px rgba(198,40,40,0.15);
  transform: translateY(-4px);
}

.light .preform-card {
  border-color: rgba(220, 38, 38, 0.20);
  background: #FFFFFF;
  color: #333333;
}

.preform-card > img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #F5F5F5;
}

.preform-card > div {
  padding: 22px;
  background: #FFFFFF;
}

.preform-card > div > span {
  display: block;
  margin-bottom: 10px;
  color: #C62828;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.preform-card h3 {
  color: #333333;
}

.preform-card p,
.preform-card li {
  color: #666666;
}

.light .preform-card p,
.light .preform-card li {
  color: var(--paper-muted);
}

details {
  border-top: 1px solid var(--line);
}

summary {
  min-height: 48px;
  padding: 15px 0;
  color: var(--cyan);
  cursor: pointer;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.light summary,
.faq-list summary {
  color: var(--blue);
}

.preform-card ul,
.boundary-grid ul,
.evidence-callout ul {
  display: grid;
  gap: 8px;
  padding-left: 19px;
}

.evidence-callout {
  padding: 24px;
  border-left: 4px solid var(--cyan);
  background: rgba(32, 212, 239, 0.075);
  color: var(--muted);
}

.light .evidence-callout,
.article-side .evidence-callout {
  background: rgba(49, 108, 255, 0.055);
  color: var(--paper-muted);
}

.evidence-callout.warning {
  margin-top: 28px;
  border-left-color: var(--orange);
  background: rgba(255, 123, 54, 0.08);
}

.evidence-callout strong {
  display: block;
  margin-bottom: 10px;
  color: inherit;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 25px;
}

.boundary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.boundary-grid article {
  min-height: 0;
}

.boundary-grid li,
.boundary-grid p {
  color: var(--muted);
}

.light .boundary-grid li,
.light .boundary-grid p {
  color: var(--paper-muted);
}

.flow-grid,
.timeline {
  display: grid;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.flow-grid > li,
.timeline > li {
  min-height: 260px;
  padding: 24px;
  background: var(--carbon);
}

.flow-grid p,
.timeline p {
  color: var(--muted);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: clamp(58px, 7vw, 88px);
  border-block: 1px solid var(--line);
}

.cta-section > div {
  max-width: 900px;
}

.cta-section h2 {
  margin-bottom: 12px;
}

.cta-section p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.cta-section.light p {
  color: var(--paper-muted);
}

.patent-layout .media-figure img {
  max-height: 680px;
  object-fit: contain;
}

.article-note {
  margin-top: 20px;
  padding: 17px;
  border: 1px solid #cad5e0;
  background: #f8fafc;
  color: var(--paper-muted);
  font-size: 14px;
}

.contact-grid article {
  min-height: 270px;
}

.contact-grid article > span {
  color: var(--blue);
}

.contact-grid h2 {
  font-size: clamp(26px, 2.3vw, 35px);
}

.contact-grid h2 a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-grid p {
  color: var(--paper-muted);
}

.brief-form {
  padding: 28px;
  border: 1px solid #d2dce6;
  background: #fff;
  color: var(--ink);
}

.field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brief-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
  color: var(--ink);
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.brief-form input,
.brief-form select,
.brief-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid #bdc9d5;
  background: #f8fafc;
  color: var(--ink);
  font-family: Inter, sans-serif;
  font-size: 15px;
  text-transform: none;
}

.brief-form textarea {
  resize: vertical;
}

.consent-check {
  display: grid !important;
  grid-template-columns: 24px 1fr;
  align-items: start;
  text-transform: none !important;
}

.consent-check input {
  width: 20px;
  min-height: 20px;
  margin: 1px 0 0;
}

.form-note {
  margin: 14px 0 0;
  color: var(--paper-muted);
  font-size: 13px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 1060px;
}

.faq-list details {
  padding: 0 22px;
  border: 1px solid #d1dbe5;
  background: #fff;
}

.faq-list summary {
  min-height: 64px;
  font-size: 13px;
  list-style-position: outside;
}

.faq-list details p {
  max-width: 900px;
  padding-bottom: 20px;
  color: var(--paper-muted);
  font-size: 17px;
}

.article-list {
  padding: 0;
}

.article-list .link-card {
  min-height: 310px;
}

.article-hero {
  min-height: 560px;
  display: grid;
  align-content: center;
  padding-block: clamp(82px, 9vw, 128px);
}

.article-hero > p {
  max-width: 880px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--steel);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.32fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
  padding-top: 0;
  padding-bottom: clamp(80px, 10vw, 130px);
}

.article-content {
  padding: clamp(26px, 5vw, 54px);
  background: var(--paper);
  color: var(--ink);
}

.article-content section {
  padding-bottom: 34px;
  border-bottom: 1px solid #d6e0e8;
  margin-bottom: 34px;
}

.article-content section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

.article-content h2 {
  font-size: clamp(30px, 3.1vw, 44px);
}

.article-content h3 {
  margin-top: 30px;
}

.article-content p,
.article-content li {
  color: var(--paper-muted);
  font-size: 18px;
  line-height: 1.76;
}

.article-content a {
  color: var(--blue);
}

.article-side {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 16px;
}

.article-nav {
  display: grid;
  gap: 10px;
}

.article-nav a {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  color: var(--muted);
  text-decoration: none;
}

.article-nav a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.site-footer {
  max-width: var(--max);
  margin-inline: auto;
  padding: 52px clamp(18px, 5vw, 72px) 28px;
  border-top: 1px solid #E5E7EB;
  background: #FFFFFF;
  color: #333333;
}

.footer-primary {
  display: grid;
  grid-template-columns: minmax(250px, 0.5fr) minmax(300px, 0.8fr);
  gap: 26px;
  align-items: start;
  padding-bottom: 34px;
  border-bottom: 1px solid #E5E7EB;
}

.footer-brand {
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #DC2626;
  text-decoration: none;
}

.footer-primary p {
  max-width: 650px;
  margin-bottom: 0;
  color: #666666;
}

.heritage-line {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: #888888;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-block: 34px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 7px;
  color: #DC2626;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.footer-links a {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #DC2626;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: 24px;
  border-top: 1px solid #E5E7EB;
  color: #888888;
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  line-height: 1.55;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  #primary-nav {
    display: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    padding-top: 9px;
    border-top: 1px solid var(--line);
  }

  #primary-nav.nav-open {
    display: grid;
  }

  #primary-nav a {
    justify-content: center;
    border-color: var(--line);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  }

  .proof-strip,
  .card-grid.four,
  .flow-grid,
  .timeline,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip > div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .hero,
  .architecture-detail,
  .split-content,
  .application-layout,
  .collab-layout,
  .evidence-feature,
  .split-head,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .evidence-feature > * {
    max-width: none;
  }

  .evidence-feature > figure {
    justify-self: stretch;
  }

  .system-grid,
  .capability-grid,
  .machine-grid,
  .card-grid.three,
  .video-grid.three,
  .preform-card-grid.three,
  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-side {
    position: static;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 76px;
    gap: 10px;
    padding: 9px 15px;
  }

  .brand img {
    width: 50px;
    height: 40px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    max-width: 195px;
    font-size: 9px;
    white-space: normal;
  }

  #primary-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #primary-nav a {
    min-height: 44px;
  }

  h1 {
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .hero,
  .page-hero,
  .section,
  .cta-section,
  .article-hero,
  .article-layout {
    padding-inline: 16px;
  }

  .hero {
    padding-block: 66px;
  }

  .page-hero.compact,
  .article-hero {
    min-height: 440px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .proof-strip,
  .system-grid,
  .capability-grid,
  .machine-grid,
  .card-grid.two,
  .card-grid.three,
  .card-grid.four,
  .video-grid.two,
  .video-grid.three,
  .preform-card-grid.three,
  .article-list,
  .flow-grid,
  .timeline,
  .contact-grid,
  .history-grid,
  .leadership-grid,
  .boundary-grid,
  .footer-primary,
  .footer-links,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip > div:last-child {
    border-bottom: 0;
  }

  .person-card {
    grid-template-columns: 74px 1fr;
    padding: 20px;
  }

  .person-monogram {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }

  .direction-row {
    grid-template-columns: 0.52fr 0.7fr 1fr;
  }

  .direction-row > * {
    padding: 12px 9px;
    font-size: 12px;
  }

  .preform-card {
    grid-template-rows: 240px 1fr;
  }

  .preform-card > img {
    height: 240px;
  }

  .cta-section {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-section .button {
    width: 100%;
  }

  .article-content {
    padding: 24px 19px;
  }

  .article-content p,
  .article-content li {
    font-size: 16px;
  }

  .footer-links {
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
