/* Keepseed — industrial-tech marketing theme
   Palette: ink, warm paper, seed green, muted gold.
   Type: Newsreader (display) + Source Sans 3 (UI/body), self-hosted. */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  font-optical-sizing: auto;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  font-optical-sizing: auto;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #10140f;
  --ink-soft: #1c221b;
  --ink-mid: #2a3228;
  --paper: #f3eee4;
  --paper-warm: #e8e1d2;
  --paper-bright: #f8f5ee;
  --seed: #3c6b45;
  --seed-deep: #245433;
  --seed-bright: #8fbf7a;
  --gold: #c4a35a;
  --gold-deep: #8a702e;
  --text: #161b14;
  --text-muted: #4a4f47;
  --rule: #d4cec0;
  --danger: #8b2e2e;
  --danger-bg: #f3e4e0;
  --focus: #3c6b45;
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 72rem;
  --wrap-readable: 42rem;
  --wrap-narrow: 36rem;
  --header-h: 4.25rem;
  --radius: 2px;
  --shadow: 0 12px 40px rgba(16, 20, 15, 0.08);
  --ease: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

a {
  color: var(--seed-deep);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--seed);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--seed-bright);
}

::selection {
  background: var(--seed);
  color: var(--paper-bright);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.wrap--readable { width: min(100% - 2.5rem, var(--wrap-readable)); }
.wrap--narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--paper-bright);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}

.btn--primary {
  background: var(--seed-deep);
  color: var(--paper-bright);
  border-color: var(--seed-deep);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-bright);
}

.hero .btn--primary,
.cta-band .btn--primary,
.btn--nav {
  background: var(--seed);
  border-color: var(--seed);
  color: var(--paper-bright);
}

.hero .btn--primary:hover,
.cta-band .btn--primary:hover,
.btn--nav:hover,
.hero .btn--primary:focus-visible,
.cta-band .btn--primary:focus-visible,
.btn--nav:focus-visible {
  background: var(--seed-bright);
  border-color: var(--seed-bright);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper-bright);
}

.btn--ghost-on-ink {
  color: var(--paper-bright);
  border-color: rgba(243, 238, 228, 0.45);
}

.btn--ghost-on-ink:hover {
  background: var(--paper-bright);
  color: var(--ink);
  border-color: var(--paper-bright);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(196, 163, 90, 0.28);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper-bright);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.site-logo:hover { color: var(--paper-bright); }

.site-logo__mark {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  color: var(--seed-bright);
}

.site-logo__mark svg,
.custom-logo {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo-link .custom-logo {
  width: auto;
  height: 1.85rem;
}

.site-logo__word { line-height: 1; }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--paper);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current-menu-ancestor > a {
  color: var(--paper-bright);
  border-bottom-color: var(--gold);
}

.nav-list .menu-item-has-children {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.submenu-toggle {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--paper);
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.submenu-toggle span {
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform var(--ease);
}

.submenu-toggle[aria-expanded="true"] span {
  transform: rotate(225deg) translate(-1px, -1px);
}

.nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: -1rem;
  min-width: 18rem;
  background: var(--paper-bright);
  color: var(--ink);
  list-style: none;
  padding: 0.5rem 0;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 20;
}

.nav-list .menu-item-has-children:hover > .sub-menu,
.nav-list .menu-item-has-children:focus-within > .sub-menu,
.nav-list .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-list .sub-menu a {
  display: block;
  color: var(--ink);
  padding: 0.55rem 1rem;
  border-bottom: 0;
  font-weight: 500;
}

.nav-list .sub-menu a:hover,
.nav-list .sub-menu .current-menu-item > a {
  background: var(--paper-warm);
  color: var(--seed-deep);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  color: var(--paper-bright);
  border: 1px solid rgba(243, 238, 228, 0.3);
  border-radius: var(--radius);
  min-height: 2.4rem;
  padding: 0.3rem 0.7rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle__box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.05rem;
  height: 0.75rem;
}

.nav-toggle__bar {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--ease), opacity var(--ease);
}

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

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

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

/* Hero */
.hero {
  background-color: var(--ink);
  color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(16, 20, 15, 0.12) 0%, rgba(16, 20, 15, 0.55) 58%, rgba(16, 20, 15, 0.2) 100%),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(196, 163, 90, 0.07) 80px),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(196, 163, 90, 0.07) 80px);
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3.5rem, 8vw, 7rem);
  border-bottom: 1px solid rgba(196, 163, 90, 0.22);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.kicker {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.85rem;
}

.kicker--on-ink,
.page-hero .kicker,
.hero .kicker,
.cta-band .kicker {
  color: var(--gold);
}

.hero__title {
  font-size: clamp(2.8rem, 6.6vw, 5.35rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--paper-bright);
  margin: 0 0 1.25rem;
}

.hero__line { display: block; }

.hero__line--italic {
  font-style: italic;
  font-weight: 450;
  color: var(--seed-bright);
}

.hero__lede,
.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 38rem;
}

.hero__lede {
  color: #d4cec0;
}

.hero__figure {
  display: flex;
  justify-content: center;
}

.hero__figure svg {
  width: 100%;
  height: auto;
  max-width: 36rem;
}

/* Page heroes (inner pages) */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5.25rem) 0 3.25rem;
  border-bottom: 1px solid rgba(196, 163, 90, 0.22);
}

.page-hero h1 {
  color: var(--paper-bright);
  margin-bottom: 0.75rem;
}

.page-hero .lede {
  color: #d4cec0;
}

.page-hero--404 { padding-bottom: 5rem; }

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--paper { background: var(--paper); }
.section--warm { background: var(--paper-warm); }

.section__intro {
  margin-bottom: 2.25rem;
  max-width: 40rem;
}

.section__lede {
  color: var(--text-muted);
  font-size: 1.15rem;
}

.section-cta { margin-top: 1.75rem; }

/* Capability cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.15rem;
  list-style: none;
}

.card-grid > li { grid-column: span 4; }

.capability-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  padding: 1.4rem 1.35rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.capability-card:hover,
.capability-card:focus-visible {
  border-color: var(--seed);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: inherit;
}

.capability-card__icon {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  color: var(--seed);
  margin-bottom: 1rem;
}

.capability-card__icon svg {
  width: 2.4rem;
  height: 2.4rem;
}

.capability-card__title {
  font-size: 1.3rem;
  margin-bottom: 0.45rem;
}

.capability-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  flex: 1 1 auto;
}

.capability-card__more {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--seed-deep);
  letter-spacing: 0.02em;
}

.capability-card:hover .capability-card__more {
  color: var(--ink);
}

/* Why + How */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
  list-style: none;
}

.why-item__num,
.how-step__num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.why-item h3,
.how-step h3 {
  margin-bottom: 0.35rem;
}

.why-item p,
.how-step p {
  color: var(--text-muted);
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  list-style: none;
  counter-reset: none;
}

.how-steps--stack { grid-template-columns: 1fr; }

.how-step {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gold);
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band__title {
  color: var(--paper-bright);
  margin-bottom: 0.4rem;
}

.cta-band p { color: #d4cec0; max-width: 34rem; }

/* Capability / about inner */
.callout {
  background: var(--paper-bright);
  border-left: 3px solid var(--gold);
  padding: 0.9rem 1.1rem;
  color: var(--text);
  margin: 0 0 1.4rem;
}

.example-list,
.plain-list {
  list-style: none;
}

.example-list li,
.plain-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  color: var(--text);
}

.example-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 1px;
  background: var(--seed);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

/* Prose (privacy, default pages) */
.prose {
  padding-bottom: 4rem;
}

.prose h2 { margin-top: 2rem; }

.entry-append {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

.contact-aside h2 { margin-bottom: 1rem; }

.contact-form-panel {
  background: var(--paper-bright);
  border: 1px solid var(--rule);
  padding: 1.75rem 1.6rem 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field { margin-bottom: 1rem; }

.form-field label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.req, .opt {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  color: var(--text);
  background: var(--paper);
  border: 1px solid #c9c3b6;
  border-radius: var(--radius);
  padding: 0.6rem 0.7rem;
  transition: border-color var(--ease), background-color var(--ease);
}

.form-field textarea { resize: vertical; min-height: 10rem; }

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--ink-mid);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--seed);
  outline-offset: 1px;
  border-color: var(--seed);
  background: #fff;
}

.form-field--error input,
.form-field--error select,
.form-field--error textarea {
  border-color: var(--danger);
  background: var(--danger-bg);
}

.field-error {
  color: var(--danger);
  font-size: 0.92rem;
  margin: 0.35rem 0 0;
}

.form-banner {
  padding: 0.85rem 1rem;
  margin-bottom: 1.15rem;
  border-left: 3px solid var(--danger);
  background: var(--danger-bg);
  color: var(--danger);
}

.form-thanks {
  background: var(--paper-bright);
  border: 1px solid var(--seed);
  padding: 2rem 1.6rem;
}

.form-thanks h2 { margin-bottom: 0.6rem; }

.form-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0.25rem 0 1.15rem;
}

.form-actions { margin: 0; }

/* Honeypot: visually hidden but present in the DOM for bots. */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #d4cec0;
  padding: 3.5rem 0 1.75rem;
  margin-top: auto;
  border-top: 1px solid rgba(196, 163, 90, 0.22);
}

.site-footer a {
  color: var(--paper);
  text-decoration: none;
}

.site-footer a:hover { color: var(--seed-bright); text-decoration: underline; }

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(243, 238, 228, 0.12);
}

.site-footer__blurb {
  margin-top: 1rem;
  max-width: 28rem;
  color: #d4cec0;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.footer-nav,
.site-footer .menu {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1.5rem;
  margin: 0;
  padding: 0;
}

.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  font-size: 0.95rem;
}

.site-footer__legal .sep { margin: 0 0.55rem; color: var(--gold); }

.site-footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--seed-bright);
  margin: 0;
}

/* 404 / empty */
.entry { margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero__figure { order: -1; max-width: 28rem; margin-inline: auto; }

  .how-steps { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }

  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 880px) {
  .card-grid > li { grid-column: span 6; }

  .why-grid,
  .split,
  .site-footer__grid { grid-template-columns: 1fr; }

  .nav-toggle { display: none; }
  html.js .nav-toggle { display: inline-flex; }

  .site-header__inner { flex-wrap: wrap; }

  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0 0 1rem;
  }

  html.js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-basis: auto;
    background: var(--ink-soft);
    border-bottom: 1px solid rgba(196, 163, 90, 0.28);
    padding: 0.75rem 1.25rem 1.25rem;
  }

  html.js .site-nav.is-open { display: flex; }

  html:not(.js) .nav-list .sub-menu { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list .menu-item-has-children {
    flex-wrap: wrap;
  }

  .nav-list .menu-item-has-children > a { flex: 1; }

  .nav-list .sub-menu {
    position: static;
    min-width: 0;
    width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0.15rem 0 0.5rem 0.75rem;
  }

  .nav-list .menu-item-has-children.is-open > .sub-menu,
  .nav-list .menu-item-has-children:focus-within > .sub-menu {
    display: block;
  }

  .nav-list .sub-menu a {
    color: var(--paper);
    padding: 0.45rem 0;
  }

  .nav-list .sub-menu a:hover,
  .nav-list .sub-menu .current-menu-item > a {
    background: transparent;
    color: var(--seed-bright);
  }

  .btn--nav { justify-content: center; width: 100%; }
}

@media (max-width: 640px) {
  .wrap,
  .wrap--readable,
  .wrap--narrow { width: min(100% - 1.5rem, var(--wrap)); }

  body { font-size: 1.0625rem; }

  .card-grid > li { grid-column: span 12; }

  .form-row { grid-template-columns: 1fr; }

  .footer-nav,
  .site-footer .menu { grid-template-columns: 1fr; }

  .hero { padding-top: 2.5rem; }
}

@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;
  }

  .capability-card:hover { transform: none; }
}

@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .cta-band,
  .hero-actions,
  .form-actions,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .hero,
  .page-hero,
  .section,
  .contact-form-panel {
    background: #fff !important;
    color: #000 !important;
    border: 0;
    padding: 1rem 0;
  }

  .hero__title,
  .page-hero h1,
  h1, h2, h3 { color: #000; }

  a { color: #000; text-decoration: underline; }

  .hero__figure { display: none; }

  .wrap { width: auto; }
}
