@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&display=swap");

/* Vertex — 2026 editorial system
   This sheet intentionally loads after page-local CSS so every internal
   page shares one visual language without altering the written content. */

:root,
[data-theme="light"],
[data-theme="dark"] {
  --bg: #f3efe6;
  --bg-2: #e9e3d8;
  --bg-3: #c8b7e8;
  --line: rgba(20, 20, 20, 0.19);
  --line-2: rgba(20, 20, 20, 0.34);
  --fg: #141414;
  --fg-dim: #5f5b55;
  --fg-dimmer: #787169;
  --accent: #6c548d;
  --grid-line: rgba(20, 20, 20, 0.045);
  --topnav-bg: rgba(243, 239, 230, 0.92);
  --topnav-bg-mid: rgba(243, 239, 230, 0.92);
  --cream: #f3efe6;
  --paper: #e9e3d8;
  --ink: #141414;
  --ink-soft: #5f5b55;
  --lavender: #c8b7e8;
  --lavender-deep: #6c548d;
  --mono: "JetBrains Mono", monospace;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --page-pad: clamp(22px, 3.25vw, 52px);
  --content-max: 1480px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
  color-scheme: light;
}

html {
  background: var(--cream) !important;
  color: var(--ink) !important;
  scroll-behavior: auto;
}

body {
  min-height: 100vh;
  background: var(--cream) !important;
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  overflow-x: clip;
}

body::before {
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px) !important;
  background-size: 72px 72px !important;
  opacity: 0.85;
}

::selection {
  background: var(--lavender) !important;
  color: var(--ink) !important;
}

a,
button,
input,
textarea,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lavender-deep);
  outline-offset: 4px;
}

main {
  position: relative;
  z-index: 2;
}

/* The utility overlays were a layer of product-demo theater, not useful
   navigation. Keep them out of the calmer editorial system. */
.mega-menu,
.nav-veil,
.vision-hud,
.terminal,
.terminal-scrim,
.keyboard-layer,
.cmdpal,
.cmdpal-scrim,
.search-modal,
.search-scrim,
.shortcuts-overlay,
.site-map-overlay,
.section-rail,
.theme-toggle,
.theme-picker,
.vision-toggle,
.terminal-trigger {
  display: none !important;
}

.has-section-rail {
  padding-left: 0 !important;
}

.read-progress {
  z-index: 220 !important;
  height: 2px !important;
  background: var(--lavender-deep) !important;
  opacity: 0.9 !important;
}

/* Navigation */
.topnav,
body:not(.is-scrolled) .topnav {
  min-height: 76px !important;
  padding: 0 var(--page-pad) !important;
  background: rgba(243, 239, 230, 0.9) !important;
  border-bottom: 1px solid rgba(20, 20, 20, 0.14);
  backdrop-filter: blur(18px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(120%) !important;
}

.topnav-mark {
  justify-self: start;
  color: var(--ink) !important;
  font-size: 22px !important;
  line-height: 1;
}

.topnav-mark a {
  color: inherit !important;
  gap: 0 !important;
}

.nav-links-row {
  gap: clamp(18px, 2.3vw, 38px) !important;
}

.nav-item {
  position: relative;
}

.nav-item::before,
.nav-item::after {
  display: none !important;
}

a.nav-link,
[data-theme="light"] a.nav-link,
[data-theme="dark"] a.nav-link {
  position: relative;
  min-width: 0 !important;
  padding: 28px 0 25px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.015em !important;
  text-transform: none;
}

a.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 440ms var(--ease);
}

a.nav-link:hover::after,
a.nav-link:focus-visible::after,
.nav-item.is-current > a.nav-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-right {
  gap: 10px !important;
}

.menu-toggle {
  position: relative !important;
  width: 40px !important;
  height: 40px !important;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  color: var(--ink) !important;
  transition: background-color 360ms var(--ease-soft);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(200, 183, 232, 0.44) !important;
}

.menu-toggle span {
  right: auto !important;
  left: 10px !important;
  width: 20px !important;
  height: 1px !important;
  background: currentColor !important;
}

.menu-toggle span:nth-child(1) { top: 16px !important; }
.menu-toggle span:nth-child(2) { display: none !important; }
.menu-toggle span:nth-child(3) { top: 23px !important; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg) !important; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg) !important; }

.mobile-nav {
  width: min(520px, 100vw) !important;
  padding: 104px clamp(24px, 6vw, 48px) 34px !important;
  background: var(--lavender) !important;
  border-left: 1px solid rgba(20, 20, 20, 0.2) !important;
  color: var(--ink) !important;
}

.mobile-nav-section {
  margin: 0 !important;
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(20, 20, 20, 0.25) !important;
}

.mobile-nav-label {
  margin-bottom: 8px !important;
  color: rgba(20, 20, 20, 0.6) !important;
  font-size: 9px !important;
}

.mobile-nav a {
  min-height: 44px !important;
  padding: 7px 0 !important;
  border: 0 !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(24px, 7vw, 38px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.025em !important;
  transition: color 360ms var(--ease-soft) !important;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.mobile-nav a.is-current {
  color: var(--lavender-deep) !important;
}

.mobile-nav a.is-current > span:first-child {
  padding-left: 0 !important;
}

.mobile-nav a.is-current > span:first-child::before {
  display: none !important;
}

.mobile-nav-arrow {
  color: rgba(20, 20, 20, 0.55) !important;
  transition: transform 420ms var(--ease) !important;
}

.mobile-nav-foot {
  border-top-color: rgba(20, 20, 20, 0.25) !important;
}

.mobile-nav-mark,
.mobile-nav-mail {
  color: var(--ink) !important;
}

.menu-scrim {
  background: rgba(20, 20, 20, 0.3) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* Editorial heroes */
.page-hero,
.explainer-hero,
.paper-hero,
.fs-head,
.nf-wrap {
  position: relative;
  width: min(100%, var(--content-max)) !important;
  max-width: none !important;
  min-height: min(760px, 78svh);
  margin: 0 auto !important;
  padding: clamp(150px, 17vh, 210px) var(--page-pad) clamp(76px, 9vw, 136px) !important;
  border-bottom: 1px solid var(--line) !important;
  overflow: hidden;
}

.page-hero::before,
.explainer-hero::before,
.paper-hero::before,
.fs-head::before {
  content: "";
  position: absolute;
  top: 76px;
  right: var(--page-pad);
  width: min(40vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(20, 20, 20, 0.18);
  border-radius: 50%;
  background:
    linear-gradient(rgba(20, 20, 20, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 20, 0.08) 1px, transparent 1px),
    var(--lavender);
  background-size: 48px 48px;
  opacity: 0.86;
  transform: translate(22%, -22%);
  pointer-events: none;
}

.page-hero > *,
.explainer-hero > *,
.paper-hero > *,
.fs-head > * {
  position: relative;
  z-index: 2;
}

.page-eyebrow,
.paper-eyebrow,
.m-eyebrow,
.content-label,
.section-label,
.prose-label,
.v-label,
.paper-section-label,
.role-section-label,
.sm-label,
.values-label {
  color: var(--lavender-deep) !important;
  font-family: var(--mono) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.13em !important;
  line-height: 1.4;
  text-transform: uppercase;
}

.page-title,
.paper-hero > .paper-title,
.m-title,
.fs-title,
.nf-title {
  max-width: 1120px !important;
  margin: 0 0 34px !important;
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  font-size: clamp(58px, 9.2vw, 142px) !important;
  font-weight: 500 !important;
  letter-spacing: -0.06em !important;
  line-height: 0.86 !important;
}

.page-title em,
.paper-hero > .paper-title em,
.m-title em,
.fs-title em,
.nf-title em,
.accent {
  color: var(--lavender-deep) !important;
  font-family: var(--serif) !important;
  font-weight: 400 !important;
}

.page-lead,
.m-lead,
.fs-lead,
.nf-lead,
.lead {
  max-width: 760px !important;
  color: var(--ink-soft) !important;
  font-size: clamp(18px, 1.7vw, 25px) !important;
  line-height: 1.45 !important;
}

/* Content rhythm */
.content-section,
.v-wrap,
.m-wrap,
.paper-body,
.role-body,
.press-body,
.careers-body,
.culture-wrap,
.prose-wrap,
.form-wrap,
.assets-section,
.bio-section,
.embed-section,
.timeline-section {
  position: relative;
  z-index: 3;
  width: min(100%, var(--content-max)) !important;
  max-width: none !important;
  margin: 0 auto !important;
}

.content-section,
.v-section,
.m-section,
.paper-section,
.role-section,
.prose-section,
.values-section,
.fs-section,
.assets-section,
.bio-section,
.embed-section,
.timeline-section,
.role-apply-section {
  padding: clamp(72px, 8vw, 126px) var(--page-pad) !important;
  border-bottom: 1px solid var(--line) !important;
}

.content-grid,
.v-section,
.m-section,
.paper-section,
.role-section,
.prose-section {
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr) !important;
  gap: clamp(34px, 7vw, 130px) !important;
}

.content-body,
.v-body,
.paper-section-body,
.role-section-body,
.prose,
.m-section p,
.bio-body,
.philosophy-body {
  max-width: 920px;
  color: var(--ink-soft) !important;
  font-size: clamp(16px, 1.25vw, 19px) !important;
  line-height: 1.68 !important;
}

.content-body strong,
.v-body strong,
.paper-section-body strong,
.role-section-body strong,
.prose strong {
  color: var(--ink) !important;
  font-weight: 500 !important;
}

.content-body h2,
.v-body h2,
.paper-section-body h2,
.role-section-body h2,
.prose h2,
.principles-headline,
.timeline-title {
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-size: clamp(36px, 5vw, 74px) !important;
  font-weight: 400 !important;
  letter-spacing: -0.04em !important;
  line-height: 0.98 !important;
}

.content-body h3,
.v-body h3,
.paper-section-body h3,
.role-section-body h3,
.prose h3 {
  color: var(--ink) !important;
  font-size: clamp(22px, 2.3vw, 34px) !important;
  font-weight: 500 !important;
  letter-spacing: -0.025em !important;
}

blockquote,
.v-quote,
.m-pullquote,
.finding-quote,
.stage-quote {
  border: 0 !important;
  border-left: 4px solid var(--lavender-deep) !important;
  background: var(--lavender) !important;
  color: var(--ink) !important;
  padding: clamp(28px, 5vw, 72px) !important;
  font-family: var(--serif) !important;
  font-size: clamp(26px, 4vw, 54px) !important;
  font-weight: 400 !important;
  line-height: 1.04 !important;
}

code,
pre,
kbd,
.code,
.log-wrap {
  font-family: var(--mono) !important;
}

pre,
.log-wrap {
  border: 1px solid rgba(243, 239, 230, 0.18) !important;
  background: var(--ink) !important;
  color: var(--cream) !important;
}

/* Data, cards and lists: no layout movement on hover */
.stat-row,
.v-stat-row,
.v-cap-grid,
.principle-grid,
.principles-grid,
.values-grid,
.method-grid,
.provisions-grid,
.rigor-grid,
.repo-list,
.vh-grid,
.scn-grid,
.assets-grid,
.pov-grid {
  gap: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-left: 1px solid var(--line) !important;
}

.stat-cell,
.v-stat-cell,
.v-cap-card,
.principle-card,
.value-item,
.method-card,
.provision-card,
.rigor-card,
.repo-card,
.vh-card,
.scn-card,
.related-card,
.asset-cell {
  position: relative;
  margin: 0 !important;
  border: 0 !important;
  border-right: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: rgba(243, 239, 230, 0.68) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  transform: none !important;
  transition:
    background-color 520ms var(--ease-soft),
    color 520ms var(--ease-soft) !important;
}

.stat-cell:hover,
.v-stat-cell:hover,
.v-cap-card:hover,
.principle-card:hover,
.value-item:hover,
.method-card:hover,
.provision-card:hover,
.rigor-card:hover,
.repo-card:hover,
.vh-card:hover,
.scn-card:hover,
.related-card:hover,
.asset-cell:hover {
  background: var(--lavender) !important;
  color: var(--ink) !important;
  transform: none !important;
}

.stat-num,
.v-stat-num,
.finding-stat {
  color: var(--ink) !important;
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  letter-spacing: -0.05em !important;
}

.stat-num span,
.v-stat-num span {
  color: var(--lavender-deep) !important;
}

.stat-desc,
.stat-label,
.v-stat-label,
.v-stat-desc,
.v-stat-src,
.v-cap-body,
.principle-body,
.value-body,
.method-body,
.provision-body,
.rigor-body,
.repo-desc,
.vh-tag,
.scn-desc {
  color: var(--ink-soft) !important;
}

.v-cap-title,
.principle-title,
.value-title,
.method-title,
.provision-title,
.rigor-title,
.repo-title,
.vh-title,
.scn-dom {
  color: var(--ink) !important;
}

.paper-list,
.role-list,
.sm-list,
.v-doc-list,
.g-list,
.dl-list,
.rule-list {
  border-top-color: var(--line) !important;
}

.paper-row,
.role-row,
.sm-item,
.v-doc-row,
.g-row,
.dl-row,
.rule-row,
.fs-row,
.pov-row,
.agp-row,
.cp-row,
.sc-row,
.ty-row {
  margin: 0 !important;
  border-color: var(--line) !important;
  background: transparent !important;
  transform: none !important;
  transition:
    background-color 520ms var(--ease-soft),
    color 520ms var(--ease-soft) !important;
}

.paper-row:hover,
.role-row:hover,
.sm-item:hover,
.v-doc-row:hover,
.g-row:hover,
.dl-row:hover,
.rule-row:hover,
.fs-row:hover,
.pov-row:hover,
.agp-row:hover,
.cp-row:hover,
.sc-row:hover,
.ty-row:hover {
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: var(--lavender) !important;
  color: var(--ink) !important;
  transform: none !important;
}

.paper-title,
.role-title,
.sm-name,
.v-doc-title,
.g-term,
.fs-key {
  color: var(--ink) !important;
}

.paper-authors,
.paper-abstract,
.sm-desc,
.sm-meta,
.v-doc-code,
.g-def,
.fs-val,
.role-meta,
.role-loc,
.role-type {
  color: var(--ink-soft) !important;
}

.tag,
.chip,
.d-chip,
.paper-conf,
.repo-tag,
.provision-tag,
.vh-tag {
  border-color: rgba(20, 20, 20, 0.28) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--lavender-deep) !important;
}

/* Buttons use opposing flat shutters. There is motion, but no glow,
   blob, bloom, or geometry shift. */
.btn-primary,
.paper-link,
.btn-ghost,
.apply-btn,
.b-cta,
.os-cta,
.nf-cta,
.v-cta a,
.closing-cta a,
.cta-section a,
.culture-cta a,
.role-apply-section a {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  border: 1px solid var(--ink) !important;
  border-radius: 0 !important;
  background: var(--ink) !important;
  color: var(--cream) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: color 460ms var(--ease-soft) !important;
}

.btn-primary::before,
.paper-link::before,
.btn-ghost::before,
.apply-btn::before,
.b-cta::before,
.os-cta::before,
.nf-cta::before,
.v-cta a::before,
.closing-cta a::before,
.cta-section a::before,
.culture-cta a::before,
.role-apply-section a::before,
.btn-primary::after,
.paper-link::after,
.btn-ghost::after,
.apply-btn::after,
.b-cta::after,
.os-cta::after,
.nf-cta::after,
.v-cta a::after,
.closing-cta a::after,
.cta-section a::after,
.culture-cta a::after,
.role-apply-section a::after {
  content: "";
  position: absolute;
  right: -1px;
  left: -1px;
  z-index: -1;
  height: calc(50% + 1px);
  background: var(--lavender);
  transition: transform 660ms var(--ease);
}

.btn-primary::before,
.paper-link::before,
.btn-ghost::before,
.apply-btn::before,
.b-cta::before,
.os-cta::before,
.nf-cta::before,
.v-cta a::before,
.closing-cta a::before,
.cta-section a::before,
.culture-cta a::before,
.role-apply-section a::before {
  top: -1px;
  transform: translateX(-102%);
}

.btn-primary::after,
.paper-link::after,
.btn-ghost::after,
.apply-btn::after,
.b-cta::after,
.os-cta::after,
.nf-cta::after,
.v-cta a::after,
.closing-cta a::after,
.cta-section a::after,
.culture-cta a::after,
.role-apply-section a::after {
  bottom: -1px;
  transform: translateX(102%);
}

.btn-primary:hover,
.paper-link:hover,
.btn-ghost:hover,
.apply-btn:hover,
.b-cta:hover,
.os-cta:hover,
.nf-cta:hover,
.v-cta a:hover,
.closing-cta a:hover,
.cta-section a:hover,
.culture-cta a:hover,
.role-apply-section a:hover {
  color: var(--ink) !important;
  transform: none !important;
}

.btn-primary:hover::before,
.paper-link:hover::before,
.btn-ghost:hover::before,
.apply-btn:hover::before,
.b-cta:hover::before,
.os-cta:hover::before,
.nf-cta:hover::before,
.v-cta a:hover::before,
.closing-cta a:hover::before,
.cta-section a:hover::before,
.culture-cta a:hover::before,
.role-apply-section a:hover::before,
.btn-primary:hover::after,
.paper-link:hover::after,
.btn-ghost:hover::after,
.apply-btn:hover::after,
.b-cta:hover::after,
.os-cta:hover::after,
.nf-cta:hover::after,
.v-cta a:hover::after,
.closing-cta a:hover::after,
.cta-section a:hover::after,
.culture-cta a:hover::after,
.role-apply-section a:hover::after {
  transform: translateX(0);
}

/* Forms */
input,
textarea,
select,
.cmd-input {
  border: 0 !important;
  border-bottom: 1px solid var(--line-2) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  font-family: var(--sans) !important;
  box-shadow: none !important;
  transition: border-color 360ms var(--ease-soft), background-color 360ms var(--ease-soft) !important;
}

input:focus,
textarea:focus,
select:focus,
.cmd-input:focus {
  border-bottom-color: var(--lavender-deep) !important;
  background: rgba(200, 183, 232, 0.16) !important;
}

label {
  color: var(--ink-soft) !important;
}

/* Operator plates and visual explainers */
.op-plate-wrap,
.ar-panel,
.hm-grid,
.vitals-grid,
.d-map,
.ar-grid-wrap {
  border-color: var(--line) !important;
  background-color: var(--paper) !important;
  box-shadow: none !important;
}

.op-plate {
  filter: saturate(0.72) contrast(1.02);
}

/* Footer */
.footer {
  position: relative;
  z-index: 5;
  padding: clamp(72px, 8vw, 118px) var(--page-pad) 30px !important;
  border-top: 0 !important;
  background: var(--ink) !important;
  color: var(--cream) !important;
}

.footer-top,
.footer-bottom {
  width: min(100%, var(--content-max)) !important;
  max-width: none !important;
}

.footer-top {
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr) !important;
  gap: clamp(54px, 8vw, 140px) !important;
  padding-bottom: 82px !important;
}

.footer-mark {
  align-self: start;
  color: var(--cream) !important;
  font-size: 28px !important;
}

.footer-cols,
.footer-cols.footer-cols-5 {
  grid-template-columns: repeat(5, minmax(110px, 1fr)) !important;
  gap: clamp(22px, 3vw, 54px) !important;
}

.footer-col-h,
.footer-sub summary {
  color: #9c978f !important;
  font-size: 9px !important;
}

.footer .footer-col a,
.footer .footer-sub-links a,
.footer .footer-bottom a {
  color: var(--cream) !important;
  background-image: linear-gradient(currentColor, currentColor) !important;
  background-position: 100% 100% !important;
  background-repeat: no-repeat !important;
  background-size: 0 1px !important;
  transition: background-size 440ms var(--ease), color 360ms var(--ease-soft) !important;
}

.footer .footer-col a:hover,
.footer .footer-sub-links a:hover,
.footer .footer-bottom a:hover {
  color: var(--lavender) !important;
  background-position: 0 100% !important;
  background-size: 100% 1px !important;
}

.footer-bottom {
  border-top-color: rgba(243, 239, 230, 0.2) !important;
  color: #9c978f !important;
}

.reveal {
  opacity: 0.78 !important;
  transform: translateY(16px) !important;
  transition: opacity 700ms var(--ease-soft), transform 700ms var(--ease) !important;
}

.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 1100px) {
  .nav-links-row {
    gap: 18px !important;
  }

  a.nav-link {
    font-size: 12px !important;
  }

  .footer-cols,
  .footer-cols.footer-cols-5 {
    grid-template-columns: repeat(3, 1fr) !important;
    row-gap: 42px !important;
  }
}

@media (max-width: 900px) {
  .topnav,
  body:not(.is-scrolled) .topnav {
    min-height: 66px !important;
    grid-template-columns: 1fr auto !important;
  }

  .nav-links-row {
    display: none !important;
  }

  .menu-toggle {
    display: block !important;
  }

  .page-hero,
  .explainer-hero,
  .paper-hero,
  .fs-head,
  .nf-wrap {
    min-height: 650px;
    padding-top: 138px !important;
  }

  .page-hero::before,
  .explainer-hero::before,
  .paper-hero::before,
  .fs-head::before {
    width: 58vw;
    top: 66px;
  }

  .content-grid,
  .v-section,
  .m-section,
  .paper-section,
  .role-section,
  .prose-section {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .footer-top {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 660px) {
  :root,
  [data-theme="light"],
  [data-theme="dark"] {
    --page-pad: 20px;
  }

  .topnav-mark {
    font-size: 19px !important;
  }

  .mobile-nav {
    width: 100vw !important;
    border-left: 0 !important;
  }

  .mobile-nav-section {
    padding: 12px 0 !important;
  }

  .mobile-nav a {
    min-height: 38px !important;
    font-size: 25px !important;
  }

  .page-hero,
  .explainer-hero,
  .paper-hero,
  .fs-head,
  .nf-wrap {
    min-height: 590px;
    padding-top: 122px !important;
    padding-bottom: 72px !important;
  }

  .page-hero::before,
  .explainer-hero::before,
  .paper-hero::before,
  .fs-head::before {
    width: 72vw;
    opacity: 0.62;
  }

  .page-title,
  .paper-hero > .paper-title,
  .m-title,
  .fs-title,
  .nf-title {
    font-size: clamp(50px, 16vw, 82px) !important;
  }

  .content-section,
  .v-section,
  .m-section,
  .paper-section,
  .role-section,
  .prose-section,
  .values-section,
  .fs-section,
  .assets-section,
  .bio-section,
  .embed-section,
  .timeline-section,
  .role-apply-section {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }

  .stat-row,
  .v-stat-row,
  .v-cap-grid,
  .principle-grid,
  .principles-grid,
  .values-grid,
  .method-grid,
  .provisions-grid,
  .rigor-grid,
  .vh-grid,
  .scn-grid,
  .assets-grid,
  .pov-grid {
    grid-template-columns: 1fr !important;
  }

  .paper-row,
  .role-row,
  .sm-item,
  .v-doc-row,
  .g-row,
  .dl-row,
  .rule-row,
  .fs-row,
  .pov-row,
  .agp-row,
  .cp-row,
  .sc-row,
  .ty-row {
    gap: 12px !important;
  }

  .footer-cols,
  .footer-cols.footer-cols-5 {
    grid-template-columns: 1fr 1fr !important;
    row-gap: 38px !important;
  }

  .footer-bottom {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
