/* InfluenZest Inc — Cobalt Identity */
:root {
  --bg: #ffffff;
  --text: #122b68;
  --accent: #184ee5;
  --accent-deep: #0f38c2;
  --accent-soft: #e8eefd;
  --sky: #6f93f5;
  --line: rgba(18, 43, 104, 0.14);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Oswald', 'Bebas Neue', 'Roboto Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --space: 24px;
  --radius: 4px;
  --wrap: 1200px;
  --gutter: 48px;
}

*, *::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-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(24, 78, 229, 0.18);
}
.on-cobalt :focus-visible { outline-color: #ffffff; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.25); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Display type */
.display {
  font-family: var(--display);
  font-stretch: condensed;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.eyebrow {
  display: block;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text);
}
.on-cobalt .eyebrow { color: #dbe5ff; }
.lead { font-size: 20px; font-weight: 300; line-height: 1.55; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-family: var(--display); font-stretch: condensed; font-weight: 700; font-size: 25px; letter-spacing: -0.01em;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.primary-nav ul { display: flex; list-style: none; gap: 30px; }
.primary-nav a {
  display: inline-block; padding: 6px 0;
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { color: var(--accent); }
.primary-nav a[aria-current="page"] { border-bottom-color: var(--text); }
.menu-toggle {
  display: none;
  align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); font: 600 15px/1 var(--font); padding: 10px 14px; cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
}
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 22px;
  border-radius: var(--radius); border: 2px solid transparent;
  font: 700 14px/1.2 var(--font); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-light { background: #ffffff; color: var(--text); }
.btn-light:hover { background: var(--accent-soft); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.7); color: #ffffff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-cobalt { background: var(--accent); color: #ffffff; }
.btn-cobalt:hover { background: var(--accent-deep); }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--accent-soft); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link {
  display: inline-block; color: var(--accent); font-weight: 700; font-size: 14px;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link:hover { color: var(--text); }

/* Hero (home) */
.hero { background: var(--accent); color: #ffffff; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: stretch; min-height: 560px;
}
.hero-copy { padding: 96px 40px 96px 0; align-self: center; }
.hero h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: 0.98; margin-bottom: 28px; }
.hero-copy .lead { max-width: 520px; margin-bottom: 36px; color: #eef2ff; }
.hero-art { position: relative; margin-right: calc(var(--gutter) * -1); }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Page hero (inner pages) */
.page-hero { background: var(--accent); color: #ffffff; overflow: hidden; position: relative; }
.page-hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: end;
  padding-top: 56px; padding-bottom: 64px; position: relative;
}
.page-hero h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1; margin-bottom: 20px; }
.page-hero .lead { max-width: 640px; color: #eef2ff; margin: 0; }
.page-hero-art { align-self: stretch; min-height: 200px; position: relative; }
.page-hero-art img { position: absolute; right: 0; bottom: -64px; width: 300px; height: auto; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; font-size: 14px; margin-bottom: 26px; }
.breadcrumb li { color: #dbe5ff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .7; }
.breadcrumb a { color: #ffffff; }
.breadcrumb [aria-current] { color: #ffffff; font-weight: 600; }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-title { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 18px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { font-weight: 300; font-size: 18px; margin: 0; }
.rule-top { border-top: 1px solid var(--line); }

/* Brand statement */
.statement { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: center; }
.statement h2 { font-size: clamp(52px, 5.6vw, 80px); margin-bottom: 14px; }
.statement .manifesto { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.12; margin-bottom: 28px; max-width: 660px; }
.statement .body { font-weight: 300; max-width: 600px; }
.statement-art { justify-self: end; width: 100%; max-width: 380px; }

/* Selected services (home) */
.svc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.svc { display: flex; flex-direction: column; }
.svc:nth-child(2) { margin-top: 40px; }
.svc:nth-child(3) { margin-top: 80px; }
.svc-figure { background: var(--accent-soft); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 22px; }
.svc-figure img { width: 100%; max-width: 220px; margin: 0 auto; }
.svc h3 { font-size: 26px; margin-bottom: 10px; }
.svc p { font-weight: 300; font-size: 16px; }
.svc .benefit { font-weight: 500; font-size: 15px; border-left: 3px solid var(--accent); padding-left: 14px; margin-bottom: 18px; }
.svc .text-link { margin-top: auto; align-self: flex-start; }

/* Scenarios (home) */
.scenarios-band { position: relative; }
.scenarios-band .wrap { position: relative; }
.scenario-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.scenario {
  color: #ffffff; padding: 56px 48px 0; display: flex; flex-direction: column; min-height: 520px;
}
.scenario:nth-child(1) { background: var(--accent); margin-top: 72px; }
.scenario:nth-child(2) { background: var(--accent-deep); }
.scenario h3 { font-size: clamp(36px, 3.6vw, 52px); line-height: 1; margin-bottom: 22px; }
.scenario p { font-weight: 300; color: #eef2ff; max-width: 440px; }
.scenario img { margin-top: auto; width: 78%; max-width: 340px; align-self: flex-start; }
.scenario-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-top: 0; }
.scenario-more article { padding: 36px 48px; }
.scenario-more article + article { border-left: 1px solid var(--line); }
.scenario-more h3 { font-size: 26px; margin-bottom: 10px; }
.scenario-more p { font-weight: 300; margin: 0; }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--text); }
.steps li { counter-increment: step; padding: 26px 26px 0 0; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--display); font-stretch: condensed; font-weight: 700;
  font-size: 54px; line-height: 1; color: var(--accent); margin-bottom: 16px;
}
.steps h3 { font-size: 22px; margin-bottom: 10px; }
.steps p { font-weight: 300; font-size: 16px; margin: 0; }

/* About summary (home) */
.about-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.about-letter {
  font-family: var(--display); font-stretch: condensed; font-weight: 700; color: var(--accent);
  font-size: clamp(140px, 18vw, 260px); line-height: .8; letter-spacing: -0.04em;
}
.about-split h2 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 20px; }
.about-split p { font-weight: 300; }

/* Facts list */
.facts { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.facts li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts .k { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.facts .v { font-weight: 400; overflow-wrap: anywhere; }
.facts a { color: var(--accent); font-weight: 600; }

/* Contact CTA */
.contact-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact-block h2 { font-size: clamp(42px, 4.6vw, 66px); margin-bottom: 22px; }
.contact-block .body { font-weight: 300; max-width: 520px; }
.inquiry-card { border: 1px solid var(--line); border-top: 6px solid var(--accent); padding: 36px; border-radius: var(--radius); background: #fff; }
.inquiry-card h3 { font-size: 28px; margin-bottom: 12px; }
.inquiry-card p { font-weight: 300; }
.inquiry-card .btn { width: 100%; margin-top: 8px; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.copy-btn {
  background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text);
  font: 600 14px/1 var(--font); padding: 10px 14px; cursor: pointer;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.copy-status { font-size: 14px; min-height: 1.4em; }
.note { font-size: 14px; font-weight: 400; color: #3b4f86; }

/* Cobalt CTA band (inner pages) */
.cta-band { background: var(--accent); color: #fff; }
.cta-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { font-size: clamp(34px, 3.8vw, 54px); margin-bottom: 12px; }
.cta-band p { font-weight: 300; color: #eef2ff; margin: 0; max-width: 620px; }
.cta-band a:not(.btn) { color: #fff; }

/* Editorial blocks (inner pages) */
.editorial { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; }
.editorial + .editorial { margin-top: 72px; }
.editorial-side h2 { font-size: clamp(30px, 3vw, 40px); }
.editorial-side .num { font-family: var(--display); font-stretch: condensed; font-weight: 700; font-size: 18px; color: var(--accent); display: block; margin-bottom: 10px; }
.editorial-body p { font-weight: 300; }
.editorial-body > p:first-child { font-size: 21px; line-height: 1.5; }
.offset { margin-left: 12%; }

.ticks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 12px; }
.ticks li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); font-weight: 400; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 14px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 0 100%); }
.ticks.single { grid-template-columns: 1fr; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; }
.tile h3 { font-size: 24px; margin-bottom: 12px; }
.tile p { font-weight: 300; font-size: 16px; margin: 0; }
.tile.solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.tile.solid p { color: #eef2ff; }

/* Services overview */
.svc-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 260px; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); align-items: start; }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row .idx { font-family: var(--display); font-stretch: condensed; font-weight: 700; font-size: 84px; line-height: .9; color: var(--accent); }
.svc-row h2 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 14px; }
.svc-row h2 a { color: var(--text); text-decoration: none; }
.svc-row h2 a:hover { color: var(--accent); }
.svc-row p { font-weight: 300; }
.svc-row .benefit { font-weight: 500; border-left: 3px solid var(--accent); padding-left: 14px; }
.svc-row .art { background: var(--accent-soft); border-radius: var(--radius); padding: 22px; }
.svc-row:nth-child(even) .body { padding-left: 6%; }

.other-services { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.other-services a {
  display: block; padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--text);
}
.other-services a:hover { border-color: var(--accent); }
.other-services strong { display: block; font-family: var(--display); font-stretch: condensed; text-transform: uppercase; font-size: 26px; line-height: 1.1; margin-bottom: 8px; }
.other-services span { font-weight: 300; font-size: 16px; }

/* Tech layer: circuit traces, nodes, signal pulses */
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--accent); background: #fff;
  box-shadow: 14px 0 0 -4px var(--accent);
}
.on-cobalt .eyebrow::before { border-color: #fff; background: transparent; box-shadow: 14px 0 0 -4px #fff; }

.hero { position: relative; background-image: url("../img/circuit-field.svg"); background-repeat: no-repeat; background-position: left -120px bottom -60px; background-size: 820px auto; background-color: var(--accent); }
.hero-circuit { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero-circuit .trace { stroke: #ffffff; stroke-width: 2.5; opacity: .55; }
.hero-circuit .pulse { stroke: #ffffff; stroke-width: 4; stroke-dasharray: 22 900; stroke-dashoffset: 0; animation: signal 5.5s linear infinite; }
.hero-circuit .pulse .p2 { animation-delay: -2.2s; animation-duration: 6.5s; }
.hero-circuit .pulse .p3 { stroke-dasharray: 18 300; animation-duration: 3.2s; }
.hero-circuit .node { stroke: #ffffff; stroke-width: 3; fill: var(--accent); }
.hero-circuit .pad { fill: #ffffff; }
@keyframes signal { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -922; } }

.hero-stack {
  list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.35); position: relative;
}
.hero-stack::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #fff;
}
.hero-stack li {
  display: flex; align-items: center; gap: 10px; padding: 20px 14px 22px 0;
  font-size: 14px; font-weight: 500; color: #eef2ff; line-height: 1.3;
}
.hero-stack li + li { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.hero-stack svg { flex: none; width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Section seams become traces with a terminal node */
.rule-top { position: relative; }
.rule-top::before {
  content: ""; position: absolute; top: -6px; width: 11px; height: 11px; border-radius: 50%;
  left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  background: #fff; border: 2px solid var(--accent);
}
.rule-top::after {
  content: ""; position: absolute; top: -1px; height: 1px; width: 120px;
  left: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  background: var(--accent);
}

.statement-art { padding: 18px; background: url("../img/circuit-ink.svg") center / cover no-repeat; }

/* Service figures read as framed modules */
.svc-figure { position: relative; transition: background-color .25s; }
.svc-figure::before, .svc-figure::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--accent); transition: transform .25s;
}
.svc-figure::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.svc-figure::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.svc:hover .svc-figure::before, .svc:focus-within .svc-figure::before { transform: translate(-4px, -4px); }
.svc:hover .svc-figure::after, .svc:focus-within .svc-figure::after { transform: translate(4px, 4px); }
.svc:hover .svc-figure { background-color: #dce6fc; }
.svc h3 { display: flex; align-items: center; gap: 10px; }
.svc h3::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }

.scenario { position: relative; background-image: url("../img/circuit-field.svg"); background-repeat: no-repeat; background-size: 640px auto; }
.scenario:nth-child(1) { background-position: right -260px top -120px; }
.scenario:nth-child(2) { background-position: left -300px bottom -40px; }
.scenario > * { position: relative; }
.scenario-more article { position: relative; }
.scenario-more article::before {
  content: ""; position: absolute; top: -1px; left: 48px; width: 2px; height: 22px; background: var(--accent);
}
.scenario-more article::after {
  content: ""; position: absolute; top: 18px; left: 44px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}
.scenario-more article { padding-top: 48px; }

/* Steps sit on a signal bus */
.steps { border-top: 0; position: relative; padding-top: 3px; }
.steps::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent 42%, #8fb0ff 49%, var(--accent) 51%, transparent 58%) 100% 0 / 300% 100% no-repeat, var(--text);
  animation: bus 6s linear infinite;
}
@keyframes bus { from { background-position: 100% 0, 0 0; } to { background-position: 0 0, 0 0; } }
.steps li { position: relative; }
.steps li::after {
  content: ""; position: absolute; top: -8px; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-sizing: border-box;
}
.steps li + li::after { left: -6px; }

.about-letter { position: relative; }
.about-letter::before {
  content: ""; position: absolute; inset: -10% -6% -10% 30%;
  background: url("../img/circuit-ink.svg") left center / contain no-repeat;
}
.about-letter span { position: relative; }

.inquiry-card { position: relative; }
.inquiry-card::before {
  content: ""; position: absolute; top: -10px; right: 28px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
}

/* Inner pages */
.page-hero, .cta-band { background-image: url("../img/circuit-field.svg"); background-repeat: no-repeat; }
.page-hero { background-position: right -80px top -40px; background-size: 760px auto; }
.cta-band { background-position: left -160px center; background-size: 760px auto; }
.editorial-side .num { display: flex; align-items: center; gap: 10px; }
.editorial-side .num::after { content: ""; flex: 0 0 48px; height: 2px; background: var(--accent); box-shadow: 48px 0 0 -1px rgba(24, 78, 229, .3); }
.tile { position: relative; }
.tile::before {
  content: ""; position: absolute; top: -1px; left: -1px; width: 22px; height: 22px;
  border-top: 3px solid var(--accent); border-left: 3px solid var(--accent);
}
.tile.solid::before { border-color: #fff; }
.svc-row .art { position: relative; }
.svc-row .art::before, .svc-row .art::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--accent); }
.svc-row .art::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.svc-row .art::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }
.other-services a { position: relative; }
.other-services a::after {
  content: ""; position: absolute; right: 24px; top: 28px; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--accent); box-shadow: -14px 0 0 -3px var(--accent), -26px 0 0 -3px rgba(24, 78, 229, .4);
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--text); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; }
.footer-grid p, .footer-grid address { font-size: 15px; font-weight: 300; font-style: normal; margin: 0 0 8px; overflow-wrap: anywhere; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 22px; font-size: 13px; }

/* Responsive */
@media (max-width: 1080px) {
  :root { --gutter: 32px; }
  .hero-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stack li:nth-child(4) { border-left: 0; padding-left: 0; }
  .hero-stack li:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .primary-nav ul { gap: 20px; }
  .svc-row { grid-template-columns: 90px minmax(0, 1fr); }
  .svc-row .art { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li { padding-bottom: 28px; }
  .steps li:nth-child(n+3)::after { display: none; }
}

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .menu-toggle { display: inline-flex; }
  .js .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #ffffff; border-bottom: 1px solid var(--line);
    display: none;
  }
  .js .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px; }
  .primary-nav a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .primary-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); font-weight: 700; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .menu-toggle { display: none; }
  .no-js .primary-nav ul { flex-direction: row; flex-wrap: wrap; gap: 16px; padding: 0 0 12px; }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 56px 0 36px; }
  .hero-art { height: 260px; margin: 0 calc(var(--gutter) * -1); }
  .page-hero-inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; }
  .page-hero-art { display: none; }

  .section { padding: 64px 0; }
  .section-tight { padding: 52px 0; }
  .statement, .about-split, .contact-block, .editorial, .cta-band-inner { grid-template-columns: 1fr; gap: 32px; }
  .statement-art { justify-self: start; max-width: 300px; }
  .svc-list { grid-template-columns: 1fr; gap: 48px; }
  .svc:nth-child(2), .svc:nth-child(3) { margin-top: 0; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario { padding: 40px 24px 0; min-height: 0; }
  .scenario:nth-child(1) { margin-top: 0; }
  .scenario img { width: 70%; margin-top: 28px; }
  .scenario-more { grid-template-columns: 1fr; }
  .scenario-more article { padding: 28px 24px; }
  .scenario-more article + article { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 24px 0; border-left: 0; }
  .steps li + li::after { left: 0; top: -6px; }
  .steps li:nth-child(n+3)::after { display: block; }
  .hero-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stack li, .hero-stack li + li { padding: 16px 10px 16px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .hero-stack li:nth-child(-n+2) { border-top: 0; }
  .hero-stack li:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
  .scenario-more article { padding-top: 44px; }
  .scenario-more article::before { left: 24px; }
  .scenario-more article::after { left: 20px; }
  .about-letter::before { inset: -10% 0 -10% 40%; }
  .steps li + li { border-top: 1px solid var(--line); }
  .about-letter { font-size: 140px; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  .inquiry-card { padding: 26px 22px; }
  .offset { margin-left: 0; }
  .ticks, .tiles, .other-services { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; padding: 40px 0; }
  .svc-row .idx { font-size: 56px; }
  .svc-row:nth-child(even) .body { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 46px; }
  .btn-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .hero-circuit .pulse { display: none; }
  .steps::before { background: var(--text); }
}
