/* ==========================================================================
   Pentonix — site.css
   One design system. Sections: tokens · base · layout · header · buttons ·
   hero · home sections · inner pages · insights · contact · footer ·
   motion · responsive
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #061b3a;
  --navy-2: #0b2a55;
  --blue: #087ff5;
  --blue-dark: #0668c9;
  --cyan: #38d4ea;
  --white: #ffffff;
  --bg-light: #f6f8fb;
  --text: #172033;
  --text-2: #5b667a;
  --line: #dde3ec;
  --line-dark: rgba(255, 255, 255, .16);

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s6: 48px;
  --s8: 64px;
  --s10: 80px;
  --s12: 96px;

  --radius: 6px;
  --radius-lg: 8px;
  --header-h: 80px;
  --container: 1240px;
  --gutter: 32px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: calc(var(--header-h) + var(--s3)); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.015em; color: var(--navy); }
h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; }
h3 { font-size: 18px; line-height: 1.35; letter-spacing: -.005em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: var(--s1) var(--s2); }
.skip:focus { left: var(--s2); top: var(--s2); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--s10); }
.section-tight { padding-block: var(--s8); }
.band-light { background: var(--bg-light); border-block: 1px solid var(--line); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: var(--s2); }
.lead { font-size: 18px; line-height: 1.6; color: var(--text-2); margin-top: var(--s3); max-width: 60ch; }
.h-sm { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: var(--s3); }
.h-md { font-size: clamp(24px, 2.2vw, 30px); }
.section-head { margin-bottom: var(--s6); }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); }
.section-head .kicker { margin-bottom: var(--s1); }
.textlink { color: var(--blue); font-weight: 600; transition: color .2s; }
.textlink:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.back { margin-top: var(--s8); }
.empty { padding: var(--s6) 0; color: var(--text-2); }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.navrow { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.site-logo img { height: 64px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: var(--s4); height: 100%; }
.navmenu { display: flex; align-items: stretch; height: 100%; gap: var(--s1); }
.navmenu > a,
.navmenu .dd-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 0 var(--s2); height: 100%;
  font-size: 16px; font-weight: 600; color: var(--navy); white-space: nowrap;
  transition: color .2s;
}
.navmenu > a:hover, .navmenu .dd-toggle:hover, .dd-wrap:focus-within > .dd-toggle { color: var(--blue); }
.navmenu > a.active, .navmenu .dd-toggle.active { color: var(--blue); }
.navmenu > a.active::after, .navmenu .dd-toggle.active::after {
  content: ""; position: absolute; left: var(--s2); right: var(--s2); bottom: -1px; height: 2px; background: var(--blue);
}
.chev { width: 7px; height: 7px; border-right: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.dd-wrap { position: relative; display: flex; align-items: stretch; }
.dd {
  position: absolute; top: 100%; left: 0; min-width: 300px; padding: var(--s1);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(6, 27, 58, .10);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.dd a { display: block; padding: 10px var(--s2); border-radius: 4px; font-size: 15px; font-weight: 500; color: var(--text); transition: background .15s, color .15s; }
.dd a:hover { background: var(--bg-light); color: var(--blue); }
.dd-wrap:hover > .dd, .dd-wrap:focus-within > .dd, .dd-wrap.open > .dd { opacity: 1; visibility: visible; transform: none; }
.dd-wrap:hover .chev, .dd-wrap.open .chev { transform: rotate(225deg) translate(-2px, -1px); }
.dd-all { display: none !important; }
.hamb { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  padding: 12px 22px; border-radius: var(--radius-lg); border: 1px solid transparent;
  font: 600 15px/1.2 var(--font); cursor: pointer;
  transition: background-color .22s, border-color .22s, color .22s, transform .22s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary, .navbtn { background: var(--blue); color: #fff; }
.btn-primary:hover, .navbtn:hover { background: var(--blue-dark); }
.navbtn { padding: 13px 26px; font-size: 16px; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-light); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); min-height: 580px; background: var(--navy); color: #fff; }
.hero-copy {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: var(--s10) var(--s6) var(--s10) max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--cyan); margin-bottom: var(--s3); }
.hero h1 { font-size: clamp(40px, 4.1vw, 60px); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; color: #fff; }
.hero h1 span { color: var(--cyan); }
.hero-lede { margin-top: var(--s3); max-width: 560px; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.hero-visual { position: relative; min-height: 360px; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }

/* ---------- Home: capabilities grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.svc {
  position: relative; display: flex; flex-direction: column; padding: var(--s4) var(--s4) var(--s3);
  border-left: 1px solid var(--line); transition: background-color .22s;
}
.svc:first-child { border-left: 0; }
.svc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.svc:hover { background: var(--bg-light); }
.svc:hover::before { transform: scaleX(1); }
.svc-ico { display: block; width: 48px; height: 48px; margin-bottom: var(--s3); color: var(--blue); transition: transform .22s; }
.svc-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc-ico { transform: translateY(-2px); }
.svc h3 { font-size: 19px; }
.svc p { margin-top: var(--s1); font-size: 15px; line-height: 1.55; color: var(--text-2); }
.svc-go { margin-top: auto; padding-top: var(--s3); align-self: flex-end; font-size: 20px; line-height: 1; color: var(--blue); transition: transform .22s; }
.svc:hover .svc-go { transform: translateX(4px); }

/* ---------- Editorial split (AI at the core, About) ---------- */
.editorial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s10); align-items: center; }
.editorial-flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.editorial-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.editorial-copy h2 { max-width: 20ch; }
.idx-list { margin-top: var(--s4); border-top: 1px solid var(--line); }
.idx-list li { display: flex; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.idx { flex: none; width: 28px; font-size: 14px; font-weight: 600; color: var(--blue); padding-top: 2px; }
.rule-list { margin: var(--s4) 0; border-top: 1px solid var(--line); }
.rule-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }

/* ---------- Industries ---------- */
.split-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s10); align-items: start; }
.split-head-intro h2 { max-width: 16ch; }
.industry-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s6); border-top: 1px solid var(--line); }
.industry-list li {
  display: flex; align-items: center; justify-content: space-between; padding: 22px 0;
  border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; color: var(--navy);
  transition: color .2s, padding-left .2s;
}
.industry-list .arrow { color: var(--line); transition: color .2s, transform .2s; }
.industry-list li:hover { color: var(--blue); padding-left: 4px; }
.industry-list li:hover .arrow { color: var(--blue); transform: translateX(4px); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; padding-block: var(--s8); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s6); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 2.4vw, 32px); }
.cta-band p { margin-top: var(--s1); max-width: 56ch; font-size: 17px; color: rgba(255, 255, 255, .88); }
.cta-band .btn { flex: none; }

/* ---------- Inner pages: header ---------- */
.page-head { background: var(--navy); color: #fff; padding: var(--s8) 0 var(--s6); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: var(--s3); font-size: 14px; color: rgba(255, 255, 255, .65); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs [aria-current] { color: rgba(255, 255, 255, .65); }
.page-head h1 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.02em; color: #fff; max-width: 24ch; }
.page-lede { margin-top: var(--s2); max-width: 64ch; font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .8); }

/* ---------- Inner pages: shared parts ---------- */
.ico { display: inline-block; flex: none; width: 28px; height: 28px; color: var(--blue); }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 36px; height: 36px; }
.check-list li { position: relative; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--line); font-weight: 500; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s6); }
.check-2col li:nth-child(2) { border-top: 1px solid var(--line); }

/* Capabilities landing */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s8); border-top: 1px solid var(--line); }
.area { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s3); align-items: start; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.area .ico { width: 36px; height: 36px; margin-top: 2px; transition: transform .22s; }
.area h3 { transition: color .2s; }
.area p { margin-top: 6px; color: var(--text-2); font-size: 15px; max-width: 46ch; }
.area-go { color: var(--blue); font-size: 20px; line-height: 1.4; transition: transform .22s; }
.area:hover h3 { color: var(--blue); }
.area:hover .area-go { transform: translateX(4px); }
.area:hover .ico { transform: translateY(-2px); }

/* Capability detail */
.detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s10); align-items: start; }
.deliver { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s6); }
.deliver li { padding-top: var(--s2); border-top: 2px solid var(--navy); }
.deliver .num { display: block; margin-bottom: var(--s1); font-size: 13px; font-weight: 600; color: var(--blue); }
.deliver p { margin-top: var(--s1); font-size: 15px; color: var(--text-2); }
.side-panel { padding: var(--s4); background: var(--bg-light); border-left: 3px solid var(--blue); }
.side-panel .h-sm:not(:first-child) { margin-top: var(--s4); }
.side-panel .check-list li { font-size: 15px; }

/* Solutions landing */
.row-links { border-top: 1px solid var(--line); }
.row-link { display: grid; grid-template-columns: 36px minmax(180px, 280px) 1fr auto; gap: var(--s4); align-items: center; padding: var(--s4) 0; border-bottom: 1px solid var(--line); transition: background-color .2s, padding .2s; }
.row-link p { color: var(--text-2); }
.row-link h3 { font-size: 20px; transition: color .2s; }
.row-go { color: var(--blue); font-size: 20px; transition: transform .22s; }
.row-link:hover h3 { color: var(--blue); }
.row-link:hover .row-go { transform: translateX(4px); }
.row-link-solo { border-top: 1px solid var(--line); }

/* Solution detail */
.sol-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sol-col { padding: 0 var(--s4); border-left: 1px solid var(--line); }
.sol-col:first-child { padding-left: 0; border-left: 0; }
.sol-col:last-child { padding-right: 0; }
.sol-col h3 { margin-top: var(--s2); font-size: 20px; }
.sol-sub { margin: var(--s1) 0 var(--s3); color: var(--text-2); font-size: 15px; min-height: 48px; }
.sol-col .check-list li { font-size: 15px; }

/* About */
.lifecycle { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); }
.lifecycle li { position: relative; padding-top: var(--s4); border-top: 2px solid var(--navy); }
.lifecycle li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.step-num { display: block; margin-bottom: var(--s1); font-size: 13px; font-weight: 600; color: var(--blue); }
.lifecycle p { margin-top: var(--s1); font-size: 15px; color: var(--text-2); }
.principles li { display: flex; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.principles li:first-child { border-top: 1px solid var(--line); padding-top: var(--s3); }
.principles p { margin-top: 4px; color: var(--text-2); font-size: 15px; }

/* ---------- Insights ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.chips button { padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--text-2); font: 600 14px var(--font); cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.chips button:hover { border-color: var(--blue); color: var(--blue); }
.chips button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.article-list { border-top: 1px solid var(--line); }
.chips + .article-list { border-top: 0; }
.acard { display: grid; grid-template-columns: 140px minmax(0, 1fr) 100px 32px; gap: var(--s3); align-items: baseline; padding: var(--s3) 0; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.acard.hide { display: none; }
.acard h3 { transition: color .2s; }
.acard p { margin-top: 6px; color: var(--text-2); font-size: 15px; max-width: 70ch; }
.acard .meta { font-size: 14px; color: var(--text-2); text-align: right; }
.acard-go { color: var(--blue); text-align: right; transition: transform .22s; }
.acard:hover h3 { color: var(--blue); }
.acard:hover .acard-go { transform: translateX(4px); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.acard.feat { grid-template-columns: 140px minmax(0, 1fr) auto; padding: var(--s6) 0; background: none; }
.acard.feat h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; max-width: 24ch; }
.acard.feat p { font-size: 17px; margin-top: var(--s2); }
.acard.feat .meta { grid-column: 2; grid-row: 2; text-align: left; margin-top: calc(var(--s1) * -1); }
.acard.feat .acard-go { grid-column: 3; grid-row: 1; font-weight: 600; white-space: nowrap; }

/* Article page */
.article-head h1 { max-width: 28ch; }
.article-meta { display: flex; gap: var(--s2); align-items: center; margin-bottom: var(--s2); font-size: 14px; color: rgba(255, 255, 255, .7); }
.tag-on-dark { color: var(--cyan); }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: var(--s10); align-items: start; }
.prose { font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: 26px; margin: var(--s6) 0 var(--s2); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text); }
.prose .check-list { margin: var(--s3) 0; }
.prose .check-list li { font-size: 17px; }
.article-side { position: sticky; top: calc(var(--header-h) + var(--s4)); padding-left: var(--s4); border-left: 1px solid var(--line); }
.article-list-compact { border-top: 0; }
.article-list-compact .acard { grid-template-columns: 1fr 24px; gap: var(--s1) var(--s2); padding: var(--s2) 0; }
.article-list-compact .tag { grid-column: 1 / -1; }
.article-list-compact .acard-body { grid-column: 1; }
.article-list-compact .acard-go { grid-column: 2; grid-row: 2; }
.article-list-compact h3 { font-size: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s10); align-items: start; }
.contact-list { margin-top: var(--s4); border-top: 1px solid var(--line); }
.contact-list > div { padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.contact-list dd { font-weight: 600; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); padding: var(--s4); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c5cdd9; border-radius: var(--radius); background: #fff;
  font: 400 16px var(--font); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(8, 127, 245, .15); }
.form-foot { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.note { font-size: 13px; color: var(--text-2); max-width: 44ch; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding-top: var(--s10); }
.footgrid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr .9fr 1.2fr; gap: var(--s6); padding-bottom: var(--s8); }
.footer-logo img { height: 52px; width: auto; display: block; }
.foot-brand p { margin-top: var(--s3); max-width: 28ch; font-size: 15px; }
.footer h4 { margin-bottom: var(--s2); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer a:not(.footer-logo) { display: block; padding: 5px 0; font-size: 15px; transition: color .2s; }
.footer a:not(.footer-logo):hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer p { font-size: 15px; }
.footgrid > div { min-width: 0; }
.footer a { overflow-wrap: anywhere; }
.footer .footgrid > div:last-child p { margin-bottom: var(--s1); }
.footbase { padding: var(--s3) 0; border-top: 1px solid var(--line-dark); font-size: 14px; }

/* ---------- Views & motion ---------- */
.site-view { display: none; }
.site-view.is-active { display: block; animation: view-in .3s ease-out both; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 28px; }
  .navmenu > a, .navmenu .dd-toggle { padding: 0 12px; }
  .nav { gap: var(--s3); }
  .svc { padding: var(--s3); }
  .footgrid { grid-template-columns: 1.2fr 1fr 1fr; row-gap: var(--s6); }
  .editorial, .split-head { gap: var(--s8); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; --gutter: 24px; }
  .section { padding-block: var(--s8); }
  .site-logo img { height: 54px; }

  /* mobile navigation */
  .hamb { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
  .hamb span { display: block; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
  .hamb[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamb[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hamb[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: var(--s1) var(--gutter) var(--s3); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(6, 27, 58, .08); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.open { display: flex; }
  .navmenu { flex-direction: column; height: auto; gap: 0; }
  .navmenu > a, .navmenu .dd-toggle { height: auto; padding: 14px 0; width: 100%; justify-content: space-between; font-size: 16px; border-bottom: 1px solid var(--line); }
  .navmenu > a.active::after, .navmenu .dd-toggle.active::after { display: none; }
  .dd-wrap { flex-direction: column; }
  .dd { position: static; min-width: 0; padding: 0 0 var(--s1) var(--s2); border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .dd-wrap.open > .dd { display: block; }
  .dd-wrap:hover > .dd, .dd-wrap:focus-within > .dd { display: none; }
  .dd-wrap.open > .dd { display: block; }
  .dd a { padding: 10px 0; font-size: 15px; }
  .dd .dd-all { display: block !important; font-weight: 600; color: var(--blue); }
  .navbtn { margin-top: var(--s3); align-self: stretch; }

  /* hero */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: var(--s8) var(--gutter) var(--s6); }
  .hero-visual { min-height: 0; aspect-ratio: 16 / 9; }

  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(3) { border-left: 0; }
  .svc:nth-child(n+3) { border-top: 1px solid var(--line); }
  .editorial, .editorial-flip, .split-head, .detail-grid, .contact-grid, .article-layout { grid-template-columns: 1fr; gap: var(--s6); }
  .editorial-flip .editorial-media { order: 2; }
  .area-grid { grid-template-columns: 1fr; }
  .row-link { grid-template-columns: 36px 1fr auto; row-gap: var(--s1); }
  .row-link p { grid-column: 2; grid-row: 2; }
  .row-link .row-go { grid-column: 3; grid-row: 1; }
  .sol-cols { grid-template-columns: 1fr; gap: var(--s6); }
  .sol-col, .sol-col:first-child, .sol-col:last-child { padding: 0; border-left: 0; }
  .sol-sub { min-height: 0; }
  .lifecycle { grid-template-columns: 1fr 1fr; row-gap: var(--s6); }
  .article-side { position: static; padding: var(--s4) 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .acard { grid-template-columns: 120px minmax(0, 1fr) 24px; }
  .acard .meta { display: none; }
  .acard.feat { grid-template-columns: 1fr; gap: var(--s1); }
  .acard.feat .meta { display: block; grid-column: 1; grid-row: auto; }
  .acard.feat .acard-go { grid-column: 1; grid-row: auto; text-align: left; margin-top: var(--s1); }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: var(--s3); }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .section { padding-block: var(--s6); }
  .section-tight { padding-block: var(--s6); }
  .hero h1 { font-size: 38px; }
  .hero-lede { font-size: 17px; }
  .hero-copy { padding-top: var(--s6); }
  .hero-actions .btn { flex: 1 1 100%; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc, .svc:first-child, .svc:nth-child(3) { border-left: 0; }
  .svc:nth-child(n+2) { border-top: 1px solid var(--line); }
  .industry-list { grid-template-columns: 1fr; }
  .deliver { grid-template-columns: 1fr; }
  .check-2col { grid-template-columns: 1fr; }
  .check-2col li:nth-child(2) { border-top: 0; }
  .lifecycle { grid-template-columns: 1fr; }
  .page-head { padding: var(--s6) 0 var(--s4); }
  .page-lede, .lead { font-size: 17px; }
  .contact-form { grid-template-columns: 1fr; padding: var(--s3); }
  .acard { grid-template-columns: 1fr 24px; gap: var(--s1) var(--s2); }
  .acard .tag { grid-column: 1 / -1; }
  .prose { font-size: 17px; }
  .footgrid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footgrid { grid-template-columns: 1fr; }
}
