html:has(.w4-about) {
  background: var(--w4-paper);
  color: var(--w4-ink);
}
.w4-about {
  margin: 0;
  font: 400 1rem/1.65 'DM Sans', system-ui, sans-serif;
}
.w4-about *, .w4-about *::before { box-sizing: border-box; }
.w4-about-wrap, .w4-about > footer .page-wrap { width: min(1340px, calc(100% - 64px)); margin-inline: auto; }
.w4-about-intro {
  --about-hero-bg: var(--w4-accent);
  --about-hero-muted: #34422a;
  position: relative;
  isolation: isolate;
  padding-block: clamp(45px, 8vw, 108px) clamp(26px, 4vw, 58px);
  background: var(--about-hero-bg);
  color: var(--w4-ink);
}
[data-theme="forest"] .w4-about-intro {
  --about-hero-bg: #18211b;
  --about-hero-muted: #c2cbbd;
}
[data-theme="bento"] .w4-about-intro {
  --about-hero-bg: var(--w4-paper);
  --about-hero-muted: var(--w4-muted);
}
.w4-about-intro::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  opacity: 0.14;
  background-image:
    linear-gradient(currentColor 1px, transparent 1px),
    linear-gradient(90deg, currentColor 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(115deg, rgba(0,0,0,0.45) 0%, transparent 65%);
  mask-image: linear-gradient(115deg, rgba(0,0,0,0.45) 0%, transparent 65%);
}
.about-kicker, .industry-labels {
  margin: 0 0 14px;
  color: var(--w4-signal);
  font: 600 .74rem/1.4 'JetBrains Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end;
  gap: 24px clamp(28px, 6vw, 90px);
}
.w4-about h1, .w4-about h2, .w4-about main h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.06;
  letter-spacing: -.04em;
}
.w4-about h1 { max-width: 15ch; font-size: clamp(2.75rem, 6vw, 6.2rem); letter-spacing: -.075em; }
.about-lead p { margin: 0 0 1em; max-width: 56ch; color: var(--about-hero-muted); }
.about-lead p:first-child { color: var(--w4-ink); font-size: clamp(1.06rem, 1.5vw, 1.28rem); }
.about-lead p:last-child { margin-bottom: 0; }
.about-jump { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: clamp(24px, 4vw, 48px); }
.about-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--w4-ink);
  text-underline-offset: .24em;
  font-weight: 600;
  font-size: .92rem;
}
.w4-about main :focus-visible { outline: 2px solid var(--w4-signal); outline-offset: 3px; }
.w4-about-section { border-top: 1px solid var(--w4-line); padding-block: clamp(38px, 6vw, 84px); }
.w4-about h2 { max-width: 22ch; font-size: clamp(2rem, 4.3vw, 4rem); letter-spacing: -.065em; }
.w4-about main h3 { font-size: clamp(1.17rem, 2vw, 1.6rem); }
.about-section-lead { max-width: 65ch; margin: 14px 0 24px; color: var(--w4-muted); font-size: clamp(1rem, 1.4vw, 1.13rem); }
.about-benefits, .industry-list, .about-process, .technology-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--w4-line);
}
.about-benefits li, .about-process li, .technology-row {
  display: grid;
  grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr);
  gap: 8px clamp(16px, 5vw, 70px);
  align-items: baseline;
  padding: 18px 12px;
  border-bottom: 1px solid var(--w4-line);
}
.about-benefits li, .about-process li {
  border-radius: 8px;
  transition: background-color 220ms cubic-bezier(.22,1,.36,1);
}
.w4-about main li p, .technology-row p { margin: 0; max-width: 64ch; color: var(--w4-muted); }
.about-industries { background: var(--w4-surface); }
.industry-labels, .industry-row {
  display: grid;
  grid-template-columns: minmax(0,.63fr) minmax(0,.78fr) minmax(0,1.59fr);
  gap: 8px clamp(14px, 3vw, 42px);
  align-items: baseline;
}
.industry-labels { margin: 20px 0 8px; padding-inline: 12px; }
.industry-row { padding: 14px 12px; border-bottom: 1px solid var(--w4-line); }
.about-industries .industry-row h3 { font-size: clamp(1rem, 1.52vw, 1.28rem); }
.industry-field { color: var(--w4-ink); font-weight: 650; }
.industry-row a, .about-index-link { color: var(--w4-signal); text-underline-offset: .25em; }
.about-index-link, .about-contact-link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; margin-top: 10px; font-weight: 700; }
.about-process { counter-reset: about-step; }
.about-process li { counter-increment: about-step; grid-template-columns: 2.3ch minmax(0,.65fr) minmax(0,1.35fr); column-gap: clamp(10px, 3vw, 42px); }
.about-process li::before {
  content: counter(about-step, decimal-leading-zero);
  font: 600 .79rem/1.3 'JetBrains Mono', monospace;
  color: var(--w4-signal);
}
.technology-row dt { font-weight: 700; color: var(--w4-ink); }
.technology-row dd { margin: 0; }
.technology-row strong { display: block; margin-bottom: 4px; }
.about-close { background: var(--w4-surface); }
.about-contact-link {
  margin-top: 0;
  padding: 10px 16px;
  color: var(--w4-contrast);
  background: var(--w4-accent);
  border-radius: 6px;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .about-benefits li:hover, .about-process li:hover { background: color-mix(in srgb, var(--w4-surface) 80%, var(--w4-ink) 5%); }
  .about-jump a:hover { color: var(--w4-signal); }
}
@media (min-width: 761px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.about-benefits,.about-process) li > * { transition: transform 220ms cubic-bezier(.22,1,.36,1); }
  :is(.about-benefits,.about-process) li:hover > * { transform: translateX(8px); }
}
@media (prefers-reduced-motion: no-preference) {
  .about-row-entered { animation: about-row-appear 520ms cubic-bezier(.22,1,.36,1) both; }
  @keyframes about-row-appear { from { opacity: .45; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 760px) {
  .about-intro-grid, .about-benefits li, .technology-row, .industry-row { grid-template-columns: minmax(0,1fr); }
  .industry-labels { display: none; }
  .industry-field { font-size: .85rem; color: var(--w4-muted); }
  .industry-row, .about-benefits li, .about-process li, .technology-row { padding-inline: 6px; }
  .industry-row a { display: inline-flex; align-items: center; min-height: 44px; }
  .about-process li { grid-template-columns: 2.3ch minmax(0,1fr); }
  .about-process li p { grid-column: 2; }
  .w4-about-section h2 { overflow-wrap: anywhere; }
}

/* Match the existing homepage footer styles and theme colors. */
.w4-about > footer {
  --bg-alt: #e9e7dc;
  --ink: var(--w4-ink);
  --line: var(--w4-line);
  --mono: 'JetBrains Mono', monospace;
}
[data-theme="forest"] .w4-about > footer { --bg-alt: #1a221d; --line: #f0f2e921; }
[data-theme="bento"] .w4-about > footer { --bg-alt: #0c0f14; --line: #ffffff17; }
.w4-about > footer a { color: inherit; text-decoration: none; }
.w4-about > footer .footer-contact { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.w4-about > footer .footer-contact a { text-decoration: underline; text-underline-offset: .2em; }
.w4-about > footer .icon-link { display: inline-flex; align-items: center; gap: 5px; }
.w4-about > footer .ico-ext { width: .92em; height: .92em; flex-shrink: 0; }

@media (max-width: 720px) {
  .w4-about-wrap, .w4-about > footer .page-wrap { width: calc(100% - 28px); }
}
