@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Source+Serif+4:ital,wght@0,400;0,500;1,400;1,500&display=swap");

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: #ffffff;
  color: #111111;
  font-family: "DM Sans", sans-serif;
}

.ace-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 117, 24, 0.08), transparent 35%),
    #ffffff;
}

.ace-copy {
  min-height: 100vh;
  padding: clamp(46px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 0.5px solid rgba(255, 117, 24, 0.32);
}

.ace-brand {
  margin: 0 0 34px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.34em;
  font-weight: 700;
  color: #ff7518;
}

.ace-title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.24em;
  font-size: clamp(42px, 4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.ace-title span,
.ace-title em {
  font-size: inherit;
}

.ace-title span {
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  color: rgba(17, 17, 17, 0.66);
  font-style: normal;
}

.ace-title em {
  font-family: "Source Serif 4", serif;
  font-weight: 500;
  font-style: italic;
  color: #111111;
}

.ace-orange {
  color: #ff7518 !important;
}

.ace-system-line {
  margin-top: clamp(26px, 3.2vw, 42px);
  padding-left: 18px;
  border-left: 2px solid #ff7518;
}

.ace-system-line p {
  margin: 0;
  max-width: 620px;
  font-size: clamp(20px, 1.75vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #111111;
  font-weight: 400;
}

.ace-experience-card {
  margin-top: clamp(28px, 3.4vw, 48px);
  max-width: 720px;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-top: 0.5px solid rgba(0, 0, 0, 0.16);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
}

.ace-years {
  display: flex;
  align-items: baseline;
  font-family: "Source Serif 4", serif;
  font-style: italic;
  color: #ff7518;
  letter-spacing: -0.08em;
  font-size: clamp(52px, 5vw, 78px);
  line-height: 0.85;
}

.ace-years span:last-child {
  font-size: 0.62em;
  margin-left: 2px;
}

.ace-experience-card p {
  margin: 0;
  max-width: 470px;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.48;
  color: rgba(17, 17, 17, 0.68);
}

.ace-contrast {
  max-width: 720px;
  display: grid;
}

.ace-contrast-row {
  min-height: 64px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
  transition:
    padding-left 420ms ease-in-out,
    background 420ms ease-in-out;
}

.ace-contrast-row:hover {
  padding-left: 8px;
}

.ace-contrast-row p {
  margin: 0;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.38;
  color: rgba(17, 17, 17, 0.72);
}

.ace-wrong:hover {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.045), transparent 75%);
}

.ace-right:hover {
  background: linear-gradient(90deg, rgba(255, 117, 24, 0.1), transparent 75%);
}

.ace-arrow {
  position: relative;
  width: 26px;
  height: 10px;
  display: block;
}

.ace-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4.5px;
  width: 25px;
  height: 1px;
  background: currentColor;
}

.ace-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.ace-wrong .ace-arrow {
  color: #111111;
  opacity: 0.72;
}

.ace-right .ace-arrow {
  color: #ff7518;
}

.ace-right p {
  color: #111111;
  font-weight: 500;
}

.ace-conclusion {
  position: relative;
  max-width: 720px;
  margin-top: 24px;
  padding: 22px 24px 22px 28px;
  border: 0.5px solid rgba(255, 117, 24, 0.5);
  background:
    linear-gradient(90deg, rgba(255, 117, 24, 0.095), transparent 82%),
    rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.ace-conclusion::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: #ff7518;
}

.ace-conclusion::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 1px;
  right: -40px;
  bottom: 20px;
  background: rgba(255, 117, 24, 0.6);
  transform: rotate(-18deg);
}

.ace-conclusion p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.76);
}

.ace-conclusion strong {
  font-family: "Source Serif 4", serif;
  font-style: italic;
  font-size: 1.28em;
  color: #ff7518;
  font-weight: 500;
}

.ace-visual {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  cursor: crosshair;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 48%, rgba(255, 117, 24, 0.14), transparent 31%),
    linear-gradient(135deg, #ffffff 0%, #fbfaf8 48%, #f2eee8 100%);
}

.ace-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.36;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.045) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.045) 0.5px, transparent 0.5px);
  background-size: 56px 56px;
}

.ace-svg {
  position: relative;
  z-index: 2;
  width: min(62%, 520px);
  max-height: 80vh;
  height: auto;
  overflow: visible;
}

#buildingPath {
  fill: none;
  stroke: #111;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.8s ease-in-out;
}

.ace-visual.is-formed #buildingPath {
  stroke: #FF7518;
}

.ace-dot {
  fill: rgba(255, 117, 24, 0.58);
  transition:
    opacity 900ms ease-in-out,
    fill 900ms ease-in-out;
}

.ace-visual.is-formed .ace-line {
  stroke: rgba(255, 117, 24, 0.93);
  stroke-width: 1.3;
  opacity: 1;
}

.ace-visual.is-formed .ace-dot {
  fill: rgba(17, 17, 17, 0.46);
  opacity: 0.52;
}

@media (max-width: 980px) {
  .ace-hero {
    grid-template-columns: 1fr;
  }

  .ace-copy {
    min-height: auto;
    padding: 56px 28px 46px;
    border-right: none;
    border-bottom: 0.5px solid rgba(255, 117, 24, 0.32);
  }

  .ace-experience-card {
    grid-template-columns: 96px 1fr;
  }

  .ace-visual {
    min-height: 56vh;
  }

  .ace-svg {
      width: min(70%, 460px);
  }
}

@media (max-width: 560px) {
  .ace-title {
    font-size: clamp(34px, 10.5vw, 48px);
  }
  
   .ace-svg {
    width: min(78%, 380px);
  }

  .ace-system-line p {
    font-size: 21px;
  }

  .ace-experience-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ace-contrast-row {
    min-height: auto;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    padding: 15px 0;
  }

  .ace-conclusion {
    padding: 20px 18px 20px 22px;
  }

  .ace-visual {
    min-height: 50vh;
  }
}

/* =========================
HEADER
========================= */

.ace-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
}

.ace-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
}

/* LOGO */

.ace-logo img {
  height: 26px;
  display: block;
}

/* NAV */

.ace-nav {
  display: flex;
  gap: 28px;
}

.ace-nav a {
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #111;
  transition: color 0.3s ease;
}

.ace-nav a:hover {
  color: #FF7518;
}

/* HAMBURGER */

.ace-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.ace-hamburger span {
  width: 22px;
  height: 1.5px;
  background: #111;
}

/* MOBILE MENU */

.ace-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 20px 40px;
  border-top: 0.5px solid rgba(0,0,0,0.08);
  background: #fff;
}

.ace-mobile-menu a {
  padding: 10px 0;
  text-decoration: none;
  color: #111;
  font-size: 16px;
}

/* =========================
FOOTER
========================= */

.ace-footer {
  border-top: 0.5px solid rgba(0,0,0,0.08);
  padding: 28px;
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 900px) {

  .ace-nav {
    display: none;
  }

  .ace-hamburger {
    display: flex;
  }

  .ace-mobile-menu.active {
    display: flex;
  }

  .ace-header-inner {
    padding: 14px 20px;
  }

}

/* =========================================================
ACE ARC — REALITY TIMELINE
Mouse-scroll based sticky horizontal timeline
No external icons. Fully scoped.
========================================================= */

.ace-reality {
  --ace-bg-shift: rgba(255, 117, 24, 0.08);
  --ace-current-x: 0px;
  position: relative;
  height: 620vh;
  background:
    radial-gradient(circle at 78% 18%, var(--ace-bg-shift), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf8 58%, #ffffff 100%);
  border-top: 0.5px solid rgba(0, 0, 0, 0.08);
}

.ace-reality-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  padding: clamp(74px, 7vw, 96px) clamp(22px, 4.8vw, 70px) clamp(28px, 3vw, 40px);
  background:
    linear-gradient(90deg, rgba(255, 117, 24, 0.04), transparent 32%),
    transparent;
}

.ace-reality-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.038) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.038) 0.5px, transparent 0.5px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 88%, transparent 100%);
  opacity: 0.52;
}

.ace-reality-sticky::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  right: -18vw;
  top: 12vh;
  border: 0.5px solid rgba(255, 117, 24, 0.18);
  transform: rotate(18deg);
  pointer-events: none;
}

/* =========================
TOP COPY
========================= */

.ace-reality-top {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
}

.ace-reality-kicker {
  display: grid;
  gap: 12px;
}

.ace-reality-kicker span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0.5px solid rgba(255, 117, 24, 0.58);
  font-family: "Source Serif 4", serif;
  font-size: 22px;
  line-height: 1;
  color: #ff7518;
}

.ace-reality-kicker p {
  margin: 0;
  max-width: 210px;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.52);
}

.ace-reality-title-wrap {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(240px, 380px);
  gap: clamp(24px, 4vw, 54px);
  align-items: end;
}

.ace-reality-title-wrap h2 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.18em;
  font-size: clamp(44px, 5.6vw, 90px);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.ace-reality-title-wrap h2 span {
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  color: rgba(17, 17, 17, 0.72);
}

.ace-reality-title-wrap h2 em {
  font-family: "Source Serif 4", serif;
  font-weight: 500;
  font-style: italic;
  color: #ff7518;
}

.ace-reality-title-wrap p {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid #ff7518;
  font-size: clamp(14px, 1vw, 17px);
  line-height: 1.48;
  color: rgba(17, 17, 17, 0.62);
}

/* =========================
PROGRESS / NODES
========================= */

.ace-reality-progress {
  position: relative;
  z-index: 4;
  max-width: 1380px;
  width: 100%;
  margin: clamp(28px, 3.8vw, 48px) auto 0;
}

.ace-reality-progress-line {
  position: relative;
  height: 1px;
  background: rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.ace-reality-progress-line span {
  display: block;
  height: 100%;
  width: 0%;
  background: #ff7518;
  transform-origin: left center;
  transition: width 180ms ease-out;
}

.ace-reality-nodes {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.ace-reality-node {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 14px 0 0;
  text-align: left;
  cursor: pointer;
  color: rgba(17, 17, 17, 0.42);
  position: relative;
}

.ace-reality-node::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: #ffffff;
  border: 0.5px solid rgba(0, 0, 0, 0.24);
  transition:
    width 360ms ease-in-out,
    background 360ms ease-in-out,
    border-color 360ms ease-in-out,
    transform 360ms ease-in-out;
}

.ace-reality-node span {
  display: block;
  margin-bottom: 5px;
  font-family: "Source Serif 4", serif;
  font-size: 17px;
  line-height: 1;
  color: inherit;
  transition: color 360ms ease-in-out;
}

.ace-reality-node em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  transition: color 360ms ease-in-out;
}

.ace-reality-node:hover,
.ace-reality-node.active {
  color: #111111;
}

.ace-reality-node:hover::before,
.ace-reality-node.active::before {
  width: 34px;
  background: #ff7518;
  border-color: #ff7518;
  transform: translateY(-1px);
}

/* =========================
TIMELINE WINDOW
========================= */

.ace-reality-window {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1380px;
  margin: clamp(34px, 4vw, 56px) auto 0;
  overflow: visible;
}

.ace-reality-track {
  display: flex;
  gap: clamp(18px, 2.2vw, 34px);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* =========================
CARD
========================= */

.ace-reality-card {
  position: relative;
  flex: 0 0 min(72vw, 980px);
  min-height: clamp(360px, 42vh, 480px);
  padding: clamp(28px, 4vw, 58px);
  border: 0.5px solid rgba(0, 0, 0, 0.13);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    #ffffff;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(24px, 3.4vw, 54px);
  row-gap: clamp(24px, 3vw, 44px);
  opacity: 0.36;
  transform: scale(0.92) translateY(28px);
  transform-origin: center center;
  transition:
    opacity 520ms ease-in-out,
    transform 620ms ease-in-out,
    border-color 520ms ease-in-out,
    background 520ms ease-in-out;
  overflow: visible;
}

.ace-reality-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 117, 24, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(255, 117, 24, 0.08), transparent 42%);
  opacity: 0;
  transition: opacity 620ms ease-in-out;
  pointer-events: none;
}

.ace-reality-card::after {
  content: "";
  position: absolute;
  right: clamp(22px, 3vw, 44px);
  top: clamp(22px, 3vw, 44px);
  width: clamp(120px, 18vw, 260px);
  height: clamp(120px, 18vw, 260px);
  border: 0.5px solid rgba(255, 117, 24, 0.22);
  transform: rotate(20deg) scale(0.86);
  opacity: 0;
  transition:
    opacity 620ms ease-in-out,
    transform 720ms ease-in-out;
  pointer-events: none;
}

.ace-reality-card.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  border-color: rgba(255, 117, 24, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 245, 0.9)),
    #ffffff;
}

.ace-reality-card.active::before {
  opacity: 1;
}

.ace-reality-card.active::after {
  opacity: 1;
  transform: rotate(20deg) scale(1);
}

.ace-reality-card:hover {
  border-color: rgba(255, 117, 24, 0.66);
}

.ace-card-index {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  font-family: "Source Serif 4", serif;
  font-size: clamp(58px, 7vw, 116px);
  line-height: 0.76;
  letter-spacing: -0.1em;
  color: rgba(255, 117, 24, 0.22);
  transition:
    color 560ms ease-in-out,
    transform 560ms ease-in-out;
}

.ace-reality-card.active .ace-card-index {
  color: rgba(255, 117, 24, 0.55);
  transform: translateY(-4px);
}

.ace-card-icon {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  width: 68px;
  height: 68px;
  align-self: end;
  display: grid;
  place-items: center;
  border: 0.5px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.72);
  transition:
    border-color 520ms ease-in-out,
    transform 520ms ease-in-out,
    background 520ms ease-in-out;
}

.ace-card-icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: rgba(17, 17, 17, 0.64);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 520ms ease-in-out;
}

.ace-reality-card.active .ace-card-icon {
  border-color: rgba(255, 117, 24, 0.62);
  background: rgba(255, 117, 24, 0.06);
  transform: rotate(45deg);
}

.ace-reality-card.active .ace-card-icon svg {
  stroke: #ff7518;
  transform: rotate(-45deg);
}

.ace-card-copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  max-width: 720px;
}

.ace-card-phase {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #ff7518;
  font-weight: 700;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms ease-in-out,
    transform 520ms ease-in-out;
}

.ace-card-copy h3 {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-size: clamp(42px, 5vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 500;
  color: #111111;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 620ms ease-in-out,
    transform 620ms ease-in-out;
}

.ace-reality-card.active .ace-card-phase,
.ace-reality-card.active .ace-card-copy h3 {
  opacity: 1;
  transform: translateY(0);
}

.ace-reality-card.active .ace-card-copy h3 {
  transition-delay: 90ms;
}

/* =========================
CARD GRID
========================= */

.ace-card-grid {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-self: end;
  border-left: 0.5px solid rgba(0, 0, 0, 0.12);
  border-top: 0.5px solid rgba(0, 0, 0, 0.12);
}

.ace-card-grid div {
  position: relative;
  min-height: 138px;
  padding: 20px 42px 20px 20px;
  border-right: 0.5px solid rgba(0, 0, 0, 0.12);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.62);
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 560ms ease-in-out,
    transform 560ms ease-in-out,
    background 420ms ease-in-out;
}

.ace-card-grid div:hover {
  background: rgba(255, 117, 24, 0.085);
}

.ace-card-grid small {
  display: block;
  margin-bottom: 16px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
}

.ace-card-grid p {
  position: absolute;
  left: -0.5px;
  right: -0.5px;
  bottom: calc(100% + 12px);
  margin: 0;
  padding: 18px 18px 20px;
  border: 0.5px solid rgba(255, 117, 24, 0.42);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,248,242,0.96));
  box-shadow: 0 22px 60px rgba(0,0,0,0.08);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.42;
  color: rgba(17, 17, 17, 0.78);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 360ms ease-in-out,
    transform 360ms ease-in-out;
  z-index: 20;
}

.ace-card-grid p::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -7px;
  width: 13px;
  height: 13px;
  background: rgba(255,248,242,0.96);
  border-right: 0.5px solid rgba(255, 117, 24, 0.42);
  border-bottom: 0.5px solid rgba(255, 117, 24, 0.42);
  transform: rotate(45deg);
}

.ace-card-grid div:hover p,
.ace-card-grid div.is-open p {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ace-card-grid div {
  cursor: pointer;
}

.ace-card-grid div::after {
  content: "+";
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-size: 18px;
  line-height: 1;
  color: rgba(255, 117, 24, 0.85);
  transition:
    transform 360ms ease-in-out,
    opacity 360ms ease-in-out;
}

.ace-card-grid div:hover::after,
.ace-card-grid div.is-open::after {
  transform: rotate(45deg);
  opacity: 0.6;
}

.ace-reality-card.active .ace-card-grid div {
  opacity: 1;
  transform: translateY(0);
}

.ace-reality-card.active .ace-card-grid div:nth-child(1) {
  transition-delay: 160ms;
}

.ace-reality-card.active .ace-card-grid div:nth-child(2) {
  transition-delay: 260ms;
}

.ace-reality-card.active .ace-card-grid div:nth-child(3) {
  transition-delay: 360ms;
}

/* =========================
BOTTOM OUTCOME
========================= */

.ace-reality-bottom {
  position: relative;
  z-index: 4;
  max-width: 1380px;
  width: 100%;
  margin: clamp(26px, 3vw, 42px) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.12);
  padding-top: 20px;
}

.ace-reality-bottom p {
  margin: 0;
  max-width: 760px;
  font-size: clamp(17px, 1.45vw, 25px);
  line-height: 1.28;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: #111111;
}

.ace-reality-bottom span {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.42);
}

/* =========================
TABLET + MOBILE
Desktop timeline becomes clean pinned single-card system
========================= */

@media (max-width: 1024px) {

  .ace-reality {
    height: 760vh;
  }

  .ace-reality-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 0;
    overflow: hidden;
    padding: 66px 22px 24px;
    display: grid;
    grid-template-rows: auto 1fr auto;
  }

  .ace-reality-top {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ace-reality-kicker {
    display: none;
  }

  .ace-reality-title-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ace-reality-title-wrap h2 {
    font-size: clamp(34px, 8vw, 58px);
    line-height: 0.96;
    letter-spacing: -0.065em;
  }

  .ace-reality-title-wrap p {
    max-width: 640px;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.42;
  }

  .ace-reality-progress {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 24px;
    margin: 0;
    z-index: 20;
  }

  .ace-reality-progress-line {
    height: 1px;
  }

  .ace-reality-nodes {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
  }

  .ace-reality-node {
    height: 32px;
    padding: 13px 0 0;
  }

  .ace-reality-node span,
  .ace-reality-node em {
    display: none;
  }

  .ace-reality-node::before {
    top: -5px;
    left: 50%;
    width: 8px;
    height: 8px;
    transform: translateX(-50%);
  }

  .ace-reality-node:hover::before,
  .ace-reality-node.active::before {
    width: 22px;
    transform: translateX(-50%);
  }

  .ace-reality-window {
    width: 100%;
    margin: 22px auto 0;
    overflow: visible;
  }

  .ace-reality-track {
    position: relative;
    display: block;
    height: 100%;
    transform: none !important;
  }

  .ace-reality-card {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: auto;
    height: calc(100vh - 265px);
    max-height: 520px;
    padding: 24px 20px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    row-gap: 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(24px) scale(0.985);
  }

  .ace-reality-card.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .ace-card-index {
    grid-column: 1;
    grid-row: 1;
    font-size: 52px;
    line-height: 0.8;
  }

  .ace-card-icon {
    position: absolute;
    right: 20px;
    top: 24px;
    width: 48px;
    height: 48px;
  }

  .ace-card-icon svg {
    width: 27px;
    height: 27px;
  }

  .ace-card-copy {
    grid-column: 1;
    grid-row: 2;
    max-width: calc(100% - 58px);
  }

  .ace-card-phase {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .ace-card-copy h3 {
    font-size: clamp(30px, 8vw, 52px);
    line-height: 0.96;
  }

  .ace-card-grid {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    grid-template-columns: 1fr;
  }

  .ace-card-grid div {
    min-height: 54px;
    padding: 13px 42px 13px 14px;
  }

  .ace-card-grid small {
    margin-bottom: 0;
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .ace-card-grid p {
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    padding: 14px 14px 16px;
    font-size: 13px;
    line-height: 1.38;
  }

  .ace-card-grid div::after {
    right: 15px;
    bottom: 12px;
  }

  .ace-reality-bottom {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 64px;
    margin: 0;
    padding-top: 12px;
    display: block;
  }

  .ace-reality-bottom p {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.32;
  }

  .ace-reality-bottom span {
    display: none;
  }

}

/* =========================
MOBILE FINE TUNING
========================= */

@media (max-width: 620px) {

  .ace-reality {
    height: 820vh;
  }

  .ace-reality-sticky {
    padding: 58px 15px 20px;
  }

  .ace-reality-title-wrap h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .ace-reality-title-wrap p {
    font-size: 12px;
    line-height: 1.36;
    padding-left: 11px;
  }

  .ace-reality-window {
    margin-top: 18px;
  }

  .ace-reality-card {
    height: calc(100vh - 250px);
    max-height: 500px;
    padding: 20px 16px;
    row-gap: 13px;
  }

  .ace-card-index {
    font-size: 46px;
  }

  .ace-card-icon {
    width: 42px;
    height: 42px;
    right: 16px;
    top: 20px;
  }

  .ace-card-icon svg {
    width: 24px;
    height: 24px;
  }

  .ace-card-copy {
    max-width: calc(100% - 48px);
  }

  .ace-card-phase {
    font-size: 9px;
    line-height: 1.35;
  }

  .ace-card-copy h3 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .ace-card-grid div {
    min-height: 50px;
    padding: 12px 38px 12px 13px;
  }

  .ace-card-grid p {
    font-size: 12px;
  }

  .ace-reality-progress {
    left: 15px;
    right: 15px;
    bottom: 20px;
  }

  .ace-reality-bottom {
    left: 15px;
    right: 15px;
    bottom: 58px;
  }

  .ace-reality-bottom p {
    font-size: 12px;
  }

}

@media (max-width: 390px) {

  .ace-reality-title-wrap p {
    display: none;
  }

  .ace-reality-card {
    height: calc(100vh - 205px);
  }

}

.ace-broken-section {
  width: 100%;
  background: #ffffff;
  color: #111111;
  padding: clamp(72px, 8vw, 128px) 20px;
  font-family: "DM Sans", sans-serif;
  overflow: hidden;
}

.ace-broken-section * {
  box-sizing: border-box;
}

.ace-broken-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.ace-broken-kicker {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff7518;
  margin-bottom: 26px;
  opacity: 0;
  transform: translateY(18px);
  animation: aceBrokenReveal 0.8s ease-in-out forwards;
}

.ace-broken-header {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(42px, 5vw, 72px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.18);
}

.ace-broken-header h2 {
  font-family: "Source Serif 4", serif;
  font-weight: 500;
  font-size: clamp(38px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 820px;
  opacity: 0;
  transform: translateY(22px);
  animation: aceBrokenReveal 0.9s ease-in-out 0.12s forwards;
}

.ace-broken-header p {
  margin: 0 0 8px;
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #444444;
  max-width: 360px;
  opacity: 0;
  transform: translateY(22px);
  animation: aceBrokenReveal 0.9s ease-in-out 0.22s forwards;
}

.ace-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 0.5px solid rgba(0, 0, 0, 0.18);
  margin-top: clamp(36px, 5vw, 72px);
}

.ace-problem-card {
  position: relative;
  min-height: 245px;
  padding: 28px;
  background: #ffffff;
  color: #111111;
  border: 0;
  border-right: 0.5px solid rgba(0, 0, 0, 0.18);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.18);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  font-family: "DM Sans", sans-serif;
  appearance: none;
  opacity: 0;
  transform: translateY(26px);
  animation: aceBrokenReveal 0.85s ease-in-out forwards;
}

.ace-problem-card:nth-child(1) { animation-delay: 0.28s; }
.ace-problem-card:nth-child(2) { animation-delay: 0.36s; }
.ace-problem-card:nth-child(3) { animation-delay: 0.44s; }
.ace-problem-card:nth-child(4) { animation-delay: 0.52s; }
.ace-problem-card:nth-child(5) { animation-delay: 0.60s; }
.ace-problem-card:nth-child(6) { animation-delay: 0.68s; }
.ace-problem-card:nth-child(7) { animation-delay: 0.76s; }

.ace-problem-card-wide {
  grid-column: span 3;
  min-height: 210px;
}

.ace-problem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ff7518;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.42s ease-in-out;
  z-index: 0;
}

.ace-problem-card::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 54px;
  right: 28px;
  bottom: 28px;
  background: rgba(0, 0, 0, 0.2);
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 0.38s ease-in-out, background 0.38s ease-in-out;
  z-index: 1;
}

.ace-problem-index,
.ace-problem-title,
.ace-problem-detail {
  position: relative;
  z-index: 2;
}

.ace-problem-index {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #888888;
  margin-bottom: 58px;
  transition: color 0.38s ease-in-out;
}

.ace-problem-title {
  display: block;
  font-family: "Source Serif 4", serif;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 290px;
  transition: transform 0.42s ease-in-out, color 0.38s ease-in-out;
}

.ace-problem-detail {
  display: block;
  max-width: 420px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.42s ease-in-out, transform 0.42s ease-in-out;
  color: #111111;
  margin-top: 24px;
}

.ace-problem-detail strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.ace-problem-detail small {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.7);
}

.ace-problem-card:hover::before,
.ace-problem-card.ace-active::before {
  transform: scaleY(1);
}

.ace-problem-card:hover::after,
.ace-problem-card.ace-active::after {
  transform: scaleY(0);
  background: rgba(0, 0, 0, 0.35);
}

.ace-problem-card:hover .ace-problem-index,
.ace-problem-card.ace-active .ace-problem-index {
  color: rgba(0, 0, 0, 0.62);
}

.ace-problem-card:hover .ace-problem-title,
.ace-problem-card.ace-active .ace-problem-title {
  transform: translateY(-8px);
  color: #111111;
}

.ace-problem-card:hover .ace-problem-detail,
.ace-problem-card.ace-active .ace-problem-detail {
  opacity: 1;
  transform: translateY(0);
}

.ace-root-cause {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 24px;
  margin-top: clamp(42px, 5vw, 78px);
  padding: 28px 0 0;
  border-top: 0.5px solid rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(24px);
  animation: aceBrokenReveal 0.9s ease-in-out 0.9s forwards;
}

.ace-root-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff7518;
}

.ace-root-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 0.5px solid rgba(0, 0, 0, 0.18);
}

.ace-root-items span {
  padding: 22px 24px;
  border-right: 0.5px solid rgba(0, 0, 0, 0.18);
  font-family: "Source Serif 4", serif;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: -0.035em;
}

@keyframes aceBrokenReveal {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .ace-broken-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ace-problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ace-problem-card-wide {
    grid-column: span 2;
  }

  .ace-problem-card {
    min-height: 250px;
  }

  .ace-root-cause {
    grid-template-columns: 1fr;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .ace-broken-section {
    padding: 64px 16px;
  }

  .ace-broken-header {
    padding-bottom: 36px;
  }

  .ace-broken-header h2 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .ace-broken-header p {
    font-size: 18px;
  }

  .ace-problem-grid {
    display: block;
    border-left: 0;
    margin-top: 34px;
  }

  .ace-problem-card,
  .ace-problem-card-wide {
    width: 100%;
    min-height: auto;
    padding: 24px 20px;
    border-left: 0.5px solid rgba(0, 0, 0, 0.18);
  }

  .ace-problem-index {
    margin-bottom: 34px;
  }

  .ace-problem-title {
    font-size: 29px;
    padding-right: 28px;
  }

  .ace-problem-detail {
    display: none;
    opacity: 1;
    transform: none;
    margin-top: 20px;
  }

  .ace-problem-card.ace-active .ace-problem-detail {
    display: block;
  }

  .ace-problem-card::before {
    transform: scaleY(0);
  }

  .ace-problem-card.ace-active::before {
    transform: scaleY(1);
  }

  .ace-problem-card:hover::before {
    transform: scaleY(0);
  }

  .ace-problem-card.ace-active:hover::before {
    transform: scaleY(1);
  }

  .ace-problem-card:hover .ace-problem-title {
    transform: none;
  }

  .ace-problem-card.ace-active .ace-problem-title {
    transform: translateY(-4px);
  }

  .ace-root-items {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .ace-root-items span {
    border-left: 0.5px solid rgba(0, 0, 0, 0.18);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.18);
    border-right: 0.5px solid rgba(0, 0, 0, 0.18);
    padding: 20px;
  }
}

.ace-system-orb-section {
  width: 100%;
  background: #ffffff;
  color: #111111;
  font-family: "DM Sans", sans-serif;
  padding: clamp(72px, 8vw, 130px) 20px;
  overflow: hidden;
}

.ace-system-orb-section * {
  box-sizing: border-box;
}

.ace-system-orb-wrap {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.ace-system-orb-header {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(44px, 5vw, 72px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.18);
}

.ace-system-orb-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff7518;
  font-weight: 700;
}

.ace-system-orb-title {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-size: clamp(42px, 5.7vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 500;
  color: #111111;
}

.ace-system-orb-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.45fr 0.9fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(52px, 6vw, 92px) 0;
}

.ace-system-shift-panel {
  border-top: 0.5px solid rgba(0, 0, 0, 0.18);
}

.ace-shift-row {
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
  min-height: 74px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.18);
  gap: 18px;
}

.ace-shift-row span,
.ace-shift-row strong {
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.2;
}

.ace-shift-row span {
  color: rgba(0, 0, 0, 0.42);
  font-weight: 500;
}

.ace-shift-row strong {
  color: #111111;
  font-weight: 700;
}

.ace-shift-row i {
  position: relative;
  width: 34px;
  height: 1px;
  display: block;
  background: rgba(255, 117, 24, 0.45);
}

.ace-shift-row i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #ff7518;
  border-right: 1px solid #ff7518;
  transform: rotate(45deg);
}

.ace-system-orb-stage {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.ace-system-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.ace-line {
  stroke: rgba(0, 0, 0, 0.18);
  stroke-width: 0.7;
  stroke-dasharray: 5 8;
  transition: stroke 0.45s ease-in-out, stroke-width 0.45s ease-in-out, opacity 0.45s ease-in-out;
}

.ace-system-orb-stage[data-active="1"] .ace-line-1,
.ace-system-orb-stage[data-active="2"] .ace-line-2,
.ace-system-orb-stage[data-active="3"] .ace-line-3,
.ace-system-orb-stage[data-active="4"] .ace-line-4 {
  stroke: #ff7518;
  stroke-width: 1.6;
  opacity: 1;
}

.ace-system-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(160px, 17vw, 220px);
  height: clamp(160px, 17vw, 220px);
  transform: translate(-50%, -50%);
  border: 0.5px solid rgba(0, 0, 0, 0.26);
  background:
    radial-gradient(circle at center, rgba(255, 117, 24, 0.09), transparent 58%),
    #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  z-index: 3;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.08);
}

.ace-system-core::before,
.ace-system-core::after {
  content: "";
  position: absolute;
  inset: -14px;
  border: 0.5px solid rgba(255, 117, 24, 0.22);
  pointer-events: none;
}

.ace-system-core::after {
  inset: -28px;
  border-color: rgba(0, 0, 0, 0.08);
}

.ace-system-core span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff7518;
  font-weight: 800;
}

.ace-system-core strong {
  font-family: "Source Serif 4", serif;
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #111111;
}

.ace-system-node {
  position: absolute;
  width: clamp(170px, 17vw, 220px);
  min-height: 86px;
  padding: 18px;
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.86);
  color: #111111;
  text-align: left;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition:
    transform 0.42s ease-in-out,
    border-color 0.42s ease-in-out,
    background 0.42s ease-in-out,
    box-shadow 0.42s ease-in-out,
    opacity 0.42s ease-in-out;
  z-index: 4;
}

.ace-system-node span {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.38);
  font-weight: 800;
  transition: color 0.42s ease-in-out;
}

.ace-system-node strong {
  display: block;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ace-system-node:hover,
.ace-system-node.is-active {
  transform: translateY(-4px);
  border-color: rgba(255, 117, 24, 0.85);
  background: #ffffff;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.1);
}

.ace-system-node:hover span,
.ace-system-node.is-active span {
  color: #ff7518;
}

.ace-node-1 {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.ace-node-1:hover,
.ace-node-1.is-active {
  transform: translateX(-50%) translateY(-4px);
}

.ace-node-2 {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.ace-node-2:hover,
.ace-node-2.is-active {
  transform: translateY(-50%) translateX(4px);
}

.ace-node-3 {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.ace-node-3:hover,
.ace-node-3.is-active {
  transform: translateX(-50%) translateY(4px);
}

.ace-node-4 {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.ace-node-4:hover,
.ace-node-4.is-active {
  transform: translateY(-50%) translateX(-4px);
}

.ace-system-info-panel {
  min-height: 330px;
  position: relative;
  border-left: 0.5px solid rgba(0, 0, 0, 0.18);
  padding-left: clamp(24px, 3vw, 44px);
}

.ace-system-info {
  position: absolute;
  inset: 0 0 auto clamp(24px, 3vw, 44px);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.42s ease-in-out, transform 0.42s ease-in-out;
}

.ace-system-info.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ace-system-info span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0.5px solid rgba(255, 117, 24, 0.7);
  color: #ff7518;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 26px;
}

.ace-system-info h3 {
  margin: 0 0 18px;
  font-family: "Source Serif 4", serif;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: #111111;
}

.ace-system-info p {
  margin: 0;
  max-width: 360px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.58);
}

.ace-system-orb-footer {
  border-top: 0.5px solid rgba(0, 0, 0, 0.18);
  padding-top: clamp(32px, 4vw, 52px);
}

.ace-system-orb-footer p {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-size: clamp(32px, 4.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.052em;
  font-weight: 500;
  color: #111111;
}

.ace-system-orb-footer strong {
  color: #ff7518;
  font-weight: 500;
}

@media (max-width: 1180px) {
  .ace-system-orb-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .ace-system-shift-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-left: 0.5px solid rgba(0, 0, 0, 0.18);
  }

  .ace-shift-row {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 140px;
    padding: 20px;
    border-right: 0.5px solid rgba(0, 0, 0, 0.18);
  }

  .ace-shift-row i {
    width: 100%;
  }

  .ace-system-info-panel {
    min-height: 230px;
    border-left: 0;
    border-top: 0.5px solid rgba(0, 0, 0, 0.18);
    padding: 34px 0 0;
  }

  .ace-system-info {
    inset: 34px 0 auto 0;
  }

  .ace-system-info p {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .ace-system-orb-section {
    padding: 64px 16px;
  }

  .ace-system-orb-header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ace-system-shift-panel {
    grid-template-columns: 1fr 1fr;
  }

  .ace-shift-row {
    min-height: 118px;
    padding: 18px;
  }

  .ace-system-orb-stage {
    width: 100%;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 180px;
  }

  .ace-system-lines {
    display: none;
  }

  .ace-system-core {
    top: 0;
    left: 50%;
    width: 148px;
    height: 148px;
    transform: translateX(-50%);
  }

  .ace-system-core::before {
    inset: -10px;
  }

  .ace-system-core::after {
    inset: -20px;
  }

  .ace-system-node,
  .ace-node-1,
  .ace-node-2,
  .ace-node-3,
  .ace-node-4 {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: auto;
    transform: none;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px;
  }

  .ace-system-node:hover,
  .ace-system-node.is-active,
  .ace-node-1:hover,
  .ace-node-1.is-active,
  .ace-node-2:hover,
  .ace-node-2.is-active,
  .ace-node-3:hover,
  .ace-node-3.is-active,
  .ace-node-4:hover,
  .ace-node-4.is-active {
    transform: none;
  }

  .ace-system-node span {
    margin: 0;
  }

  .ace-system-info-panel {
    min-height: 320px;
    padding-top: 28px;
  }

  .ace-system-info {
    inset: 28px 0 auto 0;
  }

  .ace-system-info h3 {
    font-size: 34px;
  }

  .ace-system-info p {
    font-size: 15px;
  }
}

@media (max-width: 460px) {
  .ace-system-shift-panel {
    grid-template-columns: 1fr;
  }

  .ace-shift-row {
    min-height: auto;
    grid-template-columns: 1fr 28px 1fr;
    border-right: 0;
  }

  .ace-shift-row i {
    width: 28px;
  }

  .ace-system-orb-title {
    font-size: 40px;
  }

  .ace-system-orb-footer p {
    font-size: 34px;
  }
}

.ace-system-section {
  position: relative;
  width: 100%;
  background: #ffffff;
  color: #111111;
  overflow: hidden;
  padding: clamp(72px, 8vw, 128px) clamp(18px, 4vw, 72px);
  font-family: "DM Sans", sans-serif;
}

.ace-system-section * {
  box-sizing: border-box;
}

.ace-system-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.045) 0.5px, transparent 0.5px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.045) 0.5px, transparent 0.5px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 20%, #000 0%, transparent 68%);
}

.ace-system-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.ace-system-kicker,
.ace-dashboard-label {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff7518;
  font-weight: 700;
}

.ace-system-title {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-size: clamp(42px, 5.8vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 500;
  color: #111111;
}

.ace-system-intro {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.72;
  color: #4f4f4f;
}

.ace-system-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.ace-system-pill-row span {
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #222222;
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.35s ease-in-out, color 0.35s ease-in-out;
}

.ace-system-pill-row span:hover {
  border-color: #ff7518;
  color: #ff7518;
}

.ace-system-dashboard {
  position: relative;
  border: 0.5px solid rgba(0, 0, 0, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 117, 24, 0.06), transparent 34%),
    rgba(255, 255, 255, 0.92);
  min-height: 560px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.ace-system-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 2px solid #ff7518;
  opacity: 0.9;
}

.ace-dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.13);
}

.ace-dashboard-top h3 {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-size: clamp(27px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.ace-dashboard-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0.5px solid rgba(0, 0, 0, 0.18);
  padding: 9px 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #333333;
  white-space: nowrap;
}

.ace-status-dot {
  width: 7px;
  height: 7px;
  background: #ff7518;
  display: inline-block;
  animation: acePulse 1.8s ease-in-out infinite;
}

.ace-dashboard-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.13);
}

.ace-tab-btn {
  appearance: none;
  border: 0;
  border-right: 0.5px solid rgba(0, 0, 0, 0.13);
  background: #ffffff;
  padding: 17px 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555555;
  cursor: pointer;
  transition:
    background 0.35s ease-in-out,
    color 0.35s ease-in-out;
}

.ace-tab-btn:last-child {
  border-right: 0;
}

.ace-tab-btn:hover,
.ace-tab-btn.is-active {
  background: #111111;
  color: #ffffff;
}

.ace-dashboard-main {
  position: relative;
  padding: clamp(20px, 2.4vw, 34px);
  min-height: 346px;
}

.ace-dashboard-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
}

.ace-dashboard-panel.is-active {
  display: block;
  animation: acePanelIn 0.48s ease-in-out forwards;
}

.ace-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ace-metric-card {
  min-height: 150px;
  border: 0.5px solid rgba(0, 0, 0, 0.14);
  padding: 20px;
  background: rgba(255, 255, 255, 0.84);
  transition:
    transform 0.35s ease-in-out,
    border-color 0.35s ease-in-out,
    background 0.35s ease-in-out;
}

.ace-metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 117, 24, 0.65);
  background: rgba(255, 117, 24, 0.035);
}

.ace-metric-card.ace-wide {
  grid-column: 1 / -1;
  min-height: 132px;
}

.ace-metric-card p {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6a6a6a;
}

.ace-metric-card strong {
  display: block;
  font-family: "Source Serif 4", serif;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #111111;
}

.ace-metric-card small {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #666666;
}

.ace-progress-line {
  width: 100%;
  height: 3px;
  margin-top: 22px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.ace-progress-line span {
  display: block;
  width: var(--progress);
  height: 100%;
  background: #ff7518;
  transform-origin: left;
  animation: aceProgressIn 0.75s ease-in-out both;
}

.ace-system-note {
  margin-top: 16px;
  border-left: 2px solid #ff7518;
  padding: 16px 18px;
  background: #111111;
  color: #ffffff;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
}

.ace-system-note span {
  display: block;
  margin-bottom: 5px;
  color: #ff7518;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.ace-system-lower {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: clamp(36px, 5vw, 72px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ace-system-card {
  border: 0.5px solid rgba(0, 0, 0, 0.14);
  padding: clamp(22px, 2.8vw, 34px);
  background: #ffffff;
  transition:
    transform 0.35s ease-in-out,
    border-color 0.35s ease-in-out;
}

.ace-system-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 117, 24, 0.75);
}

.ace-system-card span {
  display: block;
  margin-bottom: 22px;
  color: #ff7518;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.ace-system-card h4 {
  margin: 0 0 12px;
  font-family: "Source Serif 4", serif;
  font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.ace-system-card p {
  margin: 0;
  max-width: 620px;
  color: #555555;
  font-size: 15px;
  line-height: 1.65;
}

.ace-system-map {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 18px auto 0;
  border: 0.5px solid rgba(0, 0, 0, 0.14);
  background: #ffffff;
}

.ace-map-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
}

.ace-map-row:last-child {
  border-bottom: 0;
}

.ace-map-row span,
.ace-map-row strong {
  padding: 18px 20px;
  border-right: 0.5px solid rgba(0, 0, 0, 0.12);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.ace-map-row span:nth-child(2)::before,
.ace-map-row strong::before {
  content: "→";
  color: #ff7518;
  margin-right: 10px;
}

.ace-map-row strong {
  border-right: 0;
  color: #111111;
  background: rgba(255, 117, 24, 0.045);
}

@keyframes acePulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.4);
  }
}

@keyframes acePanelIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aceProgressIn {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1080px) {
  .ace-system-wrap {
    grid-template-columns: 1fr;
  }

  .ace-system-dashboard {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .ace-system-section {
    padding: 64px 16px;
  }

  .ace-system-title {
    font-size: clamp(38px, 12vw, 58px);
  }

  .ace-system-intro {
    margin-top: 22px;
  }

  .ace-dashboard-top {
    flex-direction: column;
  }

  .ace-dashboard-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ace-dashboard-tabs::-webkit-scrollbar {
    display: none;
  }

  .ace-tab-btn {
    min-width: 132px;
    border-bottom: 0;
  }

  .ace-panel-grid {
    grid-template-columns: 1fr;
  }

  .ace-metric-card.ace-wide {
    grid-column: auto;
  }

  .ace-system-lower {
    grid-template-columns: 1fr;
  }

  .ace-system-map {
    border-bottom: 0;
  }

  .ace-map-row {
    grid-template-columns: 1fr;
    border-bottom: 0;
    margin-bottom: 12px;
    border: 0.5px solid rgba(0, 0, 0, 0.14);
  }

  .ace-map-row span,
  .ace-map-row strong {
    border-right: 0;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
    padding: 15px 16px;
  }

  .ace-map-row strong {
    border-bottom: 0;
  }

  .ace-map-row span:nth-child(2)::before,
  .ace-map-row strong::before {
    content: "";
    margin-right: 0;
  }
}

@media (max-width: 460px) {
  .ace-system-pill-row span {
    width: calc(50% - 4px);
    text-align: center;
  }

  .ace-dashboard-main {
    padding: 16px;
  }

  .ace-dashboard-top {
    padding: 22px 18px;
  }

  .ace-metric-card {
    min-height: 132px;
    padding: 18px;
  }
}

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&display=swap');

.ace-matters-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: #111111;
  font-family: "DM Sans", sans-serif;
  padding: clamp(80px, 9vw, 150px) clamp(18px, 4vw, 64px);
  isolation: isolate;
}

.ace-matters-section * {
  box-sizing: border-box;
}

.ace-matters-bg-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.045) 0.5px, transparent 0.5px),
    linear-gradient(to bottom, rgba(0,0,0,0.045) 0.5px, transparent 0.5px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 72%);
}

.ace-matters-section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -220px;
  top: 8%;
  z-index: -2;
  background: radial-gradient(circle, rgba(255,117,24,0.16), transparent 64%);
  filter: blur(10px);
}

.ace-matters-section::after {
  content: "";
  position: absolute;
  width: 1px;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(255,117,24,0.45), transparent);
}

.ace-matters-bg-line {
  position: absolute;
  z-index: -1;
  height: 0.5px;
  background: linear-gradient(to right, transparent, rgba(255,117,24,0.5), transparent);
  transform-origin: center;
}

.ace-line-one {
  width: 60vw;
  top: 28%;
  left: -18vw;
  transform: rotate(-18deg);
}

.ace-line-two {
  width: 52vw;
  bottom: 22%;
  right: -14vw;
  transform: rotate(14deg);
}

.ace-matters-wrap {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.ace-matters-header {
  margin-bottom: clamp(44px, 5vw, 76px);
}

.ace-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #555555;
  margin-bottom: 22px;
}

.ace-section-kicker span:first-child {
  color: #ff7518;
  font-weight: 700;
}

.ace-section-kicker i {
  display: block;
  width: 44px;
  height: 0.5px;
  background: #ff7518;
}

.ace-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: end;
}

.ace-header-grid h2 {
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.93;
  font-size: clamp(54px, 8vw, 128px);
  margin: 0;
  max-width: 820px;
}

.ace-header-grid p {
  margin: 0;
  color: #555555;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
  max-width: 520px;
}

.ace-shift-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0.5px solid rgba(0,0,0,0.2);
  border-left: 0.5px solid rgba(0,0,0,0.2);
  margin-bottom: clamp(70px, 8vw, 120px);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
}

.ace-shift-item {
  position: relative;
  min-height: 180px;
  padding: 24px;
  border-right: 0.5px solid rgba(0,0,0,0.2);
  border-bottom: 0.5px solid rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background 420ms ease-in-out, transform 420ms ease-in-out;
}

.ace-shift-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ff7518;
  transform: translateY(101%);
  transition: transform 520ms ease-in-out;
  z-index: 0;
}

.ace-shift-item:hover::before {
  transform: translateY(0);
}

.ace-shift-item:hover {
  transform: translateY(-6px);
}

.ace-shift-item > * {
  position: relative;
  z-index: 1;
}

.ace-shift-before {
  font-size: 13px;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 320ms ease-in-out;
}

.ace-shift-after {
  font-family: "Source Serif 4", serif;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1;
  letter-spacing: -0.045em;
  color: #111111;
  transition: color 320ms ease-in-out, transform 420ms ease-in-out;
}

.ace-shift-arrow {
  width: 100%;
  height: 0.5px;
  background: rgba(0,0,0,0.25);
  position: relative;
  transition: background 320ms ease-in-out;
}

.ace-shift-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 9px;
  height: 9px;
  border-top: 0.5px solid rgba(0,0,0,0.55);
  border-right: 0.5px solid rgba(0,0,0,0.55);
  transform: rotate(45deg);
  transition: border-color 320ms ease-in-out;
}

.ace-shift-item:hover .ace-shift-before,
.ace-shift-item:hover .ace-shift-after {
  color: #ffffff;
}

.ace-shift-item:hover .ace-shift-after {
  transform: translateX(8px);
}

.ace-shift-item:hover .ace-shift-arrow {
  background: rgba(255,255,255,0.7);
}

.ace-shift-item:hover .ace-shift-arrow::after {
  border-color: rgba(255,255,255,0.85);
}

.ace-comparison-zone {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 34px;
  align-items: start;
  margin-bottom: clamp(80px, 9vw, 140px);
}

.ace-zone-label {
  position: sticky;
  top: 120px;
  border-top: 0.5px solid #111111;
  padding-top: 18px;
}

.ace-zone-label span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #555555;
}

.ace-comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 0.5px solid rgba(0,0,0,0.22);
  border-left: 0.5px solid rgba(0,0,0,0.22);
}

.ace-table-head,
.ace-table-cell {
  min-height: 78px;
  padding: 22px 24px;
  border-right: 0.5px solid rgba(0,0,0,0.22);
  border-bottom: 0.5px solid rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
}

.ace-table-head {
  min-height: 92px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.ace-conventional-head {
  background: #f7f7f7;
  color: #666666;
}

.ace-system-head {
  background: #111111;
  color: #ffffff;
}

.ace-table-cell {
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: -0.04em;
  transition: background 360ms ease-in-out, color 360ms ease-in-out, padding-left 360ms ease-in-out;
}

.ace-table-cell.ace-muted {
  color: #777777;
  background: rgba(248,248,248,0.7);
}

.ace-table-cell.ace-strong {
  color: #111111;
  font-weight: 600;
  position: relative;
}

.ace-table-cell.ace-strong::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #ff7518;
  margin-right: 12px;
  transition: transform 360ms ease-in-out;
}

.ace-comparison-table:hover .ace-table-cell.ace-strong {
  background: rgba(255,117,24,0.055);
  padding-left: 32px;
}

.ace-comparison-table:hover .ace-table-cell.ace-strong::before {
  transform: scale(1.7);
}

.ace-rules-zone {
  margin-bottom: clamp(80px, 9vw, 140px);
}

.ace-rules-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 440px);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.ace-mini-label {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ff7518;
  font-weight: 700;
  margin-bottom: 14px;
}

.ace-rules-heading h3 {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
  font-size: clamp(48px, 6.5vw, 104px);
}

.ace-rules-heading p {
  margin: 0;
  color: #555555;
  line-height: 1.7;
  font-size: 16px;
}

.ace-rule-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 0.5px solid rgba(0,0,0,0.24);
  border-left: 0.5px solid rgba(0,0,0,0.24);
}

.ace-rule-card {
  grid-column: span 2;
  position: relative;
  min-height: 320px;
  padding: 26px;
  border-right: 0.5px solid rgba(0,0,0,0.24);
  border-bottom: 0.5px solid rgba(0,0,0,0.24);
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transform: translateZ(0);
  transition:
    background 360ms ease-in-out,
    color 360ms ease-in-out,
    transform 260ms ease-in-out;
}

.ace-rule-wide {
  grid-column: span 6;
  min-height: 250px;
}

.ace-rule-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,117,24,0.95), rgba(17,17,17,1));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 440ms ease-in-out;
  z-index: 0;
}

.ace-rule-card::after {
  content: "LOCKED";
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0);
  transition: color 320ms ease-in-out, transform 320ms ease-in-out;
  transform: translateY(10px);
}

.ace-rule-card > * {
  position: relative;
  z-index: 1;
}

.ace-rule-index {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #999999;
  margin-bottom: 62px;
  transition: color 320ms ease-in-out;
}

.ace-rule-lock {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border: 0.5px solid rgba(0,0,0,0.32);
  display: grid;
  place-items: center;
  transition: border-color 320ms ease-in-out, transform 320ms ease-in-out;
}

.ace-rule-lock span {
  width: 13px;
  height: 10px;
  border: 1px solid currentColor;
  color: #111111;
  display: block;
  position: relative;
  transition: color 320ms ease-in-out;
}

.ace-rule-lock span::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 8px;
  border: 1px solid currentColor;
  border-bottom: none;
  left: 1px;
  top: -9px;
}

.ace-rule-card h4 {
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 0 0 20px;
  max-width: 520px;
  transition: transform 320ms ease-in-out;
}

.ace-rule-card p {
  margin: 0;
  color: #666666;
  line-height: 1.65;
  max-width: 520px;
  font-size: 15px;
  transition: color 320ms ease-in-out, transform 320ms ease-in-out;
}

.ace-rule-card:hover,
.ace-rule-card:focus-visible,
.ace-rule-card.ace-rule-active {
  color: #ffffff;
  animation: aceRuleShake 390ms ease-in-out both;
}

.ace-rule-card:hover::before,
.ace-rule-card:focus-visible::before,
.ace-rule-card.ace-rule-active::before {
  transform: scaleY(1);
}

.ace-rule-card:hover::after,
.ace-rule-card:focus-visible::after,
.ace-rule-card.ace-rule-active::after {
  color: rgba(255,255,255,0.82);
  transform: translateY(0);
}

.ace-rule-card:hover .ace-rule-index,
.ace-rule-card:focus-visible .ace-rule-index,
.ace-rule-card.ace-rule-active .ace-rule-index,
.ace-rule-card:hover p,
.ace-rule-card:focus-visible p,
.ace-rule-card.ace-rule-active p {
  color: rgba(255,255,255,0.78);
}

.ace-rule-card:hover h4,
.ace-rule-card:focus-visible h4,
.ace-rule-card.ace-rule-active h4 {
  transform: translateY(-6px);
}

.ace-rule-card:hover p,
.ace-rule-card:focus-visible p,
.ace-rule-card.ace-rule-active p {
  transform: translateY(-4px);
}

.ace-rule-card:hover .ace-rule-lock,
.ace-rule-card:focus-visible .ace-rule-lock,
.ace-rule-card.ace-rule-active .ace-rule-lock {
  border-color: rgba(255,255,255,0.55);
  transform: rotate(-4deg);
}

.ace-rule-card:hover .ace-rule-lock span,
.ace-rule-card:focus-visible .ace-rule-lock span,
.ace-rule-card.ace-rule-active .ace-rule-lock span {
  color: #ffffff;
}

@keyframes aceRuleShake {
  0% { transform: translateX(0); }
  22% { transform: translateX(-3px); }
  44% { transform: translateX(3px); }
  66% { transform: translateX(-2px); }
  88% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

.ace-proof-position-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-top: 0.5px solid rgba(0,0,0,0.25);
  border-left: 0.5px solid rgba(0,0,0,0.25);
}

.ace-proof-card,
.ace-position-card {
  border-right: 0.5px solid rgba(0,0,0,0.25);
  border-bottom: 0.5px solid rgba(0,0,0,0.25);
  padding: clamp(28px, 4vw, 54px);
  background: rgba(255,255,255,0.8);
}

.ace-proof-stats {
  display: grid;
  gap: 0;
  border-top: 0.5px solid rgba(0,0,0,0.2);
  margin-top: 28px;
}

.ace-proof-stat {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 0.5px solid rgba(0,0,0,0.2);
}

.ace-proof-stat strong {
  font-family: "Source Serif 4", serif;
  font-size: clamp(48px, 5vw, 82px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 600;
  color: #111111;
}

.ace-proof-stat strong::after {
  content: "+";
  color: #ff7518;
  font-family: "DM Sans", sans-serif;
  font-size: 0.32em;
  margin-left: 4px;
  vertical-align: super;
}

.ace-proof-stat:last-child strong::after {
  content: "";
}

.ace-proof-stat span {
  color: #555555;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.ace-position-lines {
  display: grid;
  gap: 8px;
  margin: 26px 0 34px;
}

.ace-position-lines p {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 36px);
  letter-spacing: -0.045em;
  color: #555555;
  line-height: 1.1;
}

.ace-system-declare {
  position: relative;
  border-top: 0.5px solid rgba(0,0,0,0.25);
  border-bottom: 0.5px solid rgba(0,0,0,0.25);
  padding: clamp(28px, 4vw, 44px) 0;
  margin-bottom: 28px;
  overflow: hidden;
}

.ace-system-declare::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #111111;
  transform: translateX(-101%);
  transition: transform 600ms ease-in-out;
  z-index: 0;
}

.ace-position-card:hover .ace-system-declare::before {
  transform: translateX(0);
}

.ace-system-declare span {
  position: relative;
  z-index: 1;
  display: block;
  font-family: "Source Serif 4", serif;
  font-weight: 600;
  font-size: clamp(52px, 7vw, 112px);
  letter-spacing: -0.065em;
  line-height: 0.9;
  color: #111111;
  transition: color 420ms ease-in-out, transform 520ms ease-in-out;
}

.ace-position-card:hover .ace-system-declare span {
  color: #ffffff;
  transform: translateX(14px);
}

.ace-system-structures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid rgba(0,0,0,0.22);
  border-left: 0.5px solid rgba(0,0,0,0.22);
}

.ace-system-structures div {
  min-height: 92px;
  border-right: 0.5px solid rgba(0,0,0,0.22);
  border-bottom: 0.5px solid rgba(0,0,0,0.22);
  display: flex;
  align-items: center;
  padding: 18px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #333333;
  position: relative;
  overflow: hidden;
  transition: color 340ms ease-in-out;
}

.ace-system-structures div::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: #ff7518;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms ease-in-out;
}

.ace-system-structures div:hover::before {
  transform: scaleX(1);
}

.ace-system-structures div:hover {
  color: #ff7518;
}

.ace-matters-section .ace-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms ease-in-out,
    transform 720ms ease-in-out;
}

.ace-matters-section .ace-reveal.ace-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .ace-header-grid,
  .ace-rules-heading,
  .ace-proof-position-grid {
    grid-template-columns: 1fr;
  }

  .ace-shift-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .ace-comparison-zone {
    grid-template-columns: 1fr;
  }

  .ace-zone-label {
    position: relative;
    top: auto;
  }

  .ace-rule-card {
    grid-column: span 3;
  }

  .ace-rule-wide {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .ace-matters-section {
    padding: 70px 16px;
  }

  .ace-header-grid h2 {
    font-size: clamp(48px, 15vw, 76px);
  }

  .ace-header-grid p {
    font-size: 15px;
  }

  .ace-shift-panel {
    grid-template-columns: 1fr;
  }

  .ace-shift-item {
    min-height: 132px;
    padding: 20px;
  }

  .ace-comparison-table {
    grid-template-columns: 1fr;
  }

  .ace-table-head {
    min-height: 72px;
  }

  .ace-table-cell {
    min-height: 68px;
    font-size: 22px;
  }

  .ace-table-head:nth-child(1) {
    order: 1;
  }

  .ace-table-head:nth-child(2) {
    order: 2;
  }

  .ace-table-cell:nth-child(3) {
    order: 3;
  }

  .ace-table-cell:nth-child(4) {
    order: 4;
  }

  .ace-table-cell:nth-child(5) {
    order: 5;
  }

  .ace-table-cell:nth-child(6) {
    order: 6;
  }

  .ace-table-cell:nth-child(7) {
    order: 7;
  }

  .ace-table-cell:nth-child(8) {
    order: 8;
  }

  .ace-table-cell:nth-child(9) {
    order: 9;
  }

  .ace-table-cell:nth-child(10) {
    order: 10;
  }

  .ace-table-cell:nth-child(11) {
    order: 11;
  }

  .ace-table-cell:nth-child(12) {
    order: 12;
  }

  .ace-rule-grid {
    grid-template-columns: 1fr;
  }

  .ace-rule-card,
  .ace-rule-wide {
    grid-column: span 1;
    min-height: 280px;
    padding: 22px;
  }

  .ace-rule-card h4 {
    font-size: 34px;
  }

  .ace-rule-index {
    margin-bottom: 52px;
  }

  .ace-proof-stat {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ace-system-structures {
    grid-template-columns: 1fr;
  }

  .ace-position-lines p {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ace-matters-section *,
  .ace-matters-section *::before,
  .ace-matters-section *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
ACE ARC REFRESH: THEME, IMAGERY, MOBILE STABILITY
========================================================= */

:root {
  --ace-bg: #ffffff;
  --ace-bg-soft: #fbfaf8;
  --ace-panel: rgba(255, 255, 255, 0.86);
  --ace-panel-strong: #ffffff;
  --ace-text: #111111;
  --ace-text-muted: rgba(17, 17, 17, 0.64);
  --ace-text-soft: rgba(17, 17, 17, 0.46);
  --ace-line-soft: rgba(0, 0, 0, 0.16);
  --ace-line-strong: rgba(0, 0, 0, 0.25);
  --ace-accent: #ff7518;
  --ace-accent-soft: rgba(255, 117, 24, 0.12);
  --ace-shadow-soft: 0 28px 80px rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] {
  --ace-bg: #0c0c0d;
  --ace-bg-soft: #14110f;
  --ace-panel: rgba(21, 21, 22, 0.82);
  --ace-panel-strong: #171718;
  --ace-text: #f3eee8;
  --ace-text-muted: rgba(243, 238, 232, 0.68);
  --ace-text-soft: rgba(243, 238, 232, 0.48);
  --ace-line-soft: rgba(255, 255, 255, 0.14);
  --ace-line-strong: rgba(255, 255, 255, 0.24);
  --ace-accent-soft: rgba(255, 117, 24, 0.18);
  --ace-shadow-soft: 0 32px 110px rgba(0, 0, 0, 0.42);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--ace-bg);
  color: var(--ace-text);
  transition: background 320ms ease-in-out, color 320ms ease-in-out;
  overflow-x: hidden;
}

.ace-header {
  background: color-mix(in srgb, var(--ace-bg) 86%, transparent);
  border-bottom-color: var(--ace-line-soft);
  transition: transform 260ms ease, background 320ms ease-in-out, border-color 320ms ease-in-out;
}

.ace-nav a,
.ace-mobile-menu a {
  color: var(--ace-text);
}

.ace-hamburger span {
  background: var(--ace-text);
}

.ace-mobile-menu {
  background: var(--ace-bg);
  border-top-color: var(--ace-line-soft);
}

.ace-theme-toggle {
  appearance: none;
  border: 0.5px solid var(--ace-line-soft);
  background: color-mix(in srgb, var(--ace-panel-strong) 82%, transparent);
  color: var(--ace-text);
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 260ms ease, color 260ms ease, background 260ms ease;
}

.ace-theme-toggle:hover,
.ace-theme-toggle:focus-visible {
  border-color: var(--ace-accent);
  color: var(--ace-accent);
  outline: none;
}

.ace-theme-icon {
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.ace-theme-icon::after {
  content: "";
  position: absolute;
  inset: -2px -5px -2px 5px;
  background: var(--ace-panel-strong);
  border-radius: 50%;
  transition: background 260ms ease;
}

body[data-theme="dark"] .ace-theme-icon::after {
  background: transparent;
}

.ace-theme-toggle-mobile {
  justify-content: center;
  margin-top: 12px;
}

.ace-hero,
.ace-reality,
.ace-broken-section,
.ace-system-orb-section,
.ace-system-section,
.ace-matters-section,
.ace-footer {
  background-color: var(--ace-bg);
  color: var(--ace-text);
}

.ace-hero {
  background:
    linear-gradient(90deg, var(--ace-accent-soft), transparent 35%),
    var(--ace-bg);
}

.ace-copy {
  border-right-color: rgba(255, 117, 24, 0.28);
}

.ace-title span,
.ace-reality-title-wrap h2 span,
.ace-broken-header p,
.ace-system-intro,
.ace-header-grid p,
.ace-rules-heading p,
.ace-proof-stat span,
.ace-position-lines p,
.ace-problem-detail small,
.ace-system-card p,
.ace-metric-card small,
.ace-system-info p {
  color: var(--ace-text-muted);
}

.ace-title em,
.ace-system-line p,
.ace-right p,
.ace-reality-bottom p,
.ace-card-copy h3,
.ace-broken-header h2,
.ace-system-orb-title,
.ace-system-title,
.ace-dashboard-top h3,
.ace-metric-card strong,
.ace-system-card h4,
.ace-system-orb-footer p,
.ace-header-grid h2,
.ace-rules-heading h3,
.ace-rule-card h4,
.ace-proof-stat strong,
.ace-system-declare span,
.ace-system-info h3 {
  color: var(--ace-text);
}

.ace-experience-card,
.ace-contrast-row,
.ace-broken-header,
.ace-system-orb-header,
.ace-system-orb-footer,
.ace-reality-bottom,
.ace-proof-position-grid,
.ace-proof-stats,
.ace-system-declare,
.ace-system-structures,
.ace-system-map,
.ace-system-card,
.ace-system-dashboard,
.ace-metric-card,
.ace-comparison-table,
.ace-rule-grid {
  border-color: var(--ace-line-soft);
}

.ace-conclusion,
.ace-reality-card,
.ace-problem-card,
.ace-system-core,
.ace-system-node,
.ace-system-info-panel,
.ace-proof-card,
.ace-position-card,
.ace-rule-card,
.ace-shift-panel,
.ace-comparison-table,
.ace-system-dashboard,
.ace-metric-card,
.ace-system-card,
.ace-system-map {
  background: var(--ace-panel);
}

.ace-visual {
  background:
    radial-gradient(circle at 52% 48%, rgba(255, 117, 24, 0.22), transparent 31%),
    linear-gradient(135deg, var(--ace-bg) 0%, var(--ace-bg-soft) 100%);
}

.ace-visual-photo,
.ace-section-image,
.ace-stage-photo,
.ace-proof-image {
  position: absolute;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}

.ace-visual-photo img,
.ace-section-image img,
.ace-stage-photo img,
.ace-proof-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.04);
}

.ace-visual-photo {
  inset: 7% 7% auto auto;
  width: min(46vw, 560px);
  height: min(68vh, 680px);
  opacity: 0.34;
  transform: rotate(-7deg);
  mix-blend-mode: multiply;
}

.ace-visual-photo::after,
.ace-section-image::after,
.ace-stage-photo::after,
.ace-proof-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 117, 24, 0.36), transparent 46%),
    linear-gradient(0deg, var(--ace-bg), transparent 58%);
}

body[data-theme="dark"] .ace-visual-photo,
body[data-theme="dark"] .ace-section-image,
body[data-theme="dark"] .ace-stage-photo,
body[data-theme="dark"] .ace-proof-image {
  mix-blend-mode: screen;
  opacity: 0.24;
}

.ace-section-image {
  z-index: 0;
  opacity: 0.24;
  border: 0.5px solid rgba(255, 117, 24, 0.24);
  box-shadow: var(--ace-shadow-soft);
}

.ace-broken-section,
.ace-system-orb-section,
.ace-system-section,
.ace-matters-section,
.ace-proof-card {
  position: relative;
  isolation: isolate;
}

.ace-broken-wrap,
.ace-system-orb-wrap,
.ace-system-wrap,
.ace-system-lower,
.ace-system-map,
.ace-matters-wrap {
  position: relative;
  z-index: 2;
}

.ace-broken-image {
  right: max(18px, 4vw);
  top: 44px;
  width: min(36vw, 460px);
  height: 360px;
  transform: rotate(2deg);
}

.ace-orb-image {
  left: max(18px, 4vw);
  bottom: 34px;
  width: min(34vw, 460px);
  height: 430px;
  transform: rotate(-2deg);
}

.ace-dashboard-image {
  right: max(18px, 5vw);
  bottom: 46px;
  width: min(42vw, 620px);
  height: 390px;
}

.ace-matters-image {
  right: max(18px, 5vw);
  top: 50px;
  width: min(38vw, 560px);
  height: 420px;
  transform: rotate(1deg);
}

.ace-stage-photo {
  inset: 13% 13%;
  opacity: 0.24;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 117, 24, 0.32);
}

.ace-proof-image {
  inset: auto 34px 34px auto;
  width: min(46%, 320px);
  height: 210px;
  opacity: 0.18;
  border: 0.5px solid rgba(255, 117, 24, 0.22);
}

.ace-card-grid p {
  position: static;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ace-text-muted);
}

.ace-card-grid p::after {
  display: none;
}

.ace-card-grid div::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--ace-accent);
  border-right: 1px solid var(--ace-accent);
  transform: rotate(45deg);
}

.ace-rule-card {
  min-height: 290px;
}

.ace-rule-lock {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ace-accent) 8%, transparent);
}

.ace-rule-lock span {
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.ace-rule-lock span::before {
  width: 7px;
  height: 7px;
  border: 0;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  left: 4px;
  top: 4px;
  transform: rotate(45deg);
}

.ace-rule-card:hover,
.ace-rule-card:focus-visible,
.ace-rule-card.ace-rule-active {
  animation: none;
}

.ace-proof-position-grid {
  gap: 16px;
  border: 0;
}

.ace-proof-card,
.ace-position-card {
  border: 0.5px solid var(--ace-line-soft);
  overflow: hidden;
}

.ace-proof-stats {
  position: relative;
  z-index: 2;
}

.ace-proof-stat {
  grid-template-columns: minmax(82px, 118px) minmax(0, 1fr);
  gap: 18px;
}

.ace-proof-stat strong {
  font-size: clamp(38px, 4.2vw, 70px);
}

.ace-proof-stat span,
.ace-system-structures div,
.ace-map-row span,
.ace-map-row strong {
  overflow-wrap: anywhere;
}

.ace-system-declare span {
  font-size: clamp(44px, 6vw, 92px);
}

body[data-theme="dark"] .ace-logo img {
  filter: brightness(1.35);
}

body[data-theme="dark"] .ace-visual-photo img,
body[data-theme="dark"] .ace-section-image img,
body[data-theme="dark"] .ace-stage-photo img,
body[data-theme="dark"] .ace-proof-image img {
  filter: saturate(0.72) contrast(1.08) brightness(0.82);
}

body[data-theme="dark"] .ace-tab-btn {
  background: #171718;
  color: var(--ace-text-muted);
  border-color: var(--ace-line-soft);
}

body[data-theme="dark"] .ace-tab-btn:hover,
body[data-theme="dark"] .ace-tab-btn.is-active,
body[data-theme="dark"] .ace-system-note,
body[data-theme="dark"] .ace-system-declare::before,
body[data-theme="dark"] .ace-system-head {
  background: #f3eee8;
  color: #111111;
}

body[data-theme="dark"] .ace-conventional-head,
body[data-theme="dark"] .ace-table-cell.ace-muted,
body[data-theme="dark"] .ace-map-row strong {
  background: rgba(255, 255, 255, 0.06);
}

body[data-theme="dark"] .ace-experience-card p,
body[data-theme="dark"] .ace-contrast-row p,
body[data-theme="dark"] .ace-problem-title,
body[data-theme="dark"] .ace-problem-detail,
body[data-theme="dark"] .ace-problem-detail strong,
body[data-theme="dark"] .ace-table-cell,
body[data-theme="dark"] .ace-map-row span,
body[data-theme="dark"] .ace-map-row strong,
body[data-theme="dark"] .ace-root-items span,
body[data-theme="dark"] .ace-dashboard-status,
body[data-theme="dark"] .ace-system-pill-row span {
  color: var(--ace-text-muted);
}

body[data-theme="dark"] .ace-right p,
body[data-theme="dark"] .ace-table-cell.ace-strong,
body[data-theme="dark"] .ace-map-row strong,
body[data-theme="dark"] .ace-shift-row strong {
  color: var(--ace-text);
}

body[data-theme="dark"] .ace-wrong .ace-arrow {
  color: var(--ace-text-muted);
}

body[data-theme="dark"] .ace-theme-toggle-mobile {
  background: #181819;
}

@media (max-width: 900px) {
  .ace-theme-toggle:not(.ace-theme-toggle-mobile) {
    display: none;
  }
}

@media (min-width: 901px) {
  .ace-theme-toggle-mobile {
    display: none;
  }
}

@media (max-width: 760px) {
  .ace-brand,
  .ace-section-kicker,
  .ace-mini-label,
  .ace-system-kicker,
  .ace-dashboard-label,
  .ace-reality-node em,
  .ace-card-phase {
    letter-spacing: 0.12em;
  }

  .ace-copy {
    padding: 42px 18px 36px;
  }

  .ace-title,
  .ace-reality-title-wrap h2,
  .ace-broken-header h2,
  .ace-system-orb-title,
  .ace-system-title,
  .ace-header-grid h2,
  .ace-rules-heading h3 {
    letter-spacing: -0.035em;
  }

  .ace-visual-photo {
    inset: 8% -18% auto auto;
    width: 92vw;
    height: 48vh;
    opacity: 0.22;
  }

  .ace-section-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 240px;
    margin: 0 0 30px;
    transform: none;
    opacity: 0.42;
  }

  .ace-broken-section,
  .ace-system-orb-section,
  .ace-system-section,
  .ace-matters-section {
    padding-top: 56px;
  }

  .ace-reality {
    height: auto;
    min-height: 0;
  }

  .ace-reality-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding: 60px 16px;
    display: block;
    overflow: hidden;
  }

  .ace-reality-progress {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 24px 0 0;
  }

  .ace-reality-window {
    margin-top: 28px;
  }

  .ace-reality-track {
    display: grid;
    gap: 16px;
    height: auto;
  }

  .ace-reality-card {
    position: relative;
    inset: auto;
    height: auto;
    max-height: none;
    min-height: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    padding: 22px 18px;
  }

  .ace-reality-card:not(.active) {
    opacity: 0.74;
  }

  .ace-reality-card .ace-card-phase,
  .ace-reality-card .ace-card-copy h3,
  .ace-reality-card .ace-card-grid div {
    opacity: 1;
    transform: none;
  }

  .ace-card-copy {
    max-width: 100%;
    padding-right: 54px;
  }

  .ace-card-grid {
    align-self: stretch;
  }

  .ace-card-grid div {
    min-height: auto;
  }

  .ace-reality-bottom {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 24px;
  }

  .ace-rule-card,
  .ace-rule-wide {
    min-height: auto;
  }

  .ace-rule-card h4 {
    font-size: clamp(26px, 9vw, 34px);
  }

  .ace-proof-position-grid {
    gap: 16px;
  }

  .ace-proof-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 180px;
    margin-bottom: 24px;
    opacity: 0.46;
  }

  .ace-proof-stat {
    grid-template-columns: minmax(72px, 96px) minmax(0, 1fr);
    align-items: center;
  }

  .ace-proof-stat strong {
    font-size: 42px;
  }

  .ace-proof-stat span {
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 0.08em;
  }

  .ace-system-declare span {
    font-size: clamp(40px, 14vw, 62px);
    letter-spacing: -0.045em;
  }
}

@media (max-width: 420px) {
  .ace-header-inner {
    padding: 12px 14px;
  }

  .ace-logo img {
    height: 23px;
  }

  .ace-card-icon {
    width: 38px;
    height: 38px;
  }

  .ace-card-copy {
    padding-right: 44px;
  }

  .ace-proof-card,
  .ace-position-card {
    padding: 22px 18px;
  }
}

/* =========================================================
ACE ARC DEEP POLISH: DARK MODE, AMBIENT IMAGES, LIVE NAV
========================================================= */

.ace-section-nav {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 980;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 0.5px solid var(--ace-line-soft);
  background: color-mix(in srgb, var(--ace-panel-strong) 74%, transparent);
  color: var(--ace-text);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.ace-section-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ace-section-nav a,
.ace-section-nav-toggle {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--ace-text-muted);
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 260ms ease, color 260ms ease, transform 260ms ease;
}

.ace-section-nav a span {
  color: var(--ace-accent);
  font-family: "Source Serif 4", serif;
  font-size: 15px;
  letter-spacing: 0;
}

.ace-section-nav a:hover,
.ace-section-nav a.is-active,
.ace-section-nav-toggle:hover {
  color: var(--ace-text);
  background: var(--ace-accent-soft);
  transform: translateY(-1px);
}

.ace-section-nav-toggle {
  display: none;
}

.ace-reality {
  background:
    radial-gradient(circle at 78% 18%, var(--ace-bg-shift), transparent 30%),
    linear-gradient(180deg, var(--ace-bg) 0%, var(--ace-bg-soft) 58%, var(--ace-bg) 100%);
}

.ace-reality-sticky {
  background:
    linear-gradient(90deg, rgba(255, 117, 24, 0.04), transparent 32%),
    transparent;
}

.ace-broken-section,
.ace-system-orb-section,
.ace-system-section,
.ace-matters-section {
  background:
    radial-gradient(circle at 84% 8%, rgba(255, 117, 24, 0.08), transparent 34%),
    linear-gradient(180deg, var(--ace-bg) 0%, var(--ace-bg-soft) 54%, var(--ace-bg) 100%);
}

.ace-visual {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--ace-bg) 86%, transparent), color-mix(in srgb, var(--ace-bg) 68%, transparent)),
    radial-gradient(circle at 62% 42%, rgba(255, 117, 24, 0.13), transparent 34%),
    var(--ace-bg);
}

.ace-visual-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.13;
  transform: none;
  mix-blend-mode: multiply;
}

.ace-visual-photo::after {
  background:
    linear-gradient(90deg, var(--ace-bg) 0%, transparent 38%, var(--ace-bg) 100%),
    linear-gradient(0deg, var(--ace-bg) 0%, transparent 42%, var(--ace-bg) 100%);
}

.ace-section-image {
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  box-shadow: none;
  opacity: 0.1;
  transform: none;
  mix-blend-mode: multiply;
}

.ace-section-image::after {
  background:
    linear-gradient(90deg, var(--ace-bg) 0%, transparent 35%, var(--ace-bg) 100%),
    linear-gradient(180deg, var(--ace-bg) 0%, transparent 28%, var(--ace-bg) 100%),
    rgba(255, 117, 24, 0.08);
}

.ace-broken-image,
.ace-orb-image,
.ace-dashboard-image,
.ace-matters-image {
  inset: 0;
  width: 100%;
  height: 100%;
}

.ace-orb-image {
  opacity: 0.14;
}

.ace-dashboard-image {
  opacity: 0.12;
}

.ace-matters-image {
  opacity: 0.11;
}

.ace-proof-image {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  border: 0;
  z-index: 0;
}

.ace-proof-image::after {
  background:
    linear-gradient(90deg, var(--ace-panel-strong) 0%, transparent 55%),
    linear-gradient(180deg, transparent 0%, var(--ace-panel-strong) 100%);
}

.ace-conclusion p,
.ace-card-grid small,
.ace-card-grid p,
.ace-system-core strong,
.ace-system-core span,
.ace-system-node strong,
.ace-shift-row span,
.ace-shift-row strong,
.ace-root-items span,
.ace-system-structures div {
  color: var(--ace-text);
}

.ace-conclusion p,
.ace-card-grid p,
.ace-system-info p,
.ace-system-intro,
.ace-dashboard-status,
.ace-metric-card p,
.ace-position-lines p,
.ace-proof-stat span {
  color: var(--ace-text-muted);
}

.ace-reality-card {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ace-panel-strong) 92%, transparent), color-mix(in srgb, var(--ace-panel) 82%, transparent)),
    var(--ace-panel-strong);
}

.ace-reality-card.active {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ace-panel-strong) 96%, transparent), color-mix(in srgb, var(--ace-accent) 8%, var(--ace-panel-strong))),
    var(--ace-panel-strong);
}

.ace-card-grid div,
.ace-card-icon,
.ace-system-core,
.ace-system-node,
.ace-system-info-panel,
.ace-shift-row,
.ace-metric-card,
.ace-proof-card,
.ace-position-card,
.ace-rule-card,
.ace-problem-card,
.ace-system-card {
  border-color: var(--ace-line-soft);
}

.ace-system-core {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 117, 24, 0.16), transparent 58%),
    var(--ace-panel-strong);
}

.ace-system-core::before {
  animation: aceCoreOrbit 7s linear infinite;
}

.ace-system-core::after {
  border-color: var(--ace-line-soft);
  animation: aceCoreOrbit 11s linear reverse infinite;
}

.ace-system-core strong {
  color: var(--ace-text);
}

.ace-system-lines .ace-line {
  stroke: var(--ace-line-soft);
  animation: aceLineDrift 4.8s ease-in-out infinite;
}

.ace-system-orb-stage[data-active="1"] .ace-line-1,
.ace-system-orb-stage[data-active="2"] .ace-line-2,
.ace-system-orb-stage[data-active="3"] .ace-line-3,
.ace-system-orb-stage[data-active="4"] .ace-line-4 {
  animation: aceLineLive 2.8s ease-in-out infinite;
}

.ace-reality-kicker,
.ace-broken-kicker,
.ace-system-orb-kicker,
.ace-system-kicker,
.ace-section-kicker {
  position: relative;
  width: fit-content;
}

.ace-reality-kicker::after,
.ace-broken-kicker::after,
.ace-system-orb-kicker::after,
.ace-system-kicker::after,
.ace-section-kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ace-accent), transparent);
  animation: aceHeadingSignal 2.8s ease-in-out infinite;
}

.ace-reality-title-wrap h2 em,
.ace-system-orb-title,
.ace-system-title,
.ace-header-grid h2,
.ace-rules-heading h3 {
  background-image: linear-gradient(90deg, currentColor, var(--ace-accent), currentColor);
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: aceTitleSheen 8s ease-in-out infinite;
}

.ace-reality-node::before,
.ace-status-dot,
.ace-table-cell.ace-strong::before {
  animation: aceSoftPulse 2.4s ease-in-out infinite;
}

body[data-theme="dark"] .ace-visual,
body[data-theme="dark"] .ace-reality,
body[data-theme="dark"] .ace-broken-section,
body[data-theme="dark"] .ace-system-orb-section,
body[data-theme="dark"] .ace-system-section,
body[data-theme="dark"] .ace-matters-section {
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 117, 24, 0.12), transparent 31%),
    linear-gradient(180deg, #0c0c0d 0%, #12100f 52%, #0c0c0d 100%) !important;
}

body[data-theme="dark"] {
  background: #0c0c0d !important;
}

body[data-theme="dark"] .ace-section-nav {
  background: rgba(14, 14, 15, 0.78);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
}

body[data-theme="dark"] .ace-visual-photo,
body[data-theme="dark"] .ace-section-image,
body[data-theme="dark"] .ace-proof-image {
  mix-blend-mode: screen;
}

body[data-theme="dark"] .ace-visual-photo {
  opacity: 0.11;
}

body[data-theme="dark"] .ace-section-image {
  opacity: 0.09;
}

body[data-theme="dark"] .ace-orb-image {
  opacity: 0.13;
}

body[data-theme="dark"] .ace-dashboard-image {
  opacity: 0.11;
}

body[data-theme="dark"] .ace-proof-image {
  opacity: 0.09;
}

body[data-theme="dark"] .ace-conclusion,
body[data-theme="dark"] .ace-reality-card,
body[data-theme="dark"] .ace-problem-card,
body[data-theme="dark"] .ace-system-core,
body[data-theme="dark"] .ace-system-node,
body[data-theme="dark"] .ace-system-info-panel,
body[data-theme="dark"] .ace-proof-card,
body[data-theme="dark"] .ace-position-card,
body[data-theme="dark"] .ace-rule-card,
body[data-theme="dark"] .ace-shift-panel,
body[data-theme="dark"] .ace-comparison-table,
body[data-theme="dark"] .ace-system-dashboard,
body[data-theme="dark"] .ace-metric-card,
body[data-theme="dark"] .ace-system-card,
body[data-theme="dark"] .ace-system-map {
  background: rgba(20, 20, 21, 0.78) !important;
}

body[data-theme="dark"] .ace-reality .ace-reality-card,
body[data-theme="dark"] .ace-reality .ace-reality-card.active,
body[data-theme="dark"] .ace-reality .ace-reality-card.before-active,
body[data-theme="dark"] .ace-reality .ace-reality-card.after-active {
  background:
    linear-gradient(135deg, rgba(24, 24, 25, 0.94), rgba(16, 16, 17, 0.88)),
    #141415 !important;
}

body[data-theme="dark"] .ace-card-grid div,
body[data-theme="dark"] .ace-card-icon {
  background: rgba(255, 255, 255, 0.045) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

body[data-theme="dark"] .ace-conclusion p,
body[data-theme="dark"] .ace-system-core strong,
body[data-theme="dark"] .ace-system-node strong,
body[data-theme="dark"] .ace-card-copy h3,
body[data-theme="dark"] .ace-rule-card h4,
body[data-theme="dark"] .ace-problem-title,
body[data-theme="dark"] .ace-system-declare span {
  color: var(--ace-text);
}

body[data-theme="dark"] .ace-conclusion {
  background:
    linear-gradient(90deg, rgba(255, 117, 24, 0.12), transparent 82%),
    rgba(19, 19, 20, 0.82);
}

body[data-theme="dark"] .ace-system-declare::before,
body[data-theme="dark"] .ace-tab-btn:hover,
body[data-theme="dark"] .ace-tab-btn.is-active {
  background: #ff7518;
  color: #111111;
}

@keyframes aceHeadingSignal {
  0%, 100% {
    opacity: 0.28;
    transform: scaleX(0.45);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.35);
  }
}

@keyframes aceTitleSheen {
  0%, 72%, 100% {
    background-position: 0% 50%;
  }
  84% {
    background-position: 100% 50%;
  }
}

@keyframes aceSoftPulse {
  0%, 100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes aceCoreOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes aceLineDrift {
  0%, 100% {
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dashoffset: 18;
  }
}

@keyframes aceLineLive {
  0%, 100% {
    stroke-dashoffset: 0;
    opacity: 0.55;
  }
  50% {
    stroke-dashoffset: 26;
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .ace-section-nav {
    left: 14px;
    right: 14px;
    bottom: 14px;
    transform: none;
    justify-content: center;
  }

  .ace-section-nav-toggle {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    color: var(--ace-text);
  }

  .ace-section-nav-links {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px;
    border: 0.5px solid var(--ace-line-soft);
    background: color-mix(in srgb, var(--ace-panel-strong) 88%, transparent);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 240ms ease, transform 240ms ease;
  }

  .ace-section-nav.is-open .ace-section-nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .ace-section-nav a {
    justify-content: flex-start;
    min-height: 42px;
  }

  .ace-section-image {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0.08;
  }

  .ace-visual-photo {
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    opacity: 0.1;
  }

  .ace-proof-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0.08;
  }

  body {
    padding-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ace-reality-kicker::after,
  .ace-broken-kicker::after,
  .ace-system-orb-kicker::after,
  .ace-system-kicker::after,
  .ace-section-kicker::after,
  .ace-reality-title-wrap h2 em,
  .ace-system-orb-title,
  .ace-system-title,
  .ace-header-grid h2,
  .ace-rules-heading h3,
  .ace-system-core::before,
  .ace-system-core::after,
  .ace-system-lines .ace-line,
  .ace-reality-node::before,
  .ace-status-dot,
  .ace-table-cell.ace-strong::before {
    animation: none !important;
  }
}

/* =========================================================
FINAL MOBILE TIMELINE + DASHBOARD IMAGE PASS
========================================================= */

.ace-dashboard-image-panel {
  position: relative;
  margin: 0;
  width: 100%;
  min-height: clamp(320px, 34vw, 500px);
  border: 0.5px solid var(--ace-line-soft);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 117, 24, 0.08), transparent 38%),
    var(--ace-panel-strong);
}

.ace-dashboard-image-panel img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.02);
  transition: transform 520ms ease, filter 520ms ease;
}

.ace-dashboard-image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, color-mix(in srgb, var(--ace-bg) 26%, transparent)),
    linear-gradient(90deg, rgba(255, 117, 24, 0.12), transparent 44%);
}

.ace-dashboard-panel.is-active .ace-dashboard-image-panel img {
  animation: aceDashboardImageIn 680ms ease-out both;
}

.ace-dashboard-image-panel:hover img {
  transform: scale(1.025);
  filter: saturate(1.02) contrast(1.06);
}

body[data-theme="dark"] .ace-dashboard-image-panel {
  background: #141415;
}

body[data-theme="dark"] .ace-dashboard-image-panel img {
  filter: saturate(0.82) contrast(1.05) brightness(0.82);
}

@keyframes aceDashboardImageIn {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ace-section-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
}

.ace-section-nav.is-visible,
.ace-section-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 760px) {
  .ace-section-nav {
    transform: translateY(18px);
  }

  .ace-section-nav.is-visible,
  .ace-section-nav.is-open {
    transform: translateY(0);
  }

  .ace-dashboard-main {
    min-height: auto;
  }

  .ace-dashboard-image-panel {
    min-height: min(72vw, 360px);
  }

  .ace-reality {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible;
  }

  .ace-reality-sticky {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 16px 64px !important;
    overflow: visible !important;
    display: block !important;
  }

  .ace-reality-top,
  .ace-reality-progress {
    position: sticky !important;
    z-index: 12;
    background:
      linear-gradient(180deg, var(--ace-bg) 0%, color-mix(in srgb, var(--ace-bg) 92%, transparent) 78%, transparent 100%);
    backdrop-filter: blur(14px);
  }

  .ace-reality-top {
    top: 0;
    padding: 58px 0 12px;
  }

  .ace-reality-kicker {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
  }

  .ace-reality-kicker span {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .ace-reality-kicker p {
    max-width: none;
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: 0.16em;
  }

  .ace-reality-title-wrap {
    display: block;
  }

  .ace-reality-title-wrap h2 {
    font-size: clamp(28px, 8vw, 38px) !important;
    line-height: 0.98;
    margin-bottom: 10px;
  }

  .ace-reality-title-wrap p {
    display: block !important;
    max-width: 100%;
    font-size: 12px !important;
    line-height: 1.42 !important;
    padding-left: 12px;
    margin: 0;
  }

  .ace-reality-progress {
    top: 178px;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 0 22px !important;
    padding: 12px 0 14px;
  }

  .ace-reality-nodes {
    display: flex !important;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    contain: paint;
    scroll-snap-type: x proximity;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .ace-reality-nodes::-webkit-scrollbar {
    display: none;
  }

  .ace-reality-node {
    flex: 0 0 auto;
    min-width: 88px;
    height: auto !important;
    padding: 13px 0 0 !important;
    scroll-snap-align: start;
  }

  .ace-reality-node span,
  .ace-reality-node em {
    display: block !important;
  }

  .ace-reality-node span {
    font-size: 15px;
  }

  .ace-reality-node em {
    font-size: 9px;
    letter-spacing: 0.09em;
    white-space: nowrap;
  }

  .ace-reality-node::before {
    left: 0 !important;
    transform: none !important;
  }

  .ace-reality-node:hover::before,
  .ace-reality-node.active::before {
    transform: none !important;
  }

  .ace-reality-window {
    margin-top: 0 !important;
    overflow: visible !important;
    transition: padding-top 220ms ease;
  }

  .ace-reality.ace-reality-mobile-pinned .ace-reality-top,
  .ace-reality.ace-reality-mobile-pinned .ace-reality-progress {
    position: fixed !important;
    left: 16px;
    right: 16px;
    width: auto;
  }

  .ace-reality.ace-reality-mobile-pinned .ace-reality-top {
    top: 0;
    padding-top: 54px;
    padding-bottom: 8px;
  }

  .ace-reality.ace-reality-mobile-pinned .ace-reality-progress {
    top: 164px;
  }

  .ace-reality.ace-reality-mobile-pinned .ace-reality-window {
    padding-top: 292px;
  }

  .ace-reality.ace-reality-mobile-pinned .ace-reality-title-wrap h2 {
    font-size: clamp(26px, 7.4vw, 34px) !important;
  }

  .ace-reality.ace-reality-mobile-pinned .ace-reality-title-wrap p {
    display: none !important;
  }

  .ace-reality-track {
    display: grid !important;
    gap: 16px;
    height: auto !important;
    transform: none !important;
  }

  .ace-reality-card {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    padding: 20px 18px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .ace-card-copy {
    max-width: 100% !important;
    padding-right: 52px;
  }

  .ace-card-grid {
    grid-template-columns: 1fr !important;
  }

  .ace-card-grid div {
    min-height: auto !important;
  }

  .ace-reality-bottom {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 22px !important;
  }
}

@media (max-width: 420px) {
  .ace-reality-progress {
    top: 188px;
  }

  .ace-reality.ace-reality-mobile-pinned .ace-reality-progress {
    top: 168px;
  }

  .ace-reality.ace-reality-mobile-pinned .ace-reality-window {
    padding-top: 300px;
  }
}

/* =========================================================
TIMELINE RECOVERY + FINAL CTA
========================================================= */

.ace-contact-cta {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 72vh, 760px);
  display: grid;
  place-items: center;
  padding: clamp(72px, 10vw, 140px) 20px;
  overflow: hidden;
  background: var(--ace-bg);
  color: var(--ace-text);
  border-top: 0.5px solid var(--ace-line-soft);
}

.ace-contact-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
}

.ace-contact-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.86) contrast(1.05);
}

.ace-contact-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 117, 24, 0.18), transparent 32%),
    linear-gradient(90deg, var(--ace-bg) 0%, color-mix(in srgb, var(--ace-bg) 76%, transparent) 34%, color-mix(in srgb, var(--ace-bg) 72%, transparent) 68%, var(--ace-bg) 100%),
    linear-gradient(180deg, var(--ace-bg) 0%, transparent 42%, var(--ace-bg) 100%);
}

.ace-contact-cta-inner {
  width: min(980px, 100%);
  text-align: center;
}

.ace-contact-cta-inner span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--ace-accent);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
}

.ace-contact-cta-inner h2 {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 600;
  color: var(--ace-text);
}

.ace-contact-cta-inner p {
  width: min(620px, 100%);
  margin: 28px auto 0;
  color: var(--ace-text-muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
}

.ace-contact-cta-button {
  margin-top: 36px;
  min-height: 64px;
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ace-accent);
  background: var(--ace-accent);
  color: #111111;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  transition: transform 260ms ease, background 260ms ease, color 260ms ease;
}

.ace-contact-cta-button:hover {
  transform: translateY(-3px);
  background: transparent;
  color: var(--ace-accent);
}

body[data-theme="dark"] .ace-contact-cta-bg {
  opacity: 0.18;
  mix-blend-mode: screen;
}

body[data-theme="dark"] .ace-contact-cta-bg img {
  filter: saturate(0.78) contrast(1.08) brightness(0.74);
}

@media (max-width: 760px) {
  .ace-reality {
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .ace-reality-sticky {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 58px 16px 64px !important;
    overflow: visible !important;
    display: block !important;
  }

  .ace-reality.ace-reality-mobile-pinned .ace-reality-top,
  .ace-reality.ace-reality-mobile-pinned .ace-reality-progress,
  .ace-reality-top,
  .ace-reality-progress {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
  }

  .ace-reality-top {
    padding: 0 0 14px !important;
    margin: 0 !important;
  }

  .ace-reality-title-wrap p {
    display: block !important;
  }

  .ace-reality-progress {
    margin: 10px 0 22px !important;
    padding: 10px 0 12px !important;
  }

  .ace-reality.ace-reality-mobile-pinned .ace-reality-window,
  .ace-reality-window {
    padding-top: 0 !important;
    margin-top: 0 !important;
    overflow: visible !important;
  }

  .ace-reality-track {
    display: grid !important;
    gap: 16px;
    height: auto !important;
    transform: none !important;
  }

  .ace-reality-card {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  .ace-contact-cta {
    min-height: 520px;
    padding: 76px 18px 92px;
  }

  .ace-contact-cta-inner h2 {
    font-size: clamp(48px, 14vw, 76px);
  }

  .ace-contact-cta-button {
    width: 100%;
  }
}

/* =========================================================
REALITY TIMELINE FINAL MODEL
Only progress/year navigation sticks; cards scroll normally.
========================================================= */

body {
  padding-top: 67px;
}

.ace-header {
  position: fixed !important;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 1000;
  will-change: transform;
}

.ace-reality {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.ace-reality-sticky {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  display: block !important;
  padding: clamp(74px, 7vw, 112px) clamp(22px, 4.8vw, 70px) clamp(64px, 7vw, 110px) !important;
}

.ace-reality-top {
  position: relative !important;
  top: auto !important;
  z-index: 3;
}

.ace-reality-progress {
  position: relative !important;
  top: auto !important;
  z-index: 30 !important;
  margin: clamp(28px, 3vw, 42px) auto clamp(24px, 3vw, 40px) !important;
  padding: 16px 0 18px;
  background:
    linear-gradient(180deg, var(--ace-bg) 0%, color-mix(in srgb, var(--ace-bg) 94%, transparent) 82%, transparent 100%);
  backdrop-filter: blur(18px);
}

.ace-reality.ace-reality-progress-pinned .ace-reality-progress {
  position: fixed !important;
  top: var(--ace-progress-top, 67px) !important;
  left: clamp(22px, 4.8vw, 70px);
  right: clamp(22px, 4.8vw, 70px);
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.ace-reality.ace-reality-progress-pinned .ace-reality-window {
  padding-top: 96px;
}

.ace-reality-nodes {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: visible !important;
}

.ace-reality-node {
  color: var(--ace-text-muted) !important;
}

.ace-reality-node span,
.ace-reality-node em {
  display: block !important;
  color: inherit !important;
}

.ace-reality-node:hover,
.ace-reality-node.active {
  color: var(--ace-text) !important;
}

.ace-reality-progress-line {
  background: var(--ace-line-soft) !important;
}

.ace-reality-window {
  overflow: visible !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
}

.ace-reality-track {
  display: grid !important;
  gap: clamp(18px, 2.2vw, 30px) !important;
  height: auto !important;
  transform: none !important;
}

.ace-reality-card,
.ace-reality-card.active,
.ace-reality-card.before-active,
.ace-reality-card.after-active {
  position: relative !important;
  inset: auto !important;
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
}

.ace-reality-card .ace-card-phase,
.ace-reality-card .ace-card-copy h3,
.ace-reality-card .ace-card-grid div {
  opacity: 1 !important;
  transform: none !important;
}

.ace-card-grid p {
  color: var(--ace-text-muted) !important;
}

body[data-theme="dark"] .ace-reality-progress {
  background:
    linear-gradient(180deg, #0c0c0d 0%, rgba(12, 12, 13, 0.94) 82%, transparent 100%);
}

body[data-theme="dark"] .ace-reality-node,
body[data-theme="dark"] .ace-reality-node span,
body[data-theme="dark"] .ace-reality-node em,
body[data-theme="dark"] .ace-card-grid small,
body[data-theme="dark"] .ace-card-grid p {
  color: rgba(243, 238, 232, 0.68) !important;
}

body[data-theme="dark"] .ace-reality-node.active,
body[data-theme="dark"] .ace-reality-node.active span,
body[data-theme="dark"] .ace-reality-node.active em,
body[data-theme="dark"] .ace-card-copy h3 {
  color: #f3eee8 !important;
}

@media (max-width: 760px) {
  body {
    padding-top: 48px;
  }

  .ace-reality-sticky {
    padding: 54px 16px 68px !important;
  }

  .ace-reality-title-wrap h2 {
    font-size: clamp(30px, 9vw, 42px) !important;
  }

  .ace-reality-title-wrap p {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.42 !important;
  }

  .ace-reality-progress {
    top: auto !important;
    margin: 18px 0 22px !important;
    padding: 12px 0 14px;
  }

  .ace-reality.ace-reality-progress-pinned .ace-reality-progress {
    left: 16px;
    right: 16px;
  }

  .ace-reality.ace-reality-progress-pinned .ace-reality-window {
    padding-top: 88px;
  }

  .ace-reality-nodes {
    display: flex !important;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    contain: paint;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .ace-reality-nodes::-webkit-scrollbar {
    display: none;
  }

  .ace-reality-node {
    flex: 0 0 88px;
    min-width: 88px;
    height: auto !important;
    padding: 13px 0 0 !important;
    scroll-snap-align: start;
  }

  .ace-reality-node::before {
    left: 0 !important;
    transform: none !important;
  }

  .ace-reality-node:hover::before,
  .ace-reality-node.active::before {
    transform: none !important;
  }

  .ace-reality-node span {
    font-size: 15px !important;
  }

  .ace-reality-node em {
    font-size: 9px !important;
    letter-spacing: 0.09em !important;
    white-space: nowrap;
  }

  .ace-reality-card {
    padding: 20px 18px !important;
  }

  .ace-card-copy {
    max-width: 100% !important;
    padding-right: 52px;
  }

  .ace-card-grid {
    grid-template-columns: 1fr !important;
  }
}
