/* APCORE — applied research think tank landing page.
   Design tokens and composition follow the approved design specification. */

/* Fonts: self-hosted WOFF2 subsets with SIL Open Font License (see assets/fonts/). */
@font-face {
  font-family: Newsreader;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-400-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Newsreader;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-400-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: Newsreader;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-italic-400-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Newsreader;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-italic-400-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/public-sans-var-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/public-sans-var-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  --paper: #f5f2ea;
  --ink: #172b3a;
  --teal: #315d62;
  --muted: #53636a;
  --rule: #d6d2c8;
  --ochre: #b18a4a;
  --inverse-muted: #cdd4d1;
  --inverse-rule: #5c6d73;
  --inverse-index: #c8b086;
  --font-serif: "Newsreader", georgia, "Times New Roman", serif;
  --font-sans: "Public Sans", -apple-system, "Segoe UI", roboto, helvetica, arial, sans-serif;
  --link-transition: color 160ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-sans);
}

h1,
h2,
h3,
p,
figure,
ol,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: inherit;
}

h2 {
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--teal);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

/* Focusable section headings share the 2 px treatment, using paper on the
   dark Approach surface. */
#about-title:focus,
#research-title:focus,
#approach-title:focus,
#products-title:focus,
#principles-title:focus {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

#approach-title:focus {
  outline-color: var(--paper);
}

strong {
  font-weight: 500;
}

.label {
  font: 500 11px/1.5 var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wrap {
  /* max-width 1312 − 2×64 padding = 1184 px content column */
  max-width: 1312px;
  margin-inline: auto;
  padding-inline: 64px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 10;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
}

.brand {
  display: flex;
  gap: 20px;
  align-items: center;
  min-height: 44px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  flex: none;
  width: 64px;
  height: 64px;
}

.wordmark {
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.07em;
}

.brand-name {
  max-width: 210px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.primary-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.primary-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: inherit;
  font: 500 14px var(--font-sans);
  cursor: pointer;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding-block: 80px;
}

h1 {
  margin-top: 24px;
  font-size: 76px;
  line-height: 0.99;
  letter-spacing: -0.035em;
}

h1 span {
  display: block;
}

h1 em {
  color: var(--teal);
}

.hero-intro {
  max-width: 50ch;
  margin-top: 28px;
  color: var(--muted);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
  transition: var(--link-transition);
}

.link-icon {
  width: 12px;
  height: 12px;
  flex: none;
}

/* Research lens figure */
.figure {
  border-top: 1px solid var(--ink);
  padding-top: 14px;
}

.register {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0 14px;
}

.register-label {
  display: flex;
  gap: 14px;
  font-size: 12px;
}

.register-label b {
  color: var(--teal);
  font-weight: 500;
}

.register-art {
  display: block;
  width: 100%;
  height: 92px;
  margin-top: 4px;
  overflow: visible;
  color: var(--teal);
}

.figure figcaption {
  margin-top: 14px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.figure-caption-text {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
}

/* Sections */
.section {
  padding-block: 96px;
  border-top: 1px solid var(--rule);
}

.section-flush {
  border-top: 0;
}

.section-split {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
}

.section-heading {
  max-width: 800px;
  margin-top: 24px;
}

.section-intro {
  max-width: 64ch;
  margin-top: 20px;
  color: var(--muted);
}

.copy {
  max-width: 66ch;
}

.copy .full-name {
  max-width: 40ch;
  margin-top: 20px;
  font-size: 13px;
  color: var(--teal);
}

.copy > p {
  margin-top: 24px;
  color: var(--muted);
}

.vision {
  margin-top: 44px;
}

.vision-text {
  margin-top: 16px;
  font: 400 30px/1.32 var(--font-serif);
  letter-spacing: -0.01em;
}

.mission-label {
  margin-top: 36px;
}

.missions {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  counter-reset: mission;
}

.missions li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.6;
  counter-increment: mission;
}

.missions li::before {
  content: counter(mission, decimal-leading-zero);
  padding-top: 4px;
  font-size: 11px;
  color: var(--teal);
}

/* Research domains */
.domains {
  margin-top: 48px;
}

.domain {
  display: grid;
  grid-template-columns: 64px 340px minmax(0, 1fr);
  gap: 24px;
  padding-block: 32px;
  border-top: 1px solid var(--rule);
}

.domain-index {
  padding-top: 5px;
  font-size: 12px;
  color: var(--teal);
}

.domain h3 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.domain p {
  font-size: 15px;
  color: var(--muted);
}

.domain .topics {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--teal);
}

/* Approach */
.approach {
  padding-block: 80px;
  background: var(--ink);
  color: var(--paper);
}

.approach h2 {
  max-width: 700px;
  margin-top: 24px;
}

.approach-intro {
  max-width: 65ch;
  margin-top: 20px;
  color: var(--inverse-muted);
}

.chain {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 20px;
  margin-top: 52px;
  padding: 0;
  border-top: 1px solid var(--inverse-rule);
  list-style: none;
}

.chain li {
  padding-top: 18px;
}

.chain-number {
  display: block;
  margin-bottom: 20px;
  font-size: 11px;
  color: var(--inverse-index);
}

.chain h3 {
  margin-bottom: 12px;
  font: 500 16px/1.35 var(--font-sans);
}

.chain p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--inverse-muted);
}

.approach-note {
  max-width: 74ch;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--inverse-rule);
  font-size: 14px;
  color: var(--inverse-muted);
}

.approach-summary {
  max-width: 62ch;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--paper);
}

.approach-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
}

.approach-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
  transition: var(--link-transition);
}

/* Research software: two open editorial panels, using the page's shared grid. */
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--ink);
}

.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px 48px 0 0;
}

.product + .product {
  padding-inline: 48px 0;
  border-left: 1px solid var(--rule);
}

.product-category {
  display: flex;
  gap: 16px;
  color: var(--teal);
}

.product h2,
.product h3 {
  margin-top: 28px;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.product-description {
  max-width: 46ch;
  margin-top: 20px;
  font-size: 15px;
  color: var(--muted);
}

.product-topics {
  flex: 1;
  margin-block: 24px 32px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.8;
  color: var(--teal);
}

.product-topics li,
.wiki-topics li {
  display: inline;
}

.product-topics li + li::before,
.wiki-topics li + li::before {
  content: " · ";
}

.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding-block: 20px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 500;
  transition: var(--link-transition);
}

.product-link:hover {
  text-decoration: none;
}

.product-link-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.product-domain {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

/* A shared reference destination, below the two application panels. */
.wiki-resource {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding-block: 28px;
  border-top: 1px solid var(--rule);
}

.wiki-resource .label {
  color: var(--teal);
}

.wiki-resource h2,
.wiki-resource h3 {
  margin-top: 12px;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.wiki-domain {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.wiki-description {
  max-width: 60ch;
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
}

.wiki-topics {
  margin-top: 16px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.8;
  color: var(--teal);
}

.wiki-link {
  justify-self: start;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: var(--link-transition);
}

/* Research questions */
.questions {
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.questions li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}

.questions p {
  max-width: 48ch;
  font: 400 27px/1.25 var(--font-serif);
}

/* Principles */
.principles {
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.principle {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}

.principle h3 {
  font: 500 16px/1.4 var(--font-sans);
}

.principle p {
  font-size: 15px;
  color: var(--muted);
}

.closing {
  margin-top: 40px;
  font-size: 16px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 36px;
}

.footer-brand .wordmark {
  font-size: 22px;
}

.footer-brand .brand-mark {
  width: 48px;
  height: 48px;
}

.footer-name {
  max-width: 320px;
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  font-size: 12px;
}

/* Interior pages: page lead, breadcrumbs, and footer navigation. */
.page-lead {
  padding-block: 64px;
}

.page-lead h1 {
  max-width: 16ch;
  margin-top: 24px;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.page-lead .full-name {
  max-width: 40ch;
  margin-top: 20px;
  font-size: 13px;
  color: var(--teal);
}

.page-intro {
  max-width: 66ch;
  margin-top: 24px;
  color: var(--muted);
}

.breadcrumbs {
  margin-bottom: 24px;
  font-size: 13px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--muted);
}

.breadcrumbs a,
.breadcrumbs span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.local-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
}

.local-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
  transition: var(--link-transition);
}

/* Homepage section links reuse the hero text-link treatment. */
.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
}

.section-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
  transition: var(--link-transition);
}

.page-closing {
  margin-top: 40px;
  font-size: 13px;
  font-weight: 500;
}

.page-closing a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
  transition: var(--link-transition);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  font-size: 13px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* The product overview uses the same approved panels as the home summary. */
.product-catalog {
  padding-bottom: 96px;
}

.product-catalog .products {
  margin-top: 0;
}

/* Identity guide: vector artwork on its intended background. */
.logo-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 64px;
}

.logo-hero {
  text-align: center;
}

.logo-hero img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-inline: auto;
}

.logo-hero figcaption {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}

.logo-variants,
.logo-sizes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.logo-sizes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.logo-variant,
.logo-size {
  min-width: 0;
}

.logo-swatch,
.logo-size-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  border: 1px solid var(--rule);
}

.logo-swatch img,
.logo-size-preview img {
  display: block;
}

.logo-swatch-white,
.logo-swatch-black {
  background: #fff;
}

.logo-swatch-inverse {
  background: var(--ink);
  border-color: var(--ink);
}

.logo-variant h3,
.logo-size h3 {
  margin-top: 20px;
  font-size: 28px;
  line-height: 1.2;
}

.logo-variant p,
.logo-size p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.logo-size .label {
  color: var(--teal);
}

.logo-download {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.logo-package-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Current-page indication uses an underline in addition to color. */
.primary-nav a[aria-current="page"],
.primary-nav a[aria-current="true"],
.footer-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
}

/* Programmatic focus targets on interior sections match the 2 px treatment. */
#purpose-title:focus,
#domains-title:focus,
#questions-title:focus {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

/* Links on the navy Approach surface keep contrast without the global teal. */
.approach a:hover {
  color: var(--paper);
}

.approach a:focus-visible {
  outline-color: var(--paper);
}

@media (width <= 1279px) {
  .wrap {
    padding-inline: 40px;
  }

  h1 {
    font-size: 64px;
  }

  .hero {
    gap: 40px;
  }

  .domain {
    grid-template-columns: 56px 300px minmax(0, 1fr);
  }
}

@media (width <= 1023px) {
  .logo-lead {
    grid-template-columns: minmax(0, 1fr) 256px;
    gap: 32px;
  }

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

  .logo-sizes {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 54px;
  }

  .hero {
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
  }

  .brand-name {
    display: none;
  }

  .section-split {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 40px;
  }

  .domain {
    grid-template-columns: 48px 250px minmax(0, 1fr);
    gap: 20px;
  }

  .chain {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 660px;
    border-top: 0;
  }

  .chain li {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 24px;
    padding: 0 0 28px 20px;
    border-left: 1px solid var(--inverse-rule);
  }

  .chain li:last-child {
    padding-bottom: 0;
  }

  .chain-number {
    grid-row: span 2;
    margin: 0;
    padding-top: 3px;
  }

  .chain h3 {
    margin-bottom: 6px;
  }

  .principle {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product {
    padding-right: 32px;
  }

  .product + .product {
    padding-left: 32px;
  }
}

@media (width <= 767px) {
  .wiki-resource {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 24px;
  }

  .logo-lead {
    grid-template-columns: 1fr;
  }

  .logo-variants {
    grid-template-columns: 1fr;
  }

  .product-catalog {
    padding-bottom: 64px;
  }

  body {
    font-size: 16px;
  }

  .wrap {
    padding-inline: 20px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0;
    min-height: 80px;
    padding-block: 18px;
  }

  .site-header .wordmark {
    font-size: 26px;
  }

  .site-header .brand-mark {
    width: 48px;
    height: 48px;
  }

  /* Progressive enhancement: the toggle only appears once JavaScript is present.
     Without JavaScript the navigation stays visible as an open list. */
  html.js .menu-toggle {
    display: block;
  }

  .primary-nav {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 16px;
  }

  html.js .primary-nav {
    display: none;
  }

  html.js .primary-nav[data-open="true"] {
    display: flex;
  }

  .primary-nav a {
    border-top: 1px solid var(--rule);
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 48px;
  }

  h1 {
    font-size: 44px;
    line-height: 1.04;
  }

  h2 {
    font-size: 36px;
    line-height: 1.1;
  }

  .hero-intro {
    max-width: 38ch;
    font-size: 16px;
  }

  .page-lead {
    padding-block: 48px;
  }

  .page-lead h1 {
    font-size: 44px;
    line-height: 1.04;
  }

  .section {
    padding-block: 64px;
  }

  .section-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vision {
    margin-top: 32px;
  }

  .vision-text {
    font-size: 27px;
  }

  .domains {
    margin-top: 32px;
  }

  .domain {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 28px;
  }

  .domain h3 {
    font-size: 27px;
  }

  .approach {
    padding-block: 64px;
  }

  .chain {
    margin-top: 36px;
  }

  .questions li {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .products {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .product,
  .product + .product {
    padding: 28px 0 0;
    border-left: 0;
  }

  .product + .product {
    margin-top: 32px;
    border-top: 1px solid var(--ink);
  }

  .product h2,
  .product h3 {
    margin-top: 20px;
    font-size: 42px;
  }

  .product-topics {
    margin-block: 20px 28px;
  }

  .questions p {
    font-size: 25px;
  }

  .footer-inner {
    align-items: flex-start;
  }

  .footer-name {
    max-width: 220px;
  }

  .back-to-top {
    white-space: nowrap;
  }
}

@media (width <= 359px) {
  h1 {
    font-size: 40px;
  }

  .page-lead h1 {
    font-size: 40px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --link-transition: none;
  }
}
