/* ====== Site Chrome Styles ====== */

/* Nav */
.opv-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.opv-nav.is-scrolled { border-bottom-color: var(--line); }
.opv-nav.is-dark {
  background: color-mix(in oklab, #0E1A17 90%, transparent);
  color: var(--fg-inverse);
}
.opv-nav.is-dark.is-scrolled { border-bottom-color: var(--line-dark); }

.opv-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.opv-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.opv-nav-links a {
  font-size: 14px;
  font-weight: 450;
  color: var(--fg-muted);
  letter-spacing: -0.005em;
  transition: color 160ms var(--ease);
  position: relative;
  padding: 6px 0;
}
.opv-nav-links a:hover { color: var(--fg); }
.opv-nav-links a.is-current { color: var(--fg); }
.opv-nav-links a.is-current::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
}
.opv-nav.is-dark .opv-nav-links a { color: var(--fg-subtle); }
.opv-nav.is-dark .opv-nav-links a:hover,
.opv-nav.is-dark .opv-nav-links a.is-current { color: var(--fg-inverse); }

@media (max-width: 880px) {
  .opv-nav-links { display: none !important; }
}

.opv-nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Wordmark */
.opv-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.opv-wordmark-text {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lang-toggle button,
.lang-toggle a {
  padding: 4px 8px;
  color: var(--fg-muted);
  border-bottom: 1px solid transparent;
}
.lang-toggle button.is-active,
.lang-toggle a.is-active {
  color: var(--fg);
  border-bottom-color: var(--fg);
}
.lang-toggle .sep { color: var(--fg-muted); }

/* Footer */
.opv-footer {
  background: var(--bg-deep);
  color: var(--fg-inverse);
  padding: 96px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  align-items: start;
}
.footer-brand .lead {
  margin-top: 24px;
  color: var(--fg-muted);
  max-width: 32ch;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-cols ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-cols a {
  color: var(--fg-muted);
  font-size: 14px;
  transition: color 160ms var(--ease);
}
.footer-cols a:hover { color: var(--fg-inverse); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ====== Landing-specific ====== */

/* Hero */
.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}
.hero-eyebrow {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: var(--bg);
}
.hero-eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 50%, transparent);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); }
  70%  { box-shadow: 0 0 0 8px color-mix(in oklab, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 0%, transparent); }
}

.hero-display { margin-top: 28px; }
.hero-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-meta .item {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-meta .num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-meta .lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Small hedge/footnote under stat strips */
.stat-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--fg-muted);
  margin: 12px 0 0;
}

/* CTA row */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* === Section header === */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 880px) {
  .sec-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
}
.sec-head .left .num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid color-mix(in oklab, var(--accent) 25%, transparent);
  border-radius: 999px;
  background: var(--accent-tint);
  white-space: nowrap;
}

/* === Capabilities grid === */
.caps {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.cap {
  grid-column: span 4;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 32px 28px;
  background: var(--bg);
  cursor: default;
  transition: background 200ms var(--ease);
  position: relative;
  min-height: 280px;
  display: flex; flex-direction: column;
}
.cap:hover { background: var(--bg-elev); }
.cap:nth-child(3n) { border-right: 0; }
.cap-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-subtle);
  margin-bottom: 24px;
}
.cap-title {
  font-size: 22px;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 0 0 12px;
}
.cap-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  flex: 1;
}
.cap-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 20px;
}
@media (max-width: 880px) {
  .cap { grid-column: span 12; border-right: 0; }
}
@media (max-width: 1080px) and (min-width: 881px) {
  .cap { grid-column: span 6; }
  .cap:nth-child(3n) { border-right: 1px solid var(--line); }
  .cap:nth-child(2n) { border-right: 0; }
}

/* === Architecture panel === */
.arch-panel {
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  overflow: hidden;
}
.arch-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.arch-row:last-child { border-bottom: 0; }
.arch-row-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 500;
  white-space: nowrap;
  min-width: 120px;
}
.arch-row-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.arch-pill {
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg);
  background: var(--bg);
  font-weight: 500;
  white-space: nowrap;
}
.arch-core {
  padding: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  align-items: stretch;
}
.arch-core-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 500;
  margin-bottom: 16px;
}
.arch-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.arch-mod {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px;
  min-height: 64px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-right: -1px;
  margin-bottom: -1px;
}
.arch-mod-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 4px;
}
.arch-mod-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}
@media (max-width: 880px) {
  .arch-modules { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .arch-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .arch-modules { grid-template-columns: 1fr; }
}

/* === Pain/Gain === */
.pgs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.pg {
  display: grid;
  grid-template-columns: 64px 1fr 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.pg:last-child { border-bottom: 1px solid var(--line); }
.pg .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-subtle);
  letter-spacing: 0.04em;
  padding-top: 4px;
}
.pg .pain h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--fg);
}
.pg .pain p { color: var(--fg-muted); font-size: 14px; max-width: 46ch; margin: 0; }
.pg .gain {
  background: var(--accent-tint);
  padding: 24px;
  border-radius: var(--r-md);
}
.pg .gain .lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pg .gain p { font-size: 15px; color: var(--fg); margin: 0; line-height: 1.55; }
@media (max-width: 880px) {
  .pg { grid-template-columns: 1fr; gap: 16px; }
  .pg .idx { padding-top: 0; }
}

/* === ROI metrics === */
.roi {
  background: var(--bg-deep);
  color: var(--fg-inverse);
}
.roi .container { padding-top: 0; padding-bottom: 0; }
.roi .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
}
.roi .cell {
  border-right: 1px solid var(--line-dark);
  padding: 48px 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.roi .cell:last-child { border-right: 0; }
.roi .cell .big {
  font-family: var(--font-serif);
  font-size: 84px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--fg-inverse);
}
.roi .cell .big sup { font-size: 0.45em; vertical-align: super; color: var(--fg-muted); margin-left: 4px; font-family: var(--font-sans); font-weight: 500; }
.roi .cell .lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-subtle);
  text-transform: uppercase;
}
.roi .cell .desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  max-width: 32ch;
}
@media (max-width: 1080px) {
  .roi .grid { grid-template-columns: repeat(2, 1fr); }
  .roi .cell:nth-child(2n) { border-right: 0; }
  .roi .cell { border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 600px) {
  .roi .grid { grid-template-columns: 1fr; }
  .roi .cell { border-right: 0 !important; }
}

/* === Industry tabs === */
.industries .tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
  overflow-x: auto;
}
.industries .tab {
  padding: 18px 28px 18px 0;
  margin-right: 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: -0.01em;
  position: relative;
  transition: color 180ms var(--ease);
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
}
.industries .tab .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-right: 12px;
  color: var(--fg-subtle);
  vertical-align: 1px;
}
.industries .tab.is-active { color: var(--fg); }
.industries .tab.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 28px; bottom: -1px;
  height: 1px; background: var(--accent);
}
.industries .panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 1080px) {
  .industries .panel { grid-template-columns: 1fr; gap: 48px; }
}
.industries .panel-l h3 { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 16px; }
.industries .panel-l p { color: var(--fg-muted); font-size: 15px; max-width: 50ch; margin: 0 0 24px; }
.industries .uses { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.industries .use {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
}
.industries .use .mark {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-top: 3px;
}
.industries .use h4 { font-size: 15px; font-weight: 500; margin: 0 0 4px; letter-spacing: -0.005em; }
.industries .use p { font-size: 13px; color: var(--fg-muted); margin: 0; line-height: 1.5; }

/* === CTA strip === */
.cta-strip {
  background: var(--bg-deep);
  color: var(--fg-inverse);
  padding: 120px 0;
}
.cta-strip .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 1080px) {
  .cta-strip .grid { grid-template-columns: 1fr; gap: 40px; }
}
.cta-strip h2 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, var(--step-4));
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  color: var(--fg-inverse);
}
.cta-strip h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.cta-strip .points {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
}
.cta-strip .point {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
}
.cta-strip .point .mark { color: #3AAFA4; font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; }
.cta-strip .point .txt { font-size: 14px; color: var(--fg-inverse); line-height: 1.55; }
.cta-strip .point .txt strong,
.cta-strip .point .txt strong span { font-weight: 600; color: #fff; }
.cta-strip .point .txt span { color: #7B8A84; }
.cta-strip .btn-primary { background: var(--fg-inverse); color: var(--bg-deep); }
.cta-strip .btn-primary:hover { background: #fff; }
.cta-strip .btn-ghost { border-color: var(--line-strong); color: var(--fg-inverse); }
.cta-strip .btn-ghost:hover { background: var(--bg-deep-2); border-color: var(--fg-inverse); }

/* Light section spacer line */
.full-rule { border-top: 1px solid var(--line); }

/* ======================================================================
   Mobile responsive hardening
   Goal: zero horizontal scroll on phones + a real mobile nav.
   ====================================================================== */

/* Never allow horizontal overflow to escape the page. `clip` (not `hidden`)
   so it doesn't create a scroll container and break the sticky nav. */
html, body { overflow-x: clip; max-width: 100%; }

/* Media and embeds must never exceed their container. */
img, svg, video, canvas, iframe { max-width: 100%; }

/* Long, unbreakable tokens in big display type should wrap, not overflow. */
h1, h2, h3, .h-display, .h-1, .h-2, .h-3 { overflow-wrap: break-word; }

/* Grid/flex children default to min-width:auto, which lets intrinsic content
   (e.g. the hero diagram) stretch the track wider than the viewport. Allow
   them to shrink so single-column mobile layouts stay within bounds. */
.hero-grid > *,
.industries .panel > *,
.industries .use,
.cta-strip .grid > * { min-width: 0; }

/* ---- Hamburger toggle (injected by main.js, shown only on mobile) ---- */
.opv-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -10px -10px -10px 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.opv-nav-toggle-bars,
.opv-nav-toggle-bars span {
  display: block;
}
.opv-nav-toggle-bars {
  position: relative;
  width: 22px;
  height: 14px;
}
.opv-nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 220ms var(--ease), opacity 160ms var(--ease), top 220ms var(--ease);
}
.opv-nav-toggle-bars span:nth-child(1) { top: 0; }
.opv-nav-toggle-bars span:nth-child(2) { top: 6.25px; }
.opv-nav-toggle-bars span:nth-child(3) { top: 12.5px; }
.opv-nav-toggle.is-open .opv-nav-toggle-bars span:nth-child(1) { top: 6.25px; transform: rotate(45deg); }
.opv-nav-toggle.is-open .opv-nav-toggle-bars span:nth-child(2) { opacity: 0; }
.opv-nav-toggle.is-open .opv-nav-toggle-bars span:nth-child(3) { top: 6.25px; transform: rotate(-45deg); }

/* ---- Mobile menu scrim ---- */
.opv-mobile-scrim {
  position: fixed;
  top: var(--opv-nav-h, 68px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 48;
  background: color-mix(in oklab, var(--bg-deep) 42%, transparent);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}
.opv-mobile-scrim.is-open { opacity: 1; }

/* ---- Mobile menu panel ---- */
.opv-mobile-menu {
  position: fixed;
  top: var(--opv-nav-h, 68px);
  left: 0;
  right: 0;
  z-index: 49;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(9, 53, 48, 0.4);
  /* safe-area bottom padding keeps the CTA reachable on notched iPhones */
  padding: 16px var(--gutter, 24px) calc(28px + env(safe-area-inset-bottom, 0px));
  max-height: calc(100dvh - var(--opv-nav-h, 68px));
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 220ms var(--ease), opacity 180ms var(--ease);
}
.opv-mobile-menu.is-open { transform: translateY(0); opacity: 1; }
.opv-mobile-links {
  display: flex;
  flex-direction: column;
}
.opv-mobile-links a {
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  border-bottom: 1px solid var(--line);
}
.opv-mobile-links a.is-current { color: var(--accent); }
.opv-mobile-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  margin-top: 22px;
}
.opv-mobile-actions .lang-toggle { justify-content: flex-start; font-size: 13px; gap: 8px; }
.opv-mobile-actions .lang-toggle button,
.opv-mobile-actions .lang-toggle a {
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.opv-mobile-actions .btn {
  justify-content: center;
  width: 100%;
  /* override the inline padding carried over from the cloned in-bar CTA */
  padding: 15px 16px !important;
  font-size: 15px !important;
}
/* Scroll lock while the menu is open. Plain overflow:hidden on body is not
   enough on iOS Safari (it keeps scrolling anyway, which let the sticky
   header — and its close button — scroll off-screen under the open panel).
   Robust variant: fix the body at its current scroll offset (JS sets
   body.style.top = -scrollY on open and restores the position on close). */
body.opv-menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  /* the header leaves the flow when promoted to fixed below — compensate
     so the page content behind the scrim doesn't jump up */
  padding-top: var(--opv-nav-h, 68px);
}
/* With the body fixed, position:sticky no longer tracks a scroll container —
   promote the header to fixed so the logo + close toggle stay visible at the
   top of the viewport at all times while the menu is open. */
body.opv-menu-open .opv-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-top: env(safe-area-inset-top, 0px);
}

@media (max-width: 880px) {
  /* Hide the in-bar desktop actions; the hamburger + panel take over. */
  .opv-nav-inner > .opv-nav-actions { display: none; }
  .opv-nav-toggle { display: inline-flex; }
}
@media (min-width: 881px) {
  /* Keep the panel out of the way on desktop even if it was left open. */
  .opv-mobile-menu { display: none; }
}

/* Pill-style eyebrows: allow wrapping rather than overflowing on narrow phones. */
@media (max-width: 480px) {
  .hero-eyebrow { white-space: normal; }
  /* Tight display line-height crowds the serif-italic descenders on phones. */
  .h-display, .hero-display { line-height: 1.08; }
}

/* Hero KPI strip: 2x2 grid on phones instead of a 3+1 orphan wrap. */
@media (max-width: 600px) {
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
}

/* Mobile industry tab bar: fade the right edge + tighter spacing so the next
   tab visibly peeks at ~390px. Extra right padding keeps the last tab clear of
   the fade once scrolled to the end. */
@media (max-width: 720px) {
  .industries .tabs {
    padding-right: 56px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
  }
  .industries .tab {
    padding: 16px 10px 16px 0;
    margin-right: 18px;
    font-size: 15px;
  }
  .industries .tab .num { margin-right: 8px; }
  .industries .tab.is-active::after { right: 10px; }
}
