:root {
  --ui-font: "Inter Variable", Inter, "Plus Jakarta Sans", "SF Pro Display", "SF Pro Text", "Segoe UI Variable", "Segoe UI", Helvetica, Arial, sans-serif;
  --ui-ink: #1a1d1e;
  --ui-ink-soft: #2d3133;
  --ui-muted: #68737a;
  --ui-green-950: #021c14;
  --ui-green-900: #073528;
  --ui-green-800: #0a5d45;
  --ui-green-700: #0b7b59;
  --ui-green-100: #e7f2ed;
  --ui-paper: #f7f6f2;
  --ui-white: #ffffff;
  --ui-gold: #b8892f;
  --ui-border: rgba(20, 55, 43, 0.12);
  --ui-shadow-soft: 0 20px 48px rgba(16, 44, 34, 0.055);
  --ui-shadow-card: 0 10px 28px rgba(16, 44, 34, 0.045);
  --ui-radius-sm: 8px;
  --ui-radius-md: 12px;
  --ui-radius-lg: 20px;
  --ui-content: 1248px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body:not(.admin) {
  font-family: var(--ui-font) !important;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body:not(.admin) :where(button, input, textarea, select) {
  font-family: var(--ui-font) !important;
}

body:not(.admin) :where(h1, h2, h3, h4, p) {
  text-wrap: pretty;
}

body:not(.admin) :where(h1, h2, h3, h4) {
  font-family: var(--ui-font) !important;
  letter-spacing: -0.025em;
}

body:not(.admin) :where(p, li) {
  line-height: 1.6;
}

body:not(.admin) .container {
  width: min(var(--ui-content), calc(100% - 80px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

body:not(.admin) :where(a, button) {
  -webkit-tap-highlight-color: transparent;
}

body:not(.admin) :where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid rgba(44, 157, 121, 0.28) !important;
  outline-offset: 3px !important;
}

/* Shared header and navigation */
.header {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 1000 !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 72px !important;
  min-height: 72px !important;
  padding: 0 clamp(32px, 5vw, 80px) !important;
  gap: 40px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: rgba(2, 22, 16, 0.94) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: blur(18px) saturate(120%) !important;
}

.header .brand-lockup {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  min-height: 44px !important;
}

.header .brand-lockup img {
  display: block !important;
  width: 124px !important;
  height: auto !important;
}

.header .nav {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: clamp(20px, 2.2vw, 36px) !important;
  min-width: 0 !important;
  margin-left: auto !important;
}

.header .nav a {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: 1px 0 0 !important;
  color: rgba(244, 247, 245, 0.86) !important;
  font-family: var(--ui-font) !important;
  font-size: 0.84rem !important;
  font-weight: 680 !important;
  line-height: 1 !important;
  letter-spacing: 0.055em !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 180ms ease !important;
}

.header .nav a::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  bottom: 6px !important;
  left: 0 !important;
  width: 100% !important;
  height: 1px !important;
  background: var(--ui-gold) !important;
  transform: scaleX(0) !important;
  transform-origin: right center !important;
  transition: transform 180ms ease !important;
}

.header .nav a:hover,
.header .nav a.is-current,
.header .nav a[aria-current="page"] {
  color: #ffffff !important;
}

.header .nav a:hover::after,
.header .nav a.is-current::after,
.header .nav a[aria-current="page"]::after {
  transform: scaleX(1) !important;
  transform-origin: left center !important;
}

.site-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  min-height: 44px !important;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  cursor: pointer;
}

.site-menu-toggle span,
.site-menu-toggle::before,
.site-menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.header.nav-open .site-menu-toggle span { opacity: 0; }
.header.nav-open .site-menu-toggle::before { transform: translateY(5.5px) rotate(45deg); }
.header.nav-open .site-menu-toggle::after { transform: translateY(-5.5px) rotate(-45deg); }

.ampks-subnav,
.actiponin-subnav {
  top: 72px !important;
  scrollbar-width: none;
}

.ampks-subnav::-webkit-scrollbar,
.actiponin-subnav::-webkit-scrollbar { display: none; }

.ampks-subnav a,
.actiponin-subnav a {
  min-height: 48px !important;
  font-family: var(--ui-font) !important;
  font-size: 0.7rem !important;
  font-weight: 670 !important;
  letter-spacing: 0.065em !important;
}

/* Cross-page typography and surface refinements */
:where(.hero-v3, .v15-hero, .v46-hero, .ev109-hero, .contact-v118-hero) h1 {
  font-family: var(--ui-font) !important;
  font-weight: 690 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.047em !important;
}

:where(.hero-v3, .v15-hero, .v46-hero, .ev109-hero, .contact-v118-hero) p {
  font-size: clamp(1rem, 1.25vw, 1.125rem) !important;
  line-height: 1.62 !important;
  letter-spacing: -0.012em;
}

:where(.ev109-grid article, .contact-v118-card, .contact-v118-reasons-grid article) {
  border-radius: var(--ui-radius-md) !important;
  box-shadow: var(--ui-shadow-card) !important;
}

.ev109-toolbar input {
  min-height: 52px !important;
  border-radius: 10px !important;
  color: var(--ui-ink) !important;
  font-size: 1rem !important;
}

#ev109-filters button {
  min-height: 40px !important;
  padding-inline: 16px !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.045em !important;
}

.contact-v118-card {
  border-color: rgba(255, 255, 255, 0.13) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  backdrop-filter: blur(12px);
}

/* Body Atlas v128: one stable coordinate system, no inherited legacy classes */
.atlas128 {
  --atlas-accent: #b85b3b;
  position: relative;
  padding: clamp(80px, 8vw, 112px) 0 clamp(72px, 7vw, 96px);
  overflow: hidden;
  color: var(--ui-ink);
  background:
    radial-gradient(circle at 76% 14%, rgba(26, 128, 91, 0.07), transparent 28%),
    linear-gradient(180deg, #f8f7f3 0%, #f3f1eb 100%);
  isolation: isolate;
}

.atlas128::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background-image: linear-gradient(rgba(22, 76, 57, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 76, 57, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.atlas128__shell {
  width: min(var(--ui-content), calc(100% - 80px));
  margin-inline: auto;
}

.atlas128__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: end;
  gap: clamp(40px, 7vw, 96px);
  margin-bottom: 48px;
}

.atlas128__kicker {
  display: block;
  margin-bottom: 18px;
  color: #947025;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.13em;
}

.atlas128__intro h2 {
  max-width: 760px;
  margin: 0;
  color: #153d31;
  font-size: clamp(3.6rem, 5.9vw, 5.5rem);
  font-weight: 620;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.atlas128__intro h2 em {
  color: #16805c;
  font-style: normal;
  font-weight: 620;
}

.atlas128__intro-copy > p:first-child {
  max-width: 650px;
  margin: 0;
  color: #55645f;
  font-size: 1.075rem;
  line-height: 1.62;
  letter-spacing: -0.014em;
}

.atlas128__manifesto {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #1b5f49;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.atlas128__manifesto i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b69043;
}

.atlas128__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  color: #6e7874;
  font-size: 0.875rem;
}

.atlas128__hint > span {
  display: inline-grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #147554;
  background: #e5f1ec;
}

.atlas128__workspace {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  align-items: stretch;
  gap: 24px;
}

.atlas128__body-card,
.atlas128__detail {
  min-width: 0;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-lg);
  box-shadow: var(--ui-shadow-soft);
}

.atlas128__body-card {
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 255, 255, 0.99) 0%, rgba(249, 247, 241, 0.97) 62%, rgba(235, 231, 221, 0.94) 100%);
}

.atlas128__stage {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.atlas128__stage::before {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 44%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 145, 108, 0.07), transparent 68%);
  filter: blur(18px);
  transform: translateX(-50%);
}

.atlas128__figure {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(62%, 430px);
  aspect-ratio: 569 / 818;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 24px rgba(19, 76, 56, 0.08));
}

.atlas128__figure > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.atlas128__hotspots {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.atlas128__pin {
  --pin-color: #2c9d79;
  --pin-x: 50%;
  --pin-y: 50%;
  position: absolute;
  top: var(--pin-y);
  left: var(--pin-x);
  width: 15px;
  height: 15px;
  min-height: 0 !important;
  margin: 0;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: var(--pin-color);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--pin-color) 16%, transparent), 0 4px 12px rgba(18, 68, 51, 0.2);
  transform: translate(-50%, -50%);
  transition: width 180ms ease, height 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  pointer-events: auto;
  cursor: pointer;
}

.atlas128__pin::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
}

.atlas128__pin:hover,
.atlas128__pin:focus-visible {
  transform: translate(-50%, -50%) scale(1.16);
}

.atlas128__pin.is-active {
  width: 20px;
  height: 20px;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--pin-color) 18%, transparent), 0 0 24px color-mix(in srgb, var(--pin-color) 32%, transparent);
}

.atlas128__pin--brain { --pin-color: #d76679; --pin-x: 50.2%; --pin-y: 7.2%; }
.atlas128__pin--heart { --pin-color: #d9362f; --pin-x: 51.6%; --pin-y: 29.7%; }
.atlas128__pin--liver { --pin-color: #b85b3b; --pin-x: 43.7%; --pin-y: 36.6%; }
.atlas128__pin--pancreas { --pin-color: #e6a11b; --pin-x: 52.2%; --pin-y: 41.5%; }
.atlas128__pin--adipose { --pin-color: #d6a315; --pin-x: 49.1%; --pin-y: 50.7%; }
.atlas128__pin--muscle { --pin-color: #df473e; --pin-x: 58.7%; --pin-y: 67.7%; }
.atlas128__pin--cartilage { --pin-color: #4aa7d6; --pin-x: 44.8%; --pin-y: 77.4%; }

.atlas128__connectors {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.atlas128__connectors path {
  fill: none;
  stroke-width: 1.15;
  opacity: 0.4;
  vector-effect: non-scaling-stroke;
  transition: opacity 180ms ease, stroke-width 180ms ease;
}

.atlas128__connectors path.is-active {
  stroke-width: 1.8;
  opacity: 0.95;
}

.atlas128__connectors path[data-atlas-path="brain"] { stroke: #d76679; }
.atlas128__connectors path[data-atlas-path="heart"] { stroke: #d9362f; }
.atlas128__connectors path[data-atlas-path="liver"] { stroke: #b85b3b; }
.atlas128__connectors path[data-atlas-path="pancreas"] { stroke: #d39720; }
.atlas128__connectors path[data-atlas-path="adipose"] { stroke: #c7981d; }
.atlas128__connectors path[data-atlas-path="muscle"] { stroke: #df473e; }
.atlas128__connectors path[data-atlas-path="cartilage"] { stroke: #4aa7d6; }

.atlas128__label {
  position: absolute;
  z-index: 5;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  width: clamp(148px, 23%, 172px);
  min-height: 64px !important;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(24, 69, 53, 0.11);
  border-radius: var(--ui-radius-md);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(23, 58, 46, 0.055);
  color: #24473c;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  backdrop-filter: blur(9px);
}

.atlas128__label img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.atlas128__label > span { min-width: 0; }

.atlas128__label b {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 730;
  line-height: 1.25;
  letter-spacing: -0.012em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas128__label small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #7a8581;
  font-size: 0.67rem;
  font-weight: 520;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas128__label:hover { transform: translateY(-2px); }

.atlas128__label.is-active {
  border-color: #0b7253;
  color: #ffffff;
  background: linear-gradient(135deg, #176f52, #0b8a63);
  box-shadow: 0 16px 36px rgba(11, 111, 80, 0.18);
}

.atlas128__label.is-active small { color: rgba(255, 255, 255, 0.78); }

.atlas128__label--brain { top: 8%; right: 20px; }
.atlas128__label--heart { top: 23%; left: 20px; }
.atlas128__label--liver { top: 37%; left: 20px; }
.atlas128__label--pancreas { top: 42%; right: 20px; }
.atlas128__label--adipose { top: 54%; left: 20px; }
.atlas128__label--muscle { top: 69%; right: 20px; }
.atlas128__label--cartilage { top: 83%; left: 20px; }

.atlas128__detail {
  display: flex;
  min-height: 680px;
  padding: 32px;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.96);
}

.atlas128__detail-top,
.atlas128__title-row,
.atlas128__nav,
.atlas128__tissue-id {
  display: flex;
  align-items: center;
}

.atlas128__detail-top {
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(20, 55, 43, 0.1);
}

.atlas128__tissue-id { gap: 10px; }

.atlas128__tissue-id > span {
  width: 14px;
  height: 14px;
  border: 3px solid color-mix(in srgb, var(--atlas-accent) 22%, white);
  border-radius: 50%;
  background: var(--atlas-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--atlas-accent) 10%, transparent);
}

.atlas128__tissue-id b {
  color: #28584a;
  font-size: 0.71rem;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.atlas128__nav { gap: 8px; }

.atlas128__nav > span {
  margin-right: 4px;
  color: #77837e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.atlas128__nav button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  min-height: 40px !important;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(20, 55, 43, 0.13);
  border-radius: 50%;
  background: #ffffff;
  color: #385c51;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.atlas128__nav button:hover {
  border-color: #16805c;
  color: #0b7756;
  transform: translateY(-1px);
}

.atlas128__title-row {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 28px;
  transition: opacity 130ms ease, transform 130ms ease;
}

.atlas128__title-row h3 {
  margin: 0;
  color: #173e33;
  font-size: clamp(2.25rem, 3.25vw, 2.75rem);
  font-weight: 690;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.atlas128__title-row p {
  margin: 6px 0 0;
  color: #157b59;
  font-size: 1.05rem;
  font-weight: 640;
  line-height: 1.35;
  letter-spacing: -0.018em;
}

.atlas128__focus {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #3e6559;
  background: #edf5f1;
  font-size: 0.69rem;
  font-weight: 680;
}

.atlas128__focus i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16805c;
}

.atlas128__description {
  margin: 20px 0 0;
  color: #5f6d69;
  font-size: 0.96rem;
  line-height: 1.62;
  letter-spacing: -0.01em;
  transition: opacity 130ms ease, transform 130ms ease;
}

.atlas128__detail-grid {
  display: grid;
  grid-template-columns: minmax(132px, 0.8fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 20px;
  margin-top: 28px;
  transition: opacity 130ms ease, transform 130ms ease;
}

.atlas128__organ-visual {
  display: grid;
  min-height: 224px;
  padding: 20px;
  place-items: center;
  border: 1px solid rgba(20, 55, 43, 0.1);
  border-radius: var(--ui-radius-md);
  background: linear-gradient(145deg, #fbfcfa, #eef3ef);
}

.atlas128__organ-visual img {
  display: block;
  width: 90%;
  max-width: 170px;
  height: 90%;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(80, 51, 38, 0.14));
}

.atlas128__roles-wrap { min-width: 0; }

.atlas128__roles-title {
  display: block;
  margin: 2px 0 10px;
  color: #78847f;
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.atlas128__roles {
  display: grid;
  gap: 8px;
}

.atlas128__roles > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(20, 55, 43, 0.1);
  border-radius: 10px;
  background: #ffffff;
}

.atlas128__roles span {
  color: #35544b;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.3;
}

.atlas128__roles b {
  flex: 0 0 auto;
  color: #13825d;
  font-size: 1rem;
  font-weight: 740;
}

.atlas128__roles b.down { color: #a9771d; }
.atlas128__roles b.neutral { color: #72837d; }

.atlas128__context {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(20, 55, 43, 0.1);
  transition: opacity 130ms ease, transform 130ms ease;
}

.atlas128__context small {
  display: block;
  color: #8b6b2c;
  font-size: 0.65rem;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.atlas128__context p {
  margin: 8px 0 0;
  color: #53635e;
  font-size: 0.79rem;
  font-weight: 560;
  line-height: 1.55;
}

.atlas128__detail.is-switching :where(.atlas128__title-row, .atlas128__description, .atlas128__detail-grid, .atlas128__context) {
  opacity: 0.35;
  transform: translateY(3px);
}

.atlas128__tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.atlas128__tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 60px !important;
  padding: 8px 10px;
  border: 1px solid rgba(20, 55, 43, 0.11);
  border-radius: var(--ui-radius-md);
  background: rgba(255, 255, 255, 0.88);
  color: #36544c;
  box-shadow: 0 5px 16px rgba(20, 55, 43, 0.025);
  font-size: 0.76rem;
  font-weight: 690;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.atlas128__tabs button:hover { transform: translateY(-2px); }

.atlas128__tabs button.is-active {
  border-color: #0b7756;
  color: #ffffff;
  background: linear-gradient(135deg, #176f52, #0b8a63);
  box-shadow: 0 10px 24px rgba(11, 111, 80, 0.16);
}

.atlas128__tabs img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.atlas128__note {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 55, 43, 0.12);
}

.atlas128__note b {
  color: #8e6c2c;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.atlas128__note p {
  margin: 0;
  color: #78827e;
  font-size: 0.78rem;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .atlas128__workspace { grid-template-columns: 1fr; }
  .atlas128__body-card,
  .atlas128__stage { min-height: 700px; }
  .atlas128__detail { min-height: 0; }
  .atlas128__detail-grid { grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr); }
  .atlas128__context { margin-top: 28px; }
}

@media (max-width: 980px) {
  body:not(.admin) .container,
  .atlas128__shell { width: min(100% - 48px, var(--ui-content)) !important; }

  .header {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 20px !important;
  }

  .header .brand-lockup img { width: 112px !important; }
  .site-menu-toggle { display: block; }

  .header .nav {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 16px !important;
    left: 16px !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 14px !important;
    background: rgba(3, 29, 21, 0.985) !important;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-8px) !important;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease !important;
  }

  .header.nav-open .nav {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  .header .nav a {
    width: 100% !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.035em !important;
  }

  .header .nav a::after { display: none !important; }
  .header .nav a:hover,
  .header .nav a.is-current,
  .header .nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.065) !important; }

  .ampks-subnav,
  .actiponin-subnav {
    top: 64px !important;
    overflow-x: auto !important;
  }

  .atlas128 { padding-top: 72px; }
  .atlas128__intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
  .atlas128__intro-copy > p:first-child { max-width: 720px; }
  .atlas128__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body:not(.admin) .container,
  .atlas128__shell { width: min(100% - 40px, var(--ui-content)) !important; }

  .hero-v3 {
    min-height: 100svh !important;
    padding: 112px 0 64px !important;
    align-items: flex-start !important;
  }

  .hero-v3 .hero-copy {
    width: min(100% - 40px, 680px) !important;
    margin: 0 auto !important;
  }

  .atlas128 { padding: 64px 0; }
  .atlas128__intro h2 { font-size: clamp(3rem, 14vw, 4rem); }
  .atlas128__intro-copy > p:first-child { font-size: 1rem; }
  .atlas128__manifesto { gap: 8px; font-size: 0.65rem; }

  .atlas128__body-card,
  .atlas128__stage { min-height: 560px; }

  .atlas128__figure { width: min(86%, 360px); }
  .atlas128__label,
  .atlas128__connectors { display: none; }

  .atlas128__detail { padding: 24px; }
  .atlas128__title-row { margin-top: 24px; }
  .atlas128__focus { display: none; }
  .atlas128__detail-grid { grid-template-columns: 1fr 1.12fr; gap: 14px; }
  .atlas128__organ-visual { min-height: 206px; padding: 14px; }
  .atlas128__roles > div { min-height: 44px; padding: 8px 10px; }
  .atlas128__tabs { gap: 6px; }
  .atlas128__tabs button { min-height: 56px !important; gap: 7px; padding-inline: 6px; font-size: 0.69rem; }
  .atlas128__tabs img { width: 22px; height: 22px; }
  .atlas128__note { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 500px) {
  .atlas128__manifesto i { display: none; }
  .atlas128__manifesto span { width: 100%; }
  .atlas128__body-card,
  .atlas128__stage { min-height: 520px; }
  .atlas128__figure { width: min(90%, 330px); }
  .atlas128__detail-top { gap: 12px; }
  .atlas128__nav > span { display: none; }
  .atlas128__title-row h3 { font-size: 2.2rem; }
  .atlas128__detail-grid { grid-template-columns: 1fr; }
  .atlas128__organ-visual { min-height: 180px; }
  .atlas128__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
