/* AuditForge Inc — Clear Corporate Brand */
:root {
  --bg: #f7f9fc;
  --tint: #edf2fa;
  --surface: #ffffff;
  --text: #14243b;
  --muted: #4f6079;
  --line: #d8e0ec;
  --accent: #244ed8;
  --accent-hover: #1d3ebc;
  --accent-soft: #e6ecfc;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
  --wrap: 1200px;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.015em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px;
  background: var(--accent); color: #fff; border: 0; border-radius: 999px;
  font: inherit; font-size: 0.9375rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .2s, box-shadow .2s;
}
.btn:hover, .btn:focus-visible { background: var(--accent-hover); color: #fff; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px rgba(36,78,216,.35); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--accent-soft); color: var(--accent-hover); }
.btn-sm { min-height: 38px; padding: 7px 16px; font-size: 0.875rem; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-suffix { font-weight: 500; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { list-style: none; display: flex; gap: 28px; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { color: var(--text); }
.site-nav a[aria-current="page"], .site-nav a.is-section { color: var(--text); border-bottom-color: var(--accent); }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; border-radius: var(--radius);
  color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, opacity .2s; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ''; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Home ---------- */
.home-hero { background: var(--tint); border-bottom: 1px solid var(--line); }
.home-hero .wrap { padding-top: 104px; padding-bottom: 96px; }
.home-hero h1 { font-size: clamp(2rem, 4.2vw, 3.5rem); max-width: 720px; margin-bottom: 22px; letter-spacing: -0.025em; }
.home-hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-meta { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 0.9375rem; color: var(--muted); }
.hero-meta span { display: inline-flex; gap: 10px; align-items: center; }
.hero-meta span::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }

/* Service navigation (home) */
.service-navigation { background: var(--surface); border-bottom: 1px solid var(--line); }
.service-navigation .wrap { padding-top: 8px; padding-bottom: 72px; }
.tablist { display: flex; gap: 8px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 56px; padding: 0 22px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.svc-intro { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; padding: 56px 0 40px; align-items: end; }
.svc-intro h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
.svc-intro p { margin: 0; color: var(--muted); }
.tabpanel { display: grid; grid-template-columns: 80px 1fr 1fr auto; gap: 32px; align-items: start; padding: 32px 0 0; border-top: 1px solid var(--line); }
.tabpanel[hidden] { display: none; }
.tabpanel .num { font-size: 2.5rem; font-weight: 300; color: var(--accent); line-height: 1; }
.tabpanel h3 { font-size: 1.5rem; margin-bottom: 10px; }
.tabpanel p { color: var(--muted); margin: 0; }
.tabpanel .benefit { border-left: 2px solid var(--accent); padding-left: 20px; }
.tabpanel .benefit strong { display: block; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text); margin-bottom: 6px; }

/* Problem / solution narrative */
.section { padding: 104px 0; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.125rem; margin: 0; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story + .story { margin-top: 96px; }
.story-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--tint); box-shadow: 0 18px 40px -24px rgba(20,36,59,.35); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story.flip .story-media { order: 2; }
.story-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.story h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); margin-bottom: 18px; }
.story p { color: var(--muted); }
.story .solution { margin: 22px 0 28px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.story .solution strong { color: var(--text); }
.story .solution p { margin: 0; }

/* Approach */
.approach { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.approach-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: '0' counter(step); font-size: 0.9375rem; font-weight: 700; color: var(--accent); padding-top: 3px; }
.steps h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }
.approach-figure { margin: 0; position: sticky; top: 104px; }
.approach-figure img { border-radius: var(--radius); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.approach-figure figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 12px; }

/* About band */
.about-band .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; }
.about-band h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.about-band p { color: var(--muted); }
.fact-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 28px 0 32px; }
.fact-list li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.fact-list span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }

/* Contact band (shared) */
.contact-band { background: var(--surface); border-top: 1px solid var(--line); text-align: center; }
.contact-band .wrap { padding-top: 96px; padding-bottom: 96px; max-width: 880px; }
.contact-band h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 16px; }
.contact-band > .wrap > p { color: var(--muted); max-width: 640px; margin: 0 auto 36px; }
.contact-points { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px 64px; margin: 0 0 40px; text-align: left; }
.contact-point { display: flex; gap: 14px; align-items: flex-start; font-size: 0.9375rem; }
.contact-point svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.contact-point strong { display: block; font-size: 0.875rem; }
.contact-point a { overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--text); color: #c6d1e3; font-size: 0.9375rem; }
.site-footer a { color: #e7edf7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1.4fr; gap: 40px; padding: 64px 0 48px; }
.footer-grid h2 { font-size: 0.875rem; color: #fff; margin-bottom: 16px; letter-spacing: 0; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand-suffix { color: #aab8cf; }
.footer-brand p { max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 28px; font-size: 0.8125rem; color: #9fb0c9; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }

/* ---------- Inner pages ---------- */
.breadcrumb { font-size: 0.875rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { opacity: .85; }

.page-head { background: var(--tint); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 56px; padding-bottom: 72px; }
.page-head .breadcrumb { margin-bottom: 40px; color: var(--muted); }
.page-head h1 { font-size: clamp(2rem, 3.8vw, 3rem); max-width: 760px; margin-bottom: 20px; }

/* Service detail banner */
.detail-hero { position: relative; color: #fff; background: var(--text); overflow: hidden; }
.detail-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,36,59,.92) 0%, rgba(20,36,59,.78) 38%, rgba(20,36,59,.15) 75%, rgba(20,36,59,0) 100%); }
.detail-hero .wrap { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 88px; min-height: 440px; display: flex; flex-direction: column; }
.detail-hero .breadcrumb { color: #c9d5ea; margin-bottom: auto; }
.detail-hero .breadcrumb a { color: #fff; }
.detail-hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 560px; margin: 72px 0 16px; }
.detail-hero p { max-width: 500px; color: #dfe7f5; font-size: 1.125rem; margin-bottom: 28px; }
.detail-hero .btn:hover, .detail-hero .btn:focus-visible { box-shadow: 0 0 0 2px var(--text), 0 0 0 4px #9db3ff; }

.detail-body { background: var(--surface); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding-top: 72px; padding-bottom: 96px; align-items: start; }
.prose h2 { font-size: 1.75rem; margin: 0 0 18px; }
.prose h2:not(:first-child) { margin-top: 56px; }
.prose h3 { font-size: 1.1875rem; margin: 32px 0 14px; }
.prose p { color: var(--muted); }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; margin: 8px 0 8px; }
.check-list li { position: relative; padding-left: 22px; font-size: 0.9875rem; color: var(--muted); }
.check-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.check-list strong { color: var(--text); }
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0 8px; }
.figure-pair figure { margin: 0; }
.figure-pair img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.figure-pair figcaption { font-size: 0.8125rem; color: var(--muted); margin-top: 8px; }
.scenario-list { list-style: none; display: grid; gap: 0; margin-top: 8px; }
.scenario-list li { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.scenario-list li:last-child { border-bottom: 1px solid var(--line); }
.scenario-list strong { font-size: 1rem; }
.scenario-list span { color: var(--muted); font-size: 0.9875rem; }
.phase-row { list-style: none; counter-reset: ph; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; border-top: 2px solid var(--accent); }
.phase-row li { counter-increment: ph; padding: 20px 20px 0 0; }
.phase-row li::before { content: 'Phase ' counter(ph); display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); margin-bottom: 8px; }
.phase-row strong { display: block; margin-bottom: 6px; }
.phase-row span { color: var(--muted); font-size: 0.9375rem; display: block; }
.consult-box { margin-top: 56px; padding: 32px; background: var(--tint); border-radius: var(--radius); display: flex; gap: 24px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consult-box h2 { font-size: 1.375rem; margin: 0 0 6px !important; }
.consult-box p { margin: 0; color: var(--muted); max-width: 480px; }

.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-size: 0.9375rem; }
.aside-card h2 { font-size: 0.9375rem; margin-bottom: 14px; }
.aside-card ul { list-style: none; display: grid; gap: 4px; }
.aside-card li a { display: block; padding: 6px 0; text-decoration: none; color: var(--muted); }
.aside-card li a:hover { color: var(--accent); }
.aside-card li a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.aside-card address { font-style: normal; color: var(--muted); margin: 10px 0 18px; }
.aside-card .aside-email { overflow-wrap: anywhere; }

/* Services overview */
.svc-index { list-style: none; }
.svc-row { display: grid; grid-template-columns: 72px minmax(0, 1.3fr) minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding: 48px 0; border-top: 1px solid var(--line); }
.svc-index li:last-child .svc-row { border-bottom: 1px solid var(--line); }
.svc-row .num { font-size: 2.25rem; font-weight: 300; color: var(--accent); line-height: 1; }
.svc-row h2 { font-size: 1.625rem; margin-bottom: 12px; }
.svc-row h2 a { color: var(--text); text-decoration: none; }
.svc-row h2 a:hover { color: var(--accent); }
.svc-row p { color: var(--muted); }
.svc-row .tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.svc-row .tags li { font-size: 0.8125rem; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-hover); font-weight: 500; }
.svc-row .benefit-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.svc-row img { border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.matrix { width: 100%; border-collapse: collapse; font-size: 0.9375rem; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.matrix th, .matrix td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.matrix thead th { background: var(--text); color: #fff; font-size: 0.8125rem; letter-spacing: .04em; }
.matrix tbody th { font-weight: 600; width: 30%; }
.matrix td { color: var(--muted); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* About page */
.about-figure { margin: 0; }
.about-figure img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--radius); }
.about-intro { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; }
.about-intro h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
.about-intro p { color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; list-style: none; }
.principles li { padding: 28px 0; border-top: 1px solid var(--line); }
.principles h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.principles p { color: var(--muted); margin: 0; }
.focus-list { list-style: none; }
.focus-list li { border-top: 1px solid var(--line); }
.focus-list li:last-child { border-bottom: 1px solid var(--line); }
.focus-list a { display: grid; grid-template-columns: 1fr 1.4fr 24px; gap: 32px; align-items: center; padding: 22px 0; text-decoration: none; color: var(--text); }
.focus-list a:hover strong { color: var(--accent); }
.focus-list span { color: var(--muted); font-size: 0.9375rem; }
.focus-list .go { color: var(--accent); font-weight: 700; }
.details-table { display: grid; grid-template-columns: 180px 1fr; border-top: 1px solid var(--line); margin: 0; }
.details-table dt, .details-table dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.details-table dt { font-weight: 600; font-size: 0.9375rem; }
.details-table dd { color: var(--muted); overflow-wrap: anywhere; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
.email-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.email-panel .big-email { display: inline-block; font-size: clamp(1.25rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.01em; text-decoration: none; overflow-wrap: anywhere; margin: 6px 0 24px; }
.email-panel .big-email:hover { text-decoration: underline; text-underline-offset: 6px; }
.email-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.copy-status { font-size: 0.875rem; color: var(--muted); min-height: 1.4em; margin: 14px 0 0; }
.prep-list { list-style: none; counter-reset: prep; }
.prep-list li { counter-increment: prep; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.prep-list li::before { content: counter(prep); width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.875rem; display: grid; place-items: center; }
.prep-list strong { display: block; margin-bottom: 4px; }
.prep-list span { color: var(--muted); font-size: 0.9375rem; }
.topic-links { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.topic-links a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.9375rem; }
.topic-links a:hover { border-color: var(--accent); color: var(--accent); }

.cta-strip { background: var(--tint); }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 64px; }
.cta-strip h2 { font-size: 1.75rem; margin-bottom: 8px; }
.cta-strip p { margin: 0; color: var(--muted); max-width: 560px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc-row { grid-template-columns: 56px minmax(0, 1fr) 280px; }
  .svc-row .svc-benefit { grid-column: 2; }
  .svc-row .svc-media { grid-column: 3; grid-row: 1 / span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px -20px rgba(20,36,59,.35);
  }
  .site-nav.is-open { display: flex; }
  .no-js .menu-toggle { display: none; }
  .no-js .site-nav { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 16px; }
  .no-js .header-inner { flex-wrap: wrap; height: auto; padding-top: 14px; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a[aria-current="page"], .site-nav a.is-section { border-bottom-color: var(--line); color: var(--accent); }
  .site-nav .btn { margin-top: 18px; }

  .svc-intro, .story, .approach-grid, .about-band .wrap, .detail-layout, .about-intro, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .story.flip .story-media { order: 0; }
  .story + .story { margin-top: 72px; }
  .tabpanel { grid-template-columns: 1fr; gap: 16px; }
  .approach-figure, .aside { position: static; }
  .svc-row { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .svc-row .svc-benefit, .svc-row .svc-media { grid-column: auto; grid-row: auto; }
  .svc-row .svc-media { order: -1; }
  .phase-row { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .section { padding: 72px 0; }
  .detail-hero::after { background: linear-gradient(180deg, rgba(20,36,59,.55) 0%, rgba(20,36,59,.88) 60%, rgba(20,36,59,.94) 100%); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .home-hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .home-hero h1 { font-size: clamp(1.875rem, 8.4vw, 2.375rem); }
  .lead { font-size: 1.0625rem; }
  .hero-meta { margin-top: 36px; flex-direction: column; }
  .tab { padding: 0 14px; }
  .svc-intro { padding-top: 36px; }
  .section-head { margin-bottom: 40px; }
  .story-media { aspect-ratio: 4 / 3; }
  .fact-list, .check-list, .principles, .figure-pair, .phase-row { grid-template-columns: 1fr; }
  .scenario-list li { grid-template-columns: 1fr; gap: 4px; }
  .focus-list a { grid-template-columns: 1fr 20px; gap: 6px 16px; }
  .focus-list span { grid-column: 1; }
  .focus-list .go { grid-row: 1; grid-column: 2; }
  .details-table { grid-template-columns: 1fr; }
  .details-table dt { border-bottom: 0; padding-bottom: 0; }
  .detail-hero .wrap { min-height: 0; padding-bottom: 56px; }
  .detail-hero h1 { margin-top: 120px; }
  .page-head .wrap { padding-top: 32px; padding-bottom: 48px; }
  .page-head .breadcrumb { margin-bottom: 28px; }
  .email-panel { padding: 28px 22px; }
  .consult-box { padding: 24px; }
  .contact-band .wrap { padding-top: 72px; padding-bottom: 72px; }
  .contact-points { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .about-figure img { aspect-ratio: 4 / 3; }
  .matrix th, .matrix td { padding: 12px 14px; }
}

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