:root {
  --ink: #07191f;
  --ink-soft: #16343b;
  --paper: #f3f6f4;
  --white: #ffffff;
  --teal: #00777c;
  --teal-deep: #00535b;
  --aqua: #25c6c8;
  --coral: #f05a3c;
  --yellow: #f2c84b;
  --green: #517c5a;
  --line: #c9d5d2;
  --muted: #62767a;
  --display: Georgia, "Times New Roman", serif;
  --body: "Century Gothic", "Trebuchet MS", sans-serif;
  --shell: 1180px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button, input, textarea, select {
  font: inherit;
  letter-spacing: 0;
}

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

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

h1, h2, h3, h4, p, ul, ol, blockquote, figure {
  margin-top: 0;
}

h1, h2, h3, h4 {
  text-wrap: balance;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

h1, h2 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.03;
}

h3, h4 {
  line-height: 1.2;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-160%);
}

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

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 100;
  min-height: 76px;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.header-inner {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 220px;
  min-height: 42px;
}

.brand img {
  width: 205px;
  height: auto;
}

.site-nav {
  justify-self: end;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e4eeee;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--aqua);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid var(--yellow);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.header-contact:hover {
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.home-hero {
  position: relative;
  display: grid;
  align-items: end;
  height: clamp(510px, calc(100svh - 112px), 720px);
  min-height: 510px;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: #0a2026;
}

.home-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(3, 20, 25, 0.72);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 800px) minmax(180px, 1fr);
  align-items: end;
  gap: 64px;
  padding-block: 72px 64px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 3px;
  content: "";
  background: var(--coral);
}

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

.home-hero h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: 6rem;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 28px;
  color: #d7e3e3;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.button.primary:hover {
  color: var(--white);
  background: var(--coral);
  border-color: var(--coral);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.button.ghost:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.hero-ledger {
  justify-self: end;
  width: 230px;
  margin: 0;
  border-top: 3px solid var(--aqua);
}

.hero-ledger div {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.hero-ledger dt {
  color: #a9babc;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-ledger dd {
  margin: 3px 0 0;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.article-library {
  padding: 54px 0 58px;
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.library-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 430px);
  align-items: end;
  gap: 56px;
  margin-bottom: 28px;
}

.library-head h2 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 3rem;
}

.library-intro {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.topic-tabs {
  display: flex;
  max-width: 100%;
  gap: 6px;
  padding: 0 0 14px;
  margin-bottom: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.topic-tabs button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.topic-tabs button:hover {
  color: var(--ink);
  border-color: var(--line);
}

.topic-tabs button[aria-selected="true"] {
  color: var(--white);
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}

.tab-panel {
  padding-top: 12px;
}

.tab-panel[hidden] {
  display: none;
}

.panel-heading {
  margin: 18px 0 6px;
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tabs-enhanced .panel-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.article-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 42px;
}

.article-index a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 64px;
  gap: 18px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.article-index a::after {
  color: var(--coral);
  font-size: 1.2rem;
  content: "\2197";
  transition: transform 160ms ease;
}

.article-index a:hover::after {
  transform: translate(3px, -3px);
}

.article-index strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.25;
}

.article-index span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.services-band {
  padding: 92px 0;
  background: var(--paper);
}

.section-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 84px;
}

.section-intro {
  align-self: start;
}

@media (min-width: 901px) {
  .section-intro.sticky {
    position: sticky;
    top: 36px;
  }
}

.section-intro h2 {
  margin-bottom: 22px;
  font-size: 3.5rem;
}

.section-intro p {
  max-width: 420px;
  color: var(--muted);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list details {
  border-bottom: 1px solid var(--line);
}

.service-list summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  min-height: 68px;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.service-list summary::-webkit-details-marker {
  display: none;
}

.service-list summary::after {
  justify-self: end;
  color: var(--coral);
  font-size: 1.45rem;
  content: "+";
}

.service-list details[open] summary::after {
  content: "\2212";
}

.service-number {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
}

.service-list summary strong {
  font-family: var(--display);
  font-size: 1.35rem;
}

.service-detail {
  max-width: 680px;
  padding: 0 38px 24px 56px;
  color: var(--muted);
}

.service-detail a {
  color: var(--teal-deep);
  font-weight: 800;
}

.process-band {
  padding: 82px 0;
  color: var(--white);
  background: var(--teal-deep);
}

.process-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 42px;
}

.process-head h2 {
  margin-bottom: 0;
  font-size: 3.4rem;
}

.process-head p {
  max-width: 520px;
  margin: 0;
  color: #c9dddd;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,0.24);
  border-left: 1px solid rgba(255,255,255,0.24);
}

.process-step {
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,0.24);
  border-bottom: 1px solid rgba(255,255,255,0.24);
}

.process-step span {
  display: block;
  margin-bottom: 30px;
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 1.45rem;
}

.process-step p {
  margin: 0;
  color: #c9dddd;
  font-size: 0.86rem;
}

.stack-band {
  padding: 64px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.stack-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.stack-head h2 {
  margin-bottom: 0;
  font-size: 2.6rem;
}

.stack-head p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}

.logo-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.logo-rail figure {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 18px;
  margin: 0;
  background: var(--white);
}

.logo-rail img {
  max-width: 96px;
  max-height: 54px;
  object-fit: contain;
  filter: saturate(0.7);
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 560px;
  background: #edf2ef;
}

.about-visual {
  min-height: 480px;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.about-copy {
  display: flex;
  align-items: center;
  padding: 72px max(32px, calc((100vw - var(--shell)) / 2));
}

.about-copy-inner {
  max-width: 560px;
}

.about-copy h2 {
  margin-bottom: 22px;
  font-size: 3.6rem;
}

.about-copy p {
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-deep);
  font-weight: 800;
}

.cta-band {
  padding: 68px 0;
  color: var(--ink);
  background: var(--yellow);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.cta-inner h2 {
  max-width: 760px;
  margin: 0;
  font-size: 3.2rem;
}

.cta-inner .button {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.cta-inner .button:hover {
  background: var(--coral);
  border-color: var(--coral);
}

.page-mast {
  padding: 82px 0 74px;
  color: var(--white);
  background: var(--ink);
  border-bottom: 8px solid var(--aqua);
}

.page-mast h1 {
  max-width: 940px;
  margin-bottom: 20px;
  font-size: 4.7rem;
}

.page-mast p {
  max-width: 720px;
  margin-bottom: 0;
  color: #c7d6d7;
  font-size: 1.05rem;
}

.content-band {
  padding: 84px 0;
  background: var(--white);
}

.content-band.alt {
  background: var(--paper);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 80px;
}

.content-grid.reverse {
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1fr);
}

.content-grid h2 {
  margin-bottom: 20px;
  font-size: 3rem;
}

.content-grid p,
.content-grid li {
  color: var(--ink-soft);
}

.content-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--teal-deep);
  border-radius: 4px;
}

.content-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.content-visual.contain {
  display: grid;
  place-items: center;
  padding: 40px;
  background: #dcebea;
}

.content-visual.contain img {
  width: min(100%, 560px);
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability {
  min-height: 230px;
  padding: 30px;
  background: var(--white);
}

.capability span {
  display: block;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
}

.capability h3 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 1.45rem;
}

.capability p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.contact-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-list a,
.contact-list address {
  font-family: var(--display);
  font-size: 1.2rem;
  font-style: normal;
  text-decoration: none;
}

.contact-note {
  padding: 34px;
  color: var(--white);
  background: var(--teal-deep);
  border-radius: 4px;
}

.contact-note h2 {
  margin-bottom: 16px;
  font-size: 2.6rem;
}

.contact-note p {
  color: #d2e2e2;
}

.contact-note .button {
  margin-top: 10px;
}

.hub-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.hub-list a {
  min-height: 150px;
  padding: 26px;
  background: var(--white);
  text-decoration: none;
}

.hub-list a:hover {
  background: #e5f2f0;
}

.hub-list small {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 800;
}

.hub-list strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.article-mast {
  padding: 74px 0 54px;
  color: var(--white);
  background: var(--ink);
}

.article-mast .eyebrow {
  margin-bottom: 22px;
}

.article-mast h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: 4.4rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  color: #b7c9ca;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-feature {
  width: min(1060px, calc(100% - 48px));
  margin: -1px auto 0;
  background: var(--white);
}

.article-feature img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 230px;
  justify-content: center;
  gap: 80px;
  padding-block: 72px 90px;
}

.article-body {
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.82;
}

.article-body > * {
  max-width: 100%;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--ink);
  font-family: var(--body);
}

.article-body h2 {
  margin: 2.2em 0 0.72em;
  font-size: 2rem;
}

.article-body h3 {
  margin: 1.8em 0 0.65em;
  font-size: 1.35rem;
}

.article-body h4 {
  margin: 1.6em 0 0.6em;
  font-size: 1.08rem;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body table,
.article-body blockquote,
.article-body figure {
  margin-bottom: 1.25em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.35em;
}

.article-body li + li {
  margin-top: 0.45em;
}

.article-body a {
  color: var(--teal-deep);
}

.article-body img {
  width: 100%;
  height: auto;
  margin: 1.8em 0;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.article-body figure {
  margin-inline: 0;
}

.article-body figcaption {
  margin-top: -1.2em;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.74rem;
}

.article-body blockquote {
  padding: 22px 26px;
  color: var(--ink-soft);
  background: #e7f1ef;
  border-left: 5px solid var(--teal);
}

.article-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-family: var(--body);
  font-size: 0.82rem;
}

.article-body th,
.article-body td {
  min-width: 120px;
  padding: 10px 12px;
  text-align: left;
  border: 1px solid var(--line);
}

.article-body th {
  color: var(--white);
  background: var(--teal-deep);
}

.article-aside {
  align-self: start;
  padding-top: 10px;
  border-top: 3px solid var(--coral);
}

.article-aside p {
  color: var(--muted);
  font-size: 0.78rem;
}

.article-aside strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 1.2rem;
}

.article-aside a {
  color: var(--teal-deep);
  font-weight: 800;
}

.legal-copy {
  max-width: 820px;
  margin-inline: auto;
}

.legal-copy h2 {
  margin: 2em 0 0.55em;
  font-size: 2rem;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-soft);
}

.site-footer {
  padding: 66px 0 28px;
  color: #cbd9da;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.footer-brand img {
  width: 220px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 330px;
  margin: 0;
  color: #9db2b4;
  font-size: 0.84rem;
}

.footer-col h2 {
  margin-bottom: 17px;
  color: var(--white);
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.footer-col ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 8px;
}

.footer-col a {
  color: #b9cacc;
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--aqua);
}

.footer-contact a {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.05rem;
  text-decoration: none;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: #91a6a8;
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: inherit;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .header-inner {
    grid-template-columns: 210px 1fr auto;
    gap: 18px;
  }

  .brand,
  .brand img {
    width: 190px;
  }

  .site-nav ul {
    gap: 20px;
  }

  .header-contact {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 36px;
  }

  .home-hero h1 {
    font-size: 4.8rem;
  }

  .section-split {
    gap: 56px;
  }

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

  .article-layout {
    grid-template-columns: minmax(0, 720px);
  }

  .article-aside {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(var(--shell), calc(100% - 32px));
  }

  .site-header,
  .header-inner {
    min-height: 68px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand,
  .brand img {
    width: 178px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 0;
    display: none;
    padding: 28px 18px;
    background: var(--ink);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    display: block;
  }

  .site-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }

  .site-nav a {
    min-height: 58px;
    font-family: var(--display);
    font-size: 1.25rem;
  }

  .home-hero {
    height: clamp(510px, calc(100svh - 102px), 650px);
  }

  .home-hero > img {
    object-position: 62% center;
  }

  .home-hero::before {
    background: rgba(3, 20, 25, 0.78);
  }

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

  .home-hero h1 {
    font-size: 4rem;
  }

  .hero-copy {
    max-width: 580px;
  }

  .hero-ledger {
    display: none;
  }

  .library-head,
  .section-split,
  .process-head,
  .content-grid,
  .content-grid.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .article-index {
    grid-template-columns: 1fr;
  }

  .section-intro h2,
  .about-copy h2 {
    font-size: 3rem;
  }

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

  .stack-head {
    display: block;
  }

  .stack-head h2 {
    margin-bottom: 14px;
  }

  .about-band {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 440px;
  }

  .about-copy {
    padding: 58px 24px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .page-mast h1,
  .article-mast h1 {
    font-size: 3.6rem;
  }

  .hub-list {
    grid-template-columns: 1fr;
  }

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

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .home-hero {
    height: clamp(500px, calc(100svh - 92px), 610px);
    min-height: 500px;
  }

  .home-hero > img {
    object-position: 58% center;
  }

  .home-hero h1 {
    font-size: 3.15rem;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .article-library {
    padding-block: 42px;
  }

  .library-head {
    margin-bottom: 20px;
  }

  .library-head h2,
  .section-intro h2,
  .process-head h2,
  .about-copy h2,
  .cta-inner h2,
  .content-grid h2,
  .contact-note h2 {
    font-size: 2.45rem;
  }

  .article-index a {
    min-height: 70px;
  }

  .services-band,
  .content-band {
    padding-block: 64px;
  }

  .service-list summary {
    grid-template-columns: 32px minmax(0, 1fr) 20px;
    min-height: 72px;
  }

  .service-list summary strong {
    font-size: 1.12rem;
  }

  .service-detail {
    padding-left: 46px;
  }

  .process-band {
    padding-block: 64px;
  }

  .process-grid,
  .capability-grid,
  .logo-rail {
    grid-template-columns: 1fr;
  }

  .process-step,
  .capability {
    min-height: 0;
  }

  .process-step span,
  .capability span {
    margin-bottom: 18px;
  }

  .about-visual {
    min-height: 360px;
  }

  .cta-band {
    padding-block: 52px;
  }

  .page-mast,
  .article-mast {
    padding-block: 58px 50px;
  }

  .page-mast h1,
  .article-mast h1 {
    font-size: 2.7rem;
  }

  .page-mast p {
    font-size: 0.95rem;
  }

  .content-visual,
  .content-visual img {
    min-height: 280px;
  }

  .article-feature {
    width: calc(100% - 32px);
  }

  .article-layout {
    padding-block: 48px 64px;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.74;
  }

  .article-body h2 {
    font-size: 1.65rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

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

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

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

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