/* Abington: chalk / ink / cobalt. Zodiak display, Switzer text.
   Radius system: 10px small components, 14px panels. One accent: cobalt. */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #FAF9F5;
  --ink: #161D36;
  --body: #3C4257;
  --muted: #5D647A;
  --accent: #1F47E6;
  --accent-deep: #16339F;
  --line: rgba(22, 29, 54, 0.13);
  --tint-cool: #EEF1FB;
  --tint-warm: #F4F3EE;
  --r-ui: 10px;
  --r-panel: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
[id] { scroll-margin-top: 84px; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible { outline-offset: 2px; }

body {
  background: var(--bg);
  color: var(--body);
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.shell { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

h1, h2 {
  font-family: 'Zodiak', Georgia, serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.06;
}
h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg); padding: 10px 18px;
  border-radius: 0 0 var(--r-ui) 0; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border-radius: var(--r-ui);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: #fff; padding: 14px 26px; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-large { padding: 17px 34px; font-size: 17px; }
.textlink {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 29, 54, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.textlink:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 245, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .nav { background: var(--bg); }
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.wordmark {
  font-family: 'Zodiak', Georgia, serif;
  font-weight: 700; font-size: 25px;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--ink); text-decoration: none;
  font-size: 15.5px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta { padding: 10px 20px; font-size: 15px; }
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 10px 6px; flex-direction: column; gap: 5px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 1px;
}

/* ---------- hero ---------- */
.hero { overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 6.5fr 5.5fr;
  align-items: center;
  gap: 32px;
  min-height: min(78vh, 720px);
  min-height: min(78dvh, 720px);
  padding-top: 24px;
  padding-bottom: 24px;
}
.hero-grid > * { min-width: 0; }
.hero-copy h1 { font-size: clamp(32px, 3.2vw, 46px); max-width: 24ch; }
.hero-sub {
  margin-top: 24px; font-size: 19px; max-width: 44ch; color: var(--body);
}
.cta-row { margin-top: 36px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-visual { height: min(64vh, 620px); height: min(64dvh, 620px); position: relative; }
.hero-visual canvas { display: block; max-width: 100%; }

/* ---------- systems strip ---------- */
.systems { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.systems-lede { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
.systems-row {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center;
}
.systems-row li { display: flex; align-items: center; gap: 10px; }
.systems-row img { width: 22px; height: 22px; opacity: 0.85; }
.systems-row span { font-size: 15px; font-weight: 500; color: #40465E; }

/* ---------- section head ---------- */
.section-head { margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 3.6vw, 48px); }
.section-head p { margin-top: 16px; max-width: 58ch; }

/* ---------- products bento: four clickable agent cards ---------- */
.products { padding: 0; }
/* 12 columns so the emphasis alternates 7/5 then 5/7 down the grid. */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
/* 7 + 5 on the first row, 5 + 7 on the second: the weight alternates. */
.agent-lg { grid-column: span 7; }
.agent-sm { grid-column: span 5; }

.agent {
  position: relative;
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: #fff;
  overflow: hidden;
  min-height: 372px;
  transition: border-color 0.3s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.agent-face {
  display: flex; flex-direction: column;
  width: 100%; padding: 26px 28px 0;
}
.agent-head { max-width: 40ch; padding-right: 50px; }
.agent h3 { font-size: 21px; letter-spacing: -0.015em; }
.agent-lg h3 { font-size: 23px; }
.agent-line {
  margin-top: 8px;
  font-size: 15.5px; color: var(--body);
  max-width: 36ch;
}
.agent-runs {
  margin-top: 13px; margin-bottom: 20px;
  font-size: 13.5px; color: var(--muted);
}
.agent-runs b { font-weight: 600; color: #4A5169; }

/* Art bleeds to the card's left, right and bottom edges and takes whatever
   height is left, so the two cards in a row line up along the same seam. */
.agent-art {
  position: relative;   /* image is out of flow, so it cannot set the card's height */
  flex: 1;
  margin: 0 -28px;
  min-height: 180px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: var(--tint-warm);
}
/* the art band is a wide letterbox: aim each crop at its cobalt accent */
#agent-quote .agent-art img { object-position: center 64%; }
#agent-exception .agent-art img { object-position: center 60%; }
#agent-catalogue .agent-art img { object-position: center 30%; }
#agent-counter .agent-art img { object-position: center 54%; }
.agent-art img {
  position: absolute; inset: 0;
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.005);
  transition: transform 0.7s var(--ease);
}

/* The whole card is one button. The glyph is its visible affordance. */
.agent-open {
  position: absolute; inset: 0;
  display: block; width: 100%;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  border-radius: var(--r-panel);
}
.agent-open-label {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.agent-glyph {
  position: absolute; top: 18px; right: 18px;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-ui);
  background: rgba(250, 249, 245, 0.7);
  color: var(--muted);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.agent-glyph svg { width: 15px; height: 15px; }

.agent:hover { border-color: rgba(31, 71, 230, 0.34); box-shadow: 0 16px 40px rgba(22, 29, 54, 0.09); }
.agent:hover .agent-art img { transform: scale(1.045); }
.agent:hover .agent-glyph,
.agent-open:focus-visible .agent-glyph {
  background: var(--accent); border-color: var(--accent);
  color: #fff; transform: scale(1.06);
}
.agent-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.agent:active { transform: translateY(1px); }
/* While a panel is open, the card that opened it stays lit. */
.agent.is-open { border-color: rgba(31, 71, 230, 0.34); }

.products-note { margin-top: 34px; font-size: 16px; color: var(--muted); max-width: 76ch; }

/* ---------- agent panel (opens from a card) ---------- */
.panel {
  /* the global margin reset removes the UA's dialog centering */
  margin: auto;
  width: min(1080px, calc(100vw - 40px));
  max-height: calc(100dvh - 48px);
  padding: 0; border: none;
  border-radius: 18px;
  background: var(--bg);
  color: var(--body);
  box-shadow: 0 40px 100px rgba(22, 29, 54, 0.26);
  overflow: hidden;
}
.panel::backdrop {
  background: rgba(22, 29, 54, 0.34);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.panel[open] {
  animation: panel-in 0.42s var(--ease);
}
.panel[open]::backdrop { animation: fade-in 0.32s ease; }
.panel.is-closing { animation: panel-out 0.2s ease forwards; }
.panel.is-closing::backdrop { animation: fade-out 0.2s ease forwards; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px) scale(0.965); }
  to   { opacity: 1; transform: none; }
}
@keyframes panel-out { to { opacity: 0; transform: scale(0.985); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

.panel-inner {
  position: relative;
  outline: none;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 46px 48px 44px;
}
.panel-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  display: grid; place-items: center;
  width: 38px; height: 38px; padding: 0;
  background: rgba(22, 29, 54, 0.05); border: none; border-radius: var(--r-ui);
  color: var(--muted); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.panel-close:hover { background: rgba(22, 29, 54, 0.1); color: var(--ink); }

.panel-top {
  display: grid; grid-template-columns: 6.6fr 5.4fr;
  gap: 48px; align-items: start;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--line);
}
.panel-eyebrow {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.panel h2 { font-size: clamp(30px, 3.4vw, 42px); max-width: 16ch; }
.panel-lead { margin-top: 18px; font-size: 17.5px; max-width: 52ch; }
.panel-cta { margin-top: 30px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.panel-does h3 { font-size: 15px; letter-spacing: 0.01em; margin-bottom: 18px; padding-top: 6px; }
.ticks { list-style: none; display: grid; gap: 13px; }
.ticks li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  font-size: 16px; line-height: 1.45; align-items: start;
}
.ticks svg { width: 20px; height: 20px; color: var(--accent); margin-top: 1px; }

.panel-grid {
  display: grid; grid-template-columns: 7.6fr 4.4fr;
  gap: 24px; padding-top: 34px;
}
.shift {
  background: var(--tint-cool);
  border-radius: var(--r-panel);
  padding: 26px 28px 28px;
}
.shift-scene {
  font-size: 16px; color: var(--ink); font-weight: 500;
  padding-bottom: 20px; margin-bottom: 22px;
  border-bottom: 1px solid rgba(31, 71, 230, 0.16);
  max-width: 58ch;
}
.shift-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.shift-after { border-left: 1px solid rgba(31, 71, 230, 0.16); padding-left: 30px; margin-left: -15px; }
.shift-col h4 {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
  margin-bottom: 12px;
}
.shift-after h4 { color: var(--accent); }
.shift-col p { font-size: 15.5px; line-height: 1.55; }
.shift-after p { color: var(--ink); }

.panel-side {
  display: flex; flex-direction: column;
  background: var(--tint-warm);
  border-radius: var(--r-panel);
  padding: 26px 26px 28px;
}
.panel-figure {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px; line-height: 1.65; color: var(--accent);
  padding-bottom: 24px; margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.panel-stack-label { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.panel-logos { list-style: none; display: grid; gap: 14px; }
.panel-logos li { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 500; color: #40465E; }
.panel-logos img { width: 22px; height: 22px; opacity: 0.9; }
.logo-dot {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid rgba(31, 71, 230, 0.4);
}

/* ---------- what we do ---------- */
.services { padding: 118px 0 110px; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0 44px;
}
.service {
  display: flex; flex-direction: column;
  border-top: 2px solid var(--ink);
  padding: 20px 0 4px;
}
.service-art {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--r-ui);
  margin-bottom: 22px;
  background: var(--tint-warm);
}
/* A word, not a number: these are three kinds of work, not three steps. */
.service-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
}
.service-label::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(31, 71, 230, 0.22);
}
.service h3 { font-size: 22px; line-height: 1.2; margin-bottom: 12px; max-width: 17ch; text-wrap: balance; }
.service p { font-size: 16px; max-width: 44ch; }
.service-cta {
  /* Pushed to the bottom of the column so all three actions sit on one line,
     regardless of how long each pillar's copy runs. */
  align-self: flex-start;
  margin-top: auto;
  font: inherit; font-size: 15.5px; font-weight: 500;
  color: var(--accent); background: none; border: none;
  padding: 24px 0 2px; cursor: pointer; text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(31, 71, 230, 0.4);
  transition: box-shadow 0.2s, color 0.2s;
}
.service-cta::after {
  content: '\2192';
  display: inline-block;
  margin-left: 7px;
  transition: transform 0.25s var(--ease);
}
.service-cta:hover {
  color: var(--accent-deep);
  box-shadow: inset 0 -1px 0 var(--accent-deep);
}
.service-cta:hover::after { transform: translateX(4px); }

/* ---------- audit dialog ---------- */
.audit {
  width: min(520px, calc(100vw - 32px));
  padding: 0; border: none; border-radius: var(--r-panel);
  background: var(--bg); color: var(--body);
  box-shadow: 0 24px 70px rgba(22, 29, 54, 0.22);
}
.audit::backdrop { background: rgba(22, 29, 54, 0.42); }
.audit-form { position: relative; padding: 38px 36px 32px; }
.audit-close {
  position: absolute; top: 14px; right: 14px;
  display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  background: none; border: none; border-radius: 50%;
  color: var(--muted); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.audit-close:hover { background: rgba(22, 29, 54, 0.07); color: var(--ink); }
.audit h2 { font-size: 27px; max-width: 18ch; }
.audit-lede { margin-top: 12px; font-size: 15.5px; max-width: 46ch; }

.field { margin-top: 22px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 11px 13px;
  background: #fff;
  border: 1px solid rgba(22, 29, 54, 0.24);
  border-radius: var(--r-ui);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 62px; }
/* #5D647A on #fff is 5.4:1, clears WCAG AA for placeholder and helper text. */
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 71, 230, 0.18);
}
.field .help { font-size: 13.5px; color: var(--muted); }
.field .error { font-size: 13.5px; color: #A31220; font-weight: 500; }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: #A31220; }
.field[data-invalid] .help { display: none; }
.form-error { margin-top: 18px; font-size: 14.5px; color: #A31220; font-weight: 500; }

.btn-block { width: 100%; margin-top: 24px; justify-content: center; }
.btn[aria-busy='true'] { pointer-events: none; opacity: 0.75; }
.btn-ghost {
  background: none; color: var(--ink);
  border: 1px solid rgba(22, 29, 54, 0.24);
}
.btn-ghost:hover { background: rgba(22, 29, 54, 0.05); }
.audit-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

.audit-done { padding: 16px 0 8px; }
.audit-done svg { color: var(--accent); margin-bottom: 14px; }
.audit-done h2 { margin-bottom: 10px; }
.audit-done p { font-size: 15.5px; max-width: 42ch; margin-bottom: 24px; }

/* ---------- book page ---------- */
.book { padding: 56px 0 110px; }
.book-inner { max-width: 560px; }
.book-form { position: relative; margin-top: 56px; }
.book h1 { font-size: clamp(34px, 4vw, 48px); }
.book-lede { margin-top: 14px; font-size: 17px; max-width: 46ch; }
.book .audit-done:focus { outline: none; }
.book .btn-ghost { padding: 12px 22px; }

/* ---------- sectors ---------- */
.sectors { padding: 110px 0; }
.sector-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  border-top: 1px solid var(--line); padding-top: 44px;
}
.sector-photo {
  width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover;
  border-radius: var(--r-panel); margin-bottom: 24px;
}
.sector h3 { font-size: 22px; margin-bottom: 20px; }
.sector ul { list-style: none; }
.sector li {
  padding: 14px 0;
  font-size: 16.5px;
}
.sector li + li { border-top: 1px solid var(--line); }

/* ---------- approach ---------- */
.approach { padding: 0 0 110px; }
.phases { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 820px; }
.phase {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.phase h3 { font-family: 'Zodiak', Georgia, serif; font-weight: 600; font-size: 26px; }
.phase p { max-width: 58ch; }
.tenets {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 44px;
}
.tenets li {
  border: 1px solid var(--line);
  border-radius: var(--r-ui);
  padding: 10px 18px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  background: #fff;
}

/* ---------- FAQ ---------- */
.faq { background: var(--tint-warm); padding: 100px 0; }
.faq-inner { max-width: 760px; }
.faq h2 { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 36px; }
.faq-list details {
  border-top: 1px solid rgba(22, 29, 54, 0.16);
}
.faq-list details:last-child { border-bottom: 1px solid rgba(22, 29, 54, 0.16); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 36px 20px 0;
  font-weight: 600; font-size: 17.5px; color: var(--ink);
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  content: "+" / "";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--accent);
  transition: transform 0.25s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 0 22px; max-width: 60ch; }

/* ---------- contact ---------- */
.contact { padding: 130px 0; }
.contact-inner { max-width: 820px; }
.contact h2 { font-size: clamp(36px, 4.4vw, 62px); max-width: 16ch; }
.contact p { margin-top: 20px; font-size: 18px; max-width: 48ch; }
.contact .btn { margin-top: 36px; }
.contact-bonus { font-size: 16px !important; color: var(--muted) !important; max-width: 52ch; }
.contact-alt { font-size: 15.5px !important; color: var(--muted) !important; margin-top: 18px !important; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 56px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; flex-wrap: wrap;
}
.footer .wordmark { font-size: 21px; }
.footer-inner > div p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer-links a {
  color: var(--body); text-decoration: none; font-size: 15px;
  white-space: nowrap;
}
.footer-links a:hover { color: var(--accent); }
.legal { font-size: 13.5px; color: var(--muted); }

/* ---------- reveal motion (only when JS is present) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .btn, .agent, .agent-art img, .agent-glyph { transition: none; }
  .panel[open], .panel[open]::backdrop, .panel.is-closing { animation: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .shell { padding: 0 20px; }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 17px; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; gap: 16px; }
  .hero-visual { height: 260px; }

  .sectors { padding: 72px 0; }
  .products { padding: 0; }
  .approach { padding: 0 0 72px; }
  .faq { padding: 72px 0; }
  .contact { padding: 88px 0; }

  .bento { grid-template-columns: 1fr; gap: 16px; }
  .agent, .agent-lg, .agent-sm,
  .agent:nth-child(3), .agent:nth-child(4) { grid-column: auto; }
  .agent { min-height: 0; }
  .agent-face { padding: 26px 24px 0; }
  .agent-art { flex: none; aspect-ratio: 16 / 9; margin-left: -24px; margin-right: -24px; min-height: 0; }
  .agent h3, .agent-lg h3 { font-size: 22px; max-width: 14ch; }
  .agent-glyph { top: 18px; right: 18px; width: 34px; height: 34px; }
  .audit-form { padding: 34px 22px 28px; }
  .audit h2 { font-size: 24px; }
  .sector-cols { grid-template-columns: 1fr; gap: 40px; }
  .phase { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .footer-links { flex-direction: column; gap: 12px; }
  .services { padding: 72px 0; }
  .panel { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .panel-inner { padding: 40px 22px 32px; max-height: calc(100dvh - 24px); }
  .panel-top { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }
  .panel h2 { max-width: none; }
  .panel-does h3 { padding-top: 0; }
  .panel-grid { grid-template-columns: 1fr; gap: 18px; padding-top: 26px; }
  .shift { padding: 22px 22px 24px; }
  .shift-cols { grid-template-columns: 1fr; gap: 22px; }
  .shift-after {
    border-left: 0; padding-left: 0; margin-left: 0;
    border-top: 1px solid rgba(31, 71, 230, 0.16); padding-top: 22px;
  }
  .panel-close { top: 12px; right: 12px; }
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
  .service h3 { max-width: none; }
  .service-art { max-height: 240px; margin-bottom: 20px; }
  .service-cta { margin-top: 0; padding-top: 18px; }
}
