/* apex.css — фирстиль главной apex по образцу Fourthwall (реплика структуры
   и духа, НЕ калька бренда). Спека: docs/2026-08-25-apex-home-fw-replica-
   design.md. Классы .axh-* — шапка/футер/кнопки/контейнер (эта задача);
   секции главной добавит следующая задача (якорь в конце файла).
   Страница живёт под body.ds — ds.css грузится раньше и содержит
   `.ds a { color: inherit }` (специфичность 0-1-1). Поэтому все ссылочные
   правила ниже написаны как `.ds .axh-…`/`.ds a.axh-…` (специфичность 0-2-x)
   и побеждают независимо от порядка подключения. */

@font-face {
  font-family: "Onest";
  src: url("/static/fonts/Onest-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --axh-dark: #10110d;        /* фон тёмных секций (hero, бенто, футер) */
  --axh-dark-panel: #1d1e1a;  /* карточки на тёмном (бенто, дропдауны) */
  --axh-cream: #fdfcfb;       /* фон светлых секций */
  --axh-white: #ffffff;
  --axh-ink: #10110d;         /* текст на светлом */
  --axh-muted: #758696;       /* вторичный текст на светлом */
  --axh-muted-dark: #8e8e89;  /* вторичный текст на тёмном */
  --axh-line: #e3e2e1;        /* разделители на светлом */
  --axh-line-dark: #40413d;   /* разделители на тёмном */
  --axh-blue: #0042ff;        /* CTA + синяя секция */
  --axh-blue-hover: #0338be;
  --axh-crimson: #c51645;     /* малиновая фича-секция */
  --axh-crimson-accent: #e92957;

  --axh-font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --axh-radius: 4px;
  --axh-radius-card: 12px;
}

/* ---------------------------------------------------------------- Контейнер */

.axh-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .axh-container { padding: 0 20px; }
}

/* ---------------------------------------------------------------- Кнопки */

.ds a.axh-btn,
.ds button.axh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--axh-font);
  font-size: 16px;
  font-weight: 560;
  line-height: 1.2;
  border-radius: var(--axh-radius);
  padding: 14px 28px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}

.ds a.axh-btn-sm,
.ds button.axh-btn-sm { padding: 10px 20px; font-size: 15px; }

.ds a.axh-btn-blue { background: var(--axh-blue); color: var(--axh-white); }
.ds a.axh-btn-blue:hover { background: var(--axh-blue-hover); }

.ds a.axh-btn-dark { background: var(--axh-dark); color: var(--axh-white); }
.ds a.axh-btn-dark:hover { background: #000; }

.ds a.axh-btn-white { background: var(--axh-white); color: var(--axh-ink); }
.ds a.axh-btn-white:hover { background: var(--axh-cream); }

.ds a.axh-btn-white-outline {
  background: transparent;
  color: var(--axh-white);
  border-color: rgba(255, 255, 255, .5);
}
.ds a.axh-btn-white-outline:hover { border-color: var(--axh-white); background: rgba(255, 255, 255, .08); }

.ds a.axh-btn-block { display: flex; width: 100%; }

/* ---------------------------------------------------------------- Topbar */

.axh-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: var(--axh-dark);
  font-family: var(--axh-font);
}

.axh-topbar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ds a.axh-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--axh-white);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.ds a.axh-logo svg { width: 22px; height: 22px; }

.axh-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ds .axh-nav-link,
.ds button.axh-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--axh-white);
  font-family: var(--axh-font);
  font-size: 15px;
  font-weight: 600;
  background: none;
  border: none;
  padding: 8px 0;
  cursor: pointer;
  text-decoration: none;
}

.axh-nav-caret { width: 12px; height: 12px; transition: transform .15s ease; }
.axh-nav-caret.is-open { transform: rotate(180deg); }

.axh-nav-dropdown { position: relative; }

.axh-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 12px;
  width: 340px;
}

.axh-dropdown-panel-inner {
  background: var(--axh-dark-panel);
  border: 1px solid var(--axh-line-dark);
  border-radius: var(--axh-radius-card);
  padding: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
}

.ds a.axh-dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.ds a.axh-dropdown-item:hover { background: rgba(255, 255, 255, .06); }

.axh-dropdown-item-label {
  display: block;
  color: var(--axh-white);
  font-size: 15px;
  font-weight: 600;
}
.axh-dropdown-item-desc {
  display: block;
  margin-top: 2px;
  color: var(--axh-muted-dark);
  font-size: 13px;
  line-height: 1.4;
}

.axh-dropdown-panel-narrow { width: 220px; }
.ds a.axh-dropdown-simple {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--axh-white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.ds a.axh-dropdown-simple:hover { background: rgba(255, 255, 255, .06); }

.axh-cta { display: flex; align-items: center; gap: 8px; }
.ds a.axh-login-link {
  color: var(--axh-white);
  font-family: var(--axh-font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 14px;
}
.ds a.axh-login-link:hover { opacity: .8; }

.axh-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--axh-white);
  cursor: pointer;
  flex-shrink: 0;
}
.axh-burger svg { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- Мобильная панель */

.axh-mobile-panel {
  background: var(--axh-dark);
  border-top: 1px solid var(--axh-line-dark);
}

.axh-mobile-nav { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px 24px; }

.axh-mobile-eyebrow {
  color: var(--axh-muted-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 12px 4px 4px;
}

.ds a.axh-mobile-link {
  color: var(--axh-white);
  font-family: var(--axh-font);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 4px;
  text-decoration: none;
}

.axh-mobile-divider { border: none; border-top: 1px solid var(--axh-line-dark); margin: 10px 0; }

@media (max-width: 1024px) {
  .axh-nav, .axh-cta { display: none; }
  .axh-burger { display: inline-flex; }
}
@media (min-width: 1025px) {
  .axh-mobile-panel { display: none; }
}

/* ---------------------------------------------------------------- Футер */

.axh-footer {
  background: var(--axh-dark);
  font-family: var(--axh-font);
  position: relative;
  overflow: hidden;
}

.axh-footer-top {
  padding: 96px 0 64px;
  text-align: center;
  position: relative;
}

.axh-footer-cta-title {
  color: var(--axh-white);
  font-size: 76px;
  line-height: 1.02;
  font-weight: 640;
  letter-spacing: -0.02em;
  margin: 0;
}

.ds a.axh-footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: var(--axh-blue);
  font-size: 76px;
  line-height: 1.02;
  font-weight: 640;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.ds a.axh-footer-cta-link:hover { color: var(--axh-blue-hover); }

.axh-footer-columns {
  padding: 64px 0;
  border-top: 1px solid var(--axh-line-dark);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.axh-footer-col-title {
  color: var(--axh-white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.axh-footer-col { display: flex; flex-direction: column; gap: 10px; }

.ds a.axh-footer-link {
  color: var(--axh-muted-dark);
  font-size: 14px;
  text-decoration: none;
}
.ds a.axh-footer-link:hover { color: var(--axh-white); }

.axh-footer-bottom {
  padding: 24px 0 40px;
  border-top: 1px solid var(--axh-line-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--axh-muted-dark);
  font-size: 13px;
}

.axh-footer-bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.ds a.axh-footer-bottom-link { color: var(--axh-muted-dark); font-size: 13px; text-decoration: none; }
.ds a.axh-footer-bottom-link:hover { color: var(--axh-white); }

/* Декоративный вращающийся бейдж (текст по кругу), правый верхний угол
   футера — чисто орнамент, скрыт на mobile и при reduced-motion. */
.axh-footer-badge {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 120px;
  height: 120px;
  animation: axh-badge-spin 20s linear infinite;
}
.axh-footer-badge svg { width: 100%; height: 100%; }

@keyframes axh-badge-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .axh-footer-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .axh-footer-badge { animation: none; }
}

@media (max-width: 1024px) {
  .axh-footer-columns { grid-template-columns: repeat(3, 1fr); }
  .axh-footer-cta-title,
  .ds a.axh-footer-cta-link { font-size: 48px; }
}

@media (max-width: 640px) {
  .axh-footer-top { padding: 56px 0 40px; }
  .axh-footer-cta-title,
  .ds a.axh-footer-cta-link { font-size: 40px; }
  .axh-footer-columns { grid-template-columns: repeat(2, 1fr); padding: 40px 0; gap: 28px 20px; }
  .axh-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Секции главной (задача B) ──
   Спека: docs/2026-08-25-apex-home-fw-replica-design.md §4.1–4.6. Классы
   только .axh-*, страница живёт под body.ds — правила со ссылками/кнопками
   написаны как `.ds a.axh-…` (см. шапку файла). */

/* Вся типографика секций — Onest: без этого body-тексты наследуют
   Montserrat из ds.css (body.ds), а спека требует Onest на всей главной. */
.axh-hero, .axh-quality, .axh-bento, .axh-shops, .axh-drops, .axh-case {
  font-family: var(--axh-font);
}

.axh-h2 {
  font-family: var(--axh-font);
  font-size: 56px;
  line-height: 1.05;
  font-weight: 640;
  letter-spacing: -0.02em;
  color: var(--axh-ink);
  margin: 0;
}

@media (max-width: 640px) {
  .axh-h2 { font-size: 32px; }
}

/* Общий контейнер фото с фиксированной пропорцией — без CLS. */
.axh-ph { position: relative; overflow: hidden; background: var(--axh-line); }
.axh-ph img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* -------------------------------------------------------------- 4.1 Hero */

.axh-hero {
  background: var(--axh-dark);
  padding: 72px 0 0;
  overflow-x: hidden;
}

.axh-hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }

.axh-hero h1 {
  font-family: var(--axh-font);
  color: var(--axh-white);
  font-size: 76px;
  line-height: 1.02;
  font-weight: 640;
  letter-spacing: -0.02em;
  margin: 0;
}

.axh-hero-sub {
  margin: 24px auto 0;
  max-width: 640px;
  color: var(--axh-muted-dark);
  font-size: 18px;
  line-height: 1.55;
}

.axh-hero-actions { margin-top: 32px; }
.axh-hero-micro { margin: 14px 0 0; color: var(--axh-muted-dark); font-size: 14px; }

@media (max-width: 640px) {
  .axh-hero { padding-top: 48px; }
  .axh-hero h1 { font-size: 40px; }
}

/* Маркиза (лента карточек) — общие правила, переиспользуются в 4.1 и 4.4. */
.axh-marquee { overflow: hidden; }
.axh-marquee-track {
  display: flex;
  width: max-content;
  animation: axh-marquee-scroll 60s linear infinite;
}
.axh-marquee-track.is-reverse { animation-direction: reverse; }
.axh-marquee:hover .axh-marquee-track { animation-play-state: paused; }

@keyframes axh-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .axh-marquee-track { animation: none; }
}

.axh-hero-marquee { margin-top: 56px; }

.axh-hero-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 270px;
  flex-shrink: 0;
  margin-right: 12px;
  text-decoration: none;
}

.axh-hero-card-photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; }
.axh-hero-card-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}

.axh-hero-card-label {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(16, 17, 13, .72);
  color: var(--axh-white);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .axh-hero-card { width: 180px; }
}

/* ------------------------------------------------------ 4.2 Светлая секция */

.axh-quality { background: var(--axh-cream); padding: 96px 0; overflow-x: hidden; }

.axh-quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Карусель бланков */
.axh-carousel { position: relative; aspect-ratio: 1 / 1; border-radius: var(--axh-radius-card); overflow: hidden; background: var(--axh-line); }
.axh-carousel-slide { position: absolute; inset: 0; }
.axh-carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.axh-carousel-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--axh-white);
  color: var(--axh-ink);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  max-width: calc(100% - 32px);
}

.axh-carousel-arrows { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.ds button.axh-carousel-arrow {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--axh-white); color: var(--axh-ink);
  font-size: 18px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.ds button.axh-carousel-arrow:hover { background: var(--axh-cream); }

/* Аккордеон */
.axh-quality-right h2 { margin-bottom: 8px; }

.axh-accordion { margin-top: 24px; border-top: 1px solid var(--axh-line); }
.axh-accordion-item { border-bottom: 1px solid var(--axh-line); }

.ds button.axh-accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--axh-font);
  font-size: 22px;
  font-weight: 600;
  color: var(--axh-ink);
}

.axh-accordion-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--axh-line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
}

.axh-accordion-body { padding: 0 0 24px; max-width: 46ch; }
.axh-accordion-text { margin: 0 0 16px; color: var(--axh-muted); font-size: 16px; line-height: 1.55; }

@media (max-width: 1024px) {
  .axh-quality-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .axh-quality { padding: 56px 0; }
  .ds button.axh-accordion-head { font-size: 18px; }
}

/* Строка фактов */
.axh-facts {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  text-align: center;
  color: var(--axh-muted);
  font-size: 16px;
}
.axh-facts b { color: var(--axh-ink); font-weight: 640; }

@media (max-width: 640px) {
  .axh-facts { margin-top: 48px; gap: 8px 16px; font-size: 14px; }
}

/* Грид категорий 4+3 */
.axh-cat-grid { margin-top: 64px; display: flex; flex-direction: column; gap: 16px; }
.axh-cat-row { display: grid; gap: 16px; }
.axh-cat-row-4 { grid-template-columns: repeat(4, 1fr); }
.axh-cat-row-3 { grid-template-columns: repeat(3, 1fr); }

.ds a.axh-cat-tile { display: block; text-decoration: none; }
.axh-cat-tile-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--axh-radius-card);
  overflow: hidden;
  background: var(--axh-line);
}
.axh-cat-tile-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .35s ease;
}
.ds a.axh-cat-tile:hover .axh-cat-tile-photo img { transform: scale(1.05); }

.axh-cat-tile-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16, 17, 13, .5), transparent 45%);
}

.axh-cat-tile-title {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: var(--axh-white);
  font-size: 15px;
  font-weight: 600;
  z-index: 1;
}

@media (max-width: 1024px) {
  .axh-cat-row-4, .axh-cat-row-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .axh-cat-grid { margin-top: 40px; gap: 12px; }
  .axh-cat-row-4, .axh-cat-row-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* -------------------------------------------------------- 4.3 Тёмная бенто */

.axh-bento { background: var(--axh-dark); padding: 96px 0; }
.axh-bento h2 { color: var(--axh-white); }

.axh-bento-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.axh-bento-card {
  background: var(--axh-dark-panel);
  border-radius: 16px;
  overflow: hidden;
}

.axh-bento-card-visual { position: relative; aspect-ratio: 16 / 10; background: #141510; }
.axh-bento-card-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}

.axh-bento-card-body { padding: 28px; }
.axh-bento-card-title {
  margin: 0;
  color: var(--axh-white);
  font-size: 22px;
  font-weight: 640;
  letter-spacing: -0.01em;
}
.axh-bento-card-text { margin: 10px 0 0; color: var(--axh-muted-dark); font-size: 15px; line-height: 1.55; }

.axh-bento-stats {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}
.axh-bento-stat {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--axh-line-dark);
  border-radius: 10px;
  padding: 14px 16px;
}
.axh-bento-stat-num { color: var(--axh-white); font-size: 18px; font-weight: 640; }
.axh-bento-stat-label { color: var(--axh-muted-dark); font-size: 13px; margin-top: 2px; }

@media (max-width: 1024px) {
  .axh-bento-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .axh-bento { padding: 56px 0; }
  .axh-bento-card-body { padding: 20px; }
}

/* --------------------------------------------------- 4.4 Светлая «Витрина» */

.axh-shops { background: var(--axh-cream); padding: 96px 0 0; overflow-x: hidden; }
.axh-shops-head { text-align: center; max-width: 640px; margin: 0 auto; }
.axh-shops-head p { margin: 16px 0 0; color: var(--axh-muted); font-size: 18px; }

.axh-shops-marquee { margin-top: 56px; display: flex; flex-direction: column; gap: 12px; padding-bottom: 56px; }

.axh-shops-card { flex-shrink: 0; width: 420px; margin-right: 12px; }
.axh-shops-card-photo { position: relative; aspect-ratio: 16 / 10; border-radius: var(--axh-radius-card); overflow: hidden; background: var(--axh-line); }
.axh-shops-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 640px) {
  .axh-shops { padding-top: 56px; }
  .axh-shops-head p { font-size: 15px; }
  .axh-shops-card { width: 260px; }
}

/* --------------------------------------------------------- 4.5 Малиновая */

.axh-drops {
  background: var(--axh-crimson);
  padding: 96px 0 0;
  overflow: hidden;
}

.axh-drops-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.axh-drops-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: var(--axh-white);
  font-size: 13px;
  font-weight: 600;
}

.axh-drops h2 { color: var(--axh-white); margin-top: 20px; }
.axh-drops p { margin-top: 20px; color: rgba(255, 255, 255, .8); font-size: 17px; line-height: 1.55; max-width: 46ch; }
.axh-drops-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.axh-drops-visual { position: relative; }
.axh-drops-visual-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--axh-radius-card) var(--axh-radius-card) 0 0;
  overflow: hidden;
  margin-bottom: -64px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
}
.axh-drops-visual-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1024px) {
  .axh-drops-grid { grid-template-columns: 1fr; }
  .axh-drops-visual-photo { margin-bottom: -32px; }
}
@media (max-width: 640px) {
  .axh-drops { padding-top: 56px; }
  .axh-drops p { max-width: none; }
}

/* -------------------------------------------------------------- 4.6 Синяя */

.axh-case { background: var(--axh-blue); padding: 96px 0; }

.axh-case-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.axh-case-visual { position: relative; aspect-ratio: 4 / 3; border-radius: var(--axh-radius-card); overflow: hidden; transform: rotate(-2deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.axh-case-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.axh-case-quote {
  margin: 0;
  color: var(--axh-white);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.axh-case-caption { margin-top: 24px; color: var(--axh-white); font-size: 16px; font-weight: 700; }
.ds a.axh-case-link {
  display: inline-block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  text-decoration: none;
}
.ds a.axh-case-link:hover { color: var(--axh-white); text-decoration: underline; }

@media (max-width: 1024px) {
  .axh-case-grid { grid-template-columns: 1fr; gap: 32px; }
  .axh-case-visual { transform: none; }
}
@media (max-width: 640px) {
  .axh-case { padding: 56px 0; }
  .axh-case-quote { font-size: 26px; }
}
