/* JHJ Technology — site styles */

:root {
  --brand: #0bbcbe;
  --brand-dark: #05a7a9;
  --brand-ink: #067a7c;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --night: #0b1220;
  --night-2: #111a2e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-hover: 0 2px 4px rgba(15, 23, 42, .06), 0 16px 40px rgba(15, 23, 42, .10);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
.grid + p { margin-top: 36px; }
.spaced { margin-top: 56px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

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

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 12px;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: #04252a;
  font: inherit;
  font-weight: 650;
  font-size: .98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.button:hover { background: #2fd0d2; color: #04252a; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 188, 190, .3); }
.button-small { padding: 8px 16px; font-size: .9rem; }
.button-large { padding: 15px 28px; font-size: 1.05rem; }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button-ghost:hover { background: var(--bg-soft); color: var(--ink); box-shadow: none; }

.more { font-weight: 650; text-decoration: none; color: var(--brand-ink); }
.more:hover { text-decoration: underline; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -.01em;
  font-size: 1.08rem;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { display: block; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block;
  padding: 8px 14px;
  color: var(--text);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 550;
  border-bottom: 2px solid transparent;
}
.site-nav li a:hover { color: var(--ink); }
.site-nav li a.current { color: var(--ink); border-bottom-color: var(--brand); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { display: none; }

@media (max-width: 860px) {
  .nav-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    position: relative;
    transition: transform .2s, background .2s;
  }
  .nav-toggle-label span::before,
  .nav-toggle-label span::after { content: ""; position: absolute; }
  .nav-toggle-label span::before { top: -7px; }
  .nav-toggle-label span::after { top: 7px; }
  .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked + .nav-toggle-label span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:focus-visible + .nav-toggle-label { outline: 3px solid var(--brand); border-radius: 8px; }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 8px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav li a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-nav li a.current { border-bottom-color: var(--line); color: var(--brand-ink); }
  .site-nav .button { justify-content: center; }
}

/* Hero */

.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 72px;
  align-items: end;
  padding: 96px 0 56px;
}
.hero h1, .page-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.08;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 28px; }
.hero h1 mark {
  color: inherit;
  background: linear-gradient(transparent 62%, rgba(11, 188, 190, .38) 62%);
  padding: 0 .05em;
}
.hero .lead { font-size: 1.2rem; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.hero-mail { color: var(--text); font-weight: 550; }

.hero-quote {
  margin: 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--brand);
}
.hero-quote blockquote { margin: 0; }
.hero-quote p {
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}
.hero-quote figcaption { display: flex; flex-direction: column; margin-top: 16px; font-size: .95rem; }
.hero-quote figcaption strong { color: var(--ink); }
.hero-quote figcaption span { color: var(--muted); }

.hero-clients { padding: 24px 0 32px; border-top: 1px solid var(--line); }
.hero-clients p { margin: 0; color: var(--muted); }
.hero-clients a { color: var(--ink); font-weight: 600; text-decoration-color: rgba(11, 188, 190, .6); }
.hero-clients a:hover { color: var(--brand-ink); }
.hero-latest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px !important; }
.hero-latest .latest-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: #0a5254; padding: 3px 9px; border-radius: 999px;
}
.hero-latest a { text-decoration-color: rgba(11, 188, 190, .6); }
.hero-latest .latest-arrow { color: var(--brand-ink); }

/* Page hero (inner pages) */

.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); max-width: 22ch; }
.page-hero .lead { margin: 0; }

/* Sections */

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--night); color: #94a3b8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--brand); }
.section-dark .lead { color: #94a3b8; }
.section-dark .button-ghost { color: #fff; border-color: rgba(255, 255, 255, .2); }
.section-dark .button-ghost:hover { background: rgba(255, 255, 255, .06); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .lead { margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* Cards */

.card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #cbd5e1; color: var(--text); }
.card p:last-of-type { margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 20px; }

.icon { width: 28px; height: 28px; }
.service-card .icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 12px;
  color: var(--brand-ink);
  background: rgba(11, 188, 190, .12);
}

.client-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.client-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.client-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.client-card-body .eyebrow { margin-bottom: 6px; }
.client-card-body p { font-size: .97rem; }
.client-card-body .more { margin-top: auto; padding-top: 16px; }

/* With 3n+1 clients, feature the first one full-width so no card is left on its own row. */
.grid-3 > .client-card:first-child:nth-last-child(3n+1) { grid-column: 1 / -1; flex-direction: row; }
.grid-3 > .client-card:first-child:nth-last-child(3n+1) img { width: 50%; aspect-ratio: auto; min-height: 280px; }
.grid-3 > .client-card:first-child:nth-last-child(3n+1) .client-card-body { padding: 40px 44px; justify-content: center; }
.grid-3 > .client-card:first-child:nth-last-child(3n+1) h3 { font-size: 1.5rem; }
.grid-3 > .client-card:first-child:nth-last-child(3n+1) .more { margin-top: 0; }

.plan-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan-card .plan-price { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--brand-ink); margin-bottom: 12px; }
.plan-card { position: relative; }
.plan-card .step { position: absolute; top: 28px; right: 32px; font-family: var(--serif); font-size: 1.6rem; color: #cbd5e1; }
.services-ways { margin-bottom: 8px; }
.services-ways .engagements { margin: 32px 0 8px; }
.engagements-note { margin: 20px 0 0; color: var(--muted); font-size: .95rem; }
.engagements-actions { margin-top: 32px; }
.plan-card-featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }


/* Articles */

.article-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.article-card-image img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-card-image img { transform: scale(1.03); }
.article-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { font-size: 1.3rem; margin: 6px 0 10px; }
.article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover { color: var(--brand-ink); }
.article-card .more { margin-top: auto; padding-top: 12px; }
.article-card-featured { grid-column: 1 / -1; flex-direction: row; }
.article-card-featured .article-card-image { width: 55%; flex: none; }
.article-card-featured .article-card-image img { height: 100%; aspect-ratio: auto; min-height: 300px; }
.article-card-featured .article-card-body { padding: 40px 44px; justify-content: center; }
.article-card-featured h3 { font-size: 1.7rem; }
.article-card-featured .more { margin-top: 8px; }
.article-meta { font-size: .85rem; color: var(--muted); font-weight: 550; }

.article-hero .container { max-width: 860px; }
.article-hero h1 { max-width: none; font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin-top: 12px; }
.article-hero .lead { font-size: 1.25rem; margin: 0 0 20px; max-width: none; }
.article-back { font-size: .9rem; font-weight: 600; text-decoration: none; }
.article-section { padding-top: 56px; }
.article-body { max-width: 860px; }
.article-image { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 48px; }
.article-body .prose { max-width: 720px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; }
.article-body .prose > p:first-child { font-size: 1.3rem; line-height: 1.6; color: var(--ink); }
.article-body .prose h2 { font-size: 1.7rem; margin: 2.2em 0 .6em; }
.article-body .prose h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
.article-body .prose ul, .article-body .prose ol { padding-left: 1.4em; }
.article-body .prose li { margin-bottom: .7em; }
.article-body .prose li::marker { color: var(--brand); }
.article-body .prose strong { color: var(--ink); }

.author-box { display: flex; gap: 20px; align-items: flex-start; max-width: 720px; margin: 56px auto 0; padding: 28px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.author-box strong { color: var(--ink); }
.author-box p { margin: 4px 0 0; font-size: .98rem; }
.author-initials { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #0a5254; color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }

/* Steps */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 16px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 22px 24px 22px 76px;
  border-radius: var(--radius);
  background: var(--night-2);
  border: 1px solid rgba(255, 255, 255, .06);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 22px;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--brand);
}
.steps h3 { margin-bottom: 4px; font-size: 1.1rem; }
.steps p { margin: 0; font-size: .97rem; }

/* Testimonials */

.testimonial {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 550;
  letter-spacing: -.01em;
}
.testimonial blockquote p::before { content: "\201C"; color: var(--brand); }
.testimonial blockquote p::after { content: "\201D"; color: var(--brand); }
.testimonial figcaption { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; }
.testimonial figcaption strong { color: var(--ink); }
.testimonial figcaption span { color: var(--muted); font-size: .95rem; }

/* Long-form content (org/pandoc output) */

.prose { max-width: 860px; }
.prose-wide { max-width: none; }
.prose > div > p:first-child { font-size: 1.2rem; line-height: 1.65; color: var(--ink); }
.prose .signoff { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--ink); margin: 32px 0 28px; }
.prose .signoff::before { content: "\2014\00a0"; }
.prose.prose-wide img.figure { width: min(40%, 500px); margin-left: 48px; }
.prose::after { content: ""; display: block; clear: both; }
.prose h2 { margin-top: 1.6em; padding-top: .2em; }
.prose h2:first-child, .prose > div > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; clear: both; }
.prose blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg-soft);
  color: var(--ink);
}
.prose blockquote p:last-child { margin-bottom: 0; color: var(--muted); font-size: .95rem; }
.prose blockquote strong { color: var(--ink); }
.prose img.figure {
  float: right;
  width: 340px;
  margin: 6px 0 24px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.prose img.figure-left { float: left; margin: 6px 36px 24px 0; }
.prose .client-banner {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}
.prose table { border-collapse: collapse; width: 100%; margin: 24px 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--bg-soft); padding: 2px 5px; border-radius: 5px; }

/* Featured work */

.feature-card {
  padding: 56px;
  border-radius: var(--radius);
  background: #0a5254;
  color: #bfe6e6;
}
.feature-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.feature-head h2 { color: #fff; margin: 0; }
.feature-head .eyebrow { color: #7fd8d8; }
.feature-head p { margin: 0; font-size: 1.1rem; }
.feature-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0 0 40px; }
.feature-facts > div { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); }
.feature-facts dt { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: #fff; line-height: 1.1; margin-bottom: 8px; }
.feature-facts dd { margin: 0; }
.feature-card .more { color: #fff; }
.feature-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; }

/* Video testimonial */

.video-testimonial { margin: 0; }
.video-testimonial video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--night);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.video-testimonial figcaption { display: flex; flex-direction: column; margin-top: 14px; font-size: .95rem; }
.video-testimonial figcaption strong { color: var(--ink); }
.video-testimonial figcaption span { color: var(--muted); }
.prose .video-testimonial { margin: 32px 0; }
.split.meet, .split.about-intro { align-items: center; }

/* Community */

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; }
.mosaic img:first-child { grid-column: span 2; grid-row: span 2; }
.community-quote { margin-top: 40px; max-width: 640px; }

/* People */

.people-grid { columns: 3 320px; column-gap: 24px; }
.person-quote { break-inside: avoid; margin: 0 0 24px; padding: 28px; }
.person-quote blockquote { margin: 0 0 20px; }
.person-quote blockquote p { margin: 0; color: var(--ink); }
.person-quote figcaption { display: flex; align-items: center; gap: 14px; font-size: .95rem; }
.person-quote img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.person-quote figcaption > span { display: flex; flex-direction: column; }
.person-quote figcaption strong { color: var(--ink); }
.person-quote figcaption span span { color: var(--muted); }


/* Footer & contact */

.site-footer { background: var(--night); color: #94a3b8; }

.contact-band { padding: 96px 0; background: #0a5254; color: #d5f0f0; }
.contact-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; }
.contact-band h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -.015em;
  max-width: 20ch;
  color: #fff;
}
.contact-band .lead { color: #bfe6e6; }

.contact-band .button { background: #fff; color: var(--ink); }
.contact-band .button:hover { background: #e6f7f7; color: var(--ink); box-shadow: none; }

.contact-list { margin: 8px 0 0; padding-left: 28px; border-left: 3px solid var(--brand); }
.contact-list > div { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.contact-list > div:last-child { border-bottom: 0; }
.contact-list dt { font-size: .9rem; color: #9fd8d8; }
.contact-list dd { margin: 2px 0 0; color: #fff; font-size: 1.1rem; font-weight: 600; }
.contact-list a { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.contact-list a:hover { text-decoration-color: #fff; }

.site-footer .brand { color: #fff; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 48px;
  padding: 56px 0 32px;
}
.footer-brand p { margin-top: 16px; max-width: 40ch; font-size: .95rem; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: .95rem; text-transform: none; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-inner li { margin-bottom: 8px; }
.footer-inner li a { color: #94a3b8; text-decoration: none; font-size: .95rem; }
.footer-inner li a:hover { color: #fff; text-decoration: underline; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .85rem;
  color: #64748b;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-inner, .split, .contact-inner, .feature-head { grid-template-columns: 1fr; gap: 40px; }
  .feature-head { gap: 16px; }
  .feature-facts { grid-template-columns: 1fr; gap: 20px; }
  .feature-card { padding: 32px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .hero-inner { padding: 64px 0 40px; align-items: start; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 40px); }
  .section, .contact-band { padding: 64px 0; }
  .page-hero { padding: 56px 0 44px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .article-card-featured { flex-direction: column; }
  .article-card-featured .article-card-image { width: 100%; }
  .article-card-featured .article-card-image img { min-height: 0; aspect-ratio: 16 / 8; }
  .article-card-featured .article-card-body { padding: 24px 28px 28px; }
  .grid-3 > .client-card:first-child:nth-last-child(3n+1) { flex-direction: column; }
  .grid-3 > .client-card:first-child:nth-last-child(3n+1) img { width: 100%; aspect-ratio: 16 / 9; min-height: 0; }
  .grid-3 > .client-card:first-child:nth-last-child(3n+1) .client-card-body { padding: 24px 28px 28px; }
  .card:not(.client-card):not(.article-card) { padding: 24px; }
  .prose img.figure, .prose img.figure-left, .prose.prose-wide img.figure { float: none; width: 100%; margin: 0 0 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .steps li { padding-left: 64px; }
}

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