/*
 * Case Studies Archive v3 — Trust Systems Atlas
 * Route-local presentation only. Shared header and footer remain owned by
 * alina-horb-case-v3.css.
 */

.atlas-hero-accent {
  color: var(--atlas-cyan);
}
.case-archive-v3 {
  --atlas-black: #050607;
  --atlas-graphite: #11171c;
  --atlas-graphite-2: #182127;
  --atlas-ink: #10161b;
  --atlas-white: #f7f8f8;
  --atlas-muted: #a8b2b8;
  --atlas-line: rgba(255, 255, 255, 0.14);
  --atlas-cyan: #79d8e2;
  --atlas-fs: #69c7cf;
  --atlas-alina: #b9735e;
  --atlas-alina-sage: #879b88;
  --atlas-alina-ivory: #f2ede3;
  --atlas-local: #c9822b;
  --atlas-local-forest: #243d32;
  --atlas-local-stone: #d8cec0;
  --atlas-radius: 8px;
  --atlas-ease: cubic-bezier(.22, 1, .36, 1);
  background: var(--atlas-black);
  color: var(--atlas-white);
}

.case-archive-v3 *,
.case-archive-v3 *::before,
.case-archive-v3 *::after {
  box-sizing: border-box;
  min-width: 0;
}

.case-archive-v3 .atlas-main {
  overflow: clip;
  background: var(--atlas-black);
}

.case-archive-v3 .atlas-container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.case-archive-v3 .atlas-main section[id],
.case-archive-v3 .atlas-main nav[id] {
  scroll-margin-top: 92px;
}

.case-archive-v3 .atlas-main a {
  text-underline-offset: 0.2em;
}

.case-archive-v3 .atlas-main a:focus-visible {
  outline: 3px solid var(--atlas-cyan);
  outline-offset: 4px;
}

.atlas-eyebrow,
.atlas-status,
.atlas-role,
.atlas-mechanism > span,
.atlas-first-step > span,
.atlas-related > span,
.atlas-standard__groups > section > p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atlas-eyebrow {
  color: var(--atlas-cyan);
}

/* 01 — Three-World Stage */
.atlas-hero {
  position: relative;
  padding: clamp(126px, 12vw, 178px) 0 clamp(64px, 8vw, 112px);
  background:
    linear-gradient(145deg, rgba(43, 68, 74, 0.35), transparent 42%),
    var(--atlas-black);
  isolation: isolate;
}

.atlas-hero::before {
  position: absolute;
  inset: 78px max(18px, calc((100vw - 1240px) / 2)) auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--atlas-cyan) 0 56px, var(--atlas-line) 56px);
  pointer-events: none;
}

.atlas-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
}

.atlas-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.atlas-hero h1 {
  max-width: 13.5ch;
  margin: 18px 0 24px;
  color: #fff;
  font-size: clamp(3rem, 5vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.atlas-lead {
  max-width: 56ch;
  margin: 0;
  color: #dce3e6;
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
  line-height: 1.55;
}

.atlas-supporting {
  max-width: 60ch;
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 1px solid rgba(121, 216, 226, 0.52);
  color: var(--atlas-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.atlas-worlds {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(190px, 0.85fr);
  grid-template-rows: minmax(320px, 1.55fr) minmax(170px, 0.75fr);
  gap: 12px;
  min-height: 560px;
}

.atlas-world {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 0;
  border: 1px solid var(--atlas-line);
  border-radius: 4px;
  background: var(--atlas-graphite);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.atlas-world::before,
.atlas-world::after {
  position: absolute;
  z-index: 3;
  content: "";
  pointer-events: none;
}

.atlas-world::before {
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.06) 38%, rgba(5, 6, 7, 0.82));
}

.atlas-world::after {
  right: 12px;
  bottom: 12px;
  width: 26px;
  height: 26px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: 0.72;
}

.atlas-world--financial {
  grid-column: 1 / -1;
  grid-row: 1;
  color: var(--atlas-fs);
}

.atlas-world--alina {
  color: #dca994;
}

.atlas-world--local {
  color: #e9a654;
}

.atlas-world__image {
  position: absolute;
  inset: 0;
  display: block;
}

.atlas-world__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atlas-world--financial .atlas-world__image img {
  object-position: 50% 12%;
}

.atlas-world--alina .atlas-world__image img {
  object-position: 54% 12%;
}

.atlas-world--local .atlas-world__image img {
  object-position: 50% 50%;
}

.atlas-world__label {
  position: relative;
  z-index: 4;
  align-self: end;
  display: grid;
  gap: 5px;
  padding: 20px;
}

.atlas-world__label strong {
  color: #fff;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.15;
}

.atlas-world__label small {
  color: currentColor;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.atlas-worlds[data-world-focus="financial"] .atlas-world--financial,
.atlas-worlds[data-world-focus="alina"] .atlas-world--alina,
.atlas-worlds[data-world-focus="local"] .atlas-world--local {
  border-color: currentColor;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.3);
}

.atlas-worlds[data-world-focus="financial"] .atlas-world:not(.atlas-world--financial),
.atlas-worlds[data-world-focus="alina"] .atlas-world:not(.atlas-world--alina),
.atlas-worlds[data-world-focus="local"] .atlas-world:not(.atlas-world--local) {
  opacity: 0.76;
}

.atlas-hero__datum {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 30px;
  border-top: 1px solid rgba(121, 216, 226, 0.24);
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(121, 216, 226, 0.4) 7% calc(7% + 1px), transparent calc(7% + 1px) 93%, rgba(121, 216, 226, 0.4) 93% calc(93% + 1px), transparent calc(93% + 1px));
}

/* 02 — Integrated orientation */
.atlas-orientation {
  position: relative;
  border-bottom: 1px solid var(--atlas-line);
  background: #0a0d0f;
}

.atlas-orientation::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--atlas-fs) 0 33.33%, var(--atlas-alina) 33.33% 66.66%, var(--atlas-local) 66.66%);
  opacity: 0.72;
}

.atlas-orientation__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.atlas-orientation a {
  position: relative;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 5px 12px;
  min-height: 174px;
  padding: 28px clamp(18px, 2.4vw, 34px);
  border-right: 1px solid var(--atlas-line);
  color: #fff;
  text-decoration: none;
}

.atlas-orientation a:last-child {
  border-right: 0;
}

.atlas-orientation__marker {
  grid-row: 1 / 4;
  width: 2px;
  height: 44px;
  margin-top: 2px;
  background: var(--project-accent, var(--atlas-cyan));
  opacity: 0.45;
}

.atlas-orientation a:nth-child(1) {
  --project-accent: var(--atlas-fs);
}

.atlas-orientation a:nth-child(2) {
  --project-accent: var(--atlas-alina);
}

.atlas-orientation a:nth-child(3) {
  --project-accent: var(--atlas-local);
}

.atlas-orientation strong {
  font-size: 1rem;
  line-height: 1.2;
}

.atlas-orientation small {
  color: var(--project-accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.atlas-orientation a > span:last-child {
  color: var(--atlas-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.atlas-orientation a[aria-current="location"] {
  background: rgba(255, 255, 255, 0.045);
}

.atlas-orientation a[aria-current="location"] .atlas-orientation__marker {
  height: 74px;
  opacity: 1;
}

.atlas-orientation a[aria-current="location"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}

/* Shared territory structure */
.atlas-territory {
  position: relative;
  padding: clamp(88px, 10vw, 148px) 0;
  isolation: isolate;
}

.atlas-territory::before {
  position: absolute;
  top: 0;
  right: max(24px, calc((100vw - 1240px) / 2));
  left: max(24px, calc((100vw - 1240px) / 2));
  height: 30px;
  border-top: 1px solid currentColor;
  content: "";
  opacity: 0.18;
  pointer-events: none;
}

.atlas-territory__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 44px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 78px);
}

.atlas-status {
  color: currentColor;
  opacity: 0.7;
}

.atlas-role {
  margin-top: 14px;
  color: var(--project-accent);
}

.atlas-territory h2 {
  margin: 12px 0 0;
  color: inherit;
  font-size: clamp(3rem, 6vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.atlas-territory__thesis {
  max-width: 34ch;
  margin: 0;
  color: inherit;
  font-size: clamp(1.3rem, 2vw, 1.78rem);
  line-height: 1.35;
  text-wrap: balance;
}

.atlas-territory__layout {
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.atlas-territory__layout--financial,
.atlas-territory__layout--local {
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
}

.atlas-territory__layout--alina {
  grid-template-columns: minmax(0, 1.3fr) minmax(290px, 0.7fr);
}

.atlas-territory__copy {
  display: grid;
  align-content: center;
  gap: 26px;
}

.atlas-mechanism,
.atlas-first-step {
  padding: 18px 0 0;
  border-top: 1px solid currentColor;
}

.atlas-mechanism > span,
.atlas-first-step > span {
  display: block;
  margin-bottom: 10px;
  color: var(--project-accent);
}

.atlas-mechanism p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.65;
}

.atlas-first-step strong {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.3;
}

.atlas-proof {
  margin: 0;
}

.atlas-proof__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--proof-line, rgba(255, 255, 255, 0.22));
  border-radius: var(--atlas-radius);
  background: var(--proof-bg, #0b1013);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.2);
}

.atlas-proof__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.atlas-proof figcaption {
  margin-top: 12px;
  color: currentColor;
  font-size: 0.78rem;
  line-height: 1.55;
  opacity: 0.68;
}

.atlas-case-link,
.atlas-primary-action {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.atlas-case-link span,
.atlas-primary-action span {
  color: var(--project-accent, var(--atlas-cyan));
}

.atlas-related {
  display: grid;
  gap: 9px;
  padding-top: 22px;
  border-top: 1px solid currentColor;
}

.atlas-related > span {
  color: var(--project-accent);
}

.atlas-related a {
  width: fit-content;
  max-width: 100%;
  color: inherit;
  font-size: 0.86rem;
  line-height: 1.45;
  opacity: 0.78;
}

/* 03 — Financial territory */
.atlas-territory--financial {
  --project-accent: var(--atlas-fs);
  --proof-line: rgba(105, 199, 207, 0.34);
  background:
    linear-gradient(110deg, rgba(50, 95, 101, 0.18), transparent 45%),
    #0e1519;
  color: #f2f7f7;
}

.atlas-territory--financial .atlas-proof__frame::after {
  position: absolute;
  inset: 16px 16px auto auto;
  width: 36px;
  height: 36px;
  border-top: 1px solid var(--atlas-fs);
  border-right: 1px solid var(--atlas-fs);
  content: "";
  pointer-events: none;
}

.atlas-signal-register {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(105, 199, 207, 0.24);
  background: rgba(105, 199, 207, 0.24);
}

.atlas-signal-register span {
  min-height: 56px;
  padding: 14px;
  background: #111c21;
  color: #d7e7e9;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
}

/* 04 — Alina territory */
.atlas-territory--alina {
  --project-accent: #9d5f4d;
  --proof-line: rgba(78, 61, 51, 0.22);
  background:
    linear-gradient(90deg, rgba(135, 155, 136, 0.13), transparent 42%),
    var(--atlas-alina-ivory);
  color: #28251f;
}

.atlas-territory--alina::after {
  position: absolute;
  top: 15%;
  right: 0;
  width: min(11vw, 150px);
  height: 44%;
  border-left: 1px solid rgba(185, 115, 94, 0.24);
  border-bottom: 1px solid rgba(135, 155, 136, 0.24);
  content: "";
  pointer-events: none;
}

.atlas-territory--alina .atlas-proof__frame {
  background: #ded7cb;
  box-shadow: 0 26px 56px rgba(64, 53, 44, 0.16);
}

.atlas-proof--alina-main {
  align-self: start;
}

.atlas-proof--alina-support .atlas-proof__frame {
  border-radius: 3px;
  box-shadow: none;
}

/* 05 — Local Repair territory */
.atlas-territory--local {
  --project-accent: #e4a04d;
  --proof-line: rgba(228, 160, 77, 0.34);
  background:
    linear-gradient(135deg, rgba(16, 32, 51, 0.3), transparent 54%),
    var(--atlas-local-forest);
  color: #f7f2ea;
}

.atlas-territory--local .atlas-proof__frame {
  padding: clamp(8px, 1.4vw, 16px);
  background: #17281f;
}

.atlas-territory--local .atlas-proof__frame::before,
.atlas-territory--local .atlas-proof__frame::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.atlas-territory--local .atlas-proof__frame::before {
  top: 7px;
  left: 28%;
  width: 70px;
  border-top: 2px solid var(--atlas-local);
}

.atlas-territory--local .atlas-proof__frame::after {
  right: 9px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  border-right: 1px solid var(--atlas-local);
  border-bottom: 1px solid var(--atlas-local);
}

.atlas-field-system {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(228, 160, 77, 0.46);
  list-style: none;
}

.atlas-field-system::before {
  position: absolute;
  top: -3px;
  left: 0;
  width: 52px;
  height: 5px;
  content: "";
  background: var(--atlas-local);
}

.atlas-field-system li {
  display: grid;
  grid-template-columns: minmax(84px, 0.44fr) minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(247, 242, 234, 0.18);
}

.atlas-field-system span {
  color: var(--project-accent);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.atlas-field-system strong {
  font-size: 0.88rem;
  line-height: 1.4;
}

/* 06 — Cross-case alignment */
.atlas-alignment {
  position: relative;
  padding: clamp(96px, 11vw, 156px) 0;
  background: #f3f0ea;
  color: var(--atlas-ink);
}

.atlas-alignment::before {
  position: absolute;
  inset: 0 0 auto;
  height: 32px;
  content: "";
  background:
    linear-gradient(135deg, var(--atlas-local-forest) 0 49.8%, transparent 50%) 0 0 / 52px 32px no-repeat,
    linear-gradient(90deg, var(--atlas-fs) 0 33.33%, var(--atlas-alina) 33.33% 66.66%, var(--atlas-local) 66.66%);
  opacity: 0.84;
}

.atlas-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 20px 70px;
  align-items: end;
  margin-bottom: clamp(46px, 6vw, 80px);
}

.atlas-section-heading .atlas-eyebrow {
  grid-column: 1 / -1;
  color: #49757a;
}

.atlas-section-heading h2 {
  max-width: 15ch;
  margin: 0;
  color: inherit;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.atlas-section-heading > p:last-child {
  max-width: 58ch;
  margin: 0;
  color: #586268;
  font-size: 1rem;
  line-height: 1.7;
}

.atlas-axes {
  border-top: 1px solid rgba(16, 22, 27, 0.3);
}

.atlas-axis {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) repeat(3, minmax(0, 1fr));
  margin: 0;
  border-bottom: 1px solid rgba(16, 22, 27, 0.2);
}

.atlas-axis > * {
  padding: 24px 20px;
  border-right: 1px solid rgba(16, 22, 27, 0.14);
}

.atlas-axis > *:last-child {
  border-right: 0;
}

.atlas-axis h3 {
  margin: 0;
  color: #4f5a60;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.atlas-axis > div {
  position: relative;
}

.atlas-axis > div::before {
  position: absolute;
  top: 0;
  left: 20px;
  width: 42px;
  border-top: 3px solid var(--axis-color);
  content: "";
}

.atlas-axis [data-project="financial"] {
  --axis-color: var(--atlas-fs);
}

.atlas-axis [data-project="alina"] {
  --axis-color: var(--atlas-alina);
}

.atlas-axis [data-project="local"] {
  --axis-color: var(--atlas-local);
}

.atlas-axis strong {
  display: block;
  margin-bottom: 9px;
  font-size: 0.8rem;
  line-height: 1.3;
}

.atlas-axis p {
  margin: 0;
  color: #485158;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* 07 — Production standard */
.atlas-standard {
  padding: clamp(96px, 11vw, 156px) 0;
  background:
    linear-gradient(160deg, rgba(121, 216, 226, 0.09), transparent 44%),
    #11171c;
  color: #f3f6f7;
}

.atlas-standard .atlas-section-heading {
  display: block;
  margin: 0;
}

.atlas-standard .atlas-section-heading .atlas-eyebrow {
  color: var(--atlas-cyan);
}

.atlas-standard .atlas-section-heading h2 {
  max-width: 11ch;
  margin-top: 16px;
}

.atlas-standard .atlas-section-heading > p:last-child {
  margin-top: 24px;
  color: var(--atlas-muted);
}

.atlas-standard__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
}

.atlas-standard__groups {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--atlas-line);
}

.atlas-standard__groups > section {
  display: grid;
  grid-template-columns: 88px minmax(180px, 0.8fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--atlas-line);
}

.atlas-standard__groups > section > p {
  color: var(--atlas-cyan);
}

.atlas-standard__groups h3 {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.35;
}

.atlas-standard__groups ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--atlas-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  list-style: none;
}

.atlas-standard__groups li {
  position: relative;
  padding-left: 15px;
}

.atlas-standard__groups li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  border-top: 1px solid var(--atlas-cyan);
  content: "";
}

/* 08 — Archive closing */
.atlas-closing {
  position: relative;
  padding: clamp(96px, 11vw, 152px) 0;
  border-top: 1px solid rgba(121, 216, 226, 0.18);
  background: var(--atlas-black);
  color: #fff;
}

.atlas-closing::before,
.atlas-closing::after {
  position: absolute;
  top: 0;
  height: 3px;
  content: "";
  background: var(--atlas-cyan);
}

.atlas-closing::before {
  left: 0;
  width: 23%;
}

.atlas-closing::after {
  right: 0;
  width: 9%;
}

.atlas-closing__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: end;
}

.atlas-closing h2 {
  max-width: 13ch;
  margin: 16px 0 24px;
  color: #fff;
  font-size: clamp(2.8rem, 5.6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.atlas-closing p:not(.atlas-eyebrow) {
  max-width: 62ch;
  margin: 0;
  color: var(--atlas-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.atlas-closing__actions {
  display: grid;
  gap: 28px;
  align-content: end;
}

.atlas-primary-action {
  --project-accent: var(--atlas-cyan);
  width: 100%;
  justify-content: space-between;
  padding: 17px 0;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  text-align: left;
}

.atlas-closing__actions nav {
  display: grid;
  gap: 10px;
}

.atlas-closing__actions nav a {
  width: fit-content;
  color: var(--atlas-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.case-archive-v3 .global-footer {
  border-top: 1px solid var(--atlas-line);
}

/* Progressive motion: content is complete before JavaScript adds this class. */
.archive-v3-motion-ready [data-atlas-enter],
.archive-v3-motion-ready [data-proof-lock],
.archive-v3-motion-ready [data-trust-axis],
.archive-v3-motion-ready [data-portfolio-closure] {
  opacity: 0.86;
  transform: translateY(14px);
}

.archive-v3-motion-ready [data-atlas-enter] {
  transition:
    opacity 540ms var(--atlas-ease),
    transform 540ms var(--atlas-ease);
}

.archive-v3-motion-ready [data-proof-lock] {
  transform: translateY(16px) scale(0.988);
  transition:
    opacity 580ms var(--atlas-ease),
    transform 580ms var(--atlas-ease);
}

.archive-v3-motion-ready [data-trust-axis] {
  opacity: 0.84;
  transform: translateX(-14px);
  transition:
    opacity 520ms var(--atlas-ease),
    transform 520ms var(--atlas-ease);
}

.archive-v3-motion-ready [data-portfolio-closure] {
  opacity: 0.84;
  transform: translateY(16px);
  transition:
    opacity 620ms var(--atlas-ease),
    transform 620ms var(--atlas-ease);
}

.archive-v3-motion-ready .atlas-world {
  transition: transform 400ms var(--atlas-ease), opacity 400ms var(--atlas-ease), border-color 400ms var(--atlas-ease), box-shadow 400ms var(--atlas-ease);
}

.archive-v3-motion-ready .atlas-orientation__marker {
  transition:
    height 460ms var(--atlas-ease),
    opacity 460ms var(--atlas-ease);
}

.archive-v3-motion-ready [data-atlas-enter].is-registered,
.archive-v3-motion-ready [data-proof-lock].is-proof-locked,
.archive-v3-motion-ready [data-trust-axis].is-registered,
.archive-v3-motion-ready [data-portfolio-closure].is-registered {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .archive-v3-motion-ready .atlas-worlds[data-world-focus="financial"] .atlas-world--financial,
  .archive-v3-motion-ready .atlas-worlds[data-world-focus="alina"] .atlas-world--alina,
  .archive-v3-motion-ready .atlas-worlds[data-world-focus="local"] .atlas-world--local {
    transform: translateY(-4px);
  }

  .atlas-case-link:hover,
  .atlas-primary-action:hover {
    color: var(--project-accent, var(--atlas-cyan));
  }

  .atlas-orientation a:hover {
    background: rgba(255, 255, 255, 0.045);
  }
}

@media (max-width: 767px) {
  .archive-v3-motion-ready [data-atlas-enter],
  .archive-v3-motion-ready [data-proof-lock],
  .archive-v3-motion-ready [data-trust-axis],
  .archive-v3-motion-ready [data-portfolio-closure] {
    opacity: 0.9;
    transform: translateY(8px);
  }

  .archive-v3-motion-ready [data-proof-lock] {
    transform: translateY(10px) scale(0.994);
  }
}

@media (max-width: 1180px) {
  .case-archive-v3 .atlas-container {
    width: min(100% - 40px, 1080px);
  }

  .atlas-hero__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 38px;
  }

  .atlas-worlds {
    min-height: 490px;
  }

  .atlas-territory__header {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  }

  .atlas-standard__groups > section {
    grid-template-columns: 78px minmax(160px, 0.8fr) minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 1024px) {
  .atlas-hero {
    padding-top: 128px;
  }

  .atlas-hero__grid {
    grid-template-columns: 1fr;
  }

  .atlas-hero__copy {
    max-width: 780px;
  }

  .atlas-hero h1 {
    max-width: 14ch;
    font-size: clamp(3.4rem, 8vw, 5rem);
  }

  .atlas-worlds {
    grid-template-columns: minmax(0, 1.15fr) minmax(210px, 0.85fr);
    min-height: 560px;
  }

  .atlas-orientation a {
    min-height: 190px;
    padding: 24px 18px;
  }

  .atlas-territory__layout--financial,
  .atlas-territory__layout--local,
  .atlas-territory__layout--alina {
    grid-template-columns: 1fr;
  }

  .atlas-territory__layout--financial .atlas-territory__copy,
  .atlas-territory__layout--local .atlas-territory__copy {
    grid-row: 1;
  }

  .atlas-territory__copy {
    max-width: 760px;
  }

  .atlas-proof--alina-main {
    grid-row: 2;
  }

  .atlas-axis {
    grid-template-columns: 135px repeat(3, minmax(0, 1fr));
  }

  .atlas-axis > * {
    padding: 20px 14px;
  }

  .atlas-axis > div::before {
    left: 14px;
  }

  .atlas-standard__layout {
    grid-template-columns: 1fr;
  }

  .atlas-standard .atlas-section-heading {
    max-width: 800px;
  }
}

@media (max-width: 820px) {
  .atlas-territory__header,
  .atlas-section-heading,
  .atlas-closing__inner {
    grid-template-columns: 1fr;
  }

  .atlas-territory__thesis {
    max-width: 42ch;
  }

  .atlas-orientation__inner {
    grid-template-columns: 1fr;
  }

  .atlas-orientation a {
    min-height: 0;
    grid-template-columns: 10px minmax(0, 1fr);
    padding: 22px 6px;
    border-right: 0;
    border-bottom: 1px solid var(--atlas-line);
  }

  .atlas-orientation a:last-child {
    border-bottom: 0;
  }

  .atlas-orientation__marker {
    height: 48px;
  }

  .atlas-orientation a[aria-current="location"] .atlas-orientation__marker {
    height: 68px;
  }

  .atlas-section-heading .atlas-eyebrow {
    grid-column: auto;
  }

  .atlas-section-heading h2 {
    max-width: 17ch;
  }

  .atlas-axis {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }

  .atlas-axis > * {
    padding: 14px 0;
    border-right: 0;
  }

  .atlas-axis h3 {
    padding-top: 0;
    color: #253238;
    font-size: 0.82rem;
  }

  .atlas-axis > div {
    padding-left: 22px;
  }

  .atlas-axis > div::before {
    top: 22px;
    left: 0;
    width: 10px;
  }

  .atlas-axis strong {
    margin-bottom: 5px;
  }

  .atlas-standard__groups > section {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .atlas-standard__groups ul {
    grid-column: 2;
  }
}

@media (max-width: 767px) {
  .case-archive-v3 .atlas-container {
    width: min(100% - 40px, 680px);
  }

  .atlas-hero {
    padding: 116px 0 74px;
  }

  .atlas-hero::before {
    inset-inline: 20px;
  }

  .atlas-hero h1 {
    max-width: 13ch;
    margin-top: 14px;
    font-size: clamp(2.75rem, 12vw, 4.2rem);
    line-height: 0.98;
  }

  .atlas-lead {
    font-size: 1.02rem;
  }

  .atlas-worlds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    min-height: 0;
  }

  .atlas-world--financial {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 360px;
  }

  .atlas-world--alina,
  .atlas-world--local {
    min-height: 230px;
  }

  .atlas-world__label {
    padding: 16px;
  }

  .atlas-world__label small {
    letter-spacing: 0.06em;
  }

  .atlas-territory {
    padding: 82px 0;
  }

  .atlas-territory::before {
    right: 20px;
    left: 20px;
  }

  .atlas-territory h2 {
    font-size: clamp(2.9rem, 13vw, 4.5rem);
  }

  .atlas-territory__header {
    gap: 24px;
    margin-bottom: 42px;
  }

  .atlas-territory__layout {
    gap: 36px;
  }

  .atlas-signal-register {
    grid-template-columns: 1fr;
  }

  .atlas-signal-register span {
    min-height: 48px;
  }

  .atlas-alignment,
  .atlas-standard,
  .atlas-closing {
    padding: 86px 0;
  }

  .atlas-section-heading {
    gap: 18px;
    margin-bottom: 42px;
  }

  .atlas-section-heading h2,
  .atlas-closing h2 {
    font-size: clamp(2.65rem, 11vw, 4rem);
  }

  .atlas-standard__groups > section {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .atlas-standard__groups ul {
    grid-column: auto;
  }

  .atlas-primary-action {
    min-height: 56px;
  }
}

@media (max-width: 430px) {
  .case-archive-v3 .atlas-container {
    width: calc(100% - 40px);
  }

  .atlas-eyebrow,
  .atlas-status,
  .atlas-role,
  .atlas-mechanism > span,
  .atlas-first-step > span,
  .atlas-related > span,
  .atlas-standard__groups > section > p {
    letter-spacing: 0.09em;
  }

  .atlas-hero h1 {
    font-size: clamp(2.58rem, 12.6vw, 3.4rem);
  }

  .atlas-world--financial {
    min-height: 310px;
  }

  .atlas-world--alina,
  .atlas-world--local {
    min-height: 205px;
  }

  .atlas-world__label strong {
    font-size: 0.94rem;
  }

  .atlas-world__label small {
    font-size: 0.61rem;
  }

  .atlas-orientation a > span:last-child {
    font-size: 0.82rem;
  }

  .atlas-territory__thesis {
    font-size: 1.18rem;
  }

  .atlas-field-system li {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .atlas-proof figcaption {
    font-size: 0.76rem;
  }
}

@media (max-width: 360px) {
  .case-archive-v3 .atlas-container {
    width: calc(100% - 32px);
  }

  .atlas-hero::before {
    inset-inline: 16px;
  }

  .atlas-hero h1 {
    font-size: 2.42rem;
  }

  .atlas-worlds {
    grid-template-columns: 1fr;
  }

  .atlas-world--financial,
  .atlas-world--alina,
  .atlas-world--local {
    grid-column: auto;
    min-height: 230px;
  }

  .atlas-world--financial {
    min-height: 280px;
  }

  .atlas-territory h2 {
    font-size: 2.75rem;
  }

  .atlas-field-system li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .atlas-section-heading h2,
  .atlas-closing h2 {
    font-size: 2.42rem;
  }

  .atlas-primary-action {
    align-items: flex-start;
    font-size: 1rem;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .atlas-hero {
    min-height: 0;
    padding-top: 104px;
  }

  .atlas-worlds {
    min-height: 430px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-archive-v3 *,
  .case-archive-v3 *::before,
  .case-archive-v3 *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .archive-v3-motion-ready [data-atlas-enter],
  .archive-v3-motion-ready [data-proof-lock],
  .archive-v3-motion-ready [data-trust-axis],
  .archive-v3-motion-ready [data-portfolio-closure],
  .archive-v3-motion-ready .atlas-world {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .atlas-world,
  .atlas-proof__frame,
  .atlas-orientation a,
  .atlas-axis,
  .atlas-standard__groups > section,
  .atlas-field-system,
  .atlas-signal-register {
    border: 1px solid CanvasText;
  }

  .atlas-world::before,
  .atlas-world::after,
  .atlas-territory::before,
  .atlas-territory::after,
  .atlas-hero__datum,
  .atlas-alignment::before,
  .atlas-closing::before,
  .atlas-closing::after {
    display: none;
  }

  .atlas-orientation__marker,
  .atlas-axis > div::before,
  .atlas-field-system::before {
    background: Highlight;
  }

  .atlas-case-link,
  .atlas-primary-action,
  .atlas-related a,
  .atlas-closing__actions nav a {
    color: LinkText;
  }
}
