:root {
  color-scheme: dark;
  --ink: #080f0e;
  --surface: #0e1917;
  --surface-high: #13221e;
  --rule: #263a33;
  --text: #eff6f2;
  --muted: #a7bab1;
  --mint: #72edb5;
  --mint-deep: #092419;
  --gutter: clamp(20px, 5vw, 76px);
  --shell: 1240px;
  --nav-height: 72px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  background: var(--ink);
  color: var(--text);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, ul { margin: 0; }
body { line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
section[id], #main { scroll-margin-top: calc(var(--nav-height) + 15px); }
::selection { color: var(--mint-deep); background: var(--mint); }

.shell { width: min(var(--shell), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 4;
  top: 12px;
  left: var(--gutter);
  padding: 9px 15px;
  transform: translateY(-150%);
  background: var(--mint);
  color: var(--mint-deep);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
}
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; }
.header-inner { min-height: var(--nav-height); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 750; white-space: nowrap; }
.brand-mark { position: relative; display: inline-block; width: 33px; height: 30px; color: var(--mint); }
.brand-mark i { position: absolute; top: 6px; width: 14px; height: 18px; border: 2px solid currentColor; transform: skewY(-25deg); }
.brand-mark i:nth-child(1) { left: 1px; opacity: .48; }
.brand-mark i:nth-child(2) { left: 9px; opacity: .72; }
.brand-mark i:nth-child(3) { left: 17px; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 4vw, 47px); }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 650; }
.site-nav a:hover, .back-top:hover { color: var(--mint); }
.site-nav .nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px; border: 1px solid var(--rule); color: var(--text); }
.site-nav .nav-cta:hover { border-color: var(--mint); }
.menu-toggle { display: none; }

.arrow { position: relative; display: inline-block; flex: 0 0 auto; width: 16px; height: 14px; }
.arrow::before { content: ""; position: absolute; inset: 6px 2px auto 1px; height: 1.5px; background: currentColor; }
.arrow::after { content: ""; position: absolute; top: 3px; right: 2px; width: 8px; height: 8px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.arrow-diagonal { transform: rotate(-45deg); }
.arrow-up { transform: rotate(-90deg); }

.hero { overflow: clip; border-bottom: 1px solid var(--rule); }
.hero-inner { position: relative; display: grid; align-items: center; min-height: clamp(510px, 42vw, 595px); }
.hero-copy { position: relative; z-index: 1; max-width: 560px; padding-block: 62px 72px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--mint); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.eyebrow::before { content: ""; width: 23px; height: 1px; background: currentColor; }
.eyebrow span { width: 3px; height: 3px; background: currentColor; transform: rotate(45deg); }
h1 { margin-top: 23px; font-size: clamp(49px, 5.35vw, 82px); line-height: 1.14; letter-spacing: -.04em; font-weight: 800; }
h1 em { color: var(--mint); font-style: normal; }
.hero-desc { max-width: 399px; margin-top: 26px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 10px 16px; border: 1px solid transparent; font-size: 14px; font-weight: 750; transition: color .15s, background .15s, border-color .15s; }
.button-primary { color: var(--mint-deep); background: var(--mint); }
.button-primary:hover { background: #9bf5cb; }
.button-secondary { border-color: var(--rule); background: var(--ink); }
.button-secondary:hover { color: var(--mint); border-color: var(--mint); }
.hero-art { position: absolute; inset: 0 max(-76px, calc(-1 * var(--gutter))) 0 30%; }
.hero-art img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 57% center; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink), transparent 39%), linear-gradient(270deg, var(--ink), transparent 8%), linear-gradient(0deg, var(--ink), transparent 23%), linear-gradient(180deg, var(--ink), transparent 18%);
  pointer-events: none;
}

.section { padding-block: clamp(62px, 7vw, 105px); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: end; margin-bottom: 36px; }
h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.17; font-weight: 790; letter-spacing: -.038em; }
.section-heading p, .checklist header p { max-width: 325px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.section-heading p { padding-bottom: 3px; }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.capability {
  position: relative;
  padding: clamp(23px, 3.4vw, 45px);
  border: 1px solid var(--rule);
  background: radial-gradient(ellipse at top right, var(--surface-high), transparent 68%), var(--surface);
}
.capability::after { content: ""; position: absolute; top: -1px; left: -1px; width: 42px; height: 1px; background: var(--mint); }
.capability-title { display: flex; align-items: center; gap: 14px; }
h3 { font-size: clamp(23px, 2.2vw, 32px); font-weight: 740; line-height: 1.32; letter-spacing: -.045em; }
.capability-icon { display: grid; place-content: center; width: 42px; height: 42px; border: 1px solid #38634e; color: var(--mint); }
.icon-compute { gap: 3px; }
.icon-compute i { position: relative; width: 18px; height: 7px; border: 1px solid currentColor; }
.icon-compute i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 2px; height: 2px; background: currentColor; }
.icon-security i { position: relative; width: 14px; height: 11px; margin-top: 6px; border: 1px solid currentColor; }
.icon-security i::before { content: ""; position: absolute; width: 8px; height: 7px; top: -7px; left: 2px; border: 1px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.icon-security i::after { content: ""; position: absolute; width: 1px; height: 3px; top: 3px; left: 5.5px; background: currentColor; }
.capability p { max-width: 385px; margin-block: 17px 23px; color: var(--muted); line-height: 1.8; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 15px 0 0; list-style: none; border-top: 1px solid var(--rule); font-size: 13px; color: #c8ddd3; }
.topic-list li + li::before { content: "/"; margin-right: 16px; color: #648077; }

.scenario-section { border-block: 1px solid var(--rule); background: #0a1311; }
.scenario-board { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); border: 1px solid var(--rule); background: var(--surface); }
.scenario-content { padding: clamp(23px, 3.1vw, 43px); }
.scenario-tabs { display: flex; gap: 8px; margin-bottom: 34px; border-bottom: 1px solid var(--rule); }
.scenario-tabs button { flex: 1; min-height: 44px; padding: 6px 3px 10px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; font-size: clamp(13px, 1.25vw, 15px); font-weight: 700; cursor: pointer; }
.scenario-tabs button:hover { color: var(--text); }
.scenario-tabs button[aria-selected="true"] { border-color: var(--mint); color: var(--mint); }
.no-js .scenario-panel + .scenario-panel { margin-top: 28px; }
.scenario-panel p { max-width: 400px; margin-top: 12px; color: var(--muted); line-height: 1.8; }
.scenario-steps { display: grid; gap: 8px; margin-top: 23px; padding: 0; list-style: none; font-size: 14px; }
.scenario-steps li { position: relative; padding-left: 18px; }
.scenario-steps li::before { content: ""; position: absolute; top: .66em; left: 2px; width: 5px; height: 5px; border: 1px solid var(--mint); transform: rotate(45deg); }
.scenario-art { position: relative; min-height: 210px; }
.scenario-art img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 51% 57%; }

.checklist { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); gap: 38px; }
.checklist header p { margin-top: 17px; }
.checklist-items { border-top: 1px solid var(--rule); }
.checklist details { border-bottom: 1px solid var(--rule); }
.checklist summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 9px 3px 9px 0; list-style: none; font-size: 19px; font-weight: 730; cursor: pointer; }
.checklist summary::-webkit-details-marker { display: none; }
.checklist summary:hover, .checklist details[open] summary { color: var(--mint); }
.plus { position: relative; width: 15px; height: 15px; color: var(--mint); }
.plus::before, .plus::after { content: ""; position: absolute; top: 7px; width: 15px; height: 1.5px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { display: none; }
.checklist ul { display: grid; gap: 5px; padding: 0 14px 20px 1.2em; font-size: 15px; color: var(--muted); line-height: 1.8; }

.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { min-height: 95px; gap: 15px; }
.footer-inner .brand { font-size: 17px; }
.back-top { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 650; }

@media (max-width: 900px) {
  .hero-art { left: 32%; }
  .hero-art::after { background: linear-gradient(90deg, var(--ink), transparent 49%), linear-gradient(270deg, var(--ink), transparent 8%), linear-gradient(0deg, var(--ink), transparent 27%), linear-gradient(180deg, var(--ink), transparent 20%); }
  .hero-desc { max-width: 330px; }
  .scenario-content { padding-inline: 23px; }
}

@media (max-width: 680px) {
  :root { --nav-height: 62px; }
  .header-inner { flex-wrap: wrap; }
  .brand { font-size: 19px; gap: 8px; }
  .site-nav { width: 100%; display: grid; gap: 0; padding: 5px 0 12px; }
  .site-nav a, .site-nav .nav-cta { min-height: 44px; width: 100%; display: flex; align-items: center; border: 0; padding: 8px 0; }
  .site-nav .nav-cta { color: var(--mint); }
  .js .site-nav { position: absolute; inset: 100% 0 auto; padding: 5px var(--gutter) 12px; border-bottom: 1px solid var(--rule); background: var(--ink); }
  .js .menu-toggle[aria-expanded="false"] + .site-nav { display: none; }
  .js .menu-toggle { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; padding: 5px 9px 5px 10px; color: var(--text); border: 1px solid var(--rule); background: transparent; font-size: 13px; cursor: pointer; }
  .menu-icon { position: relative; width: 15px; height: 12px; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 1px; background: currentColor; }
  .menu-icon::after { top: 8px; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { top: 5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { top: 5px; transform: rotate(-45deg); }
  .no-js .site-header { position: static; }

  .hero-inner { display: block; min-height: 0; }
  .hero-copy { padding: 43px 0 6px; }
  h1 { margin-top: 17px; font-size: clamp(43px, 9.6vw, 63px); }
  .hero-desc { max-width: 400px; margin-top: 19px; font-size: 15px; }
  .hero-actions { margin-top: 23px; gap: 8px; }
  .button { min-height: 44px; padding: 8px 10px; gap: 7px; font-size: 13px; }
  .button .arrow { width: 13px; }
  .hero-art { position: relative; inset: auto; width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); margin-top: -6px; aspect-ratio: 1.51; }
  .hero-art img { object-position: 55% center; }
  .hero-art::after { background: linear-gradient(0deg, var(--ink), transparent 22%), linear-gradient(180deg, var(--ink), transparent 27%); }

  .section { padding-block: 57px; }
  .section-heading { grid-template-columns: 1fr; gap: 13px; margin-bottom: 24px; }
  .section-heading p, .checklist header p { font-size: 15px; }
  .capability-grid, .scenario-board, .checklist { grid-template-columns: 1fr; }
  .capability-grid { gap: 10px; }
  .scenario-tabs { margin-bottom: 24px; }
  .scenario-art { min-height: 0; aspect-ratio: 1.8; }
  .checklist { gap: 24px; }
  .checklist header p { margin-top: 12px; }
  .footer-inner { min-height: 77px; }
}

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

.site-nav { gap: clamp(13px, 2.25vw, 34px); }
.site-nav a[aria-current="page"], .service-nav a[aria-current="page"], .list-nav a[aria-current="page"] { color: var(--mint); }
.site-nav a.is-active { color: var(--mint); }
.nav-item { position: relative; display: flex; align-items: center; min-height: var(--nav-height); }
.nav-label { display: flex; align-items: center; gap: 2px; }
.nav-label > a { white-space: nowrap; }
.submenu-toggle { display: none; }
.js .submenu-toggle {
  display: inline-grid; place-items: center; flex: 0 0 auto; width: 30px; height: 38px;
  padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer;
}
.submenu-toggle span { width: 8px; height: 8px; margin-top: -4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.submenu-toggle:hover, .submenu-toggle[aria-expanded="true"] { color: var(--mint); }
.submenu-toggle[aria-expanded="true"] span { margin-top: 4px; transform: rotate(225deg); }
.submenu {
  position: absolute; z-index: 1; inset: 100% auto auto -13px; min-width: 202px;
  padding: 6px; list-style: none; border: 1px solid var(--rule); border-top-color: var(--mint);
  background: var(--surface);
}
.site-nav .submenu a { display: flex; align-items: center; min-height: 42px; padding-inline: 11px; white-space: nowrap; }
.site-nav .submenu a:hover, .site-nav .submenu a:focus-visible { background: var(--surface-high); }
.site-nav .submenu a:focus-visible { outline-offset: -2px; }
.hero-copy { max-width: min(620px, 65%); }
.hero-copy h1 { font-size: clamp(47px, 5.1vw, 76px); }
.hero-copy h1 em { font-size: .82em; }
.hero-copy .hero-desc { max-width: 420px; }

.heading-with-link { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font-size: 14px; font-weight: 690; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.surface-band { border-block: 1px solid var(--rule); background: #0a1311; }
.service-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.service-grid > article { grid-column: span 3; display: flex; flex-direction: column; }
.service-grid > article:nth-child(-n+2) { grid-column: span 6; min-height: 245px; }
.service-grid > article:nth-child(-n+2) h2 { font-size: clamp(25px, 3vw, 38px); }
.service-grid > article:nth-child(n+3) { padding: clamp(19px, 2vw, 30px); }
.service-grid > article:nth-child(n+3) h2 { font-size: clamp(19px, 2vw, 27px); }
.service-grid article a:hover { color: var(--mint); }
.service-grid .detail-link { margin-top: auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-grid p:last-child { margin-bottom: 0; }
.feature-grid h3 { font-size: clamp(19px, 2.2vw, 27px); }
.hub-link h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hub-link .arrow { color: var(--mint); }
.hub-link:hover { border-color: var(--mint); }
.library-entry { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.library-entry p { margin: 0; max-width: 65ch; }
.tools-grid .tool-card { display: flex; flex-direction: column; }
.tools-grid .tool-card .text-link { align-self: flex-start; margin-top: auto; }

.split-panel { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(26px, 5vw, 78px); }
.split-panel p, .about-summary p { margin-block: 21px 25px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.split-panel figure { overflow: hidden; margin: 0; border: 1px solid var(--rule); background: var(--surface); }
.split-panel img { aspect-ratio: 16/9; object-fit: cover; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); align-items: stretch; margin: 0; }
.metrics > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 24px clamp(10px, 3vw, 38px); border-inline-end: 1px solid var(--rule); }
.metrics > div:first-child { padding-inline-start: 0; }
.metrics > div:last-child { border-inline-end: 0; }
.metrics dt { color: var(--muted); font-size: 14px; }
.metrics dd { margin: 0; font-size: clamp(27px, 4vw, 52px); line-height: 1.1; font-weight: 780; letter-spacing: -.035em; color: var(--mint); }
.about-summary .metrics { margin-top: 30px; border-block: 1px solid var(--rule); }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.quote { display: grid; align-content: space-between; gap: 20px; margin: 0; padding: clamp(22px, 3vw, 37px); border-top: 2px solid var(--mint); background: var(--surface); }
.quote p { color: var(--muted); line-height: 1.85; }
.quote footer { font-size: 14px; font-weight: 680; }
.checklist .answer { padding: 0 20px 23px 0; color: var(--muted); line-height: 1.85; }
.checklist .answer p + p { margin-top: 11px; }
.plus { flex: 0 0 15px; }
.contact-band { border-top: 1px solid var(--rule); background: linear-gradient(110deg, #12271f, var(--surface)); }
.contact-band .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25px; }
.contact-band p { max-width: 700px; font-size: clamp(19px, 3vw, 35px); line-height: 1.45; font-weight: 720; }

.crumbs { display: flex; flex-wrap: wrap; gap: 9px; align-items: baseline; color: var(--muted); font-size: 14px; }
.crumbs a:hover { color: var(--mint); }
.crumbs [aria-current="page"] { color: var(--text); }
.page-head { border-bottom: 1px solid var(--rule); background: radial-gradient(ellipse at top right, #112b20, transparent 70%); }
.page-head-inner { padding-block: clamp(40px, 5.7vw, 87px); }
.page-head h1 { max-width: 960px; margin-block: 22px 0; font-size: clamp(32px, 4.85vw, 67px); line-height: 1.15; overflow-wrap: anywhere; }
.page-head p { max-width: 61ch; margin-top: 20px; color: var(--muted); line-height: 1.85; }
.page-head p.archive-note { margin-top: 14px; color: var(--mint); font-size: 14px; }
.page-head.with-art .page-head-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 38px; }
.with-art h1 { font-size: clamp(31px, 4.3vw, 66px); }
.page-art { overflow: hidden; border: 1px solid var(--rule); background: var(--surface); }
.page-art img { display: block; aspect-ratio: 1.68; object-fit: cover; }
.service-nav { border-bottom: 1px solid var(--rule); background: var(--surface); }
.service-nav .shell, .list-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; }
.service-nav a, .list-nav a { display: inline-flex; align-items: center; min-height: 53px; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; }
.service-nav a:hover, .list-nav a:hover { color: var(--mint); }
.service-nav a[aria-current="page"], .list-nav a[aria-current="page"] { border-color: var(--mint); }
.list-nav { margin-top: -18px; margin-bottom: 24px; }
.equipment-list { display: grid; grid-template-columns: 1fr; gap: 8px; padding-inline-start: 1em; margin-block: 19px 23px; color: var(--muted); }

.editorial-list { border-top: 1px solid var(--rule); }
.editorial-row { display: grid; grid-template-columns: 135px minmax(0, 1fr) auto; align-items: start; gap: 12px 25px; padding-block: 25px; border-bottom: 1px solid var(--rule); }
.editorial-row time { padding-top: 5px; color: var(--mint); font-size: 14px; font-variant-numeric: tabular-nums; }
.editorial-row h3 { font-size: clamp(21px, 2vw, 29px); letter-spacing: -.03em; }
.editorial-row h3 a:hover { color: var(--mint); }
.editorial-row p { max-width: 74ch; margin-top: 8px; color: var(--muted); overflow-wrap: anywhere; }
.editorial-row > .text-link { min-height: 34px; white-space: nowrap; }
.article-date { display: flex; flex-wrap: wrap; gap: 7px 19px; }
.article-date time { font-variant-numeric: tabular-nums; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .37fr); align-items: start; gap: clamp(25px, 6vw, 92px); }
.article-sidebar { border: 1px solid var(--rule); background: var(--surface); padding: 22px; }
.article-sidebar nav + nav { border-top: 1px solid var(--rule); margin-top: 21px; padding-top: 18px; }
.article-sidebar h2 { font-size: 18px; letter-spacing: 0; }
.article-sidebar ul { display: grid; gap: 8px; padding: 0; margin-block: 13px; list-style: none; font-size: 14px; color: var(--muted); }
.article-sidebar a:hover { color: var(--mint); }
.prose { max-width: 75ch; min-width: 0; overflow-wrap: anywhere; color: #e1ece6; font-size: 17px; line-height: 1.95; }
.prose :is(p, ul, ol, blockquote, table) { margin: .8em 0; }
.prose :is(h2, h3, h4) { margin: 1.3em 0 .55em; font-size: clamp(23px, 2.65vw, 35px); scroll-margin-top: calc(var(--nav-height) + 20px); color: var(--text); }
.prose :is(h3, h4) { font-size: clamp(20px, 2vw, 26px); }
.prose :is(ul, ol) { padding-inline-start: 1.4em; }
.prose blockquote { border-inline-start: 3px solid var(--mint); padding: 12px 18px; background: var(--surface); }
.prose a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.prose :is(td, th) { padding: 8px; border: 1px solid var(--rule); vertical-align: top; }
.prose .topic-list { margin-top: 32px; padding-inline-start: 0; color: var(--mint); }

.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.contact-grid > div { min-width: 0; padding: clamp(23px, 5vw, 70px); border: 1px solid var(--rule); }
.contact-primary { background: var(--surface-high); }
.contact-grid h2 { margin-bottom: 12px; font-size: clamp(24px, 3vw, 39px); }
.contact-primary a { font-size: clamp(29px, 4.3vw, 65px); font-weight: 780; line-height: 1.24; color: var(--mint); overflow-wrap: anywhere; }
.contact-secondary { background: var(--surface); }
.contact-secondary a { display: inline-block; color: var(--mint); margin-bottom: 25px; overflow-wrap: anywhere; }
.contact-secondary address { font-style: normal; color: var(--muted); }
.contact-grid a:hover, .footer-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr 1.15fr; gap: 26px; padding-block: 52px 26px; color: var(--muted); font-size: 14px; }
.footer-grid .brand { color: var(--text); }
.footer-grid p { margin-top: 10px; }
.footer-grid h2 { margin-bottom: 11px; font-size: 15px; letter-spacing: 0; color: var(--text); }
.footer-grid ul { display: grid; gap: 7px; padding: 0; list-style: none; }
.footer-grid section > a { display: block; overflow-wrap: anywhere; }
.footer-inner { border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }
.footer-inner .back-top { white-space: nowrap; }
.footer-inner .text-link { font-size: inherit; }

@media (max-width: 950px) {
  .hero-copy h1 { font-size: clamp(40px, 5.5vw, 55px); }
  .service-grid > article { grid-column: span 6; }
  .feature-grid, .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .js .site-nav { max-height: calc(100dvh - var(--nav-height)); overflow-y: auto; }
  .nav-item { display: block; min-height: 0; }
  .nav-label > a { flex: 1; min-width: 0; }
  .js .submenu-toggle { width: 44px; height: 44px; }
  .submenu { position: static; min-width: 0; margin: 0 0 6px 4px; padding: 0 0 0 8px; border: 0; border-left: 1px solid var(--rule); background: transparent; }
  .site-nav .submenu a { min-height: 42px; padding-inline: 11px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { font-size: clamp(36px, 9.85vw, 52px); }
  .hero-copy h1 em { font-size: .84em; }
  .heading-with-link { grid-template-columns: 1fr; }
  .service-grid > article, .service-grid > article:nth-child(-n+2) { grid-column: span 12; min-height: 0; }
  .feature-grid, .quote-grid, .split-panel, .contact-grid, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .split-panel p { font-size: 16px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics > div { padding-inline: 12px; }
  .metrics > div:nth-child(odd) { padding-inline-start: 0; }
  .metrics > div:nth-child(even) { border-inline-end: 0; }
  .metrics > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .page-head.with-art .page-head-inner { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .page-art img { aspect-ratio: 1.8; }
  .service-nav .shell, .list-nav { gap: 0 17px; }
  .service-nav a, .list-nav a { min-height: 44px; }
  .editorial-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .editorial-row time { padding-top: 0; }
  .article-grid { gap: 30px; }
  .prose { font-size: 16px; }
  .footer-grid { gap: 25px 16px; }
  .footer-inner { flex-wrap: wrap; align-content: center; gap: 8px 16px; padding-block: 12px; }
}

.library-hero .hero-inner { min-height: clamp(480px, 43vw, 645px); }
.library-hero .hero-copy { max-width: min(645px, 63%); }
.library-hero .hero-art { left: 27%; }
.library-hero .hero-art img { filter: saturate(.78); object-position: 57% 51%; }
.library-hero .hero-art::after {
  background: linear-gradient(90deg, var(--ink), transparent 55%),
    linear-gradient(0deg, var(--ink), transparent 22%),
    linear-gradient(180deg, var(--ink), transparent 18%), #0b382823;
}
.library-metrics { margin-inline: auto; }
.library-metrics > div { flex-direction: column; }
.library-metrics dd { order: -1; }
.topic-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.topic-card { grid-column: span 2; position: relative; display: flex; flex-direction: column; border: 1px solid var(--rule); background: var(--surface); }
.topic-card:nth-child(-n+2) { grid-column: span 3; }
.topic-card:hover { border-color: var(--mint); }
.topic-card img { aspect-ratio: 2.18; object-fit: cover; filter: saturate(.82); }
.topic-card-copy { position: relative; padding: clamp(17px, 2.6vw, 31px); }
.topic-card-copy .arrow { position: absolute; right: 23px; top: 32px; color: var(--mint); }
.topic-card h3 { margin: 6px 0 9px; font-size: clamp(19px, 2vw, 28px); padding-right: 18px; }
.topic-card p:last-of-type { color: var(--muted); line-height: 1.65; }
.record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.record-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(20px, 2.4vw, 32px); }
.record-card h3, .workflow-card h3 { color: var(--text); font-size: clamp(20px, 2.05vw, 27px); overflow-wrap: anywhere; }
.record-card h3 a:hover, .workflow-card h3 a:hover { color: var(--mint); }
.record-card p.record-category, .record-category, .workflow-card p.record-category { color: var(--mint); font-size: 13px; margin: 0 0 9px; }
.record-card .record-summary { margin: 12px 0 21px; overflow-wrap: anywhere; }
.record-footer { display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--rule); }
.record-footer > span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.search-controls { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 14px; align-items: end; margin-bottom: 22px; }
.search-controls:has(> div:only-of-type) { grid-template-columns: minmax(0, 1fr) auto; }
.search-controls label { display: block; margin-bottom: 7px; font-size: 14px; color: var(--muted); }
.search-controls :is(input, select), .copy-value {
  width: 100%; min-width: 0; min-height: 48px; padding: 8px 12px; border: 1px solid var(--rule);
  color: var(--text); background: var(--surface); font: inherit;
}
.search-controls input::placeholder { color: var(--muted); }
.search-controls button:disabled { opacity: .52; cursor: default; }
.search-controls button:not(:disabled), .load-more, .detail-actions button { cursor: pointer; color: var(--text); }
.result-status { margin-bottom: 15px; color: var(--muted); }
.load-more { margin: 28px auto 0; display: flex; min-width: 130px; }
.case-detail .prose > h2:first-child { margin-top: 0; }
.case-detail .prose a.button-primary { color: var(--mint-deep); text-decoration: none; }
.source-marks, .share-status { color: var(--muted); font-size: 14px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 9px 12px; margin-top: 25px; }
.detail-actions .share-status { width: 100%; margin: 0; }
.article-sidebar dl { margin-block: 14px 17px; }
.article-sidebar dt { font-size: 13px; color: var(--muted); }
.article-sidebar dd { margin: 0 0 12px; overflow-wrap: anywhere; }
.article-sidebar a { overflow-wrap: anywhere; }
.case-foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 25px; align-items: start; padding-block: 38px 26px; color: var(--muted); font-size: 14px; }
.case-foot .brand { margin-bottom: 9px; color: var(--text); }
.case-foot nav { display: flex; flex-wrap: wrap; gap: 8px 23px; margin-top: 9px; justify-content: center; }
.case-foot a:hover { color: var(--mint); }

@media (max-width: 950px) {
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-card, .topic-card:nth-child(-n+2) { grid-column: auto; }
  .record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-foot { grid-template-columns: 1fr 1fr; }
  .case-foot nav { justify-content: start; }
}

@media (max-width: 680px) {
  .library-hero .hero-inner { min-height: 0; }
  .library-hero .hero-copy { max-width: 100%; }
  .library-hero .hero-art { left: auto; }
  .library-hero .hero-art::after { background: linear-gradient(0deg, var(--ink), transparent 22%), linear-gradient(180deg, var(--ink), transparent 23%); }
  .library-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .library-metrics > div { padding: 16px 8px; border: 0; border-inline-end: 1px solid var(--rule); }
  .library-metrics > div:last-child { border-inline-end: 0; }
  .library-metrics dt { font-size: 12px; }
  .topic-grid, .record-grid, .case-foot { grid-template-columns: 1fr; }
  .search-controls { grid-template-columns: minmax(0, 1fr) 1fr; gap: 11px; }
  .search-controls > div:first-child { grid-column: 1 / -1; }
  .search-controls:has(> div:only-of-type) { grid-template-columns: 1fr; }
  .search-controls .button { justify-self: start; min-height: 48px; align-self: end; }
}
