:root {
  --cluster-paper: #f3f0e9;
  --cluster-ink: #111;
  --cluster-pink: #ff3d7f;
  --cluster-lime: #c7ff2f;
  --cluster-yellow: #ffd51f;
  --cluster-orange: #ff5a1f;
  --cluster-blue: #3049ff;
  --cluster-muted: #6f6b64;
  --cluster-line: rgba(17, 17, 17, 0.18);
  --cluster-radius: 8px;
}

.seo-cluster-page {
  background: var(--cluster-paper);
  color: var(--cluster-ink);
}

.seo-cluster-page main {
  overflow: clip;
}

.cluster-progress {
  position: fixed;
  z-index: 220;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  background: var(--cluster-pink);
  pointer-events: none;
}

.cluster-shell {
  width: min(100% - 48px, 1324px);
  margin-inline: auto;
}

.cluster-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 118px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cluster-breadcrumbs a {
  color: var(--cluster-muted);
}

.cluster-breadcrumbs span:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--cluster-pink);
}

.cluster-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  min-height: 760px;
  padding: 52px 0 92px;
  border-bottom: 1px solid var(--cluster-ink);
}

.cluster-hero-copy {
  align-self: center;
  min-width: 0;
}

.cluster-kicker,
.cluster-section-index,
.cluster-query-label,
.cluster-card-type,
.cluster-figure figcaption,
.cluster-code-head,
.cluster-mini-label {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cluster-kicker {
  margin: 0 0 20px;
  color: var(--cluster-pink);
}

.cluster-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(54px, 6.5vw, 104px);
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-wrap: balance;
  overflow-wrap: normal;
}

.cluster-hero h1 em {
  color: var(--cluster-pink);
  font-style: normal;
}

.cluster-hero-lead {
  max-width: 760px;
  margin-top: 32px;
  color: #3f3b36;
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.45;
}

.cluster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.cluster-hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--cluster-ink);
  border-radius: var(--cluster-radius);
  background: var(--cluster-ink);
  min-width: 0;
}

.cluster-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.58));
  pointer-events: none;
}

.cluster-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition: transform 1s cubic-bezier(.2,.7,.2,1), filter 0.6s ease;
}

.cluster-hero-media:hover img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.03);
}

.cluster-hero-stamp {
  position: absolute;
  z-index: 2;
  inset: auto 24px 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: white;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cluster-query-strip {
  padding: 22px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--cluster-ink);
  background: var(--cluster-lime);
}

.cluster-query-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: cluster-marquee 30s linear infinite;
}

.cluster-query-track span {
  display: block;
  padding: 9px 13px;
  border: 1px solid rgba(17, 17, 17, 0.5);
  border-radius: 100px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes cluster-marquee {
  to { transform: translateX(-50%); }
}

.cluster-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.27fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 112px);
  padding: 92px 0 116px;
}

.cluster-toc {
  position: sticky;
  top: 118px;
  align-self: start;
  padding-top: 14px;
  border-top: 1px solid var(--cluster-ink);
}

.cluster-toc > p {
  margin: 0 0 18px;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.cluster-toc ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cluster-toc a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 9px 0;
  color: var(--cluster-muted);
  font-size: 13px;
  line-height: 1.25;
}

.cluster-toc a::before {
  content: attr(data-index);
  color: var(--cluster-pink);
  font-family: var(--font-mono, monospace);
  font-size: 9px;
}

.cluster-toc a.is-active,
.cluster-toc a:hover {
  color: var(--cluster-ink);
}

.cluster-article {
  min-width: 0;
}

.cluster-section {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: 1px solid var(--cluster-line);
}

.cluster-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.cluster-section-head {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.cluster-section-index {
  padding-top: 10px;
  color: var(--cluster-pink);
}

.cluster-section h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 4.4vw, 72px);
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}

.cluster-section-content {
  max-width: 850px;
  margin: 34px 0 0 78px;
}

.cluster-section-content p,
.cluster-section-content li {
  color: #36322e;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.68;
}

.cluster-section-content p + p {
  margin-top: 22px;
}

.cluster-section-content h3 {
  margin: 48px 0 16px;
  font-size: clamp(25px, 2.6vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.cluster-section-content ul,
.cluster-section-content ol {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding-left: 24px;
}

.cluster-section-content blockquote {
  margin: 36px 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--cluster-pink);
}

.cluster-section-content blockquote p {
  color: var(--cluster-ink);
  font-size: clamp(24px, 2.8vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.16;
}

.cluster-section-content code:not(pre code) {
  padding: 2px 5px;
  background: rgba(17, 17, 17, 0.08);
  font-family: var(--font-mono, monospace);
  font-size: 0.82em;
}

.cluster-figure {
  margin: 32px 0 72px 78px;
  overflow: hidden;
  border-radius: var(--cluster-radius);
}

.cluster-figure img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--cluster-line);
  border-radius: var(--cluster-radius);
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.cluster-figure:hover img { transform: scale(1.02); }

.cluster-figure figcaption {
  margin-top: 10px;
  color: var(--cluster-muted);
}

.cluster-faq {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--cluster-ink);
}

.cluster-faq details {
  border-bottom: 1px solid var(--cluster-line);
}

.cluster-faq summary {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  list-style: none;
}

.cluster-faq summary::-webkit-details-marker { display: none; }
.cluster-faq summary::after { content: "+"; font-size: 30px; font-weight: 400; }
.cluster-faq details[open] summary::after { transform: rotate(45deg); }
.cluster-faq details p { max-width: 760px; padding: 0 0 24px; color: var(--cluster-muted); font-size: 17px; line-height: 1.6; }

.cluster-semantic-box {
  margin: 20px 0 80px 78px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--cluster-ink);
  border-radius: var(--cluster-radius);
  background: var(--cluster-yellow);
}

.cluster-semantic-box h2 {
  max-width: 700px;
  margin: 10px 0 28px;
  font-size: clamp(34px, 4vw, 62px);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.cluster-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--cluster-ink);
}

.cluster-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

.cluster-table th,
.cluster-table td {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(17,17,17,.22);
  text-align: left;
  vertical-align: top;
}

.cluster-table th {
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  text-transform: uppercase;
}

.cluster-table td {
  font-size: 14px;
  line-height: 1.45;
}

.cluster-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  margin: 20px 0 88px 78px;
  padding: clamp(34px, 6vw, 76px);
  overflow: hidden;
  border-radius: var(--cluster-radius);
  background: var(--cluster-ink);
  color: white;
}

.cluster-cta::after {
  content: "↗";
  position: absolute;
  right: 4%;
  top: -34%;
  color: rgba(199, 255, 47, 0.12);
  font-size: 280px;
  line-height: 1;
}

.cluster-cta > * { position: relative; z-index: 1; }

.cluster-cta h2 {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: clamp(40px, 5vw, 78px);
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.cluster-cta p {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255,255,255,.7);
  font-size: 17px;
  line-height: 1.55;
}

.cluster-related {
  padding: 90px 0 120px;
  border-top: 1px solid var(--cluster-ink);
}

.cluster-related-head,
.cluster-hub-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.cluster-related h2,
.cluster-hub-head h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 6vw, 92px);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

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

.cluster-link-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 290px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--cluster-ink);
  border-radius: var(--cluster-radius);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.cluster-link-card:nth-child(3n+1) { background: var(--cluster-lime); }
.cluster-link-card:nth-child(3n+2) { background: white; }
.cluster-link-card:nth-child(3n) { background: var(--cluster-ink); color: white; }

.cluster-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(17,17,17,.12);
}

.cluster-link-card h3 {
  align-self: center;
  margin: 30px 0;
  font-size: clamp(26px, 2.4vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.cluster-link-card > span:last-child {
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.cluster-page-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--cluster-ink);
}

.cluster-page-nav a {
  min-height: 200px;
  padding: 36px;
  border-right: 1px solid var(--cluster-ink);
}

.cluster-page-nav a:last-child { border-right: 0; text-align: right; }
.cluster-page-nav span { display: block; color: var(--cluster-pink); font-family: var(--font-mono, monospace); font-size: 10px; text-transform: uppercase; }
.cluster-page-nav strong { display: block; margin-top: 20px; font-size: clamp(24px, 3vw, 46px); letter-spacing: -0.04em; line-height: 1; }

.cluster-demo {
  margin: 32px 0 76px 78px;
  padding: clamp(18px, 3vw, 34px);
  border-radius: var(--cluster-radius);
  background: var(--cluster-ink);
  color: white;
}

.cluster-demo-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

.cluster-demo h2 {
  max-width: 720px;
  margin: 8px 0 0;
  font-size: clamp(34px, 4vw, 62px);
  letter-spacing: -0.05em;
  line-height: .96;
}

.cluster-demo-frame {
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 4px;
  background: #181818;
}

.cluster-demo-frame iframe {
  width: 100%;
  height: min(820px, 88vh);
  border: 0;
  background: var(--cluster-paper);
}

.cluster-demo-loader {
  max-width: 480px;
  padding: 38px;
  text-align: center;
}

.cluster-demo-loader p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}

.cluster-code {
  margin: 24px 0 72px 78px;
  overflow: hidden;
  border: 1px solid var(--cluster-ink);
  border-radius: var(--cluster-radius);
  background: #141414;
}

.cluster-code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  background: var(--cluster-lime);
  color: var(--cluster-ink);
}

.cluster-code pre {
  max-height: 620px;
  margin: 0;
  padding: 24px;
  overflow: auto;
  color: #f3f0e9;
  font: 12px/1.6 var(--font-mono, monospace);
  tab-size: 2;
  white-space: pre;
}

.cluster-copy-button {
  border: 1px solid var(--cluster-ink);
  background: var(--cluster-ink);
  color: white;
  padding: 9px 12px;
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.cluster-hub {
  padding: 150px 0 120px;
}

.cluster-hub-head {
  align-items: start;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--cluster-ink);
}

.cluster-hub-head p {
  max-width: 460px;
  color: var(--cluster-muted);
  font-size: 18px;
  line-height: 1.55;
}

.cluster-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0 38px;
}

.cluster-filterbar button {
  padding: 10px 14px;
  border: 1px solid var(--cluster-ink);
  border-radius: 100px;
  background: transparent;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.cluster-filterbar button.is-active {
  background: var(--cluster-ink);
  color: white;
}

.cluster-hub-card[hidden] { display: none; }

.cluster-hub-card {
  display: grid;
  min-height: 360px;
  padding: 26px;
  border: 1px solid var(--cluster-ink);
  border-radius: var(--cluster-radius);
  background: white;
  transition: transform .35s ease, box-shadow .35s ease;
}

.cluster-hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(17,17,17,.12);
}

.cluster-hub-card:nth-child(5n+1) { background: var(--cluster-lime); }
.cluster-hub-card:nth-child(5n+4) { background: var(--cluster-yellow); }
.cluster-hub-card h2 {
  align-self: center;
  margin: 34px 0;
  font-size: clamp(28px, 2.6vw, 43px);
  letter-spacing: -0.045em;
  line-height: 1;
}
.cluster-hub-card p { color: var(--cluster-muted); font-size: 14px; line-height: 1.5; }
.cluster-hub-card > span:last-child { align-self: end; font-family: var(--font-mono, monospace); font-size: 10px; font-weight: 800; text-transform: uppercase; }

.cluster-widget {
  margin: 30px 0 76px 78px;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--cluster-ink);
  border-radius: var(--cluster-radius);
  background: var(--cluster-lime);
}

.cluster-widget.is-dark { background: var(--cluster-ink); color: white; }
.cluster-widget h2 { margin: 0 0 26px; font-size: clamp(38px, 4.6vw, 70px); letter-spacing: -.05em; line-height: .95; }

.pack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pack-grid button,
.intent-grid button {
  min-height: 110px;
  padding: 16px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.pack-grid button.is-selected { background: var(--cluster-ink); color: white; }
.pack-grid button:disabled { opacity: .35; cursor: not-allowed; }
.pack-total { display: flex; justify-content: space-between; gap: 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid currentColor; }
.pack-total strong { font-size: clamp(36px, 5vw, 72px); letter-spacing: -.05em; }

.intent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.intent-result { min-height: 56px; margin-top: 20px; font-size: 18px; line-height: 1.5; }

.fitness-timer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
}
.fitness-phase { font-family: var(--font-mono, monospace); font-size: 12px; text-transform: uppercase; }
.fitness-clock { font-size: clamp(84px, 14vw, 190px); font-weight: 800; letter-spacing: -.07em; line-height: .8; }
.fitness-round { margin-top: 22px; font-size: 17px; }

.cluster-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}
.cluster-reveal.is-visible { opacity: 1; transform: none; }

.seo-cluster-page .site-footer { margin-top: 0; }

@media (max-width: 1100px) {
  .cluster-hero { grid-template-columns: 1fr; min-height: auto; }
  .cluster-hero-media { min-height: 460px; }
  .cluster-hero-media img { min-height: 460px; }
  .cluster-layout { grid-template-columns: 1fr; }
  .cluster-toc { position: static; display: none; }
  .cluster-card-grid { grid-template-columns: 1fr 1fr; }
  .cluster-figure,
  .cluster-code,
  .cluster-demo,
  .cluster-widget,
  .cluster-semantic-box,
  .cluster-cta { margin-left: 0; }
  .cluster-section-content { margin-left: 0; }
  .pack-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .cluster-shell { width: min(100% - 32px, 1324px); }
  .cluster-breadcrumbs { padding-top: 92px; }
  .cluster-hero { gap: 28px; padding: 36px 0 54px; }
  .cluster-hero h1 {
    font-size: clamp(38px, 10vw, 46px);
    hyphens: auto;
    text-wrap: wrap;
  }
  .cluster-hero-media,
  .cluster-hero-media img { min-height: 390px; }
  .cluster-layout { padding: 60px 0 80px; }
  .cluster-section { padding: 54px 0; }
  .cluster-section-head { grid-template-columns: 1fr; gap: 8px; }
  .cluster-section h2 { font-size: clamp(36px, 11vw, 54px); }
  .cluster-section-content { margin-top: 24px; }
  .cluster-figure { margin-top: 14px; margin-bottom: 42px; }
  .cluster-figure img { aspect-ratio: 4 / 3; }
  .cluster-semantic-box { padding: 24px 18px; }
  .cluster-cta { grid-template-columns: 1fr; padding: 32px 22px; }
  .cluster-card-grid { grid-template-columns: 1fr; }
  .cluster-page-nav { grid-template-columns: 1fr; }
  .cluster-page-nav a { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--cluster-ink); }
  .cluster-page-nav a:last-child { border-bottom: 0; text-align: left; }
  .cluster-related-head,
  .cluster-hub-head { display: grid; }
  .cluster-hub { padding: 120px 0 80px; }
  .cluster-demo { padding: 12px; }
  .cluster-demo-head { display: grid; padding: 12px; }
  .cluster-demo-frame iframe { height: 760px; }
  .cluster-code pre { font-size: 10px; }
  .pack-grid { grid-template-columns: 1fr 1fr; }
  .intent-grid { grid-template-columns: 1fr; }
  .fitness-timer { grid-template-columns: 1fr; }
  .fitness-clock { font-size: 26vw; }
}

@media (prefers-reduced-motion: reduce) {
  .cluster-query-track { animation: none; }
  .cluster-reveal { opacity: 1; transform: none; transition: none; }
  .cluster-hero-media img,
  .cluster-figure img,
  .cluster-link-card,
  .cluster-hub-card { transition: none; }
}

/* Approval batch / first ten commercial pages */
.approval-page {
  --ap-accent: var(--cluster-pink);
  --ap-panel: #fff;
  --ap-soft: #e8e4dc;
}

.approval-page.ap-corporate,
.approval-page.ap-seo,
.approval-page.ap-b2b { --ap-accent: var(--cluster-blue); }
.approval-page.ap-catalog,
.approval-page.ap-online-store { --ap-accent: var(--cluster-orange); }
.approval-page.ap-static,
.approval-page.ap-manufacturing { --ap-accent: #9bd600; }
.approval-page.ap-pricing { --ap-accent: var(--cluster-pink); --ap-soft: #ffd4e4; }
.approval-page.ap-migration { --ap-accent: #ff6a2a; --ap-soft: #ffe3d8; }

.approval-page .cluster-progress { background: var(--ap-accent); }

.ap-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: stretch;
  min-height: 720px;
  padding: 48px 0 76px;
  border-bottom: 1px solid var(--cluster-ink);
}

.ap-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ap-hero-copy .cluster-kicker { color: var(--ap-accent); }
.ap-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(58px, 6.4vw, 106px);
  letter-spacing: -.065em;
  line-height: .88;
  text-wrap: balance;
}
.ap-hero-copy > p:not(.cluster-kicker) {
  max-width: 650px;
  margin: 30px 0 0;
  color: #4d4842;
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.45;
}

.ap-hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--cluster-ink);
  border-radius: 10px;
  background: #111;
}
.ap-hero-media img,
.ap-hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}
.ap-media-video video { object-position: top left; }
.ap-media-portrait img { filter: grayscale(1) contrast(1.05); }
.ap-media-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}
.ap-media-duo img { min-height: 620px; }
.ap-hero-media figcaption {
  position: absolute;
  z-index: 2;
  inset: auto 14px 14px;
  width: fit-content;
  padding: 9px 12px;
  border-radius: 3px;
  background: rgba(17,17,17,.86);
  color: #fff;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  text-transform: uppercase;
}

.ap-catalog .ap-hero-media,
.ap-online-store .ap-hero-media { background: #151515; }
.ap-static .ap-hero-media { background: #f7f4ed; }
.ap-static .ap-hero-media img { object-fit: contain; }
.ap-pricing .ap-hero { grid-template-columns: 1.18fr .82fr; }
.ap-pricing .ap-hero-media { border-radius: 48% 48% 8px 8px; }
.ap-migration .ap-hero { grid-template-columns: .84fr 1.16fr; }
.ap-b2b .ap-hero-media img { object-position: top center; }

.ap-local-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--cluster-ink);
}
.ap-local-nav::-webkit-scrollbar { display: none; }
.ap-local-nav a {
  flex: 0 0 auto;
  max-width: 250px;
  padding: 14px 20px 14px 0;
  margin-right: 20px;
  color: var(--cluster-muted);
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}
.ap-local-nav a:hover { color: var(--cluster-ink); }

.ap-body {
  width: min(100% - 48px, 1324px);
  margin-inline: auto;
  padding: 86px 0 120px;
}

.ap-copy-block {
  position: relative;
  padding: clamp(30px, 4vw, 64px);
  border: 1px solid var(--cluster-line);
  background: rgba(255,255,255,.48);
}
.ap-copy-index {
  margin-bottom: 50px;
  color: var(--ap-accent);
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 800;
}
.ap-copy-body h2 {
  max-width: 900px;
  margin: 0 0 28px;
  font-size: clamp(38px, 4.4vw, 68px);
  letter-spacing: -.055em;
  line-height: .96;
  text-wrap: balance;
}
.ap-copy-body h3 { margin: 34px 0 12px; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.05; }
.ap-copy-body p,
.ap-copy-body li { max-width: 760px; color: #403c36; font-size: 17px; line-height: 1.65; }
.ap-copy-body ul,
.ap-copy-body ol { padding-left: 22px; }
.ap-copy-body table { width: 100%; margin-top: 26px; border-collapse: collapse; font-size: 14px; }
.ap-copy-body th,
.ap-copy-body td { padding: 13px 10px; border-bottom: 1px solid var(--cluster-line); text-align: left; }
.ap-copy-body blockquote { margin: 30px 0 0; padding: 22px; border-left: 4px solid var(--ap-accent); background: var(--ap-soft); }

.ap-lede {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding-inline: 0;
  border: 0;
  background: transparent;
}
.ap-lede .ap-copy-index { padding-top: 10px; }
.ap-lede .ap-copy-body h2 { max-width: 1080px; font-size: clamp(50px, 6vw, 92px); }
.ap-wide { margin: 12px 0; background: var(--ap-soft); }
.ap-wide .ap-copy-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; }
.ap-wide .ap-copy-body h2 { grid-column: 1 / -1; }

.ap-duet,
.ap-before-after,
.ap-price-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin: 12px 0;
}
.ap-duet-offset > :last-child { margin-top: 100px; margin-bottom: -100px; }
.ap-bento-three,
.ap-manufacturing-grid,
.ap-cost-ledger,
.ap-store-proof,
.ap-migration-rail {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin: 12px 0;
}
.ap-bento-three > :nth-child(2) { background: var(--ap-soft); }
.ap-bento-three > :nth-child(3) { background: #111; color: #fff; }
.ap-bento-three > :nth-child(3) p,
.ap-bento-three > :nth-child(3) li { color: #c8c5bf; }
.ap-stagger { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px; margin: 12px 0; }
.ap-stagger > :first-child { margin-top: 140px; }
.ap-stagger > :last-child { background: var(--ap-soft); }
.ap-faq-panel { margin-top: 112px; border-color: var(--cluster-ink); }
.ap-faq-panel .ap-copy-body { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.ap-faq-panel .ap-copy-body h2 { position: sticky; top: 110px; align-self: start; }
.ap-faq-panel details { padding: 20px 0; border-top: 1px solid var(--cluster-line); grid-column: 2; }
.ap-faq-panel details summary { cursor: pointer; font-size: 18px; font-weight: 700; }

.ap-signature {
  position: relative;
  margin: 96px 0;
  padding: clamp(30px,5vw,72px);
  overflow: hidden;
  border: 1px solid var(--cluster-ink);
  border-radius: 10px;
  background: var(--ap-panel);
}
.ap-signature-head { display: grid; grid-template-columns: .82fr 1.35fr .83fr; gap: 34px; align-items: end; margin-bottom: 56px; }
.ap-signature-head > p { align-self: start; margin: 0; color: var(--ap-accent); font-family: var(--font-mono, monospace); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.ap-signature-head h2 { margin: 0; font-size: clamp(44px,5.2vw,82px); letter-spacing: -.06em; line-height: .88; }
.ap-signature-head > span { color: var(--cluster-muted); font-size: 15px; line-height: 1.5; }
.ap-signature button { border-radius: 0; font: inherit; cursor: pointer; }

.ap-landing-map { min-height: 770px; background: var(--cluster-lime); }
.ap-orbit { position: relative; min-height: 390px; margin-top: 30px; }
.ap-orbit::before,
.ap-orbit::after { content: ""; position: absolute; inset: 16% 19%; border: 1px solid rgba(17,17,17,.24); border-radius: 50%; }
.ap-orbit::after { inset: 4% 8%; }
.ap-orbit-core { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 210px; aspect-ratio: 1; place-content: center; padding: 22px; border-radius: 50%; background: #111; color: #fff; transform: translate(-50%,-50%); }
.ap-orbit-core small,
.ap-orbit-core span { font-family: var(--font-mono, monospace); font-size: 9px; text-transform: uppercase; }
.ap-orbit-core strong { margin: 8px 0; font-size: 30px; }
.ap-orbit button { position: absolute; z-index: 3; width: 142px; min-height: 64px; padding: 12px; border: 1px solid #111; background: var(--cluster-paper); text-align: left; transition: background .2s,color .2s,transform .2s; }
.ap-orbit button span { display: block; font-family: var(--font-mono, monospace); font-size: 9px; }
.ap-orbit button:nth-of-type(1) { left: 5%; top: 8%; }
.ap-orbit button:nth-of-type(2) { right: 5%; top: 8%; }
.ap-orbit button:nth-of-type(3) { left: 1%; top: 60%; }
.ap-orbit button:nth-of-type(4) { right: 1%; top: 60%; }
.ap-orbit button:nth-of-type(5) { left: 28%; bottom: -2%; }
.ap-orbit button:nth-of-type(6) { right: 28%; bottom: -2%; }
.ap-orbit button:hover,
.ap-orbit button.is-active { background: #111; color: #fff; transform: translateY(-4px); }

.ap-corporate-map { background: #111; color: #fff; }
.ap-corporate-map .ap-signature-head > span { color: #aaa; }
.ap-architecture { display: grid; grid-template-columns: .55fr 1.45fr; gap: 22px; }
.ap-architecture nav { display: grid; align-content: start; }
.ap-architecture nav button { padding: 18px; border: 0; border-bottom: 1px solid #444; background: transparent; color: #aaa; text-align: left; }
.ap-architecture nav button.is-active { padding-left: 30px; background: var(--cluster-blue); color: #fff; }
.ap-architecture-stage { min-height: 430px; padding: 26px; border: 1px solid #555; background: #f4f1ea; color: #111; }
.ap-browser-bar { display: flex; gap: 6px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid #bbb; }
.ap-browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #111; }
.ap-browser-bar span { margin-left: auto; font-family: var(--font-mono, monospace); font-size: 10px; }
.ap-architecture-stage h3 { margin: 58px 0 10px; font-size: clamp(42px,5vw,76px); letter-spacing: -.05em; }
.ap-architecture-stage > p { max-width: 570px; font-size: 17px; }
.ap-wireframe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 48px; }
.ap-wireframe span { height: 58px; border: 1px solid #bbb; background: linear-gradient(120deg,#ddd,#fff); }

.ap-catalog-demo { background: #111; color: #fff; }
.ap-catalog-demo .ap-signature-head > span { color: #aaa; }
.ap-catalog-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ap-catalog-controls button { padding: 12px 18px; border: 1px solid #555; background: transparent; color: #fff; }
.ap-catalog-controls button.is-active { background: var(--cluster-orange); border-color: var(--cluster-orange); color: #111; }
.ap-catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.ap-catalog-grid article { min-height: 310px; padding: 15px; border: 1px solid #444; }
.ap-catalog-grid article[hidden] { display: none; }
.ap-catalog-grid article > span,
.ap-catalog-grid small { font-family: var(--font-mono, monospace); font-size: 9px; text-transform: uppercase; }
.ap-product-visual { height: 130px; margin: 14px 0; background: radial-gradient(circle at 70% 35%,var(--cluster-orange),transparent 12%),linear-gradient(135deg,#2d2d2d,#171717); }
.ap-catalog-grid h3 { margin: 12px 0 6px; font-size: 24px; }
.ap-catalog-grid p { color: #aaa; }

.ap-store-flow { background: #151515; color: #fff; }
.ap-store-flow .ap-signature-head > span { color: #aaa; }
.ap-flow-steps { display: grid; grid-template-columns: repeat(5,1fr); }
.ap-flow-steps button { position: relative; min-height: 98px; padding: 14px; border: 1px solid #444; border-right: 0; background: transparent; color: #aaa; text-align: left; }
.ap-flow-steps button:last-child { border-right: 1px solid #444; }
.ap-flow-steps button span { display: block; margin-bottom: 24px; color: var(--cluster-orange); font-family: var(--font-mono, monospace); font-size: 9px; }
.ap-flow-steps button.is-active { background: var(--cluster-orange); color: #111; }
.ap-flow-steps button.is-active span { color: #111; }
.ap-flow-panel { display: grid; grid-template-columns: .7fr 1fr; gap: 12px 42px; min-height: 280px; padding: 38px; border: 1px solid #444; border-top: 0; }
.ap-flow-panel > p:first-child { color: var(--cluster-orange); font-family: var(--font-mono, monospace); font-size: 10px; text-transform: uppercase; }
.ap-flow-panel h3 { margin: 0; font-size: clamp(36px,4vw,62px); letter-spacing: -.04em; }
.ap-flow-panel p:not(:first-child) { max-width: 580px; color: #bbb; font-size: 17px; line-height: 1.55; }
.ap-flow-panel code { grid-column: 2; align-self: end; padding: 16px; border: 1px solid #555; color: var(--cluster-orange); }

.ap-seo-builder { background: #e1e6ff; }
.ap-seo-console { display: grid; grid-template-columns: .76fr 1.24fr; border: 1px solid #111; }
.ap-query-list { display: grid; }
.ap-query-list button { padding: 20px; border: 0; border-bottom: 1px solid #aaa; background: transparent; text-align: left; }
.ap-query-list button span { display: block; color: var(--cluster-blue); font-family: var(--font-mono, monospace); font-size: 9px; }
.ap-query-list button.is-active { background: var(--cluster-blue); color: #fff; }
.ap-query-list button.is-active span { color: #fff; }
.ap-search-result { display: flex; flex-direction: column; min-height: 400px; padding: 40px; border-left: 1px solid #111; background: #fff; }
.ap-search-result small { color: var(--cluster-blue); font-family: var(--font-mono, monospace); text-transform: uppercase; }
.ap-search-result h3 { margin: 60px 0 10px; font-size: clamp(44px,5vw,72px); line-height: .9; }
.ap-search-result code { padding: 12px; background: #eee; }
.ap-search-result p { margin-top: auto; font-size: 17px; }
.ap-search-result strong { color: var(--cluster-blue); font-family: var(--font-mono, monospace); font-size: 11px; }

.ap-static-stack { background: #f8f5ed; }
.ap-stack-toggle { display: flex; margin-bottom: 16px; }
.ap-stack-toggle button { min-width: 160px; padding: 14px; border: 1px solid #111; background: transparent; }
.ap-stack-toggle button.is-active { background: #111; color: #fff; }
.ap-stack-stage { display: grid; grid-template-columns: 1.3fr .7fr; gap: 14px; }
.ap-stack-layers { display: grid; gap: 8px; perspective: 1000px; }
.ap-stack-layers article { display: flex; justify-content: space-between; align-items: center; min-height: 90px; padding: 20px; border: 1px solid #111; background: #fff; font-size: 30px; font-weight: 800; transition: transform .35s,background .35s; }
.ap-stack-layers article:nth-child(2) { transform: translateX(4%); }
.ap-stack-layers article:nth-child(3) { transform: translateX(8%); }
.ap-stack-layers article small { font-family: var(--font-mono, monospace); font-size: 9px; font-weight: 500; text-transform: uppercase; }
.ap-static-stack.is-cms .ap-stack-layers article:nth-child(n+4) { background: #ffd7c9; }
.ap-stack-stage dl { margin: 0; border: 1px solid #111; background: var(--cluster-lime); }
.ap-stack-stage dl div { padding: 20px; border-bottom: 1px solid #111; }
.ap-stack-stage dl div:last-child { border: 0; }
.ap-stack-stage dt { font-family: var(--font-mono, monospace); font-size: 9px; text-transform: uppercase; }
.ap-stack-stage dd { margin: 8px 0 0; font-size: 44px; font-weight: 800; }

.ap-pricing-calc { background: var(--cluster-pink); }
.ap-pricing-calc .ap-signature-head > p { color: #111; }
.ap-calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ap-calc-form > label,
.ap-calc-form fieldset { display: grid; gap: 12px; margin: 0; padding: 22px; border: 1px solid #111; font-weight: 700; }
.ap-calc-form select,
.ap-calc-form input[type=range] { width: 100%; }
.ap-calc-form fieldset { grid-column: 1 / -1; grid-template-columns: repeat(3,1fr); }
.ap-calc-form legend { padding: 0 8px; font-family: var(--font-mono, monospace); font-size: 10px; text-transform: uppercase; }
.ap-calc-total { margin-top: 20px; padding: 30px; border: 1px solid #111; background: #111; color: #fff; }
.ap-calc-total span,
.ap-calc-total small { display: block; font-family: var(--font-mono, monospace); font-size: 10px; text-transform: uppercase; }
.ap-calc-total strong { display: block; margin: 14px 0; font-size: clamp(52px,8vw,112px); letter-spacing: -.07em; line-height: .8; }
.ap-price-cards > :first-child { background: var(--cluster-pink); }
.ap-price-cards > :last-child { background: #111; color: #fff; }
.ap-price-cards > :last-child p,
.ap-price-cards > :last-child li { color: #bbb; }
.ap-cost-ledger > :nth-child(2) { transform: translateY(70px); }

.ap-migration-map { background: #fff; }
.ap-migration-controls { display: flex; margin-bottom: 20px; }
.ap-migration-controls button { padding: 13px 18px; border: 1px solid #111; background: transparent; }
.ap-migration-controls button.is-active { background: var(--cluster-orange); }
.ap-redirect-table { border: 1px solid #111; }
.ap-redirect-table > div { display: grid; grid-template-columns: 1.2fr .72fr 1.2fr .45fr; gap: 12px; align-items: center; padding: 18px; border-bottom: 1px solid #ccc; }
.ap-redirect-table > div:last-child { border: 0; }
.ap-redirect-table code { overflow-wrap: anywhere; }
.ap-redirect-table span { color: #a54b25; font-family: var(--font-mono, monospace); font-size: 9px; text-transform: uppercase; }
.ap-migration-map.is-after .ap-redirect-table span { color: #3d7900; }
.ap-migration-map.is-after .ap-redirect-table span::before { content: "✓ "; }
.ap-before-after > :first-child { background: #ffd9cb; }
.ap-before-after > :last-child { background: var(--cluster-lime); }
.ap-migration-rail > :nth-child(2) { margin-top: 74px; }
.ap-migration-rail > :nth-child(3) { margin-top: 148px; }

.ap-b2b-roles { background: #111; color: #fff; }
.ap-b2b-roles .ap-signature-head > span { color: #aaa; }
.ap-role-layout { display: grid; grid-template-columns: .7fr 1.3fr; min-height: 480px; }
.ap-role-layout nav { display: grid; }
.ap-role-layout nav button { padding: 18px; border: 1px solid #444; border-bottom: 0; background: transparent; color: #aaa; text-align: left; }
.ap-role-layout nav button:last-child { border-bottom: 1px solid #444; }
.ap-role-layout nav button span { display: block; color: var(--cluster-blue); font-family: var(--font-mono, monospace); font-size: 9px; }
.ap-role-layout nav button.is-active { background: var(--cluster-blue); color: #fff; }
.ap-role-layout article { display: flex; flex-direction: column; padding: clamp(28px,5vw,64px); border: 1px solid #444; }
.ap-role-layout article > p { color: #aaa; }
.ap-role-layout article h3 { margin: 40px 0 20px; font-size: clamp(52px,6vw,86px); line-height: .85; }
.ap-role-layout article li { margin: 12px 0; }
.ap-role-layout article strong { margin-top: auto; color: #7e8dff; }

.ap-manufacturing-card { background: var(--cluster-lime); }
.ap-manufacturing-layout { display: grid; grid-template-columns: .58fr 1.42fr; gap: 14px; }
.ap-field-switches { display: grid; align-content: start; }
.ap-field-switches button { padding: 18px; border: 1px solid #111; border-bottom: 0; background: transparent; text-align: left; }
.ap-field-switches button:last-child { border-bottom: 1px solid #111; }
.ap-field-switches button.is-active { background: #111; color: #fff; }
.ap-manufacturing-layout article { padding: 34px; border: 1px solid #111; background: #f5f2ea; }
.ap-manufacturing-layout article > span { font-family: var(--font-mono, monospace); font-size: 9px; text-transform: uppercase; }
.ap-manufacturing-layout article h3 { margin: 42px 0; font-size: clamp(42px,5vw,72px); letter-spacing: -.05em; }
.ap-manufacturing-layout dl div { display: none; grid-template-columns: 1fr 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid #bbb; }
.ap-manufacturing-layout dl div.is-active { display: grid; }
.ap-manufacturing-layout dd { margin: 0; font-weight: 700; }
.ap-manufacturing-layout footer { display: flex; justify-content: space-between; margin-top: 54px; padding-top: 20px; border-top: 1px solid #111; }
.ap-manufacturing-layout footer strong { font-size: 44px; }

.ap-data-pipeline { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 12px 0; padding: 28px; border: 1px solid #111; background: var(--cluster-orange); font-family: var(--font-mono, monospace); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.ap-video-band,
.ap-image-band,
.ap-metric-proof { position: relative; margin: 96px 0; border: 1px solid #111; background: #111; }
.ap-video-band video,
.ap-image-band img { display: block; width: 100%; max-height: 760px; object-fit: cover; object-position: top; }
.ap-video-band figcaption,
.ap-image-band figcaption { display: grid; grid-template-columns: .35fr 1fr; gap: 30px; padding: 20px; background: #111; color: #fff; }
.ap-video-band figcaption span { color: var(--ap-accent); font-family: var(--font-mono, monospace); font-size: 10px; text-transform: uppercase; }
.ap-gallery-mosaic { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2,330px); gap: 10px; margin: 96px 0; }
.ap-gallery-mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: top; border: 1px solid #111; }
.ap-gallery-mosaic img:first-child { grid-row: 1 / 3; }
.ap-metric-proof { display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.ap-metric-proof img { width: 100%; min-height: 320px; object-fit: cover; border-right: 1px solid #111; }
.ap-metric-proof div { grid-column: 1 / -1; padding: 24px; }
.ap-metric-proof div span { display: block; color: var(--cluster-blue); font-family: var(--font-mono, monospace); font-size: 10px; text-transform: uppercase; }
.ap-metric-proof div strong { display: block; max-width: 850px; margin-top: 10px; font-size: clamp(28px,3.5vw,52px); line-height: 1; }

.ap-final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: end;
  width: min(100% - 48px,1324px);
  margin: 0 auto 120px;
  padding: clamp(34px,6vw,86px);
  border-radius: 10px;
  background: var(--ap-accent);
}
.ap-final-cta p { margin: 0 0 36px; font-family: var(--font-mono, monospace); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.ap-final-cta h2 { max-width: 900px; margin: 0 0 20px; font-size: clamp(50px,6vw,90px); letter-spacing: -.06em; line-height: .86; }
.ap-final-cta span { display: block; max-width: 680px; font-size: 18px; line-height: 1.5; }
.ap-final-cta .button-primary { background: #111; color: #fff; }

.ap-layout-store { width: 100%; padding-inline: max(24px,calc((100% - 1324px)/2)); background: #181818; color: #fff; }
.ap-layout-store .ap-copy-block:not(.ap-faq-panel) { border-color: #444; background: #222; }
.ap-layout-store .ap-copy-body p,
.ap-layout-store .ap-copy-body li { color: #bbb; }
.ap-layout-store .ap-duet > :last-child { background: var(--cluster-orange); color: #111; }
.ap-layout-store .ap-duet > :last-child p,
.ap-layout-store .ap-duet > :last-child li { color: #29231f; }
.ap-layout-store .ap-faq-panel { background: #f3f0e9; color: #111; }

@media (max-width: 1000px) {
  .ap-hero { grid-template-columns: 1fr; min-height: auto; }
  .ap-hero-copy { padding-top: 20px; }
  .ap-hero-media img,
  .ap-hero-media video { min-height: 520px; }
  .ap-pricing .ap-hero,
  .ap-migration .ap-hero { grid-template-columns: 1fr; }
  .ap-signature-head { grid-template-columns: 1fr 1.5fr; }
  .ap-signature-head > span { grid-column: 2; }
  .ap-bento-three,
  .ap-manufacturing-grid,
  .ap-cost-ledger,
  .ap-store-proof,
  .ap-migration-rail { grid-template-columns: 1fr 1fr; }
  .ap-bento-three > :last-child,
  .ap-manufacturing-grid > :last-child,
  .ap-store-proof > :last-child { grid-column: 1 / -1; }
  .ap-cost-ledger > :nth-child(2),
  .ap-migration-rail > :nth-child(n) { margin-top: 0; transform: none; }
  .ap-catalog-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 720px) {
  .ap-hero { gap: 28px; padding: 34px 0 46px; }
  .ap-hero h1 {
    font-size: clamp(36px,9.5vw,52px);
    hyphens: none;
    overflow-wrap: normal;
    text-wrap: wrap;
  }
  .ap-hero-media img,
  .ap-hero-media video { min-height: 390px; }
  .ap-media-duo img { min-height: 390px; }
  .ap-body { width: min(100% - 32px,1324px); padding: 56px 0 80px; }
  .ap-local-nav { margin-right: -16px; }
  .ap-local-nav a { max-width: 205px; }
  .ap-copy-block { padding: 28px 20px; }
  .ap-copy-index { margin-bottom: 28px; }
  .ap-lede { grid-template-columns: 1fr; }
  .ap-lede .ap-copy-body h2 { font-size: clamp(42px,12vw,60px); }
  .ap-wide .ap-copy-body,
  .ap-faq-panel .ap-copy-body { display: block; }
  .ap-faq-panel .ap-copy-body h2 { position: static; }
  .ap-faq-panel details { grid-column: auto; }
  .ap-duet,
  .ap-before-after,
  .ap-price-cards,
  .ap-bento-three,
  .ap-manufacturing-grid,
  .ap-cost-ledger,
  .ap-store-proof,
  .ap-migration-rail,
  .ap-stagger { grid-template-columns: 1fr; }
  .ap-duet-offset > :last-child,
  .ap-stagger > :first-child { margin: 0; }
  .ap-bento-three > :last-child,
  .ap-manufacturing-grid > :last-child,
  .ap-store-proof > :last-child { grid-column: auto; }
  .ap-signature { margin: 64px 0; padding: 26px 18px; }
  .ap-signature-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
  .ap-signature-head > span { grid-column: auto; }
  .ap-signature-head h2 { font-size: clamp(42px,12vw,62px); }
  .ap-orbit { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-height: 0; }
  .ap-orbit::before,
  .ap-orbit::after { display: none; }
  .ap-orbit-core { position: static; grid-column: 1 / -1; width: 100%; aspect-ratio: auto; border-radius: 0; transform: none; }
  .ap-orbit button:nth-of-type(n) { position: static; width: auto; }
  .ap-architecture,
  .ap-seo-console,
  .ap-stack-stage,
  .ap-role-layout,
  .ap-manufacturing-layout { grid-template-columns: 1fr; }
  .ap-architecture nav { grid-template-columns: 1fr 1fr; }
  .ap-architecture-stage { min-height: 360px; }
  .ap-catalog-grid { grid-template-columns: 1fr; }
  .ap-flow-steps { grid-template-columns: 1fr 1fr; }
  .ap-flow-steps button { border-right: 1px solid #444; }
  .ap-flow-panel { grid-template-columns: 1fr; padding: 24px 18px; }
  .ap-flow-panel code { grid-column: auto; }
  .ap-search-result { min-height: 360px; border-left: 0; border-top: 1px solid #111; }
  .ap-calc-form { grid-template-columns: 1fr; }
  .ap-calc-form fieldset { grid-column: auto; grid-template-columns: 1fr; }
  .ap-redirect-table > div { grid-template-columns: 1fr; }
  .ap-role-layout nav { grid-template-columns: 1fr 1fr; }
  .ap-gallery-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(3,280px); }
  .ap-gallery-mosaic img:first-child { grid-row: auto; }
  .ap-metric-proof { grid-template-columns: 1fr; }
  .ap-metric-proof img { min-height: 210px; border-right: 0; border-bottom: 1px solid #111; }
  .ap-video-band,
  .ap-image-band,
  .ap-metric-proof { margin: 64px 0; }
  .ap-video-band figcaption,
  .ap-image-band figcaption { grid-template-columns: 1fr; }
  .ap-data-pipeline { align-items: flex-start; overflow-x: auto; }
  .ap-final-cta { grid-template-columns: 1fr; width: min(100% - 32px,1324px); margin-bottom: 80px; padding: 34px 22px; }
  .ap-layout-store { width: 100%; padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ap-orbit button,
  .ap-stack-layers article { transition: none; }
}

/* Approval revision 2: media integrity, collision fixes and proof sections */
.approval-page .ap-hero {
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  align-items: center;
  min-height: 680px;
}
.approval-page .ap-hero-copy {
  min-width: 0;
  overflow: hidden;
}
.approval-page .ap-hero h1 {
  max-width: 100%;
  font-size: clamp(52px, 5vw, 84px);
  line-height: .9;
  overflow-wrap: break-word;
}
.approval-page.ap-corporate .ap-hero h1 { font-size: clamp(50px, 4.35vw, 74px); }
.approval-page.ap-manufacturing .ap-hero h1 { font-size: clamp(50px, 4.7vw, 80px); }

.approval-page .ap-media-video {
  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #111;
}
.approval-page .ap-media-video video,
.approval-page .ap-video-band video,
.approval-page .ap-project-media video {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: #111;
}
.approval-page .ap-video-band video { display: block; }
.approval-page .ap-hero-media:not(.ap-media-video) img { object-fit: contain; background: #e8e4dc; }
.approval-page .ap-media-portrait img { object-fit: cover; }

.approval-page .ap-copy-block,
.approval-page .ap-copy-body,
.approval-page .ap-bento-three > *,
.approval-page .ap-cost-ledger > *,
.approval-page .ap-store-proof > *,
.approval-page .ap-manufacturing-grid > *,
.approval-page .ap-migration-rail > * { min-width: 0; }

.approval-page .ap-bento-three .ap-copy-body h2,
.approval-page .ap-cost-ledger .ap-copy-body h2,
.approval-page .ap-store-proof .ap-copy-body h2,
.approval-page .ap-manufacturing-grid .ap-copy-body h2,
.approval-page .ap-migration-rail .ap-copy-body h2 {
  font-size: clamp(34px, 3vw, 48px);
  line-height: .98;
  overflow-wrap: break-word;
}
.approval-page .ap-price-cards .ap-copy-body h2 {
  font-size: clamp(36px, 3.6vw, 56px);
  overflow-wrap: break-word;
}

.approval-page .ap-stack-stage {
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr);
  align-items: stretch;
}
.approval-page .ap-stack-layers { min-width: 0; }
.approval-page .ap-stack-layers article:nth-child(n) {
  width: 100%;
  min-width: 0;
  transform: none;
}
.approval-page .ap-stack-stage dl {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  min-width: 0;
  height: 100%;
}
.approval-page .ap-stack-stage dl div { display: grid; align-content: center; min-width: 0; }
.approval-page .ap-stack-stage dd {
  min-width: 0;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: .92;
  overflow-wrap: anywhere;
}
.approval-page .ap-static-stack.is-cms .ap-stack-layers article:nth-child(n+4) {
  border-left: 8px solid var(--cluster-orange);
  background: #ffd7c9;
}

.approval-page .ap-landing-map { min-height: 680px; }
.approval-page .ap-orbit { min-height: 330px; }
.approval-page .ap-signature::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0 auto auto -25%;
  width: 24%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ap-accent), transparent);
  pointer-events: none;
  animation: ap-scan 7s ease-in-out infinite;
}

.ap-personal-proof,
.ap-project-proof {
  width: min(100% - 48px, 1324px);
  margin: 0 auto 120px;
}
.ap-personal-proof {
  display: grid;
  grid-template-columns: minmax(340px, .84fr) minmax(0, 1.16fr);
  min-height: 690px;
  overflow: hidden;
  border: 1px solid var(--cluster-ink);
  border-radius: 10px;
  background: #111;
  color: #fff;
}
.ap-personal-proof figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #d6d2ca;
}
.ap-personal-proof figure::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  pointer-events: none;
}
.ap-personal-proof figure img {
  width: 100%;
  height: 100%;
  min-height: 690px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
  transform: scale(1.015);
  animation: ap-portrait-breathe 10s ease-in-out infinite alternate;
}
.ap-personal-proof figcaption {
  position: absolute;
  z-index: 2;
  inset: auto 18px 18px;
  padding: 9px 12px;
  background: #111;
  color: #fff;
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  text-transform: uppercase;
}
.ap-personal-proof > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 6vw, 84px); }
.ap-personal-proof > div > p,
.ap-proof-head > p {
  margin: 0 0 36px;
  color: var(--ap-accent);
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ap-personal-proof h2 {
  margin: 0;
  font-size: clamp(48px, 5.3vw, 82px);
  letter-spacing: -.06em;
  line-height: .9;
  text-wrap: balance;
}
.ap-personal-proof > div > span { max-width: 680px; margin-top: 30px; color: #c9c6c0; font-size: 18px; line-height: 1.55; }
.ap-personal-proof ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid #444; border-bottom: 1px solid #444; }
.ap-personal-proof li { min-width: 0; padding: 18px 12px 18px 0; color: #fff; font-size: 13px; }
.ap-personal-proof li b { display: block; margin-bottom: 18px; color: var(--ap-accent); font-family: var(--font-mono, monospace); font-size: 9px; }
.ap-personal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.ap-personal-actions .button-ghost { border-color: #555; color: #fff; }

.ap-project-proof { padding-top: 30px; }
.ap-proof-head { display: grid; grid-template-columns: .6fr 1.35fr .75fr; gap: 36px; align-items: end; margin-bottom: 48px; }
.ap-proof-head > p { align-self: start; }
.ap-proof-head h2 { margin: 0; font-size: clamp(48px, 5.5vw, 84px); letter-spacing: -.06em; line-height: .9; text-wrap: balance; }
.ap-proof-head > span { color: var(--cluster-muted); font-size: 16px; line-height: 1.55; }
.ap-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ap-project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--cluster-ink);
  border-radius: 9px;
  background: #fff;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
.ap-project-card:hover { transform: translateY(-8px); box-shadow: 0 24px 70px rgba(17,17,17,.16); }
.ap-project-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid #111; background: #111; }
.ap-project-media img,
.ap-project-media video { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.ap-project-card:hover .ap-project-media img { transform: scale(1.025); }
.ap-project-media > span { position: absolute; z-index: 2; inset: 14px auto auto 14px; padding: 7px 9px; background: #111; color: #fff; font-family: var(--font-mono, monospace); font-size: 9px; text-transform: uppercase; }
.ap-project-media > span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--ap-accent); animation: ap-pulse 1.8s ease-in-out infinite; }
.ap-project-copy { padding: clamp(24px, 3vw, 42px); }
.ap-project-copy h3 { margin: 0; font-size: clamp(34px, 3.4vw, 54px); letter-spacing: -.05em; line-height: .95; }
.ap-project-copy p { max-width: 620px; min-height: 72px; margin: 18px 0 28px; color: var(--cluster-muted); font-size: 16px; line-height: 1.5; }
.ap-project-copy > div { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-project-copy a { padding: 10px 13px; border: 1px solid #111; font-family: var(--font-mono, monospace); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.ap-project-copy a:hover { background: #111; color: #fff; }

@keyframes ap-scan {
  0%, 12% { transform: translateX(0); opacity: 0; }
  30%, 70% { opacity: 1; }
  88%, 100% { transform: translateX(520%); opacity: 0; }
}
@keyframes ap-portrait-breathe { to { transform: scale(1.045); } }
@keyframes ap-pulse { 50% { transform: scale(1.7); opacity: .45; } }

@media (max-width: 1000px) {
  .approval-page .ap-hero { grid-template-columns: 1fr; min-height: auto; }
  .approval-page .ap-hero-copy { overflow: visible; }
  .approval-page .ap-hero h1,
  .approval-page.ap-corporate .ap-hero h1,
  .approval-page.ap-manufacturing .ap-hero h1 { font-size: clamp(46px, 9vw, 78px); }
  .approval-page .ap-media-video { aspect-ratio: 16 / 9; }
  .ap-personal-proof { grid-template-columns: .85fr 1.15fr; min-height: 610px; }
  .ap-personal-proof figure img { min-height: 610px; }
  .ap-proof-head { grid-template-columns: .55fr 1.45fr; }
  .ap-proof-head > span { grid-column: 2; }
}

@media (max-width: 720px) {
  .approval-page .ap-hero h1,
  .approval-page.ap-corporate .ap-hero h1,
  .approval-page.ap-manufacturing .ap-hero h1 {
    font-size: clamp(36px, 9.5vw, 52px);
    overflow-wrap: normal;
  }
  .approval-page .ap-media-video video { width: 100%; min-height: 0; }
  .approval-page .ap-stack-stage { grid-template-columns: 1fr; }
  .approval-page .ap-stack-stage dl { min-height: 360px; }
  .approval-page .ap-bento-three .ap-copy-body h2,
  .approval-page .ap-cost-ledger .ap-copy-body h2,
  .approval-page .ap-store-proof .ap-copy-body h2,
  .approval-page .ap-manufacturing-grid .ap-copy-body h2,
  .approval-page .ap-migration-rail .ap-copy-body h2 { font-size: clamp(34px, 10vw, 46px); }
  .approval-page .ap-lede .ap-copy-body h2 { font-size: clamp(34px, 9.2vw, 44px); }
  .ap-personal-proof,
  .ap-project-proof { width: min(100% - 32px, 1324px); margin-bottom: 80px; }
  .ap-personal-proof { grid-template-columns: 1fr; min-height: 0; }
  .ap-personal-proof figure { min-height: 520px; }
  .ap-personal-proof figure img { min-height: 520px; }
  .ap-personal-proof > div { padding: 34px 22px; }
  .ap-personal-proof h2 { font-size: clamp(42px, 12vw, 60px); }
  .ap-personal-proof ul { grid-template-columns: 1fr; }
  .ap-personal-proof li { border-bottom: 1px solid #333; }
  .ap-proof-head { grid-template-columns: 1fr; gap: 18px; }
  .ap-proof-head > span { grid-column: auto; }
  .ap-proof-head h2 { font-size: clamp(42px, 12vw, 60px); }
  .ap-project-grid { grid-template-columns: 1fr; }
  .ap-project-copy p { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .approval-page .ap-signature::after,
  .ap-personal-proof figure img,
  .ap-project-media > span::before { animation: none; }
  .ap-project-card,
  .ap-project-media img { transition: none; }
}

/* Editorial audit: practical mini-game library and contextual actions */
.cluster-games-toolkit {
  margin: 42px 0 72px 78px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--cluster-ink);
  background: #fff;
  box-shadow: 10px 10px 0 #ffd51c;
}
.cluster-games-toolkit > header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); gap: 40px; align-items: end; margin-bottom: 32px; }
.cluster-games-toolkit > header h2 { max-width: 14ch; margin: 7px 0 0; font-size: clamp(34px, 4.4vw, 64px); line-height: .92; letter-spacing: -.055em; }
.cluster-games-toolkit > header > p { margin: 0; color: var(--cluster-muted); line-height: 1.55; }
.cluster-games-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--cluster-ink); border-left: 1px solid var(--cluster-ink); }
.cluster-games-grid article { min-height: 250px; padding: 22px; border-right: 1px solid var(--cluster-ink); border-bottom: 1px solid var(--cluster-ink); background: var(--cluster-paper); }
.cluster-games-grid article:nth-child(4n + 2),
.cluster-games-grid article:nth-child(4n + 3) { background: #e9ff69; }
.cluster-games-grid article > span { font-family: var(--font-mono, monospace); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.cluster-games-grid h3 { max-width: 16ch; margin: 34px 0 12px; font-size: clamp(24px, 2.4vw, 36px); line-height: .98; letter-spacing: -.045em; }
.cluster-games-grid p { min-height: 4.5em; color: var(--cluster-muted); font-size: 14px; line-height: 1.5; }
.cluster-games-grid article > div { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 24px; }
.cluster-games-grid a { color: var(--cluster-ink); font-family: var(--font-mono, monospace); font-size: 9px; font-weight: 800; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.cluster-games-toolkit > .cluster-code { margin: 28px 0 0; }
.cluster-cta-context { align-items: center; }
.cluster-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

@media (max-width: 1100px) {
  .cluster-games-toolkit { margin-left: 0; }
}

@media (max-width: 720px) {
  .cluster-games-toolkit > header,
  .cluster-games-grid { grid-template-columns: 1fr; }
  .cluster-games-grid p { min-height: 0; }
  .cluster-cta-actions { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .cluster-games-grid a { scroll-behavior: auto; }
}
.cluster-artifact-title { display:grid; grid-template-columns:minmax(120px,.25fr) 1fr; gap:24px; align-items:start; margin:18px 0 32px; }
.cluster-artifact-title span { color:var(--cluster-accent,#9c164d); font-size:10px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.cluster-artifact-title strong { max-width:30ch; font-size:clamp(25px,2.4vw,42px); line-height:1.02; letter-spacing:-.045em; }
@media(max-width:620px){.cluster-artifact-title{grid-template-columns:1fr;gap:10px}}
