/* ============================================================
   pages.css — Atypisch site-wide page styles
   Shared by homepage_refined.html and all sub-pages
   Includes: site header (with hamburger), footer, page heroes,
   product/project grids, software detail, prose pages, contact.
   ============================================================ */


* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--atyp-font-body);
  color: var(--atyp-text-body);
  background: var(--ax2-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* ─────────────────────────────────────────────
   1. SITE HEADER — transparent over dark, solid on scroll
   ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 22px 0;
  transition: background-color 280ms ease, padding 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header.is-scrolled {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--ax2-rule-soft);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(15,23,42,0.02);
}
.site-header__inner {
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-header__brand { display: inline-flex; align-items: center; text-decoration: none; }
.site-header__brand img.is-light { display: block; height: 22px; width: auto; filter: brightness(0) invert(1); }
.site-header__brand img.is-dark { display: none; height: 22px; width: auto; }
.site-header.is-solid .site-header__brand img.is-light,
.site-header.is-scrolled .site-header__brand img.is-light { display: none; }
.site-header.is-solid .site-header__brand img.is-dark,
.site-header.is-scrolled .site-header__brand img.is-dark { display: block; }

.site-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.site-nav a {
  font-family: var(--atyp-font-heading);
  font-size: 0.92rem; font-weight: 500;
  color: rgba(255,255,255,0.7); text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 160ms ease;
}
.site-nav a:hover,
.site-nav a.is-current { color: #fff; }
.site-header.is-solid .site-nav a,
.site-header.is-scrolled .site-nav a { color: var(--ax2-ink-soft); }
.site-header.is-solid .site-nav a:hover,
.site-header.is-solid .site-nav a.is-current,
.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.is-current { color: var(--ax2-ink); }

.site-header__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-family: var(--atyp-font-heading); font-size: 0.85rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.site-header__cta:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); color: #fff; }
.site-header.is-solid .site-header__cta,
.site-header.is-scrolled .site-header__cta {
  background: var(--ax2-ink); border-color: var(--ax2-ink); color: #fff;
}
.site-header.is-solid .site-header__cta:hover,
.site-header.is-scrolled .site-header__cta:hover { background: #1a2332; border-color: #1a2332; }

/* Hamburger button — hidden on desktop */
.site-header__burger {
  display: none;
  width: 40px; height: 40px;
  border: 0; padding: 0; cursor: pointer;
  background: transparent;
  border-radius: 8px;
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
}
.site-header__burger span {
  position: absolute; left: 10px; right: 10px;
  height: 1.5px;
  background: #fff;
  transition: transform 280ms ease, opacity 280ms ease, background 160ms ease, top 280ms ease;
}
.site-header__burger span:nth-child(1) { top: 13px; }
.site-header__burger span:nth-child(2) { top: 19px; }
.site-header__burger span:nth-child(3) { top: 25px; }
.site-header.is-solid .site-header__burger span,
.site-header.is-scrolled .site-header__burger span { background: var(--ax2-ink); }
.site-header__burger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); background: #fff; }
.site-header__burger.is-open span:nth-child(2) { opacity: 0; }
.site-header__burger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); background: #fff; }

/* Mobile drawer — clip window starts below the logo so the panel never slides behind it */
.site-drawer {
  position: fixed;
  top: calc(var(--site-drawer-top, 84px) - 1px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 380ms;
}
.site-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}
.site-drawer__panel {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 32px 32px;
  background: linear-gradient(160deg, #061018 0%, #0a2528 100%);
  transform: translateY(-100%);
  transition: transform 380ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: auto;
}
.site-drawer.is-open .site-drawer__panel {
  transform: translateY(0);
}
.site-drawer__nav {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 48px;
}
.site-drawer__nav a {
  font-family: var(--atyp-font-hero);
  font-weight: 600;
  font-size: 2.2rem;
  letter-spacing: -0.025em;
  color: #fff;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: color 160ms ease, padding-left 220ms ease;
}
.site-drawer__nav a:hover {
  padding-left: 8px;
  color: #2dd4bf;
}
.site-drawer__sub {
  display: flex;
  flex-direction: column;
  margin: -4px 0 8px;
  padding: 0 0 8px 12px;
}
.site-drawer__nav a.is-sub {
  font-size: 1.15rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 0;
  color: rgba(255,255,255,0.72);
}
.site-drawer__minor {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.site-drawer__minor a {
  font-family: var(--atyp-font-heading);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.site-drawer__minor a:hover { color: #fff; }
.site-drawer__bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-drawer__lang {
  display: inline-flex;
  align-items: center;
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  gap: 4px;
}
.site-drawer__lang a { color: inherit; text-decoration: none; padding: 4px 8px; border-radius: 4px; }
.site-drawer__lang a.is-active { color: #fff; font-weight: 600; }
.site-drawer__lang span { opacity: 0.3; }

body.has-drawer-open { overflow: hidden; }
body.has-drawer-open .site-header,
body.has-drawer-open .site-header.is-solid,
body.has-drawer-open .site-header.is-scrolled,
body.has-drawer-open .home-topbar,
body.has-drawer-open .home-topbar.is-scrolled {
  background: #061018;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
  padding: 22px 0;
}
body.has-drawer-open .site-header .site-header__brand img.is-light { display: block; }
body.has-drawer-open .site-header .site-header__brand img.is-dark { display: none; }
body.has-drawer-open .home-topbar__brand img,
body.has-drawer-open .home-topbar.is-scrolled .home-topbar__brand img {
  filter: brightness(0) invert(1);
}
body.has-drawer-open .site-header__burger span,
body.has-drawer-open .home-topbar.is-scrolled .site-header__burger span {
  background: #fff;
}

@media (max-width: 900px) {
  .site-nav, .site-header__cta { display: none; }
  .site-header__burger { display: block; }
}

/* ─────────────────────────────────────────────
   2. PAGE HERO — light, used on most sub-pages
   ───────────────────────────────────────────── */
.page-hero {
  padding: 170px 0 90px;
  background: var(--ax2-paper);
  border-bottom: 1px solid var(--ax2-rule-soft);
  position: relative;
}
.page-hero__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 900px) {
  .page-hero__inner { grid-template-columns: 1.5fr 1fr; align-items: end; gap: 64px; }
}
.page-hero__eyebrow {
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ax2-ink-faint);
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
}
.page-hero__eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--ax2-ink-faint);
}
.page-hero h1 {
  font-family: var(--atyp-font-hero);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  color: var(--ax2-ink);
  max-width: 24ch;
  text-wrap: balance;
}
.page-hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ax2-ink-soft);
  line-height: 1.55;
  margin: 0;
  max-width: 38rem;
}

/* DARK page hero — used on Product overview / Product single (software pages) */
.dark-hero {
  position: relative;
  background:
    radial-gradient(circle at 88% 8%, rgba(45,212,191,0.10), transparent 50%),
    linear-gradient(135deg, #061018 0%, #0a2528 100%);
  color: #fff;
  padding: 180px 0 100px;
  overflow: hidden;
}
.dark-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
}
.dark-hero__inner {
  position: relative;
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 900px) {
  .dark-hero__inner { grid-template-columns: 1.5fr 1fr; align-items: end; gap: 64px; }
}
.dark-hero__eyebrow {
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(45,212,191,0.95);
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
}
.dark-hero__eyebrow::before {
  content: ""; width: 22px; height: 1px; background: rgba(45,212,191,0.55);
}
.dark-hero h1 {
  font-family: var(--atyp-font-hero);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.025em; line-height: 1.04;
  margin: 0 0 14px; color: #fff;
  max-width: 24ch;
}
.dark-hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(241,245,249,0.78);
  line-height: 1.55; margin: 0; max-width: 38rem;
}
.dark-hero__ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 40px;
}
.dark-hero__specstrip {
  display: flex; flex-wrap: wrap; gap: 14px 28px;
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.dark-hero__specstrip strong { color: #fff; font-weight: 600; }
.dark-hero .pill--ghost { color: #fff; border-color: rgba(255,255,255,0.3); background: transparent; }
.dark-hero .pill--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); color: #fff; }

/* PROJECT detail hero — full-bleed colored gradient with washed wordmark */
.case-hero {
  position: relative;
  min-height: 70vh;
  width: 100%;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 160px 0 64px;
  color: #fff;
}
.case-hero--coral  { background: linear-gradient(90deg, #842029 0%, #c8d6d3 100%); }
.case-hero--lime   { background: linear-gradient(180deg, #4a8c0c 0%, #98c63a 100%); }
.case-hero--ocean  { background: linear-gradient(135deg, #0f2942 0%, #2196f3 100%); }
.case-hero--violet { background: linear-gradient(135deg, #2a1b5e 0%, #6e3e8a 100%); }
.case-hero__brand {
  position: absolute;
  inset: 14% 0 auto 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 1; pointer-events: none;
}
.case-hero__brand-text {
  font-family: var(--atyp-font-hero);
  font-weight: 700;
  font-size: clamp(8rem, 18vw, 20rem);
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.16);
  filter: blur(2px); line-height: 1; text-transform: uppercase;
}
.case-hero__inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 32px; width: 100%;
}
.case-hero__eyebrow {
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin: 0 0 14px;
}
.case-hero__name {
  font-family: var(--atyp-font-hero);
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -0.025em;
  color: #fff; margin: 0 0 12px; line-height: 1;
}
.case-hero__tag {
  font-family: var(--atyp-font-heading);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ─────────────────────────────────────────────
   3. SECTIONS / SHELL
   ───────────────────────────────────────────── */
.shell { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 110px 0; }
.section--tight { padding: 60px 0; }
.section--paper { background: var(--ax2-paper); }
.section--tint  { background: var(--ax2-tint); }
.section--ink   { background: var(--ax2-ink); color: rgba(255,255,255,0.78); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(241,245,249,0.78); }

.section__head { margin-bottom: 56px; max-width: 60rem; }
.section__head--spread {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 900px) {
  .section__head--spread { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; }
}
.section__eyebrow {
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ax2-ink-faint); margin: 0 0 14px;
}
.section--ink .section__eyebrow { color: rgba(255,255,255,0.5); }
.section__title {
  font-family: var(--atyp-font-heading);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: -0.018em; line-height: 1.1;
  margin: 0 0 12px; color: var(--ax2-ink);
}
.section--ink .section__title { color: #fff; }
.section__title--bold { font-weight: 600; }
.section__sub { font-size: 1rem; color: var(--ax2-ink-soft); margin: 0; line-height: 1.55; max-width: 38rem; }
.section--ink .section__sub { color: rgba(241,245,249,0.78); }

/* ─────────────────────────────────────────────
   4. PROJECT CARDS (case-study look)
   ───────────────────────────────────────────── */
.proj-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 720px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .proj-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.proj-card {
  display: grid; grid-template-rows: auto auto auto;
  gap: 14px; text-decoration: none; color: inherit;
}
.proj-card__cover {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.proj-card:hover .proj-card__cover { transform: scale(1.01); }
.proj-card__cover--lime    { background: linear-gradient(180deg, #4a8c0c 0%, #98c63a 100%); }
.proj-card__cover--coral   { background: linear-gradient(180deg, #842029 0%, #c8d6d3 100%); }
.proj-card__cover--ocean   { background: linear-gradient(135deg, #0f2942 0%, #2196f3 100%); }
.proj-card__cover--violet  { background: linear-gradient(135deg, #2a1b5e 0%, #6e3e8a 100%); }
.proj-card__cover--ink     { background: linear-gradient(180deg, #0a0f1a 0%, #334155 100%); }
.proj-card__cover--sunset  { background: linear-gradient(180deg, #c2185b 0%, #f48fb1 100%); }
.proj-card__cover--image { padding: 0; align-items: stretch; }
.proj-card__cover-img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.proj-card__cover-img--logo {
  object-fit: contain;
  padding: clamp(20px, 7%, 40px);
  box-sizing: border-box;
}
.proj-card__cover-title {
  font-family: var(--atyp-font-heading);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: 0.08em; line-height: 0.95;
  color: rgba(255,255,255,0.95);
  text-align: center; text-transform: uppercase;
  white-space: pre-line;
  padding: 24px;
}
.proj-card__sq {
  display: block; width: 60px; height: 14px;
  margin: 14px auto 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14'><path fill='none' stroke='white' stroke-width='1.5' d='M0 7 Q 10 0, 20 7 T 40 7 T 60 7'/></svg>");
  background-repeat: no-repeat; background-size: contain; opacity: 0.9;
}
.proj-card__title {
  font-family: var(--atyp-font-heading);
  font-weight: 500; font-size: 1.3rem;
  letter-spacing: -0.015em;
  color: var(--ax2-ink); margin: 4px 0 0;
}
.proj-card__meta {
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ax2-ink-faint);
}

/* Filter chips — used on project overview */
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-chip {
  appearance: none;
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ax2-rule-soft);
  background: #fff;
  color: var(--ax2-ink-soft);
  font-family: var(--atyp-font-heading);
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.filter-chip:hover { border-color: var(--ax2-ink); color: var(--ax2-ink); }
.filter-chip.is-active {
  background: var(--ax2-ink);
  border-color: var(--ax2-ink);
  color: #fff;
}
.filter-chip__count {
  margin-left: 8px;
  font-family: var(--atyp-font-mono);
  font-size: 0.7rem;
  color: var(--ax2-ink-faint);
}
.filter-chip.is-active .filter-chip__count { color: rgba(255,255,255,0.55); }

/* ─────────────────────────────────────────────
   5. PROJECT DETAIL — meta + prose body
   ───────────────────────────────────────────── */
.case-body {
  background: #fff;
  padding: 96px 0;
  border-top: 1px solid var(--ax2-rule-soft);
}
.case-body__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr; gap: 56px;
}
@media (min-width: 900px) {
  .case-body__inner {
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
  }
  .case-prose { max-width: 540px; }
  .case-meta__row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 44px;
    white-space: nowrap;
  }
  .case-meta__k { flex-shrink: 0; }
  .case-meta__v { min-width: 0; }
}
.case-meta { display: grid; gap: 14px; }
.case-meta__row {
  display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: 18px; align-items: baseline;
  font-family: var(--atyp-font-heading);
}
.case-meta__k { font-size: 0.95rem; color: var(--ax2-ink); font-weight: 500; }
.case-meta__v { font-size: 0.95rem; color: var(--ax2-ink-soft); }
.case-prose p {
  font-size: 1.1rem; line-height: 1.65;
  color: var(--ax2-ink-soft); margin: 0 0 22px;
}
.case-prose p:first-child {
  font-size: 1.3rem; font-weight: 400;
  color: var(--ax2-ink); line-height: 1.4;
  margin-bottom: 28px; letter-spacing: -0.012em;
}
.case-prose h2 {
  font-family: var(--atyp-font-heading);
  font-weight: 600; font-size: 1.4rem;
  margin: 36px 0 12px; color: var(--ax2-ink);
}
.case-prose figure { margin: 36px 0; }
.case-prose figure img,
.case-prose figure > .ph {
  width: 100%; height: auto;
  border-radius: 14px;
  border: 1px solid var(--ax2-rule-soft);
}
.case-prose figure .ph {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--ax2-tint) 0%, var(--ax2-rule-soft) 100%);
}
.case-prose figcaption {
  margin-top: 10px;
  font-family: var(--atyp-font-mono);
  font-size: 0.78rem;
  color: var(--ax2-ink-faint);
  letter-spacing: 0.02em;
}
.case-prose blockquote {
  margin: 36px 0; padding: 24px 28px;
  border-left: 4px solid var(--atyp-brand-teal);
  background: var(--ax2-paper);
  border-radius: 0 12px 12px 0;
}
.case-prose blockquote p {
  font-family: var(--atyp-font-hero);
  font-size: 1.25rem; font-weight: 500;
  color: var(--ax2-ink); line-height: 1.4;
  margin: 0 0 8px;
}
.case-prose blockquote cite {
  font-style: normal;
  font-family: var(--atyp-font-mono);
  font-size: 0.78rem; color: var(--ax2-ink-soft);
}

/* ─────────────────────────────────────────────
   6. PRODUCT (SKU) CARDS — software-product look
   ───────────────────────────────────────────── */
.sku-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .sku-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sku-grid { grid-template-columns: repeat(3, 1fr); } }

.sku {
  display: grid; grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--ax2-rule-soft);
  border-radius: 14px;
  padding: 22px 22px 18px;
  text-decoration: none; color: inherit;
  transition: border-color 180ms ease, box-shadow 220ms ease, transform 220ms ease;
  position: relative; overflow: hidden;
}
.sku:hover {
  border-color: var(--ax2-ink);
  box-shadow: 0 12px 30px -16px rgba(15,23,42,0.20);
  transform: translateY(-2px);
}
.sku__top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--atyp-font-mono); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ax2-ink-faint);
}
.sku__status {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
}
.sku__status::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: #22c55e;
}
.sku__status--beta::before { background: #f59e0b; }
.sku__status--soon::before { background: var(--ax2-ink-faint); }
.sku__status--alpha::before { background: #d81b60; }
.sku__handle {
  font-family: var(--atyp-font-mono);
  font-size: 0.68rem; color: var(--ax2-ink-faint);
}
.sku__brand { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 0; }
.sku__name {
  font-family: var(--atyp-font-hero);
  font-weight: 700; font-size: 2rem;
  letter-spacing: -0.025em;
  color: var(--ax2-ink); line-height: 1; margin: 0;
}
.sku__domain {
  font-family: var(--atyp-font-mono);
  font-size: 0.78rem; color: var(--ax2-ink-soft);
}
.sku__pitch {
  font-size: 0.95rem; color: var(--ax2-ink-soft);
  line-height: 1.55; margin: 0;
}
.sku__foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; padding-top: 14px;
  border-top: 1px dashed var(--ax2-rule-soft);
  font-family: var(--atyp-font-mono); font-size: 0.7rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ax2-ink-soft);
}
.sku__stack { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.sku__stack span { color: var(--ax2-ink-faint); }
.sku__stack span::after { content: " ·"; color: var(--ax2-ink-faint); }
.sku__stack span:last-child::after { content: ""; }
.sku__license { font-weight: 600; color: var(--ax2-ink); }

/* ─────────────────────────────────────────────
   7. TERMINAL block
   ───────────────────────────────────────────── */
.terminal {
  background: #0a0f1a; color: #cbd5e1;
  border-radius: 12px; overflow: hidden;
  font-family: var(--atyp-font-mono);
  font-size: 0.85rem; line-height: 1.5;
  box-shadow: 0 12px 40px -16px rgba(2,6,23,0.30);
}
.terminal__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.terminal__dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(255,255,255,0.18);
}
.terminal__dot.is-red    { background: #f87171; }
.terminal__dot.is-amber  { background: #fbbf24; }
.terminal__dot.is-green  { background: #34d399; }
.terminal__bar-label {
  margin-left: 8px; color: rgba(255,255,255,0.45);
  font-size: 0.7rem; letter-spacing: 0.04em;
}
.terminal__body { padding: 18px 20px; }
.terminal__line { display: block; margin: 0 0 6px; }
.terminal__prompt { color: #2dd4bf; user-select: none; }
.terminal__cmd { color: #f8fafc; }
.terminal__out { color: rgba(255,255,255,0.5); }

/* ─────────────────────────────────────────────
   8. VERSION TIMELINE / UPDATES list
   ───────────────────────────────────────────── */
.versions { display: grid; gap: 0; border-top: 1px solid var(--ax2-rule-soft); }
.version {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  grid-template-areas:
    "v v v"
    "date note tag";
  column-gap: 24px;
  row-gap: 6px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--ax2-rule-soft);
  text-decoration: none; color: inherit;
}
@media (max-width: 720px) {
  .version {
    grid-template-columns: 1fr;
    grid-template-areas:
      "v"
      "date"
      "note"
      "tag";
    gap: 6px;
    padding: 14px 0;
  }
  .version__tag { justify-self: start; }
}
.version__v {
  grid-area: v;
  font-family: var(--atyp-font-mono); font-size: 0.85rem; font-weight: 600;
  color: var(--ax2-ink);
  overflow-wrap: anywhere;
  min-width: 0;
}
.version__date {
  grid-area: date;
  font-family: var(--atyp-font-mono); font-size: 0.78rem;
  color: var(--ax2-ink-faint); letter-spacing: 0.04em;
}
.version__note {
  grid-area: note;
  font-family: var(--atyp-font-heading); font-size: 0.98rem;
  color: var(--ax2-ink);
  min-width: 0;
}
.version__tag {
  grid-area: tag;
  font-family: var(--atyp-font-mono); font-size: 0.75rem;
  letter-spacing: 0.01em;
  color: var(--ax2-ink-soft); white-space: nowrap;
  padding: 4px 10px; border: 1px solid var(--ax2-rule-soft); border-radius: 4px;
}

/* ─────────────────────────────────────────────
   9. FEATURE ROWS (docs-style)
   ───────────────────────────────────────────── */
.feat-rows { display: grid; gap: 0; border-top: 1px solid var(--ax2-rule-soft); }
.feat-row {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 32px; padding: 28px 0;
  border-bottom: 1px solid var(--ax2-rule-soft);
}
@media (max-width: 720px) { .feat-row { grid-template-columns: 1fr; gap: 8px; } }
.feat-row__k {
  font-family: var(--atyp-font-mono);
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ax2-ink-faint); padding-top: 2px;
}
.feat-row__body h3 {
  font-family: var(--atyp-font-heading); font-weight: 600; font-size: 1.1rem;
  color: var(--ax2-ink); margin: 0 0 6px;
}
.feat-row__body p {
  font-size: 0.98rem; color: var(--ax2-ink-soft);
  line-height: 1.55; margin: 0;
}

/* Stack pills */
.stack-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-pills span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 6px;
  border: 1px solid var(--ax2-rule-soft); border-radius: 6px;
  background: #fff;
  font-family: var(--atyp-font-mono);
  font-size: 0.75rem; color: var(--ax2-ink);
}
.stack-pills span::before {
  content: ""; width: 5px; height: 5px; border-radius: 999px;
  background: #14b8a6;
}

/* ─────────────────────────────────────────────
   10. PROSE / TEXT PAGE
   ───────────────────────────────────────────── */
.prose { max-width: 42rem; }
.prose p {
  font-size: 1.1rem; line-height: 1.7;
  color: var(--ax2-ink-soft); margin: 0 0 22px;
}
.prose p.lead {
  font-size: 1.4rem; font-weight: 400;
  color: var(--ax2-ink); line-height: 1.4;
  margin-bottom: 36px; letter-spacing: -0.012em;
}
.prose h2 {
  font-family: var(--atyp-font-heading);
  font-weight: 600;
  font-size: 1.6rem; letter-spacing: -0.018em;
  margin: 56px 0 14px; color: var(--ax2-ink);
}
.prose h3 {
  font-family: var(--atyp-font-heading);
  font-weight: 600; font-size: 1.2rem;
  margin: 36px 0 10px; color: var(--ax2-ink);
}
.prose ul, .prose ol {
  margin: 0 0 22px 22px; padding: 0;
  color: var(--ax2-ink-soft); font-size: 1.05rem; line-height: 1.6;
}
.prose li { margin-bottom: 8px; }

.two-col { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }
.two-col p { margin: 0 0 18px; color: var(--ax2-ink-soft); font-size: 1.05rem; line-height: 1.65; }
.two-col h3 { font-family: var(--atyp-font-heading); font-weight: 600; font-size: 1.2rem; margin: 0 0 10px; color: var(--ax2-ink); }
.two-col h3 + p { margin-top: 0; }
.two-col h3:not(:first-child) { margin-top: 24px; }

.media-side { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 800px) { .media-side { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.media-side__media {
  aspect-ratio: 16/10; border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, var(--ax2-tint) 0%, var(--ax2-rule-soft) 100%);
  border: 1px solid var(--ax2-rule-soft);
}
.media-side__media--slider {
  aspect-ratio: auto;
  background: transparent;
  border: 0;
  overflow: visible;
  border-radius: 0;
}
.media-side__media--slider .cm-slider__viewport { aspect-ratio: 16 / 10; }
.media-side__media--slider .cm-slider__slide .cm-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}
.media-side__caption p { margin: 0 0 14px; color: var(--ax2-ink-soft); font-size: 1rem; line-height: 1.6; }
.media-side__caption strong { color: var(--ax2-ink); }

.pullquote {
  margin: 56px 0; padding: 28px 32px;
  border-left: 4px solid var(--atyp-brand-teal);
  background: var(--ax2-paper);
  border-radius: 0 14px 14px 0;
}
.pullquote__text {
  font-family: var(--atyp-font-hero);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.3; letter-spacing: -0.012em;
  color: var(--ax2-ink); margin: 0 0 12px;
}
.pullquote__cite {
  font-style: normal; font-family: var(--atyp-font-mono);
  font-size: 0.85rem; color: var(--ax2-ink-soft);
}

/* Team */
.team-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  background: #fff;
  border: 1px solid var(--ax2-rule-soft);
  border-radius: 14px;
  padding: 24px;
}
.team-card__avatar {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--atyp-logo-gradient);
  margin-bottom: 16px;
  overflow: hidden;
}
.team-card__avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.team-card__name {
  font-family: var(--atyp-font-heading);
  font-weight: 600; font-size: 1.1rem;
  margin: 0; color: var(--ax2-ink);
}
.team-card__role {
  font-size: 0.92rem; color: var(--ax2-ink-soft); margin: 4px 0 12px;
}
.team-card__bio { font-size: 0.92rem; line-height: 1.55; color: var(--ax2-ink-soft); margin: 0; }

/* ─────────────────────────────────────────────
   11. CONTACT
   ───────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 96px; } }
.form { display: grid; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--atyp-font-mono);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ax2-ink-faint);
}
.field input,
.field select,
.field textarea {
  appearance: none; border: 0;
  border-bottom: 1px solid var(--ax2-rule);
  background: transparent; padding: 10px 0;
  font-family: var(--atyp-font-body);
  font-size: 1.05rem; color: var(--ax2-ink);
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-bottom-color: var(--atyp-teal);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ax2-ink-faint); }

.contact__info { display: grid; gap: 32px; }
.contact__info h3 {
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
  color: var(--ax2-ink-faint);
  margin: 0 0 10px;
}
.contact__info p {
  font-family: var(--atyp-font-heading);
  font-size: 1.1rem; color: var(--ax2-ink);
  margin: 0; line-height: 1.5;
}
.contact__info a {
  color: var(--ax2-ink); text-decoration: none;
  border-bottom: 1px solid var(--ax2-rule);
}
.contact__info a:hover { border-bottom-color: var(--ax2-ink); }

/* ─────────────────────────────────────────────
   12. FOOTER
   ───────────────────────────────────────────── */
.site-footer {
  background: var(--ax2-ink);
  color: rgba(255,255,255,0.4);
  padding: 0 0 32px;
  font-family: var(--atyp-font-mono);
  font-size: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.site-footer__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 64px 32px 0;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 720px) {
  .site-footer__inner { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 56px; }
}
.site-footer__pitch img { height: 26px; width: auto; display: block; margin-bottom: 16px; }
.site-footer__pitch p {
  font-family: var(--atyp-font-heading);
  font-size: 0.95rem; color: rgba(255,255,255,0.55);
  line-height: 1.55; margin: 0; max-width: 30ch;
}
.site-footer h4 {
  font-family: var(--atyp-font-heading); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; margin: 0 0 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a {
  font-family: var(--atyp-font-heading);
  color: rgba(255,255,255,0.55); font-size: 0.92rem; text-decoration: none;
}
.site-footer a:hover { color: #fff; }
.site-footer__bottom {
  max-width: 1280px; margin: 48px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  color: rgba(255,255,255,0.35);
}

/* ─────────────────────────────────────────────
   13. PILLS (overrides for sub-pages)
   ───────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 999px;
  font-family: var(--atyp-font-heading);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease, border-color 200ms ease, box-shadow 220ms ease;
}
.pill--teal {
  background: var(--atyp-teal);
  color: #050f14; border-color: var(--atyp-teal);
}
.pill--teal:hover,
.pill--teal:focus-visible {
  background: #5eead4; border-color: #5eead4; color: #050f14;
  transform: translateY(-1px); box-shadow: 0 10px 28px rgba(45,212,191,0.42);
}
.pill--teal:active { transform: translateY(0); box-shadow: 0 4px 14px rgba(45,212,191,0.30); }

.pill--solid {
  background: var(--ax2-ink); color: #fff; border-color: var(--ax2-ink);
}
.pill--solid:hover,
.pill--solid:focus-visible {
  background: #1a2332; border-color: #1a2332; color: #fff;
  transform: translateY(-1px); box-shadow: 0 10px 28px rgba(15,23,42,0.30);
}
.pill--solid:active { transform: translateY(0); box-shadow: 0 4px 14px rgba(15,23,42,0.22); }

.pill--ghost {
  background: transparent; color: var(--ax2-ink);
  border-color: var(--ax2-rule);
}
.pill--ghost:hover,
.pill--ghost:focus-visible {
  border-color: var(--ax2-ink); color: var(--ax2-ink);
  background: rgba(15,23,42,0.04);
  transform: translateY(-1px);
}
.pill--ghost:active { transform: translateY(0); background: rgba(15,23,42,0.08); }

/* Ghost button placed on a dark section */
.section--ink .pill--ghost,
.dark-hero .pill--ghost,
.feat-product .pill--ghost,
.case-hero .pill--ghost {
  color: #fff; border-color: rgba(255,255,255,0.35); background: transparent;
}
.section--ink .pill--ghost:hover,
.dark-hero .pill--ghost:hover,
.feat-product .pill--ghost:hover,
.case-hero .pill--ghost:hover {
  border-color: #fff; color: #fff;
  background: rgba(255,255,255,0.10);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255,255,255,0.10);
}

/* Mini arrow link — animated underline */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--atyp-font-heading);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ax2-ink);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}
.arrow-link::before {
  content: "";
  position: absolute; left: 0; right: 18px; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0.12); transform-origin: left;
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
}
.arrow-link:hover::before { transform: scaleX(1); }
.arrow-link::after { content: "→"; transition: transform 220ms ease; }
.arrow-link:hover::after { transform: translateX(4px); }
.section--ink .arrow-link { color: #fff; }
.section--ink .arrow-link::after { color: #fff; }

/* Filter chips — improved hover */
.filter-chip {
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms ease;
}
.filter-chip:hover {
  border-color: var(--ax2-ink); color: var(--ax2-ink);
  background: var(--ax2-paper);
  transform: translateY(-1px);
}
.filter-chip:active { transform: translateY(0); }

/* SKU & project card hover already in place — reinforce */
.sku:focus-visible,
.proj-card:focus-visible,
.feat-project:focus-visible {
  outline: 2px solid var(--atyp-teal); outline-offset: 4px;
}

/* Site-header CTA hover sharper */
.site-header__cta { transition: background 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms ease, box-shadow 220ms ease; }
.site-header__cta:hover {
  background: rgba(255,255,255,0.20); border-color: rgba(255,255,255,0.55);
  transform: translateY(-1px);
}
.site-header.is-solid .site-header__cta:hover,
.site-header.is-scrolled .site-header__cta:hover {
  background: #1a2332; border-color: #1a2332;
  box-shadow: 0 10px 28px rgba(15,23,42,0.25);
}

/* Nav link hover — underline grows */
.site-nav a { position: relative; padding-bottom: 5px; }
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
.site-nav a:hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }

/* ─────────────────────────────────────────────
   14. MEDIA-IN-GRADIENT — the photo / screenshot pattern
   Show real imagery inside a gradient frame so the brand
   stays consistent. Three variants:
     - .media-frame--bleed   : photo bleeds inside a 16:9 gradient pad
     - .media-frame--shot    : product screenshot floating on gradient
     - .media-frame--mosaic  : multiple photos in a gradient grid
   ───────────────────────────────────────────── */
.media-frame {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.media-frame--ocean  { background: linear-gradient(135deg, #0a1d2c 0%, #134e4a 60%, #155e75 100%); }
.media-frame--violet { background: linear-gradient(135deg, #2a1b5e 0%, #6e3e8a 100%); }
.media-frame--coral  { background: linear-gradient(90deg, #842029 0%, #c8d6d3 100%); }
.media-frame--lime   { background: linear-gradient(180deg, #4a8c0c 0%, #98c63a 100%); }
.media-frame--ink    { background: linear-gradient(135deg, #061018 0%, #0a2528 100%); }
.media-frame::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.10), transparent 55%);
  pointer-events: none;
}

/* a) Single hero photo bleeding inside the gradient */
.media-frame--bleed { padding: 0; aspect-ratio: 21 / 9; }
.media-frame--bleed img,
.media-frame--bleed .ph {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame--bleed .ph {
  background:
    radial-gradient(circle at 70% 40%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(160deg, transparent 0%, rgba(0,0,0,0.25) 100%);
}
.media-frame__label {
  position: absolute; left: clamp(20px, 4vw, 40px); bottom: clamp(20px, 4vw, 40px);
  z-index: 2;
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* b) Product screenshot floating inside gradient */
.media-frame--shot {
  aspect-ratio: 16 / 10;
}
.media-frame--shot img,
.media-frame--shot .ph {
  width: 100%; height: auto;
  max-height: 100%;
  border-radius: 10px;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.40),
    0 1px 0 rgba(255,255,255,0.10) inset;
  border: 1px solid rgba(255,255,255,0.10);
  background: #fff;
  position: relative; z-index: 1;
}
.media-frame--shot .ph {
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}
/* faux browser chrome inside a placeholder shot */
.media-frame__chrome {
  position: relative;
  width: 100%;
  max-width: 920px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.40);
  z-index: 1;
}
.media-frame__chrome-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
.media-frame__chrome-bar span {
  width: 9px; height: 9px; border-radius: 999px;
  background: #cbd5e1;
}
.media-frame__chrome-bar span:nth-child(1) { background: #fca5a5; }
.media-frame__chrome-bar span:nth-child(2) { background: #fcd34d; }
.media-frame__chrome-bar span:nth-child(3) { background: #86efac; }
.media-frame__chrome-bar small {
  margin-left: auto;
  font-family: var(--atyp-font-mono);
  font-size: 0.7rem;
  color: #94a3b8;
}
.media-frame__chrome-body {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8;
  font-family: var(--atyp-font-mono);
  font-size: 0.85rem;
}

/* c) Photo mosaic inside gradient */
.media-frame--mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: clamp(20px, 3vw, 40px);
  aspect-ratio: 16 / 9;
}
.media-frame--mosaic > .ph,
.media-frame--mosaic > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
}
.media-frame--mosaic > :nth-child(1) { grid-row: span 2; }

.media-frame--slider {
  display: block;
  padding: clamp(20px, 3vw, 40px);
}
.media-frame--slider .cm-slider {
  position: relative;
  z-index: 1;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.media-frame--slider .cm-slider__viewport {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.media-frame--slider .cm-slider__slide .cm-photo,
.media-frame--slider .cm-slider__slide .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  display: block;
}
.media-frame--slider .cm-slider__slide .ph {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 100%);
}
.media-frame--slider .cm-slider__nav {
  background: transparent;
  border-top: 0;
  padding: 16px 0 0;
}
.media-frame--slider .cm-slider__dot { background: rgba(255,255,255,0.45); }
.media-frame--slider .cm-slider__dot.is-active { background: #fff; }
.media-frame--slider .cm-slider__counter { color: rgba(255,255,255,0.85); }
.media-frame--slider .cm-slider__arrow {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
}
.media-frame--slider .cm-slider__arrow:hover {
  background: rgba(255,255,255,0.28);
  border-color: #fff;
  color: #fff;
}
.media-frame--slider .cm-slider__arrow:disabled { opacity: 0.4; }
.media-frame--mosaic:has(> :only-child) {
  grid-template-columns: 1fr;
}
.media-frame--mosaic:has(> :only-child) > :nth-child(1) { grid-row: auto; }
.media-frame--mosaic:has(> :nth-child(4)) {
  aspect-ratio: auto;
  grid-auto-rows: minmax(140px, 22vw);
}

/* Caption strip below a media-frame */
.media-caption {
  margin: 14px 0 0;
  display: flex; justify-content: space-between; gap: 24px;
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ax2-ink-faint);
}

/* ─────────────────────────────────────────────
   15. SOLUTIONS PAGE — three-track services
   ───────────────────────────────────────────── */
.sol-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) { .sol-grid { grid-template-columns: repeat(3, 1fr); } }
.sol-card {
  display: grid; grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--ax2-rule-soft);
  border-radius: 16px;
  text-decoration: none; color: inherit;
  transition: border-color 200ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.sol-card:hover {
  border-color: var(--ax2-ink);
  box-shadow: 0 12px 30px -16px rgba(15,23,42,0.20);
  transform: translateY(-2px);
}
.sol-card__num {
  font-family: var(--atyp-font-mono);
  font-size: 0.75rem; font-weight: 500;
  color: var(--ax2-ink-faint);
  letter-spacing: 0.08em;
}
.sol-card__title {
  font-family: var(--atyp-font-heading);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.018em;
  color: var(--ax2-ink);
  margin: 0;
}
.sol-card__body {
  font-size: 0.95rem; color: var(--ax2-ink-soft);
  line-height: 1.55; margin: 0;
}
.sol-card__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 8px;
}
.sol-card__list li {
  font-family: var(--atyp-font-heading);
  font-size: 0.9rem; color: var(--ax2-ink);
  padding-left: 18px; position: relative;
}
.sol-card__list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--ax2-ink-faint);
}

/* Process step — used on Solutions page */
.process-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--ax2-rule-soft);
}
@media (min-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    border-top: 0;
  }
}
.process-step {
  padding: 32px 0;
  border-bottom: 1px solid var(--ax2-rule-soft);
}
@media (min-width: 900px) {
  .process-step {
    padding: 32px 32px 32px 0;
    border-bottom: 0;
    border-right: 1px solid var(--ax2-rule-soft);
  }
  .process-step:last-child { border-right: 0; padding-right: 0; }
}
.process-step__num {
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ax2-ink-faint);
  margin: 0 0 14px;
}
.process-step__title {
  font-family: var(--atyp-font-heading);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.018em;
  color: var(--ax2-ink);
  margin: 0 0 10px;
}
.process-step__body {
  font-size: 0.92rem; color: var(--ax2-ink-soft);
  line-height: 1.55; margin: 0;
}

/* ─────────────────────────────────────────────
   17. FEATURED PRODUCT BANNER — site-wide, on products overview
   ───────────────────────────────────────────── */
.feat-product {
  position: relative;
  width: 100%;
  background:
    radial-gradient(circle at 80% 20%, rgba(45,212,191,0.18), transparent 55%),
    linear-gradient(135deg, #061018 0%, #0a2528 60%, #134e4a 100%);
  color: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.feat-product::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 50%, transparent 100%);
}
.feat-product__inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: 0 32px;
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 1000px) {
  .feat-product__inner { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: center; }
}
.feat-product__eyebrow {
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(45,212,191,0.95);
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 24px;
}
.feat-product__eyebrow::before {
  content: ""; width: 22px; height: 1px; background: rgba(45,212,191,0.55);
}
.feat-product__brand {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 14px;
}
.feat-product__brand h2 {
  font-family: var(--atyp-font-hero);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0; color: #fff;
}
.feat-product__brand-domain {
  font-family: var(--atyp-font-mono);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.feat-product__intro {
  font-family: var(--atyp-font-heading);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  letter-spacing: -0.012em;
  line-height: 1.45;
  color: rgba(241,245,249,0.85);
  margin: 0 0 28px;
  max-width: 38rem;
}
.feat-product__lead {
  font-size: 1rem; color: rgba(241,245,249,0.7);
  line-height: 1.6; margin: 0 0 32px;
  max-width: 36rem;
}
.feat-product__ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.feat-product__panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 28px;
  display: grid; gap: 0;
}
.feat-product__panel-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 16px; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.feat-product__panel-row:last-child { border-bottom: 0; }
.feat-product__panel-row:first-child { padding-top: 0; }
.feat-product__panel-k {
  font-family: var(--atyp-font-mono);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.feat-product__panel-v {
  font-family: var(--atyp-font-heading);
  font-size: 0.95rem; color: #fff;
}
.feat-product__panel-v--teal { color: rgba(45,212,191,0.95); font-weight: 600; }

/* ─────────────────────────────────────────────
   17b. FEATURED PRODUCT — immersive showcase (Soriku)
   ───────────────────────────────────────────── */
.feat-show {
  --fp-accent: #ff5a00;
  position: relative; overflow: hidden;
  color: #fff;
}
.feat-show__beeldmerk {
  position: absolute; right: -120px; top: 50%;
  width: 620px; height: 620px; transform: translateY(-50%);
  object-fit: contain;
  opacity: 0.10; z-index: 0; pointer-events: none;
}
.feat-show__beeldmerk--spin { animation: feat-spin 80s linear infinite; }
.feat-show__beeldmerk--pulse { animation: feat-pulse 8s ease-in-out infinite; }
.feat-show__beeldmerk--drift { animation: feat-drift 18s ease-in-out infinite; }
@keyframes feat-spin { from { transform: translateY(-50%) rotate(0); } to { transform: translateY(-50%) rotate(360deg); } }
@keyframes feat-pulse {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.08); }
}
@keyframes feat-drift {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translate(-18px, calc(-50% - 12px)); }
}
@media (prefers-reduced-motion: reduce) {
  .feat-show__beeldmerk--spin,
  .feat-show__beeldmerk--pulse,
  .feat-show__beeldmerk--drift { animation: none; }
}
.feat-show__inner {
  position: relative; z-index: 2;
  max-width: 1340px; margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) 40px;
  display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center;
}
@media (min-width: 1000px) { .feat-show__inner { grid-template-columns: 0.92fr 1.08fr; gap: 64px; } }
.feat-show__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--atyp-font-mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--fp-accent, #ff7a33); margin: 0 0 26px;
}
.feat-show__eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--fp-accent, #ff7a33); }
.feat-show__brandrow { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; }
.feat-show__fulllogo { height: 44px; width: auto; display: block; }
.feat-show__intro {
  font-family: var(--atyp-font-hero); font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem); letter-spacing: -0.025em; line-height: 1.1;
  color: #fff; margin: 0 0 18px; max-width: 18ch;
}
.feat-show__intro em { font-style: normal; color: var(--fp-accent, #ff7a33); }
.feat-show__lead { font-size: 1.08rem; line-height: 1.6; color: rgba(241,245,249,0.74); margin: 0 0 26px; max-width: 44ch; }
.feat-show__feats { display: grid; gap: 0; margin: 0 0 30px; max-width: 46ch; }
.feat-show__feat { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 14px 0; align-items: baseline; border-top: 1px solid rgba(255,255,255,0.10); }
.feat-show__feat:last-child { border-bottom: 1px solid rgba(255,255,255,0.10); }
.feat-show__feat-k { font-family: var(--atyp-font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fp-accent, #ff7a33); white-space: nowrap; }
.feat-show__feat-v { font-family: var(--atyp-font-heading); font-size: 0.98rem; color: #fff; line-height: 1.45; }
.feat-show__feat-v small { display: block; color: rgba(241,245,249,0.55); font-size: 0.84rem; margin-top: 3px; }
.feat-show__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.pill--orange { background: linear-gradient(95deg, #ff2500 0%, #ff7100 100%); color: #fff; border-color: transparent; }
.pill--orange:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -8px rgba(255,80,0,0.55); color: #fff; filter: brightness(1.07); }
.pill--accent { background: var(--fp-accent, #ff5a00); color: #fff; border-color: transparent; }
.pill--accent:hover { transform: translateY(-1px); color: #fff; filter: brightness(1.12); }
.feat-show__stage { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; }
/* Main app window — clean, flat, modern */
.feat-show__win {
  position: relative; z-index: 2; width: 100%;
  border-radius: 16px; overflow: hidden;
  background: #0b0f17;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,120,40,0.06);
}
.feat-show__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.feat-show__bar i { width: 9px; height: 9px; border-radius: 999px; background: rgba(255,255,255,0.16); }
.feat-show__bar i:first-child { background: #ff5f57; }
.feat-show__bar i:nth-child(2) { background: #febc2e; }
.feat-show__bar i:nth-child(3) { background: #28c840; }
.feat-show__bar span { margin-left: 10px; font-family: var(--atyp-font-mono); font-size: 0.7rem; color: rgba(255,255,255,0.4); letter-spacing: 0.04em; }
.feat-show__win img { display: block; width: 100%; height: auto; }
.feat-show__slides { display: flex; width: 100%; transition: transform 400ms ease; }
.feat-show__slides img {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
  background: #0b0f17;
}
.feat-show__slide-nav {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 0; background: rgba(0,0,0,0.3);
}
.feat-show__slide-dot {
  width: 8px; height: 8px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3); background: transparent;
  cursor: pointer; padding: 0; transition: background 160ms ease;
}
.feat-show__slide-dot.is-active { background: #fff; border-color: #fff; }
.feat-show__slide-dot:hover { background: rgba(255,255,255,0.5); }
/* Floating secondary panel — overlaps bottom-left, glassy */
.feat-show__float {
  position: absolute; z-index: 3;
  bottom: -26px; left: -34px; width: 46%;
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 70px -24px rgba(0,0,0,0.8);
  animation: feat-bob 6s ease-in-out infinite;
}
.feat-show__float img { display: block; width: 100%; height: auto; }
@keyframes feat-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .feat-show__float { animation: none; } }
.feat-show__chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; background: rgba(10,15,26,0.78);
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.12);
  font-family: var(--atyp-font-mono); font-size: 0.7rem; letter-spacing: 0.04em; color: #fff;
  box-shadow: 0 14px 40px -12px rgba(0,0,0,0.6);
}
.feat-show__chip::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--fp-accent, #ff5a00); box-shadow: 0 0 0 3px rgba(255,90,0,0.25); }
.feat-show__chip--1 { top: -16px; right: 12%; animation: feat-bob 7s ease-in-out infinite; }
.feat-show__chip--2 { bottom: 18%; right: -18px; animation: feat-bob 5.5s ease-in-out infinite; }
@media (max-width: 999px) {
  .feat-show__stage { min-height: 0; display: block; }
  .feat-show__float { position: relative; inset: auto; width: 70%; margin: 16px auto 0; animation: none; }
  .feat-show__chip { display: none; }
  .feat-show__beeldmerk { width: 360px; height: 360px; right: -140px; opacity: 0.07; }
}

/* ─────────────────────────────────────────────
   18. FEATURED PROJECT BANNER — container-wide on projects overview
   ───────────────────────────────────────────── */
/* Compact bento raster: slideshow + info panel + mockup tile.
   Fixed-height rows so big source images never blow the layout up. */
.feat-project {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 12px;
  margin-bottom: 56px;
}
@media (min-width: 860px) {
  .feat-project {
    grid-template-columns: 1.55fr 1fr;
    grid-template-rows: 300px 184px;
    gap: 14px;
  }
}
/* Slideshow occupies the tall left column */
.feat-project__slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ax2-tint);
  min-height: 280px;
}
@media (min-width: 860px) {
  .feat-project__slider { grid-row: 1 / 3; grid-column: 1; min-height: 0; }
}
.feat-project__slider .cm-slider__viewport { aspect-ratio: auto; height: 100%; }
.feat-project__slider .cm-slider__slide .cm-photo { height: 100%; }
.feat-project__slider .cm-slider__nav {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.45), transparent);
  border: 0; padding: 14px 18px;
}
.feat-project__slider .cm-slider__dot { background: rgba(255,255,255,0.45); }
.feat-project__slider .cm-slider__dot.is-active { background: #fff; }
.feat-project__slider .cm-slider__counter { color: rgba(255,255,255,0.85); }
.feat-project__slider .cm-slider__arrow {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.30);
  color: #fff;
  backdrop-filter: blur(6px);
}
.feat-project__slider .cm-slider__arrow:hover { background: rgba(255,255,255,0.28); border-color: #fff; }
.feat-project__slider .cm-slider__arrow:disabled { opacity: 0.4; }

/* Info panel — dark, top-right */
.feat-project__info {
  border-radius: 16px;
  padding: clamp(24px, 2.4vw, 32px);
  background:
    radial-gradient(circle at 85% 12%, rgba(45,212,191,0.16), transparent 55%),
    linear-gradient(135deg, #061018 0%, #0a2528 100%);
  color: #fff;
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none;
}
@media (min-width: 860px) { .feat-project__info { grid-row: 1; grid-column: 2; } }
.feat-project__eyebrow {
  font-family: var(--atyp-font-mono);
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(45,212,191,0.95);
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
}
.feat-project__eyebrow::before { content: ""; width: 18px; height: 1px; background: rgba(45,212,191,0.55); }
.feat-project__title {
  font-family: var(--atyp-font-hero);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.025em; line-height: 1.05;
  margin: 2px 0 0; color: #fff;
}
.feat-project__excerpt {
  font-size: 0.95rem; line-height: 1.5; color: rgba(241,245,249,0.78);
  margin: 0;
}
.feat-project__meta {
  margin-top: auto;
  display: flex; gap: 20px; flex-wrap: wrap;
  font-family: var(--atyp-font-mono);
  font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.feat-project__meta strong { color: #fff; font-weight: 600; font-family: var(--atyp-font-heading); font-size: 0.8rem; letter-spacing: 0; text-transform: none; }
.feat-project__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--atyp-font-heading);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; text-decoration: none; margin-top: 4px;
}
.feat-project__cta::after { content: "→"; transition: transform 200ms ease; }
.feat-project__info:hover .feat-project__cta::after { transform: translateX(4px); }

/* Mockup tile — bottom-right, a real photo crop */
.feat-project__shot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ax2-tint);
  min-height: 160px;
  text-decoration: none;
}
@media (min-width: 860px) { .feat-project__shot { grid-row: 2; grid-column: 2; } }
.feat-project__shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.feat-project__shot-label {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--atyp-font-mono);
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(6px);
  padding: 5px 11px; border-radius: 999px;
}

/* ─────────────────────────────────────────────
   18b. PROJECTS OVERVIEW — big case rows, compact list, updates
   ───────────────────────────────────────────── */
.case-row {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--ax2-rule-soft); background: #fff;
  text-decoration: none; color: inherit; margin-bottom: 28px;
  transition: box-shadow 240ms ease, transform 240ms ease;
}
.case-row:hover { box-shadow: 0 24px 60px -28px rgba(15,23,42,0.30); transform: translateY(-2px); }
@media (min-width: 880px) {
  .case-row { grid-template-columns: 1.25fr 1fr; }
  .case-row--reverse > .case-row__media { order: 2; }
}
.case-row__media { position: relative; min-height: 340px; overflow: hidden; background: var(--ax2-tint); }
.case-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.2,0.75,0.2,1); }
.case-row:hover .case-row__media img { transform: scale(1.03); }
.case-row__tagcol { position: absolute; left: 18px; top: 18px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; }
.pill-tag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-family: var(--atyp-font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.case-row__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.case-row__eyebrow { font-family: var(--atyp-font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--atyp-teal-dark); margin: 0 0 16px; }
.case-row__title { font-family: var(--atyp-font-hero); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.025em; line-height: 1.05; color: var(--ax2-ink); margin: 0 0 14px; }
.case-row__excerpt { font-size: 1.05rem; line-height: 1.6; color: var(--ax2-ink-soft); margin: 0 0 24px; max-width: 38ch; }
.case-row__meta { display: flex; flex-wrap: wrap; gap: 20px 36px; padding-top: 22px; margin-top: auto; border-top: 1px solid var(--ax2-rule-soft); }
.case-row__meta span { font-family: var(--atyp-font-mono); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ax2-ink-faint); line-height: 1.5; }
.case-row__meta strong { display: block; font-family: var(--atyp-font-heading); font-size: 0.95rem; font-weight: 600; text-transform: none; letter-spacing: -0.01em; color: var(--ax2-ink); margin-top: 2px; }
.case-row__cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--atyp-font-heading); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ax2-ink); margin-bottom: 24px; }
.case-row:hover .case-row__cta { color: var(--atyp-cta-blue); }
.case-row__cta::after { content: "→"; transition: transform 200ms ease; }
.case-row:hover .case-row__cta::after { transform: translateX(4px); }

.proj-list { display: grid; gap: 0; border-top: 1px solid var(--ax2-rule); }
.proj-list__row { display: grid; grid-template-columns: minmax(0,1.4fr) 1fr auto; gap: 24px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--ax2-rule-soft); text-decoration: none; color: inherit; transition: background 160ms ease, padding-left 200ms ease; }
.proj-list__row:hover { background: rgba(15,23,42,0.015); padding-left: 14px; }
.proj-list__name { font-family: var(--atyp-font-heading); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.015em; color: var(--ax2-ink); }
.proj-list__sub { display: block; font-weight: 400; font-size: 0.88rem; color: var(--ax2-ink-soft); margin-top: 3px; }
.proj-list__sector { font-family: var(--atyp-font-mono); font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ax2-ink-faint); }
.proj-list__year { font-family: var(--atyp-font-mono); font-size: 0.82rem; color: var(--ax2-ink-soft); white-space: nowrap; }
@media (max-width: 680px) { .proj-list__row { grid-template-columns: 1fr auto; } .proj-list__sector { display: none; } }

.upd-list { display: grid; gap: 0; border-top: 1px solid var(--ax2-rule); }
.upd-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--ax2-rule-soft); text-decoration: none; color: inherit; }
.upd-row:hover .upd-row__note { color: var(--atyp-cta-blue); }
.upd-row__date { font-family: var(--atyp-font-mono); font-size: 0.78rem; color: var(--ax2-ink-faint); letter-spacing: 0.04em; }
.upd-row__note { font-family: var(--atyp-font-heading); font-size: 1rem; color: var(--ax2-ink); transition: color 160ms ease; }
.upd-row__note strong { font-weight: 600; }
.upd-row__tag { font-family: var(--atyp-font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ax2-ink-soft); white-space: nowrap; padding: 4px 10px; border: 1px solid var(--ax2-rule); border-radius: 4px; }
@media (max-width: 680px) { .upd-row { grid-template-columns: 1fr; gap: 6px; } .upd-row__tag { justify-self: start; } }

/* Project filter chips */
.pfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pfilter__chip {
  appearance: none; cursor: pointer;
  font-family: var(--atyp-font-heading);
  font-size: 0.82rem; font-weight: 500;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--ax2-rule); background: #fff;
  color: var(--ax2-ink-soft);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.pfilter__chip:hover { border-color: var(--ax2-ink-soft); color: var(--ax2-ink); }
.pfilter__chip.is-active { background: var(--ax2-ink); border-color: var(--ax2-ink); color: #fff; }
.proj-list__row.is-hidden { display: none; }

/* Client wall — logo grid */
.client-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ax2-rule-soft);
  border: 1px solid var(--ax2-rule-soft);
  border-radius: 14px;
  overflow: hidden;
}
@media (min-width: 640px) { .client-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .client-wall { grid-template-columns: repeat(4, 1fr); } }
.client-wall__logo {
  display: flex; align-items: center; justify-content: center;
  min-height: 96px; padding: 20px 16px;
  background: #fff; text-align: center;
  font-family: var(--atyp-font-heading);
  font-weight: 600; font-size: 1rem;
  letter-spacing: -0.01em; color: var(--ax2-ink-soft);
  transition: color 160ms ease, background 160ms ease;
}
.client-wall__logo:hover { color: var(--ax2-ink); background: var(--ax2-paper); }

/* ─────────────────────────────────────────────
   19. WEBLOG
   ───────────────────────────────────────────── */
.weblog-feat {
  display: grid; grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid var(--ax2-rule-soft);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  margin-bottom: 56px;
}
@media (min-width: 900px) {
  .weblog-feat { grid-template-columns: 1.1fr 1fr; }
}
.weblog-feat__cover {
  min-height: 280px;
  background:
    radial-gradient(circle at 70% 30%, rgba(45,212,191,0.30), transparent 55%),
    linear-gradient(135deg, #0a1d2c 0%, #134e4a 100%);
}
.weblog-feat__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.weblog-feat__tag {
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ax2-ink-faint);
}
.weblog-feat__title {
  font-family: var(--atyp-font-heading);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.018em; line-height: 1.15;
  color: var(--ax2-ink); margin: 0;
}

.weblog-list { display: grid; grid-template-columns: 1fr; }
.weblog-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--ax2-rule-soft);
  text-decoration: none; color: inherit;
}
.weblog-row:first-child { border-top: 1px solid var(--ax2-rule-soft); }
.weblog-row:hover .weblog-row__title { color: var(--atyp-cta-blue); }
@media (max-width: 720px) {
  .weblog-row { grid-template-columns: 1fr; gap: 6px; }
}
.weblog-row__date {
  font-family: var(--atyp-font-mono);
  font-size: 0.78rem; color: var(--ax2-ink-faint);
  letter-spacing: 0.04em;
}
.weblog-row__title {
  font-family: var(--atyp-font-heading);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.012em;
  color: var(--ax2-ink);
  margin: 0 0 4px;
  transition: color 160ms ease;
}
.weblog-row__excerpt {
  font-size: 0.95rem; color: var(--ax2-ink-soft); line-height: 1.5; margin: 0;
}
.weblog-row__tag {
  font-family: var(--atyp-font-mono);
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ax2-ink-soft);
}

.post-body { max-width: 42rem; margin: 0 auto; padding: 0 32px; }
.post-body p { font-size: 1.1rem; line-height: 1.7; color: var(--ax2-ink-soft); margin: 0 0 22px; }
.post-body p.lead {
  font-size: 1.35rem; font-weight: 400;
  color: var(--ax2-ink); line-height: 1.4;
  margin-bottom: 32px; letter-spacing: -0.012em;
}
.post-body h2 {
  font-family: var(--atyp-font-heading);
  font-weight: 600; font-size: 1.5rem;
  margin: 48px 0 14px; color: var(--ax2-ink); letter-spacing: -0.018em;
}
.post-body figure { margin: 36px 0; }
.post-body figure img,
.post-body figure .ph {
  width: 100%; border-radius: 12px;
  border: 1px solid var(--ax2-rule-soft);
}
.post-body figure .ph {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--ax2-tint) 0%, var(--ax2-rule-soft) 100%);
}
.post-body blockquote {
  margin: 32px 0; padding: 24px 28px;
  border-left: 4px solid var(--atyp-brand-teal);
  background: var(--ax2-paper);
  border-radius: 0 12px 12px 0;
}
.post-body blockquote p {
  font-family: var(--atyp-font-hero);
  font-size: 1.2rem; font-weight: 500;
  color: var(--ax2-ink); line-height: 1.4; margin: 0 0 8px;
}
.post-body blockquote cite {
  font-style: normal;
  font-family: var(--atyp-font-mono);
  font-size: 0.78rem; color: var(--ax2-ink-soft);
}

/* ─────────────────────────────────────────────
   20. CASE STUDY — rich media blocks
   Full-bleed + container photos, split grids, slider, video, mobile mockup.
   ───────────────────────────────────────────── */

/* Container-wide media block (default rhythm spacing) */
.cm-block {
  margin: 0 auto 72px;
}
.cm-block:last-child { margin-bottom: 0; }

/* Container-width photo (sits inside .case-body__inner via single-col override) */
.cm-photo {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--ax2-rule-soft);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ax2-tint) 0%, var(--ax2-rule-soft) 100%);
}
.cm-photo img {
  width: 100%; height: auto; display: block; object-fit: contain;
}

/* Stacked case images — every shot visible, container width, natural height */
.cm-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cm-stack .cm-photo {
  width: 100%;
  overflow: visible;
  background: transparent;
}
.cm-stack .cm-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
/* Generated placeholder backgrounds — show what a real photo would look like */
.cm-photo--ph-coral  { aspect-ratio: 16/9;  background: linear-gradient(135deg, #842029 0%, #c8d6d3 100%); }
.cm-photo--ph-lime   { aspect-ratio: 16/9;  background: linear-gradient(180deg, #4a8c0c 0%, #98c63a 100%); }
.cm-photo--ph-ocean  { aspect-ratio: 16/9;  background: linear-gradient(135deg, #0f2942 0%, #2196f3 100%); }
.cm-photo--ph-violet { aspect-ratio: 16/9;  background: linear-gradient(135deg, #2a1b5e 0%, #6e3e8a 100%); }
.cm-photo--ph-ink    { aspect-ratio: 16/9;  background:
  radial-gradient(circle at 70% 30%, rgba(45,212,191,0.30), transparent 55%),
  linear-gradient(135deg, #0a1d2c 0%, #134e4a 100%); }
.cm-photo--ph-paper  { aspect-ratio: 16/9;  background:
  radial-gradient(circle at 30% 70%, rgba(94,107,192,0.25), transparent 55%),
  linear-gradient(135deg, var(--ax2-tint) 0%, #e2e8f0 100%); }
.cm-photo--portrait { aspect-ratio: 3/4; }
.cm-photo--tall     { aspect-ratio: 2/3; }
.cm-photo--wide     { aspect-ratio: 21/9; }

/* Caption — always under media */
.cm-caption {
  margin-top: 14px;
  display: grid; grid-template-columns: auto 1fr;
  gap: 16px;
  font-family: var(--atyp-font-mono);
  font-size: 0.78rem; letter-spacing: 0.04em;
  color: var(--ax2-ink-faint);
}
.cm-caption__num {
  font-weight: 600; color: var(--ax2-ink-soft);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.cm-caption__text { color: var(--ax2-ink-soft); }

/* 2 / 3-column photo split */
.cm-split {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media (min-width: 720px) {
  .cm-split--2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .cm-split--3 { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
/* Asymmetric 2-col: left is wider */
@media (min-width: 720px) {
  .cm-split--asym { grid-template-columns: 1.6fr 1fr; }
  .cm-split--asym-r { grid-template-columns: 1fr 1.6fr; }
}

/* Photo + content side block */
.cm-side {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  align-items: center;
}
@media (min-width: 820px) {
  .cm-side { grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .cm-side--reverse { grid-template-columns: 1fr 1.2fr; }
  .cm-side--reverse > :first-child { order: 2; }
}
.cm-side__copy h3 {
  font-family: var(--atyp-font-heading);
  font-weight: 600; font-size: 1.4rem;
  letter-spacing: -0.018em; color: var(--ax2-ink);
  margin: 0 0 12px;
}
.cm-side__copy p {
  font-size: 1.05rem; line-height: 1.6;
  color: var(--ax2-ink-soft); margin: 0 0 14px;
}
.cm-side__copy p:last-child { margin-bottom: 0; }
.cm-side__copy ul {
  list-style: none; margin: 14px 0 0; padding: 0;
}
.cm-side__copy ul li {
  font-family: var(--atyp-font-heading);
  font-size: 0.95rem; color: var(--ax2-ink);
  padding: 8px 0 8px 22px;
  position: relative;
  border-top: 1px solid var(--ax2-rule-soft);
}
.cm-side__copy ul li:first-child { border-top: 0; padding-top: 0; }
.cm-side__copy ul li::before {
  content: "";
  position: absolute; left: 0; top: 18px;
  width: 12px; height: 1px;
  background: var(--atyp-brand-teal);
}
.cm-side__copy ul li:first-child::before { top: 10px; }

/* Full-bleed (escapes container) */
.cm-fullbleed {
  width: 100vw;
  position: relative;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  border-radius: 0;
}
.cm-fullbleed .cm-photo { border-radius: 0; border-left: 0; border-right: 0; }
.cm-fullbleed .cm-caption {
  max-width: 1280px; margin: 14px auto 0; padding: 0 32px;
}

/* Mobile mockups — phone frames in a row (max 3 across) */
.cm-mobile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 16px 20px;
  padding: 48px clamp(20px, 4vw, 48px);
  border-radius: 18px;
  background: linear-gradient(160deg, #0a1d2c 0%, #134e4a 60%, #155e75 100%);
  position: relative; overflow: hidden;
}
.cm-mobile--violet { background: linear-gradient(160deg, #2a1b5e 0%, #6e3e8a 100%); }
.cm-mobile--ink    { background: linear-gradient(160deg, #061018 0%, #0a2528 100%); }
.cm-phone {
  position: relative;
  flex: 0 1 220px;
  width: 220px;
  max-width: calc(33.333% - 14px);
  min-width: 0;
  aspect-ratio: 9 / 19.5;
  border-radius: 28px;
  background: #0a0f1a;
  padding: 8px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
}
.cm-phone--shot img {
  max-width: 100%;
  min-width: 0;
}
@media (max-width: 719px) {
  .cm-phone {
    flex-basis: min(220px, 70vw);
    width: min(220px, 70vw);
    max-width: 70vw;
  }
}
.cm-phone__screen {
  width: 100%; height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, #f1f5f9 100%);
  display: flex; flex-direction: column;
}
.cm-phone--shot .cm-phone__screen {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0f1a;
}
.cm-phone--shot .cm-phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
}

/* Non-mobile portrait images — smaller grid, no phone chrome */
.cm-portrait-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
}
.cm-portrait-grid .cm-photo--portrait {
  flex: 0 1 280px;
  width: 280px;
  max-width: calc(33.333% - 14px);
  min-width: 0;
  aspect-ratio: auto;
  background: var(--ax2-tint);
}
.cm-portrait-grid .cm-photo--portrait img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 719px) {
  .cm-portrait-grid .cm-photo--portrait {
    flex-basis: min(280px, 80vw);
    width: min(280px, 80vw);
    max-width: 80vw;
  }
}
.cm-phone__notch {
  height: 18px;
  background: #0a0f1a;
  border-radius: 0 0 14px 14px;
  width: 60%;
  margin: 0 auto 0 auto;
  position: relative; z-index: 2;
}
.cm-phone__body {
  flex: 1;
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.cm-phone__bar {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ax2-ink) 0%, var(--ax2-ink-soft) 100%);
  width: 70%;
}
.cm-phone__bar--accent {
  width: 38%;
  background: linear-gradient(90deg, var(--atyp-brand-teal) 0%, #5eead4 100%);
}
.cm-phone__bar--soft {
  width: 92%;
  background: var(--ax2-rule);
  height: 4px;
}
.cm-phone__card {
  height: 80px; border-radius: 8px;
  background: linear-gradient(135deg, var(--ax2-paper) 0%, var(--ax2-rule-soft) 100%);
  margin-top: 6px;
}
.cm-phone__card--photo-teal  { background: linear-gradient(135deg, #134e4a 0%, #2dd4bf 100%); }
.cm-phone__card--photo-coral { background: linear-gradient(135deg, #842029 0%, #c8d6d3 100%); }
.cm-phone__card--photo-lime  { background: linear-gradient(135deg, #4a8c0c 0%, #98c63a 100%); }

/* Video block — 16:9 with play button */
.cm-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(45,212,191,0.30), transparent 55%),
    linear-gradient(135deg, #0a1d2c 0%, #134e4a 100%);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--ax2-rule-soft);
}
.cm-video__play {
  width: 80px; height: 80px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.40);
}
.cm-video:hover .cm-video__play {
  transform: scale(1.08); background: #fff;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.50);
}
.cm-video__play::after {
  content: "";
  width: 0; height: 0;
  border-left: 22px solid #0a0f1a;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.cm-video__label {
  position: absolute; left: 22px; bottom: 22px;
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

/* Photo slider */
.cm-slider {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ax2-tint);
}
.cm-slider__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.cm-slider__track {
  display: flex;
  width: 100%; height: 100%;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cm-slider__slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.cm-slider__slide .cm-photo {
  border-radius: 0;
  border: 0;
  width: 100%; height: 100%;
}
.cm-slider__slide img.cm-photo,
.cm-slider__slide .cm-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* Case-page sliders: natural image height, no crop */
.cm-slider--fluid .cm-slider__viewport { aspect-ratio: auto; overflow: hidden; }
.cm-slider--fluid .cm-slider__track { height: auto; align-items: flex-start; }
.cm-slider--fluid .cm-slider__slide { height: auto; }
.cm-slider--fluid .cm-slider__slide .cm-photo { height: auto; }
.cm-slider--fluid .cm-slider__slide img.cm-photo,
.cm-slider--fluid .cm-slider__slide .cm-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.cm-slider__slide-label {
  position: absolute; left: 22px; bottom: 22px;
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  background: rgba(0,0,0,0.30);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.cm-slider__nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  background: #fff;
  border-top: 1px solid var(--ax2-rule-soft);
}
.cm-slider__dots {
  display: flex; gap: 8px;
}
.cm-slider__dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--ax2-rule);
  border: 0; padding: 0; cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.cm-slider__dot.is-active {
  background: var(--ax2-ink);
  transform: scale(1.3);
}
.cm-slider__arrows { display: flex; gap: 8px; }
.cm-slider__arrow {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--ax2-rule);
  background: #fff;
  color: var(--ax2-ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.cm-slider__arrow:hover {
  background: var(--ax2-ink); border-color: var(--ax2-ink); color: #fff;
  transform: translateY(-1px);
}
.cm-slider__arrow:disabled {
  opacity: 0.35; cursor: not-allowed;
}
.cm-slider__counter {
  font-family: var(--atyp-font-mono);
  font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--ax2-ink-faint);
}

/* Allow case-prose to host wide media blocks while text stays narrow */
.case-prose .cm-block { max-width: none; }
.case-prose h2 + .cm-block { margin-top: 20px; }

/* Single-column body (without sidebar) — for some project layouts */
.case-body--single .case-body__inner {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1080px;
}

/* Section header — used between project body blocks */
.cm-h {
  font-family: var(--atyp-font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ax2-ink-faint);
  margin: 0 0 18px;
  padding-top: 24px;
  border-top: 1px solid var(--ax2-rule-soft);
  display: flex; gap: 14px; align-items: baseline;
}
.cm-h__num { color: var(--ax2-ink); font-weight: 600; }

/* Scroll reveal */
.reveal {
  position: relative;
  transform: translateY(80px);
  opacity: 0;
  transition: 0.5s all ease;
}
.reveal.active {
  transform: translateY(0);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal_up {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .page-hero { padding: 130px 0 64px; }
  .dark-hero { padding: 130px 0 72px; }
  .case-hero { padding: 120px 0 48px; min-height: 56vh; }
  .case-body { padding: 64px 0; }
  .site-footer__inner { padding: 48px 32px 0; }
}
