:root {
  --paper: #f8faf6;
  --paper-strong: #eef4ef;
  --ink: #171717;
  --muted: #5f5b53;
  --line: #d8ded3;
  --teal: #007d75;
  --teal-dark: #005f58;
  --rust: #8f4a2f;
  --gold: #f0b84b;
  --chestnut: #6b3f24;
  --cream: #fff0c7;
  --sky: #2b6fba;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(28, 26, 22, 0.12);
  --content-max: 1320px;
  --hero-max: 1240px;
  --paw-print: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='32' cy='42' rx='14' ry='11' transform='rotate(-8 32 42)' fill='%238f4a2f'/%3E%3Ccircle cx='16' cy='25' r='6' fill='%238f4a2f'/%3E%3Ccircle cx='29' cy='17' r='6' fill='%238f4a2f'/%3E%3Ccircle cx='43' cy='19' r='6' fill='%238f4a2f'/%3E%3Ccircle cx='51' cy='31' r='5.5' fill='%238f4a2f'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.hero {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: auto;
  align-items: stretch;
  overflow: hidden;
  padding: 44px clamp(28px, 4vw, 72px);
  background: linear-gradient(180deg, #123f70 0%, #092a4d 100%);
  isolation: isolate;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-areas:
    "logos"
    "copy";
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(12px, 1.5vw, 24px);
  align-items: stretch;
  width: 100%;
  max-width: 1480px;
  height: auto;
  margin: 0 auto;
}

.hero-copy {
  grid-area: copy;
  align-self: stretch;
  min-width: 0;
  max-width: none;
  padding: clamp(18px, 2vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(249, 252, 255, 0.94), rgba(230, 241, 253, 0.84));
  box-shadow:
    0 24px 70px rgba(8, 37, 73, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px) saturate(1.08);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.partner-logos {
  grid-area: logos;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: clamp(10px, 1.15vw, 18px);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(249, 252, 255, 0.94), rgba(230, 241, 253, 0.84));
  box-shadow:
    0 24px 70px rgba(8, 37, 73, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px) saturate(1.08);
}

.partner-link {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  border-radius: 6px;
}

.partner-link:hover,
.partner-link:focus-visible {
  outline: 2px solid rgba(0, 125, 117, 0.34);
  outline-offset: 4px;
}

.partner-logo {
  display: block;
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  height: clamp(23px, 2.25vw, 34px);
  object-fit: contain;
}

.robotics-logo {
  max-width: 168px;
}

.chiba-logo {
  max-width: 146px;
}

.jst-logo {
  max-width: 154px;
}

.eccv-logo {
  max-width: 106px;
}

.venue,
.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

h1,
h2,
h3,
.subtitle {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  font-size: clamp(66px, 7vw, 112px);
  line-height: 0.82;
  letter-spacing: -0.045em;
}

.hero h1 {
  color: #103b6d;
  text-shadow: 0 4px 24px rgba(255, 255, 255, 0.8);
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 14px 0 10px;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: 0;
}

.subtitle {
  width: 100%;
  max-width: none;
  margin: 14px 0 0;
  color: #142f50;
  font-size: clamp(19px, 1.85vw, 28px);
  font-weight: 780;
  line-height: 1.08;
  overflow-wrap: normal;
  white-space: normal;
}

.authors,
.affiliation {
  width: 100%;
  max-width: 560px;
  margin: 14px 0 0;
  color: #273d57;
  font-size: 14px;
  font-weight: 620;
  line-height: 1.4;
}

.author-entry {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.orcid-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #a6ce39;
  color: #fff;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  text-shadow: none;
  transform: translateY(1px);
}

@media (min-width: 1101px) {
  .hero-content {
    grid-template-areas: "copy logos";
    grid-template-columns: minmax(0, 1fr) clamp(220px, 17vw, 270px);
    grid-template-rows: auto;
    gap: clamp(24px, 3vw, 48px);
  }

  .hero-copy,
  .partner-logos {
    height: 100%;
  }

  .partner-logos {
    width: 100%;
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
  }

  .partner-link {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid rgba(16, 59, 109, 0.1);
    background: rgba(255, 255, 255, 0.8);
  }

  .partner-logo,
  .robotics-logo,
  .chiba-logo,
  .jst-logo,
  .eccv-logo {
    width: 100%;
    max-width: 100%;
    height: 36px;
    object-fit: contain;
  }
}

.orcid-link:hover,
.orcid-link:focus-visible {
  background: #8ab82e;
  outline: 2px solid rgba(166, 206, 57, 0.42);
  outline-offset: 2px;
}

.affiliation {
  margin-top: 5px;
  color: #506278;
  font-size: 13px;
}

.affiliation a,
.site-footer a {
  text-decoration: underline;
  text-decoration-color: rgba(0, 125, 117, 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.affiliation a:hover,
.affiliation a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--teal);
  text-decoration-color: currentColor;
  outline: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #234f78;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #173c62;
  font-weight: 780;
}

.button.primary {
  border-color: #0f5e9c;
  color: var(--white);
  background: linear-gradient(135deg, #0f5e9c, #174878);
  box-shadow: 0 8px 22px rgba(15, 94, 156, 0.24);
}

.button-disabled {
  cursor: default;
  opacity: 0.78;
  box-shadow: none;
}

.button:not(.button-disabled):hover,
.button:not(.button-disabled):focus-visible {
  transform: translateY(-1px);
}

.section,
.visual-band {
  position: relative;
  overflow: hidden;
  padding: 72px 32px;
  isolation: isolate;
}

.section > .section-inner,
.visual-band > .section-inner {
  position: relative;
  z-index: 1;
}

#abstract {
  background:
    radial-gradient(circle at 4% 18%, rgba(240, 184, 75, 0.13), transparent 28%),
    radial-gradient(circle at 96% 76%, rgba(0, 125, 117, 0.1), transparent 30%),
    linear-gradient(180deg, #e7f0f5 0%, #f8faf6 18%, #f8f6ee 100%);
}

.visual-band {
  background:
    radial-gradient(circle at 90% 12%, rgba(43, 111, 186, 0.1), transparent 26%),
    radial-gradient(circle at 8% 88%, rgba(240, 184, 75, 0.1), transparent 24%),
    linear-gradient(180deg, #f8f6ee 0%, #edf4ef 18%, #f2f5ef 100%);
}

#method {
  background:
    radial-gradient(circle at 6% 20%, rgba(240, 184, 75, 0.14), transparent 25%),
    radial-gradient(circle at 96% 72%, rgba(143, 74, 47, 0.1), transparent 30%),
    linear-gradient(180deg, #f2f5ef 0%, #fbf7ef 16%, #f7f1e8 100%);
}

.acknowledgements-section {
  background:
    radial-gradient(circle at 90% 0%, rgba(43, 111, 186, 0.07), transparent 27%),
    linear-gradient(180deg, #f7faf6, #edf4ef 28%, #edf4ef);
}

.citation-section {
  background:
    radial-gradient(circle at 90% 0%, rgba(43, 111, 186, 0.07), transparent 27%),
    #edf4ef;
}

#abstract::before,
#method::after {
  position: absolute;
  z-index: 0;
  width: 190px;
  height: 250px;
  background-image: var(--paw-print), var(--paw-print), var(--paw-print);
  background-repeat: no-repeat;
  background-position: 108px 4px, 57px 86px, 8px 170px;
  background-size: 48px 48px, 42px 42px, 36px 36px;
  content: "";
  opacity: 0.09;
  pointer-events: none;
}

#abstract::before {
  top: 130px;
  right: -18px;
  transform: rotate(13deg);
}

#method::after {
  top: 58px;
  right: 4px;
  transform: rotate(-10deg);
}

#abstract::after,
#method::before {
  position: absolute;
  z-index: 0;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(143, 74, 47, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

#abstract::after {
  bottom: 28px;
  left: -150px;
}

#method::before {
  bottom: 90px;
  left: -170px;
}

.section.muted {
  background: #f8f5ee;
}

.section-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.abstract-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.core-idea-heading {
  margin-top: 2px;
}

.abstract-layout h2 {
  max-width: 700px;
  font-size: clamp(24px, 2.25vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  text-wrap: nowrap;
  white-space: nowrap;
}

.abstract-copy {
  display: grid;
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  color: #35312b;
  font-size: 18px;
}

.abstract-copy p {
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  text-align: justify;
  text-justify: inter-word;
}

.core-animation-card {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(25, 83, 77, 0.15);
  border-radius: 22px;
  background:
    radial-gradient(circle at 4% 0%, rgba(43, 111, 186, 0.13), transparent 28%),
    radial-gradient(circle at 96% 100%, rgba(240, 184, 75, 0.14), transparent 28%),
    #f4f8f5;
  box-shadow: 0 24px 70px rgba(26, 51, 45, 0.1);
}

.core-animation-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.core-animation-heading > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.core-animation-heading span:first-child {
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.core-animation-heading strong {
  max-width: none;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.2;
  text-wrap: nowrap;
  white-space: nowrap;
}

.core-loop-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(0, 125, 117, 0.16);
  border-radius: 999px;
  color: #27615c;
  background: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.core-loop-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(0, 125, 117, 0.3);
  animation: core-live-pulse 1.8s ease-out infinite;
}

.core-animation-stage {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) minmax(74px, 0.38fr) minmax(160px, 0.78fr) minmax(70px, 0.35fr) minmax(190px, 0.9fr);
  gap: 12px;
  align-items: stretch;
}

.core-demo-pane {
  display: flex;
  min-width: 0;
  min-height: 252px;
  flex-direction: column;
  padding: 13px;
  border: 1px solid rgba(62, 80, 72, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(30, 48, 41, 0.06);
}

.core-pane-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #27423d;
  font-size: 12px;
}

.core-pane-label span {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  color: #ffffff;
  background: #1a5d57;
  font-size: 9px;
  font-weight: 850;
}

.core-pane-caption {
  margin-top: auto;
  padding-top: 9px;
  color: #75746d;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.core-rgb-scene {
  position: relative;
  flex: 1;
  min-height: 175px;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 242, 190, 0.92) 0 7%, transparent 7.5%),
    linear-gradient(180deg, #bcdaf0 0 58%, #718f77 58% 63%, #d4bea0 63% 100%);
  isolation: isolate;
}

.core-rgb-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(90deg, transparent 0 44%, rgba(255, 255, 255, 0.38) 50%, transparent 56%);
  opacity: 0;
  animation: rgb-light-sweep 6.4s ease-in-out infinite;
  pointer-events: none;
}

.core-rgb-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rgb-hotspot {
  position: absolute;
  z-index: 5;
  width: 10%;
  height: auto;
  aspect-ratio: 1;
  border: 2px solid #fff3bd;
  border-radius: 7px;
  background: rgba(240, 184, 75, 0.2);
  box-shadow: 0 0 0 0 rgba(240, 184, 75, 0.34);
  opacity: 0.12;
  animation: rgb-hotspot-select 6.4s ease-in-out infinite;
}

.rgb-hotspot::after {
  content: attr(data-vote);
  position: absolute;
  top: 3px;
  left: 4px;
  color: #fffdf2;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(58, 44, 18, 0.72);
}

.hotspot-one {
  top: 38.9%;
  left: 50.75%;
}

.hotspot-two {
  top: 51.1%;
  left: 60%;
  animation-delay: 0.12s;
}

.hotspot-three {
  top: 64.4%;
  left: 53%;
  animation-delay: 0.22s;
}

.hotspot-four {
  top: 37.8%;
  left: 62.5%;
  animation-delay: 0.3s;
}

.hotspot-background {
  top: 37%;
  left: 14%;
  border-style: dashed;
  border-color: #ffcabf;
  background: rgba(238, 99, 79, 0.2);
  box-shadow: 0 0 0 0 rgba(238, 99, 79, 0.26);
  animation-name: rgb-background-reject;
  animation-delay: 0.18s;
}

.hotspot-background::after {
  content: "BG";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 4px rgba(96, 27, 18, 0.72);
}

.event-dot {
  position: absolute;
  top: var(--event-y);
  left: -8%;
  z-index: 6;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  opacity: 0;
  animation: event-traverse 6.4s cubic-bezier(0.3, 0.1, 0.62, 1) var(--event-delay) infinite;
}

.event-positive {
  background: #ee634f;
  box-shadow: 0 0 12px rgba(238, 99, 79, 0.62);
}

.event-negative {
  background: #2b73c0;
  box-shadow: 0 0 12px rgba(43, 115, 192, 0.62);
}

.event-scan-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -4%;
  z-index: 5;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.92) 20% 80%, transparent);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.78);
  opacity: 0;
  animation: event-scan 6.4s ease-in-out infinite;
}

.event-layer-label {
  position: absolute;
  top: 9px;
  left: 10px;
  z-index: 7;
  padding: 4px 7px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(19, 56, 70, 0.72);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0;
  text-transform: uppercase;
  animation: event-label-show 6.4s ease-in-out infinite;
}

.core-flow {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
}

.core-flow-label {
  color: #65746f;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.22;
  text-align: center;
  text-transform: uppercase;
}

.core-flow-track {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  overflow: visible;
  border-radius: 999px;
  background: rgba(0, 125, 117, 0.2);
}

.core-flow-track::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
  transform: rotate(45deg);
}

.core-flow-track i {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(0, 125, 117, 0.1);
  opacity: 0;
  animation: core-flow-right 6.4s ease-in-out infinite;
}

.core-flow-learn .core-flow-track i {
  animation-delay: 0.75s;
}

.selected-feature-grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: center;
  padding: 8px 3px;
}

.selected-feature-grid span {
  position: relative;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid rgba(28, 88, 82, 0.18);
  border-radius: 9px;
  background: #dce9e5;
  box-shadow: 0 8px 16px rgba(34, 65, 61, 0.09);
  opacity: 0;
  transform: translateX(-14px) scale(0.9);
  animation: feature-tile-collect 6.4s ease-in-out infinite;
}

.selected-feature-grid span::after {
  content: attr(data-vote);
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 5px;
  color: #ffffff;
  background: rgba(18, 75, 70, 0.78);
  font-size: 8px;
  font-weight: 900;
}

.selected-feature-grid svg {
  display: block;
  width: 100%;
  height: 100%;
}

.learning-visual {
  position: relative;
  display: grid;
  flex: 1;
  min-height: 154px;
  place-items: center;
}

.learning-ring {
  position: absolute;
  width: 126px;
  height: 126px;
  border: 1px dashed rgba(0, 125, 117, 0.34);
  border-radius: 50%;
  opacity: 0.34;
  animation: learning-ring-turn 6.4s linear infinite;
}

.learning-ring::before,
.learning-ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 3px solid #f4f8f5;
  border-radius: 50%;
  background: var(--teal);
}

.learning-ring::before {
  top: -6px;
  left: 54px;
}

.learning-ring::after {
  right: 4px;
  bottom: 16px;
  background: var(--gold);
}

.learning-head {
  position: relative;
  z-index: 2;
  display: grid;
  width: 94px;
  min-height: 82px;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(0, 125, 117, 0.2);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(13, 78, 72, 0.13);
  animation: learning-head-update 6.4s ease-in-out infinite;
}

.learning-head span {
  grid-column: 1 / -1;
  color: #25534f;
  font-size: 9px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.learning-head i {
  height: 16px;
  border-radius: 999px 999px 3px 3px;
  background: #a9d5ce;
  transform-origin: bottom;
  animation: learning-bar-rise 6.4s ease-in-out infinite;
}

.learning-head i:nth-child(3) {
  height: 25px;
  background: var(--teal);
  animation-delay: 0.1s;
}

.learning-head i:nth-child(4) {
  height: 20px;
  background: var(--gold);
  animation-delay: 0.2s;
}

.core-animation-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 14px;
  color: #6d716b;
  font-size: 10px;
  font-weight: 720;
}

.core-animation-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.core-animation-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-rgb {
  background: linear-gradient(135deg, #bcdaf0, #d4bea0);
}

.legend-event {
  border-radius: 50% !important;
  background: linear-gradient(135deg, #ee634f 0 49%, #2b73c0 51% 100%);
}

.legend-feature {
  border: 1px solid #e3b348;
  background: #fff3bd;
}

.legend-background {
  border: 1px dashed #e85f4d;
  background: #ffd8d0;
}

@keyframes core-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 125, 117, 0.32); }
  72%, 100% { box-shadow: 0 0 0 7px rgba(0, 125, 117, 0); }
}

@keyframes rgb-light-sweep {
  0%, 10% { left: -70%; opacity: 0; }
  18% { opacity: 0.75; }
  53% { left: 70%; opacity: 0.55; }
  59%, 100% { left: 70%; opacity: 0; }
}

@keyframes event-traverse {
  0%, 12% { left: -8%; opacity: 0; transform: scale(0.65); }
  18% { opacity: 1; }
  51% { left: 106%; opacity: 1; transform: scale(1); }
  57%, 100% { left: 106%; opacity: 0; transform: scale(0.7); }
}

@keyframes event-scan {
  0%, 12% { left: -4%; opacity: 0; }
  18% { opacity: 1; }
  51% { left: 103%; opacity: 0.82; }
  57%, 100% { left: 103%; opacity: 0; }
}

@keyframes event-label-show {
  0%, 12%, 60%, 100% { opacity: 0; transform: translateY(-4px); }
  20%, 52% { opacity: 1; transform: translateY(0); }
}

@keyframes rgb-hotspot-select {
  0%, 26% { opacity: 0.1; transform: scale(0.8); box-shadow: 0 0 0 0 rgba(240, 184, 75, 0); }
  37%, 57% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 7px rgba(240, 184, 75, 0.19); }
  68%, 100% { opacity: 0.18; transform: scale(0.92); box-shadow: 0 0 0 0 rgba(240, 184, 75, 0); }
}

@keyframes rgb-background-reject {
  0%, 26% { opacity: 0.1; transform: scale(0.8); box-shadow: 0 0 0 0 rgba(238, 99, 79, 0); }
  37%, 49% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 7px rgba(238, 99, 79, 0.16); }
  58%, 100% { opacity: 0.3; transform: scale(0.88); box-shadow: 0 0 0 0 rgba(238, 99, 79, 0); }
}

@keyframes core-flow-right {
  0%, 43% { left: 0; opacity: 0; }
  50% { opacity: 1; }
  68% { left: calc(100% - 10px); opacity: 1; }
  74%, 100% { left: calc(100% - 10px); opacity: 0; }
}

@keyframes feature-tile-collect {
  0%, 43% { opacity: 0.2; transform: translateX(-8px) scale(0.94); }
  53%, 88% { opacity: 1; transform: translateX(0) scale(1); }
  97%, 100% { opacity: 0.36; transform: translateX(5px) scale(0.96); }
}

@keyframes learning-ring-turn {
  0%, 61% { opacity: 0.2; transform: rotate(0deg) scale(0.92); }
  82% { opacity: 1; transform: rotate(150deg) scale(1); }
  100% { opacity: 0.28; transform: rotate(220deg) scale(0.94); }
}

@keyframes learning-head-update {
  0%, 62% { border-color: rgba(0, 125, 117, 0.16); box-shadow: 0 12px 30px rgba(13, 78, 72, 0.1); transform: scale(0.96); }
  76%, 91% { border-color: rgba(0, 125, 117, 0.52); box-shadow: 0 16px 38px rgba(0, 125, 117, 0.22); transform: scale(1.04); }
  100% { border-color: rgba(0, 125, 117, 0.16); box-shadow: 0 12px 30px rgba(13, 78, 72, 0.1); transform: scale(0.96); }
}

@keyframes learning-bar-rise {
  0%, 62% { transform: scaleY(0.35); opacity: 0.45; }
  78%, 91% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.55); opacity: 0.58; }
}

.section-heading {
  width: 100%;
  max-width: 900px;
  margin-bottom: 28px;
}

.section-heading h2 {
  text-wrap: balance;
}

.image-frame {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 22px 64px rgba(31, 51, 43, 0.11);
  cursor: zoom-in;
}

.image-frame img {
  width: 100%;
  height: auto;
}

.image-frame video {
  display: block;
  width: 100%;
  height: auto;
}

.media-frame {
  cursor: default;
}

.image-frame.architecture {
  margin-top: 32px;
}

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

.module-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-card {
  position: relative;
  min-height: 222px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(64, 89, 79, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(43, 111, 186, 0.09), transparent 34%),
    var(--white);
  box-shadow: 0 14px 38px rgba(30, 49, 42, 0.07);
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), #74c3b9);
}

.module-card:nth-child(2) {
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 184, 75, 0.12), transparent 36%),
    var(--white);
}

.module-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--gold), #db8351);
}

.module-index {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 850;
}

.module-card p {
  color: var(--muted);
}

.method-note {
  width: 100%;
  max-width: 860px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 560;
}

.traw-evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(440px, 1.04fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 30px;
}

.traw-animation-card,
.traw-proof-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(64, 89, 79, 0.14);
  border-radius: 20px;
  box-shadow: 0 18px 52px rgba(30, 42, 36, 0.09);
}

.traw-animation-card {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 92% 5%, rgba(43, 111, 186, 0.12), transparent 30%),
    #eef4f0;
}

.traw-proof-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 184, 75, 0.16), transparent 34%),
    #fffaf0;
}

.traw-card-heading {
  display: grid;
  grid-template-areas:
    "eyebrow chip"
    "title title";
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 5px 16px;
  min-height: 62px;
}

.traw-card-heading > div {
  display: contents;
}

.traw-card-heading .eyebrow {
  grid-area: eyebrow;
  margin-bottom: 5px;
}

.traw-card-heading h3 {
  grid-area: title;
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: clamp(20px, 2vw, 27px);
  overflow-wrap: normal;
  white-space: normal;
  text-wrap: wrap;
}

.traw-chip {
  grid-area: chip;
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: #0b615a;
  background: #d8ece6;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.traw-animation {
  display: grid;
  flex: 1;
  max-width: 720px;
  place-items: center;
  margin: 14px auto 0;
  border-radius: 14px;
  background: #f9fbf9;
}

.traw-animation video,
.traw-animation img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.traw-figure-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.traw-figure {
  min-width: 0;
  margin: 0;
}

.traw-figure button {
  display: grid;
  width: 100%;
  aspect-ratio: 1.8 / 1;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2d9ca;
  border-radius: 11px;
  background: #ffffff;
  cursor: zoom-in;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.traw-figure button:hover,
.traw-figure button:focus-visible {
  border-color: rgba(143, 74, 47, 0.42);
  box-shadow: 0 10px 24px rgba(91, 55, 31, 0.11);
  transform: translateY(-2px);
}

.traw-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.traw-figure figcaption {
  margin-top: 6px;
  color: #75685d;
  font-size: 10px;
  font-weight: 720;
  line-height: 1.3;
}

.traw-takeaways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.traw-takeaways > div {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(143, 74, 47, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.traw-takeaways strong,
.traw-takeaways span {
  display: block;
}

.traw-takeaways strong {
  color: var(--rust);
  font-size: 22px;
  line-height: 1;
}

.traw-takeaways span {
  margin-top: 6px;
  color: #5f554c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.metric {
  min-height: 148px;
  padding: 22px;
  border: 1px solid rgba(132, 91, 52, 0.16);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.84);
  box-shadow: 0 12px 34px rgba(92, 59, 30, 0.06);
}

.metric-value {
  display: block;
  color: var(--teal-dark);
  font-size: clamp(30px, 4vw, 45px);
  font-weight: 850;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.results-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(240, 184, 75, 0.18), transparent 27%),
    radial-gradient(circle at 94% 78%, rgba(143, 74, 47, 0.12), transparent 31%),
    linear-gradient(180deg, #f7f1e8 0%, #f4ede1 15%, #f3eee5 100%);
}

.results-section::before,
.results-section::after {
  position: absolute;
  border: 1px solid rgba(143, 74, 47, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.results-section::before {
  top: 48px;
  right: -92px;
  width: 260px;
  height: 260px;
}

.results-section::after {
  bottom: 70px;
  left: -126px;
  width: 320px;
  height: 320px;
}

.results-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 32px;
}

.results-intro .section-heading {
  margin-bottom: 0;
}

.results-lede {
  max-width: 760px;
  margin: 18px 0 0;
  color: #665b50;
  font-size: 18px;
}

.results-intro-note {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 235px;
  padding: 18px 20px;
  border: 1px solid rgba(143, 74, 47, 0.18);
  border-radius: 999px;
  color: #67412d;
  background: rgba(255, 248, 232, 0.82);
}

.intro-note-number {
  color: var(--rust);
  font-size: 34px;
  font-weight: 880;
  line-height: 1;
}

.intro-note-copy {
  font-size: 12px;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.results-metrics .metric:nth-child(2) {
  background: rgba(236, 246, 239, 0.9);
}

.results-metrics .metric:nth-child(3) {
  background: rgba(241, 247, 252, 0.9);
}

.results-metrics .metric:nth-child(4) {
  background: rgba(255, 243, 216, 0.92);
}

.results-carousel {
  position: relative;
  z-index: 1;
  padding: 16px;
  border: 1px solid rgba(109, 68, 38, 0.15);
  border-radius: 28px;
  outline: none;
  background: rgba(255, 252, 246, 0.78);
  box-shadow: 0 28px 80px rgba(81, 51, 27, 0.13);
  backdrop-filter: blur(12px);
}

.results-carousel:focus-visible {
  box-shadow:
    0 0 0 4px rgba(0, 125, 117, 0.18),
    0 28px 80px rgba(81, 51, 27, 0.13);
}

.carousel-topbar,
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.carousel-topbar {
  padding: 2px 4px 14px;
}

.carousel-kicker {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 12px;
  color: #76543d;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.carousel-kicker strong {
  color: var(--teal-dark);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.carousel-tabs {
  display: flex;
  min-width: 0;
  gap: 6px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
}

.carousel-tabs::-webkit-scrollbar {
  display: none;
}

.carousel-tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #75675b;
  background: transparent;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.carousel-tab:hover,
.carousel-tab:focus-visible {
  color: var(--rust);
  background: #fff5df;
}

.carousel-tab.is-active {
  color: #fffdf6;
  background: #73482e;
  box-shadow: 0 7px 18px rgba(107, 63, 36, 0.22);
}

.result-slides {
  display: grid;
  overflow: hidden;
  border-radius: 22px;
}

.result-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  min-width: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(22px) scale(0.992);
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 520ms;
}

.results-carousel[data-direction="previous"] .result-slide:not(.is-active) {
  transform: translateX(-22px) scale(0.992);
}

.result-slide.is-active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition-delay: 0s;
}

.result-media-column,
.result-data-panel {
  min-width: 0;
  border-radius: 20px;
}

.result-media-column {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 14px;
  color: #fdf7e9;
  background:
    radial-gradient(circle at 12% 0%, rgba(240, 184, 75, 0.18), transparent 32%),
    linear-gradient(145deg, #153f39, #102e2b 58%, #0c2423);
}

.result-video-frame {
  position: relative;
  display: grid;
  flex: 1;
  min-height: 360px;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #081b1a;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.result-video-frame::after {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(4, 19, 18, 0.38));
  content: "";
  pointer-events: none;
}

.result-video-frame video,
.result-video-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.result-video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff8e7;
  background: rgba(8, 31, 29, 0.72);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(9px);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #17342f;
  background: rgba(255, 249, 234, 0.9);
  box-shadow: 0 9px 24px rgba(2, 18, 17, 0.25);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
  backdrop-filter: blur(10px);
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow-prev {
  left: 14px;
}

.carousel-arrow-next {
  right: 14px;
}

.result-caption {
  margin: 13px 7px 2px;
  color: rgba(255, 248, 232, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.result-data-panel {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(125, 85, 51, 0.15);
  background: #fffdf8;
}

.result-data-heading {
  display: grid;
  grid-template-areas:
    "eyebrow rank"
    "title title";
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 6px 18px;
  margin-bottom: 16px;
}

.result-data-heading > div {
  display: contents;
}

.result-data-heading .eyebrow {
  grid-area: eyebrow;
  margin-bottom: 6px;
}

.result-data-heading h3 {
  grid-area: title;
  width: 100%;
  margin: 0;
  font-size: clamp(22px, 2vw, 29px);
  overflow-wrap: normal;
  white-space: normal;
  text-wrap: wrap;
}

.result-rank {
  grid-area: rank;
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #74442a;
  background: #fff0cf;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dataset-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 16px;
}

.dataset-facts span {
  min-width: 0;
  padding: 10px;
  border-radius: 10px;
  color: #51483f;
  background: #f7f0e5;
  font-size: 11px;
  font-weight: 690;
  line-height: 1.25;
}

.dataset-facts small {
  display: block;
  margin-bottom: 3px;
  color: var(--rust);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-scroll {
  min-width: 0;
  overflow: auto;
  border: 1px solid #e5ddd0;
  border-radius: 11px;
  scrollbar-color: #b9a895 #f4ede2;
}

.result-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11.5px;
}

.result-table th,
.result-table td {
  padding: 8px 7px;
  border-bottom: 1px solid #e9e2d7;
  text-align: center;
  white-space: nowrap;
}

.result-table thead tr:first-child th:first-child,
.result-table tbody td:first-child {
  width: 24%;
  text-align: left;
}

.result-table thead tr:first-child th[colspan] {
  text-align: center;
}

.result-table thead tr:first-child th:nth-child(3),
.result-table thead tr:nth-child(2) th:nth-child(4),
.result-table tbody td:nth-child(5) {
  border-left: 1px solid #d8cec0;
}

.result-table thead th {
  color: #514337;
  background: #f2eadf;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.result-table tbody tr:last-child td {
  border-bottom: 0;
}

.highlight-row td {
  color: #005a54;
  background: #dff1ea;
  font-weight: 850;
}

.carousel-footer {
  min-height: 42px;
  padding: 12px 6px 0;
  color: #75675a;
  font-size: 12px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbbcac;
  cursor: pointer;
  transition: width 260ms ease, background 260ms ease;
}

.carousel-dot.is-active {
  width: 28px;
  background: var(--rust);
}

.citation-section {
  padding-top: 0;
}

.acknowledgements-section {
  padding-bottom: 52px;
}

.acknowledgement-copy {
  width: 100%;
  max-width: 900px;
  margin: 0;
  color: #35312b;
  font-size: 19px;
  font-weight: 560;
  line-height: 1.65;
}

.bibtex {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #22201d;
  color: #fff7e6;
  font-size: 14px;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.lightbox {
  width: min(1180px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(18, 17, 15, 0.82);
}

.lightbox img {
  max-height: calc(100vh - 32px);
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero,
  .section,
  .visual-band {
    padding-inline: 20px;
  }

  .abstract-layout,
  .module-grid,
  .module-grid-two,
  .metric-grid,
  .results-gallery {
    grid-template-columns: 1fr;
  }

  .abstract-layout {
    gap: 28px;
  }

  .abstract-layout h2 {
    max-width: 760px;
  }

  .results-intro {
    align-items: start;
  }

  .results-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .result-video-frame {
    min-height: 0;
  }

  .traw-evidence-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .core-animation-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .core-animation-heading strong {
    font-size: clamp(10px, 2vw, 15px);
  }

  .core-animation-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .core-demo-pane {
    min-height: 236px;
  }

  .core-flow {
    min-height: 64px;
    align-items: center;
    gap: 5px;
  }

  .core-flow-label br {
    display: none;
  }

  .core-flow-track {
    width: 2px;
    height: 42px;
  }

  .core-flow-track::after {
    top: auto;
    right: -3px;
    bottom: -1px;
    transform: rotate(135deg);
  }

  .core-flow-track i {
    top: 0;
    left: -4px;
    animation-name: core-flow-down;
  }

  .selected-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .learning-visual {
    min-height: 166px;
  }
}

@keyframes core-flow-down {
  0%, 43% { top: 0; opacity: 0; }
  50% { opacity: 1; }
  68% { top: calc(100% - 10px); opacity: 1; }
  74%, 100% { top: calc(100% - 10px); opacity: 0; }
}

@media (max-width: 620px) {
  .hero {
    min-height: 0;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .hero-content {
    grid-template-areas:
      "logos"
      "copy";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    width: 100%;
    max-width: calc(100vw - 40px);
  }

  .hero-copy,
  .partner-logos {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .author-entry {
    white-space: nowrap;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .partner-logos {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    padding: 12px;
  }

  .partner-logo {
    height: 28px;
  }

  .robotics-logo {
    max-width: 158px;
  }

  .chiba-logo {
    max-width: 132px;
  }

  .jst-logo {
    max-width: 150px;
  }

  .eccv-logo {
    max-width: 96px;
  }

  .subtitle {
    font-size: clamp(17px, 4.75vw, 20px);
    width: 100%;
    max-width: none;
    line-height: 1.12;
  }

  .authors,
  .affiliation {
    width: 100%;
    max-width: none;
  }

  .authors {
    font-size: 15px;
  }

  .affiliation {
    font-size: 13px;
  }

  .hero-actions {
    width: 100%;
    max-width: none;
  }

  .button {
    width: 100%;
  }

  .section,
  .visual-band {
    padding-block: 52px;
  }

  .section-inner {
    max-width: none;
  }

  #abstract::before,
  #method::after {
    width: 116px;
    height: 170px;
    background-position: 68px 4px, 34px 58px, 5px 116px;
    background-size: 34px 34px, 29px 29px, 25px 25px;
    opacity: 0.07;
  }

  h2,
  .abstract-layout h2 {
    font-size: clamp(30px, 9.6vw, 40px);
    line-height: 1.06;
  }

  .abstract-layout h2 {
    max-width: 100%;
    font-size: clamp(15px, 4.5vw, 18px);
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .abstract-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    font-size: 16px;
  }

  .core-animation-card {
    padding: 13px;
    border-radius: 16px;
  }

  .core-animation-heading {
    margin-bottom: 13px;
  }

  .core-animation-heading strong {
    font-size: 8px;
  }

  .core-loop-badge {
    padding: 6px 8px;
  }

  .core-demo-pane {
    min-height: 224px;
    padding: 10px;
  }

  .core-rgb-scene {
    min-height: 158px;
  }

  .core-animation-legend {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .traw-animation-card,
  .traw-proof-card {
    padding: 13px;
    border-radius: 15px;
  }

  .traw-card-heading {
    min-height: 0;
  }

  .traw-chip {
    display: none;
  }

  .traw-figure-list,
  .traw-takeaways {
    grid-template-columns: minmax(0, 1fr);
  }

  .traw-figure figcaption {
    font-size: 9px;
  }

  .results-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 24px;
  }

  .results-lede {
    font-size: 16px;
  }

  .results-intro-note {
    min-width: 0;
    width: fit-content;
    padding: 13px 17px;
  }

  .results-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-metrics .metric {
    min-height: 0;
    padding: 18px;
  }

  .results-carousel {
    padding: 9px;
    border-radius: 20px;
  }

  .carousel-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 4px 3px 12px;
  }

  .carousel-tabs {
    width: 100%;
  }

  .carousel-tab {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .result-slides,
  .result-media-column,
  .result-data-panel {
    border-radius: 14px;
  }

  .result-slide {
    gap: 10px;
  }

  .result-media-column {
    padding: 9px;
  }

  .result-video-frame {
    border-radius: 10px;
  }

  .result-video-badge {
    top: 9px;
    left: 9px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-arrow-prev {
    left: 9px;
  }

  .carousel-arrow-next {
    right: 9px;
  }

  .result-data-panel {
    padding: 14px;
  }

  .result-data-heading {
    gap: 8px;
  }

  .result-data-heading h3 {
    font-size: 22px;
  }

  .result-rank {
    padding: 5px 7px;
    font-size: 8px;
  }

  .dataset-facts {
    gap: 4px;
  }

  .dataset-facts span {
    padding: 7px;
    font-size: 9px;
  }

  .result-table {
    min-width: 560px;
  }

  .carousel-footer {
    justify-content: center;
  }

  .carousel-footer > span {
    display: none;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 20px;
  }
}

/* Visual polish and interaction layer */

::selection {
  color: #ffffff;
  background: rgba(0, 95, 88, 0.9);
}

:focus-visible {
  outline: 3px solid rgba(240, 184, 75, 0.72);
  outline-offset: 4px;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0b84b, #5ec9bc 55%, #77aee6);
  box-shadow: 0 0 18px rgba(94, 201, 188, 0.62);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.hero {
  --hero-pointer-x: 50%;
  --hero-pointer-y: 35%;
  background:
    radial-gradient(circle at 12% 14%, rgba(70, 148, 213, 0.22), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(0, 125, 117, 0.2), transparent 32%),
    linear-gradient(145deg, #174d83 0%, #0a3159 52%, #062745 100%);
}

.hero::before,
.hero::after,
.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: 0;
  background:
    radial-gradient(
      circle 360px at var(--hero-pointer-x) var(--hero-pointer-y),
      rgba(119, 191, 234, 0.2),
      rgba(39, 145, 151, 0.08) 42%,
      transparent 72%
    );
  content: "";
  transition: background-position 220ms ease;
}

.hero::after {
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  opacity: 0.36;
  -webkit-mask-image: linear-gradient(110deg, #000, transparent 72%);
  mask-image: linear-gradient(110deg, #000, transparent 72%);
}

.hero-atmosphere {
  z-index: 0;
  overflow: hidden;
}

.hero-atmosphere span {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.6;
  animation: hero-orbit 14s ease-in-out infinite alternate;
}

.hero-atmosphere span:nth-child(1) {
  top: -150px;
  left: 14%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(90, 181, 220, 0.2), transparent 68%);
}

.hero-atmosphere span:nth-child(2) {
  right: 10%;
  bottom: -210px;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(54, 182, 156, 0.18), transparent 70%);
  animation-delay: -5s;
}

.hero-atmosphere span:nth-child(3) {
  top: 35%;
  left: 54%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(240, 184, 75, 0.16), transparent 68%);
  animation-delay: -9s;
}

.hero-content {
  z-index: 2;
}

.hero-copy,
.partner-logos {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 30px 80px rgba(3, 28, 56, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: hero-panel-in 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.partner-logos {
  animation-delay: 100ms;
}

.hero-copy::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #3b8fc5, #48b8ae 55%, #f0b84b);
  content: "";
}

.hero h1 {
  width: fit-content;
  color: #103b6d;
  background: linear-gradient(105deg, #103b6d 18%, #0b6d77 48%, #103b6d 72%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-title-shift 9s ease-in-out infinite;
  text-shadow: 0 12px 32px rgba(18, 67, 96, 0.16);
}

.venue {
  display: flex;
  align-items: center;
  gap: 9px;
}

.venue::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 5px rgba(143, 74, 47, 0.1);
  content: "";
  animation: venue-pulse 2.8s ease-in-out infinite;
}

.partner-link {
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.partner-link:hover,
.partner-link:focus-visible {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(16, 59, 109, 0.11);
  transform: translateY(-2px);
}

.button {
  position: relative;
  overflow: hidden;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    transform 220ms ease;
}

.button::after {
  position: absolute;
  inset: -2px auto -2px -65%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: skewX(-18deg);
  transition: left 520ms ease, opacity 180ms ease;
}

.button:not(.button-disabled):hover,
.button:not(.button-disabled):focus-visible {
  box-shadow: 0 12px 28px rgba(14, 74, 118, 0.18);
  transform: translateY(-2px);
}

.button:not(.button-disabled):hover::after,
.button:not(.button-disabled):focus-visible::after {
  left: 125%;
  opacity: 1;
}

.button-disabled::after {
  display: none;
}

.section,
.visual-band {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.section-heading h2,
.core-idea-heading h2 {
  position: relative;
  padding-bottom: 15px;
}

.section-heading h2::after,
.core-idea-heading h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  content: "";
}

.reveal-ready {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 720ms ease var(--reveal-delay, 0ms),
    transform 780ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translate(0);
}

.image-frame,
.module-card,
.traw-animation-card,
.traw-proof-card,
.metric,
.results-carousel,
.citation-card {
  transition:
    border-color 260ms ease,
    box-shadow 320ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.image-frame:hover,
.image-frame:focus-within {
  border-color: rgba(0, 125, 117, 0.32);
  box-shadow: 0 30px 74px rgba(20, 68, 58, 0.16);
  transform: translateY(-3px);
}

.module-card:hover,
.traw-animation-card:hover,
.traw-proof-card:hover {
  border-color: rgba(0, 125, 117, 0.26);
  box-shadow: 0 24px 58px rgba(29, 60, 51, 0.13);
  transform: translateY(-5px);
}

.metric {
  position: relative;
  overflow: hidden;
}

.metric::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), #79c6bc, var(--gold));
  content: "";
  opacity: 0.68;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 280ms ease, transform 380ms ease;
}

.metric:hover {
  border-color: rgba(0, 125, 117, 0.24);
  box-shadow: 0 22px 48px rgba(68, 61, 37, 0.12);
  transform: translateY(-5px);
}

.metric:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.metric-value {
  background: linear-gradient(100deg, var(--teal-dark), #2b6fba);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.results-carousel:hover {
  border-color: rgba(109, 68, 38, 0.25);
  box-shadow: 0 34px 90px rgba(81, 51, 27, 0.17);
}

.citation-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 125, 117, 0.18), transparent 34%),
    linear-gradient(145deg, #272521, #1c1b19);
  box-shadow: 0 22px 54px rgba(27, 25, 22, 0.18);
}

.citation-card:hover {
  box-shadow: 0 28px 68px rgba(27, 25, 22, 0.24);
  transform: translateY(-2px);
}

.citation-card .bibtex {
  padding-top: 64px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.citation-copy {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff7e6;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
  backdrop-filter: blur(10px);
}

.citation-copy:hover,
.citation-copy:focus-visible,
.citation-copy.is-copied {
  border-color: rgba(94, 201, 188, 0.52);
  background: rgba(0, 125, 117, 0.34);
  transform: translateY(-1px);
}

.site-footer {
  background:
    linear-gradient(90deg, rgba(0, 125, 117, 0.04), transparent 42%),
    #f8faf6;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(145deg, #0b6d77, #103b6d);
  box-shadow: 0 14px 34px rgba(8, 47, 70, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.9);
  transition: opacity 220ms ease, transform 260ms ease, box-shadow 220ms ease;
  backdrop-filter: blur(10px);
}

.back-to-top span {
  font-size: 21px;
  line-height: 1;
  transform: translateY(-1px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  box-shadow: 0 18px 42px rgba(8, 47, 70, 0.38);
  transform: translateY(-3px) scale(1.04);
}

@keyframes hero-panel-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-orbit {
  from {
    transform: translate3d(-18px, -8px, 0) scale(0.94);
  }
  to {
    transform: translate3d(22px, 16px, 0) scale(1.08);
  }
}

@keyframes hero-title-shift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

@keyframes venue-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(143, 74, 47, 0.1);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(143, 74, 47, 0);
  }
}

@media (max-width: 620px) {
  .scroll-progress {
    height: 3px;
  }

  .hero::after {
    background-size: 30px 30px;
    opacity: 0.24;
  }

  .hero-atmosphere span:nth-child(1) {
    left: -120px;
  }

  .hero-atmosphere span:nth-child(2) {
    right: -170px;
  }

  .section-heading h2,
  .core-idea-heading h2 {
    padding-bottom: 12px;
  }

  .section-heading h2::after,
  .core-idea-heading h2::after {
    width: 48px;
    height: 3px;
  }

  .citation-card .bibtex {
    padding: 60px 17px 19px;
    font-size: 12px;
  }

  .citation-copy {
    top: 13px;
    right: 13px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

/* One continuous canvas across the full project page */

body {
  position: relative;
  background:
    radial-gradient(
      ellipse 118% 760px at 50% -190px,
      rgba(24, 82, 135, 0.98) 0%,
      rgba(9, 48, 86, 0.96) 53%,
      rgba(9, 48, 86, 0) 100%
    ),
    radial-gradient(circle at 4% 25%, rgba(240, 184, 75, 0.17), transparent 20%),
    radial-gradient(circle at 96% 42%, rgba(0, 125, 117, 0.14), transparent 24%),
    radial-gradient(circle at 10% 67%, rgba(43, 111, 186, 0.13), transparent 25%),
    radial-gradient(circle at 92% 86%, rgba(240, 184, 75, 0.12), transparent 22%),
    linear-gradient(155deg, #e9f2f3 0%, #faf7ef 39%, #f0f5ee 70%, #edf2f6 100%);
  background-repeat: no-repeat;
}

main {
  position: relative;
  isolation: isolate;
}

.page-decor {
  --page-pointer-x: 50vw;
  --page-pointer-y: 42vh;
  --page-drift: 0px;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-decor::before,
.page-decor::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.page-decor::before {
  background-image:
    linear-gradient(rgba(15, 74, 88, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 74, 88, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.62;
  -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 18%, #000 90%, transparent);
  mask-image: linear-gradient(180deg, transparent 4%, #000 18%, #000 90%, transparent);
}

.page-decor::after {
  position: fixed;
  background:
    radial-gradient(
      circle 290px at var(--page-pointer-x) var(--page-pointer-y),
      rgba(80, 186, 177, 0.1),
      rgba(69, 137, 186, 0.045) 45%,
      transparent 72%
    );
  mix-blend-mode: multiply;
}

.page-paws,
.page-orbits {
  position: absolute;
  inset: 0;
}

.page-paws {
  transform: translate3d(0, var(--page-drift), 0);
  transition: transform 180ms linear;
}

.page-paws span {
  --paw-size: 44px;
  --paw-rotate: 0deg;
  position: absolute;
  width: var(--paw-size);
  height: var(--paw-size);
  background-image: var(--paw-print);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.075;
  animation: page-paw-drift 7s ease-in-out infinite alternate;
}

.page-paws span:nth-child(1) {
  top: 7%;
  right: 4%;
  --paw-size: 48px;
  --paw-rotate: 14deg;
}

.page-paws span:nth-child(2) {
  top: 13%;
  left: 3%;
  --paw-size: 34px;
  --paw-rotate: -18deg;
  animation-delay: -2s;
}

.page-paws span:nth-child(3) {
  top: 22%;
  right: 10%;
  --paw-size: 40px;
  --paw-rotate: 26deg;
  animation-delay: -4s;
}

.page-paws span:nth-child(4) {
  top: 31%;
  left: 7%;
  --paw-size: 52px;
  --paw-rotate: -9deg;
  animation-delay: -1s;
}

.page-paws span:nth-child(5) {
  top: 39%;
  right: 3%;
  --paw-size: 36px;
  --paw-rotate: 19deg;
  animation-delay: -5s;
}

.page-paws span:nth-child(6) {
  top: 48%;
  left: 2%;
  --paw-size: 43px;
  --paw-rotate: -27deg;
  animation-delay: -3s;
}

.page-paws span:nth-child(7) {
  top: 57%;
  right: 8%;
  --paw-size: 54px;
  --paw-rotate: 11deg;
  animation-delay: -6s;
}

.page-paws span:nth-child(8) {
  top: 65%;
  left: 11%;
  --paw-size: 33px;
  --paw-rotate: -16deg;
  animation-delay: -2.5s;
}

.page-paws span:nth-child(9) {
  top: 73%;
  right: 2%;
  --paw-size: 45px;
  --paw-rotate: 24deg;
  animation-delay: -4.5s;
}

.page-paws span:nth-child(10) {
  top: 81%;
  left: 4%;
  --paw-size: 50px;
  --paw-rotate: -12deg;
  animation-delay: -1.5s;
}

.page-paws span:nth-child(11) {
  top: 89%;
  right: 12%;
  --paw-size: 37px;
  --paw-rotate: 17deg;
  animation-delay: -5.5s;
}

.page-paws span:nth-child(12) {
  top: 96%;
  left: 14%;
  --paw-size: 42px;
  --paw-rotate: -22deg;
  animation-delay: -3.5s;
}

.page-orbits span {
  position: absolute;
  border: 1px solid rgba(21, 100, 105, 0.09);
  border-radius: 50%;
  animation: page-orbit-breathe 11s ease-in-out infinite alternate;
}

.page-orbits span:nth-child(1) {
  top: 16%;
  left: -150px;
  width: 310px;
  height: 310px;
}

.page-orbits span:nth-child(2) {
  top: 43%;
  right: -190px;
  width: 380px;
  height: 380px;
  animation-delay: -4s;
}

.page-orbits span:nth-child(3) {
  top: 68%;
  left: -110px;
  width: 250px;
  height: 250px;
  animation-delay: -7s;
}

.page-orbits span:nth-child(4) {
  top: 88%;
  right: -130px;
  width: 290px;
  height: 290px;
  animation-delay: -2s;
}

main > .hero,
main > .section,
main > .visual-band {
  position: relative;
  z-index: 1;
  background: transparent;
}

#abstract,
#method,
.visual-band,
.results-section,
.acknowledgements-section,
.citation-section {
  background: transparent;
}

.section,
.visual-band {
  box-shadow: none;
}

#abstract::before,
#abstract::after,
#method::before,
#method::after,
.results-section::before,
.results-section::after {
  display: none;
}

.hero-copy,
.partner-logos,
.core-animation-card,
.module-card,
.module-card:nth-child(2),
.traw-animation-card,
.traw-proof-card,
.metric,
.results-metrics .metric:nth-child(2),
.results-metrics .metric:nth-child(3),
.results-metrics .metric:nth-child(4),
.results-carousel {
  background: rgba(250, 253, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.06);
}

.hero-copy,
.partner-logos {
  animation: none;
  background: rgba(241, 248, 253, 0.84);
}

.results-carousel {
  background: rgba(255, 253, 248, 0.72);
}

.site-footer {
  position: relative;
  z-index: 1;
  background: transparent;
}

.reveal-ready {
  --drum-shift: 54px;
  --drum-angle: -28deg;
  --drum-origin: center top;
  backface-visibility: hidden;
  opacity: 0;
  transform:
    perspective(1100px)
    translate3d(0, var(--drum-shift), 0)
    rotateX(var(--drum-angle))
    scale3d(0.965, 0.965, 1);
  transform-origin: var(--drum-origin);
  transition:
    opacity 420ms ease var(--reveal-delay, 0ms),
    transform 820ms cubic-bezier(0.16, 1.12, 0.3, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-ready[data-reveal-from="top"] {
  --drum-shift: -54px;
  --drum-angle: 28deg;
  --drum-origin: center bottom;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform:
    perspective(1100px)
    translate3d(0, 0, 0)
    rotateX(0deg)
    scale3d(1, 1, 1);
}

.reveal-ready h2::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1) 260ms;
}

.reveal-ready.is-visible h2::after {
  transform: scaleX(1);
}

.metric.is-visible .metric-value {
  animation: metric-arrive 720ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

@keyframes page-paw-drift {
  from {
    transform: translate3d(-4px, -7px, 0) rotate(var(--paw-rotate)) scale(0.96);
  }
  to {
    transform: translate3d(5px, 8px, 0) rotate(calc(var(--paw-rotate) + 4deg)) scale(1.05);
  }
}

@keyframes page-orbit-breathe {
  from {
    opacity: 0.45;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes metric-arrive {
  from {
    opacity: 0.2;
    transform: translateY(14px) rotateX(-18deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg) scale(1);
  }
}

@media (max-width: 620px) {
  body {
    background:
      radial-gradient(
        ellipse 170% 830px at 50% -220px,
        rgba(24, 82, 135, 0.98) 0%,
        rgba(9, 48, 86, 0.94) 54%,
        rgba(9, 48, 86, 0) 100%
      ),
      radial-gradient(circle at 0% 31%, rgba(240, 184, 75, 0.14), transparent 23%),
      radial-gradient(circle at 100% 61%, rgba(0, 125, 117, 0.12), transparent 25%),
      linear-gradient(155deg, #e9f2f3 0%, #faf7ef 44%, #edf3ef 100%);
  }

  .page-decor::before {
    background-size: 48px 48px;
    opacity: 0.48;
  }

  .page-paws span {
    opacity: 0.065;
  }

  .page-orbits span {
    opacity: 0.7;
  }

  .reveal-ready {
    --drum-shift: 38px;
    --drum-angle: -21deg;
  }

  .reveal-ready[data-reveal-from="top"] {
    --drum-shift: -38px;
    --drum-angle: 21deg;
  }
}

/* Tighter vertical rhythm between page modules */

.hero {
  padding-top: 36px;
  padding-bottom: 36px;
}

.section,
.visual-band {
  padding-top: 44px;
  padding-bottom: 44px;
}

.section-heading {
  margin-bottom: 22px;
}

.image-frame.architecture {
  margin-top: 24px;
}

.method-note {
  margin-top: 18px;
}

.traw-evidence-layout {
  margin-top: 22px;
}

.metric-grid {
  margin-bottom: 22px;
}

.results-intro {
  margin-bottom: 24px;
}

.acknowledgements-section {
  padding-bottom: 36px;
}

@media (max-width: 620px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .section,
  .visual-band {
    padding-top: 34px;
    padding-bottom: 34px;
  }

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

  .image-frame.architecture,
  .traw-evidence-layout {
    margin-top: 18px;
  }

  .results-intro {
    margin-bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-atmosphere span,
  .page-paws span,
  .page-orbits span,
  .hero-copy,
  .partner-logos,
  .hero h1,
  .venue::before {
    animation: none !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button::after {
    display: none;
  }

  .result-slide,
  .carousel-tab,
  .carousel-arrow,
  .carousel-dot {
    transition-duration: 0.01ms !important;
  }
}
