/* ============================================================
   AK²Lab 制作事例と技術
   色は4つ（地・面・文字・青）、イージングは2種類に固定する
   ============================================================ */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  color-scheme: dark;
  --bg: #05070b;
  --panel: #0a0e16;
  --ink: #e8edf5;
  --muted: #8f9cb1;
  --faint: #7d8aa0;
  --accent: #3d8bff;
  --accent-rgb: 61 139 255;
  --line: rgb(255 255 255 / .08);
  --line-strong: rgb(255 255 255 / .16);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 68px;
  --z-light: 0;
  --z-content: 1;
  --z-grain: 5;
  --z-header: 10;
  --z-skip: 20;
  --font-sans: "Geist", "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px / 1.9 var(--font-sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; color: inherit; cursor: pointer; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: rgb(var(--accent-rgb) / .45); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: var(--z-skip);
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 16px; }

.frame { width: min(1360px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
main, .footer { position: relative; z-index: var(--z-content); }

/* 画面全体の方眼。中央が濃く、端へ消える */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-light);
  pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / .028) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .028) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 20%, transparent 100%);
}
/* 暗い階調の縞を目立たせないための粒子 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* ポインターの位置に置く光。位置はJavaScriptがtransformで動かす */
.pointer-light {
  position: fixed;
  left: -360px;
  top: -360px;
  width: 720px;
  height: 720px;
  z-index: var(--z-light);
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .09), rgb(var(--accent-rgb) / .03) 55%, transparent);
  opacity: 0;
  transition: opacity .6s var(--ease-out);
}
.pointer-light.is-on { opacity: 1; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-header);
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.header.is-scrolled {
  background: rgb(5 7 11 / .74);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  text-decoration: none;
}
.brand-mark { width: 28px; height: 28px; fill: var(--accent); flex: none; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 14px; }
.nav a {
  position: relative;
  padding-block: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s var(--ease-out);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px rgb(var(--accent-rgb) / .9);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}
.hero.is-over-logo { cursor: pointer; }
.hero-stage { position: absolute; inset: 0; z-index: -1; }
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(5 7 11 / .7), transparent 16%),
    linear-gradient(90deg, rgb(5 7 11 / .78), rgb(5 7 11 / .3) 42%, transparent 62%),
    linear-gradient(0deg, var(--bg), transparent 24%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .9s var(--ease-out);
}
.hero.is-3d .hero-canvas { opacity: 1; }

/* 列の幅は12列のグリッドが決める。文章は左の6列、ロゴは右の6列 */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
  padding-block: 40px;
}
.hero-copy { grid-column: 1 / span 6; cursor: auto; }
.hero-visual {
  grid-column: 7 / -1;
  justify-self: center;
  width: min(100%, calc(100dvh - var(--header-h) - 260px));
  aspect-ratio: 1;
}

/* ロゴの図面。部品の輪郭を順に引き、面を塗ってから3Dへ渡す */
.blueprint {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: rgb(var(--accent-rgb) / .16);
  stroke: var(--accent);
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgb(var(--accent-rgb) / .7));
  transition: opacity .7s var(--ease-out);
}
.blueprint path { stroke-dasharray: 1; }
.js .blueprint path {
  stroke-dashoffset: 1;
  fill-opacity: 0;
  animation:
    trace .8s var(--ease-in-out) calc(.25s + var(--i) * .05s) forwards,
    fill-in .5s var(--ease-out) calc(1.15s + var(--i) * .02s) forwards;
}
.hero.is-3d .blueprint { opacity: 0; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill-opacity: 1; } }

.intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--accent);
}
.intro::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: none;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.intro .char { display: inline-block; white-space: pre; }
.js .intro:not(.is-typed) { animation: fade-up .7s var(--ease-out) .15s both; }
.intro.is-typed .char { opacity: 0; animation: type .5s var(--ease-out) calc(.2s + var(--d) * .028s) forwards; }
@keyframes type {
  0% { opacity: 0; color: #fff; text-shadow: 0 0 10px rgb(var(--accent-rgb)); }
  40% { opacity: 1; color: #fff; }
  100% { opacity: 1; color: var(--accent); text-shadow: none; }
}

.hero h1 {
  margin: 28px 0 30px;
  font-size: clamp(40px, 4.9vw, 76px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
  font-feature-settings: "palt";
}
.hero h1 .line { display: block; overflow: hidden; padding-block: .05em .09em; margin-block: -.05em -.09em; }
.hero h1 .line > span { display: block; }
.js .hero h1 .line > span { transform: translateY(110%); animation: rise 1.1s var(--ease-out) .2s forwards; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .32s; }
@keyframes rise { to { transform: none; } }

.lead {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 2;
  color: #aeb9ca;
  word-break: auto-phrase;
}
.js .lead { animation: fade-up .9s var(--ease-out) .55s both; }
.js .cta { animation: fade-up .9s var(--ease-out) .7s both; }
@keyframes fade-up { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* 主ボタン。角を落とした面は疑似要素に持たせ、ボタン本体のフォーカス枠を切らない */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 32px;
  height: 56px;
  margin-top: 44px;
  padding: 0 22px 0 26px;
  isolation: isolate;
  color: #04070d;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .5s var(--ease-out), filter .3s var(--ease-out);
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.cta::before { background: var(--accent); transition: background-color .2s var(--ease-out); }
.cta::after {
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .55) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%;
  background-position: 130% 0;
  transition: background-position .9s var(--ease-out);
}
.cta:hover { filter: drop-shadow(0 0 18px rgb(var(--accent-rgb) / .45)); }
.cta:hover::before { background-color: #69a6ff; }
.cta:hover::after { background-position: -30% 0; }
.cta-label, .cta-arrow { transition: transform .3s var(--ease-out); }
.cta:active .cta-label { transform: translateY(1px); }
.cta:hover .cta-arrow { transform: translateX(4px); }

.hero-foot { display: flex; justify-content: flex-end; gap: 8px; padding-bottom: 28px; }
.control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  background: rgb(5 7 11 / .55);
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.control:hover { color: var(--ink); border-color: rgb(var(--accent-rgb) / .6); }
/* 動いているかどうかを示す印（実際の状態を表す） */
.control[data-motion-toggle]::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
html[data-motion="off"] .control[data-motion-toggle]::before { background: transparent; box-shadow: inset 0 0 0 1px var(--muted); }

/* スクロールに合わせて文章を少し上へ逃がす（対応ブラウザのみ） */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not([data-motion="off"]) .hero-copy {
      animation: hero-out linear both;
      animation-timeline: scroll(root);
      animation-range: 0 85vh;
    }
  }
}
@keyframes hero-out { to { opacity: 0; transform: translateY(-72px); } }

/* ---------- 制作事例 ---------- */
.works { padding-block: clamp(72px, 9vw, 128px) clamp(80px, 9vw, 128px); }
.section-head { margin-bottom: 44px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.3;
  letter-spacing: -.02em;
  font-feature-settings: "palt";
  text-wrap: balance;
}
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 15px; }
/* 見出しの下の線。左から引き、先頭だけ青く光らせる */
.section-head::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 28px;
  background: linear-gradient(90deg, var(--accent), rgb(var(--accent-rgb) / .3) 28%, var(--line) 55%);
  transform-origin: left;
}
.js .section-head::after { transform: scaleX(0); transition: transform 1.6s var(--ease-in-out) .25s; }
.js .section-head.is-visible::after { transform: none; }

.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* カード: 外側は傾きと照準の印、殻は光る枠、面は中身 */
.case { position: relative; transition: transform .6s var(--ease-out); }
.case::after {
  content: "";
  position: absolute;
  inset: -8px;
  pointer-events: none;
  opacity: 0;
  --c: var(--accent);
  background:
    linear-gradient(var(--c) 0 0) top left / 14px 1.5px,
    linear-gradient(var(--c) 0 0) top left / 1.5px 14px,
    linear-gradient(var(--c) 0 0) top right / 14px 1.5px,
    linear-gradient(var(--c) 0 0) top right / 1.5px 14px,
    linear-gradient(var(--c) 0 0) bottom left / 14px 1.5px,
    linear-gradient(var(--c) 0 0) bottom left / 1.5px 14px,
    linear-gradient(var(--c) 0 0) bottom right / 14px 1.5px,
    linear-gradient(var(--c) 0 0) bottom right / 1.5px 14px;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: opacity .2s var(--ease-out), transform .45s var(--ease-out);
}
.case:hover::after,
.case:has(:focus-visible)::after { opacity: 1; transform: none; }
.case:hover,
.case:has(:focus-visible) { z-index: 2; }
.case-shell {
  position: relative;
  height: 100%;
  padding: 1px;
  overflow: hidden;
  background: var(--line);
  transition: background-color .3s var(--ease-out);
}
.case:hover .case-shell { background-color: rgb(255 255 255 / .12); }
.case:has(:focus-visible) .case-shell { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 光の円。位置はJavaScriptが --gx と --gy で渡す */
.case-shell::before,
.case-panel::before,
.link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform: translate(var(--gx, -999px), var(--gy, -999px)) translate(-50%, -50%);
  transition: opacity .35s var(--ease-out);
}
.case-shell::before {
  width: 520px;
  height: 520px;
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .95), rgb(var(--accent-rgb) / .25) 50%, transparent);
}
/* 面の中の光は文字の上に薄く重なる。画像の上には出さない */
.case-panel {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  overflow: hidden;
}
.case-panel::before {
  width: 640px;
  height: 640px;
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .09), transparent);
}
.case:hover .case-shell::before,
.case:hover .case-panel::before { opacity: 1; }

.case-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d121b;
  border-bottom: 1px solid var(--line);
}
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(.7) brightness(.78);
  transition: filter .45s var(--ease-out), transform .9s var(--ease-out);
}
/* 画像の無い事例は、方眼とロゴで同じ比率の面を作る */
.case-image.is-empty {
  display: grid;
  place-items: center;
  background-color: #0b1019;
  background-image:
    linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center;
}
.case-mark { width: 22%; height: auto; aspect-ratio: 1; fill: rgb(var(--accent-rgb) / .35); transition: fill .3s var(--ease-out); }
.case:hover .case-mark { fill: rgb(var(--accent-rgb) / .75); }
/* ホバーで一度だけ上から下へ流れる光 */
.case-image::before {
  content: "";
  position: absolute;
  pointer-events: none;
  left: 0;
  right: 0;
  top: 0;
  height: 36%;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, rgb(var(--accent-rgb) / .16) 85%, rgb(var(--accent-rgb) / .55));
  opacity: 0;
  transform: translateY(-100%);
}
.case:hover .case-image img { filter: none; transform: scale(1.035); }
.case:hover .case-image::before { animation: sweep 1s var(--ease-in-out); }
@keyframes sweep {
  from { opacity: 1; transform: translateY(-100%); }
  to { opacity: 0; transform: translateY(290%); }
}

/* 本文は位置を持たせない。題名のリンクがカード全体を覆えるようにする */
.case-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 20px; }
.case-category { margin: 0; font-size: 12px; letter-spacing: .06em; color: var(--accent); }
.case-title {
  margin: 8px 0 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.case-title a { text-decoration: none; }
.case-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.case-title a:focus-visible { outline: none; }
.case-summary { margin: 0 0 20px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.case-repo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--faint);
  transition: color .2s var(--ease-out);
}
.case-arrow { font-family: var(--font-sans); transition: transform .35s var(--ease-out), color .2s var(--ease-out); }
.case:hover .case-repo { color: var(--ink); }
.case:hover .case-arrow { color: var(--accent); transform: translate(3px, -3px); }

/* 画面に入ったときの表示 */
.js [data-reveal]:not(.is-visible) { opacity: 0; translate: 0 28px; }
.js [data-reveal] {
  transition:
    opacity .9s var(--ease-out) var(--delay, 0s),
    translate .9s var(--ease-out) var(--delay, 0s),
    transform .6s var(--ease-out);
}

/* ---------- フッター ---------- */
.footer { padding-block: 64px 36px; border-top: 1px solid var(--line); }
.links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 6px 16px;
  padding: 26px 28px;
  overflow: hidden;
  isolation: isolate;
  background: var(--panel);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .3s var(--ease-out);
}
.link::before {
  z-index: -1;
  width: 560px;
  height: 560px;
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .16), transparent);
}
.link:hover { border-color: rgb(var(--accent-rgb) / .5); }
.link:hover::before { opacity: 1; }
.link-name { grid-column: 1; font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.link-url { grid-column: 1; font-family: var(--font-mono); font-size: 13px; color: var(--faint); transition: color .2s var(--ease-out); }
.link-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: start; color: var(--muted); transition: transform .35s var(--ease-out), color .2s var(--ease-out); }
.link:hover .link-url { color: var(--ink); }
.link:hover .link-arrow { color: var(--accent); transform: translate(3px, -3px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 64px;
}
.footer-bottom p { margin: 0; font-size: 12px; color: var(--faint); }
.footer .brand { font-size: 18px; }
.footer .brand-mark { width: 24px; height: 24px; }

/* ---------- 動きを止めたとき・減らす設定 ---------- */
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after { animation-duration: 0s !important; animation-delay: 0s !important; }
html[data-motion="off"] [data-reveal],
html[data-motion="off"] .section-head::after { transition-duration: 0s !important; transition-delay: 0s !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; }
  .js [data-reveal]:not(.is-visible) { opacity: 1; translate: none; }
  .js .section-head::after { transform: none; }
  .case, .cta { transition: none; }
}

/* ---------- 幅に応じた組み替え ---------- */
@media (max-width: 1100px) {
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { grid-column: 1 / span 7; }
  .hero-visual { grid-column: 8 / -1; }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .brand { font-size: 18px; gap: 10px; }
  .brand-mark { width: 24px; height: 24px; }
  .nav { gap: 16px; font-size: 13px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; align-content: end; padding-block: 20px 28px; }
  .hero-copy,
  .hero-visual { grid-column: 1; }
  .hero-visual { order: -1; width: min(76%, 44dvh); }
  .hero-stage::after {
    background:
      linear-gradient(180deg, rgb(5 7 11 / .7), transparent 14%),
      linear-gradient(0deg, var(--bg) 10%, rgb(5 7 11 / .84) 48%, transparent 68%);
  }
  .hero h1 { font-size: clamp(32px, 9.4vw, 40px); margin: 20px 0 22px; }
  .lead { font-size: 15px; line-height: 1.95; }
  .cta { margin-top: 32px; }
  .hero-foot { justify-content: flex-start; padding-bottom: 22px; }
  .case-grid, .links { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .case::after { display: none; }
  .footer { padding-top: 56px; }
}
