:root {
  --bg: #05070a;
  --panel: rgba(11, 17, 22, 0.5);
  --panel-solid: #0b1116;
  --text: #f4f7f8;
  --muted: #aebdc0;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #5bd8ff;
  --mint: #5ff0c8;
  --amber: #ffb84d;
  --coral: #ff6f61;
  --shadow: 0 28px 110px rgba(0, 0, 0, 0.48);
  --radius: 30px;
  color-scheme: dark;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.82), rgba(5, 7, 10, 0.95) 44%, #05070a),
    #05070a;
  color: var(--text);
  font-size: 16px;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle at 14% 18%, rgba(91, 216, 255, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 24%, rgba(95, 240, 200, 0.36) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 72%, rgba(255, 184, 77, 0.34) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 78%, rgba(91, 216, 255, 0.3) 0 2px, transparent 3px),
    linear-gradient(28deg, transparent 0 34%, rgba(91, 216, 255, 0.12) 34.2% 34.5%, transparent 34.7% 100%),
    linear-gradient(142deg, transparent 0 22%, rgba(95, 240, 200, 0.1) 22.2% 22.5%, transparent 22.7% 100%),
    linear-gradient(104deg, transparent 0 58%, rgba(255, 184, 77, 0.09) 58.2% 58.45%, transparent 58.7% 100%);
  background-size: 420px 420px, 520px 520px, 560px 560px, 460px 460px, 620px 620px, 700px 700px, 780px 780px;
  background-position: 0 0, 140px 40px, 60px 160px, 220px 120px, center, 10% 20%, 80% 40%;
  mask-image: linear-gradient(180deg, black 0, black 58%, transparent 96%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.28), rgba(5, 7, 10, 0.86)),
    url("../assets/hero-atlas.png") center / cover no-repeat;
  opacity: 0.34;
  filter: saturate(1.04) contrast(1.08);
}

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

button {
  font: inherit;
}

button {
  color: inherit;
}

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

::selection {
  background: rgba(91, 216, 255, 0.34);
  color: white;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 18px;
  background: #05070a;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  animation: preloader-exit 0.7s ease 1.45s forwards;
}

.preloader span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.preloader__line {
  width: min(340px, 70vw);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.preloader__line::before {
  display: block;
  width: 40%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  animation: loading-line 1.1s ease-in-out infinite;
}

body.is-ready .preloader {
  visibility: hidden;
  opacity: 0;
}

@keyframes loading-line {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(260%);
  }
}

@keyframes preloader-exit {
  to {
    visibility: hidden;
    opacity: 0;
  }
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  transform: translateY(100%);
  background: linear-gradient(135deg, #07141a, #10110b 52%, #190c0a);
}

.space-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.86;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.78), rgba(5, 7, 10, 0));
  transition: transform 0.4s ease, background 0.4s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-action {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.brand__mark {
  width: 28px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 46%, var(--cyan) 46% 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, var(--amber) 46% 54%, transparent 54%);
  box-shadow: 0 0 28px rgba(91, 216, 255, 0.28);
}

.nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 38px);
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a,
.site-footer a,
.header-action {
  transition: color 0.25s ease;
}

.nav a:hover,
.site-footer a:hover,
.header-action:hover {
  color: var(--cyan);
}

.header-action {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding: 132px clamp(20px, 5vw, 72px) 88px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  top: 11%;
  right: clamp(-180px, -10vw, -80px);
  z-index: -1;
  width: min(760px, 70vw);
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 34%, rgba(91, 216, 255, 0.2) 34.2% 34.55%, transparent 34.8% 49%, rgba(255, 184, 77, 0.13) 49.2% 49.55%, transparent 49.8% 66%, rgba(95, 240, 200, 0.13) 66.2% 66.45%, transparent 66.8%),
    conic-gradient(from 38deg, transparent 0 14%, rgba(91, 216, 255, 0.28) 14% 15%, transparent 15% 36%, rgba(255, 184, 77, 0.22) 36% 37%, transparent 37% 68%, rgba(95, 240, 200, 0.24) 68% 69%, transparent 69% 100%);
  opacity: 0.78;
  filter: drop-shadow(0 0 44px rgba(91, 216, 255, 0.18));
  pointer-events: none;
  transform: rotate(-12deg);
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  transform: scale(1.05);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.96) contrast(1.02);
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.86), rgba(5, 7, 10, 0.42) 46%, rgba(5, 7, 10, 0.1)),
    linear-gradient(180deg, rgba(5, 7, 10, 0.01) 0, rgba(5, 7, 10, 0.78) 100%);
}

.hero__content {
  width: min(800px, 92vw);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 0.95;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(4.4rem, 13vw, 11.5rem);
}

h2 {
  font-size: clamp(2.7rem, 7vw, 6.8rem);
}

h3 {
  font-size: clamp(1.35rem, 2.8vw, 2.4rem);
  line-height: 1.05;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

.hero__lead {
  width: min(660px, 100%);
  color: rgba(244, 247, 248, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.button::after {
  width: 12px;
  height: 12px;
  margin-left: 10px;
  content: "";
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.button--primary {
  border-color: transparent;
  color: #051015;
  background: linear-gradient(90deg, var(--cyan), var(--mint) 55%, var(--amber));
}

.button--ghost {
  background: rgba(255, 255, 255, 0.05);
}

.button:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero__signal {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 36px;
  width: min(260px, calc(100vw - 40px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.hero__signal span,
.hero__signal small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.hero__signal strong {
  display: block;
  margin: 8px 0;
  color: white;
  font-size: 3rem;
  line-height: 0.9;
}

.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px);
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: clamp(28px, 5vw, 72px);
  padding: 18px 0;
  color: rgba(244, 247, 248, 0.72);
  font-size: 0.86rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__track span {
  padding-left: 20px;
}

.chapter,
.services,
.contact {
  position: relative;
  isolation: isolate;
  padding: clamp(94px, 14vw, 176px) clamp(20px, 5vw, 72px);
}

.chapter::before,
.services::before,
.contact::before {
  position: absolute;
  inset: 8% clamp(18px, 4vw, 64px);
  z-index: -1;
  content: "";
  border-radius: clamp(28px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(91, 216, 255, 0.07), transparent 42%),
    linear-gradient(315deg, rgba(255, 184, 77, 0.07), transparent 46%);
  opacity: 0.9;
  pointer-events: none;
}

.chapter::after,
.services::after,
.contact::after {
  position: absolute;
  inset: 14% clamp(20px, 6vw, 96px);
  z-index: -1;
  content: "";
  border-radius: clamp(28px, 5vw, 72px);
  background:
    radial-gradient(circle at 16% 28%, rgba(91, 216, 255, 0.42) 0 3px, transparent 4px),
    radial-gradient(circle at 48% 18%, rgba(95, 240, 200, 0.34) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 38%, rgba(255, 184, 77, 0.32) 0 2px, transparent 3px),
    radial-gradient(circle at 66% 78%, rgba(91, 216, 255, 0.28) 0 2px, transparent 3px),
    linear-gradient(19deg, transparent 0 29%, rgba(91, 216, 255, 0.14) 29.2% 29.42%, transparent 29.7%),
    linear-gradient(153deg, transparent 0 42%, rgba(95, 240, 200, 0.12) 42.2% 42.42%, transparent 42.7%),
    linear-gradient(98deg, transparent 0 61%, rgba(255, 184, 77, 0.11) 61.2% 61.42%, transparent 61.7%);
  opacity: 0.82;
  pointer-events: none;
  mask-image: radial-gradient(circle at 52% 50%, black 0 54%, transparent 82%);
}

.chapter {
  display: grid;
  grid-template-columns: minmax(88px, 0.55fr) minmax(0, 1.8fr) minmax(220px, 0.9fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: 88vh;
}

.chapter__index {
  color: rgba(255, 255, 255, 0.12);
  font-size: clamp(5rem, 14vw, 14rem);
  font-weight: 800;
  line-height: 0.8;
}

.chapter__copy p:last-child {
  width: min(700px, 100%);
  margin-top: 26px;
  font-size: 1.05rem;
}

.depth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  perspective: 760px;
}

.depth-grid span {
  min-height: 132px;
  border: 1px solid rgba(91, 216, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(91, 216, 255, 0.14), rgba(255, 184, 77, 0.04)),
    rgba(255, 255, 255, 0.035);
  transform: rotateX(18deg) rotateY(-18deg);
  box-shadow: inset 0 0 36px rgba(91, 216, 255, 0.06);
}

.narrative {
  position: relative;
  display: grid;
  gap: clamp(60px, 12vw, 150px);
  padding: 40px clamp(20px, 5vw, 72px) clamp(110px, 14vw, 190px);
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
  min-height: 72vh;
}

.story-panel--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
}

.story-panel--reverse .story-panel__visual {
  order: 2;
}

.story-panel__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.05;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.018)),
    linear-gradient(315deg, rgba(91, 216, 255, 0.1), rgba(255, 184, 77, 0.04)),
    rgba(8, 13, 17, 0.36);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  box-shadow: var(--shadow);
}

.story-panel__visual::before,
.story-panel__visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(91, 216, 255, 0.26);
  border-radius: var(--radius);
  transform: translateZ(-40px) rotate(8deg);
}

.story-panel__visual::before {
  inset: 12%;
}

.story-panel__visual::after {
  inset: 24%;
  border-color: rgba(255, 184, 77, 0.28);
  transform: translateZ(42px) rotate(-10deg);
}

.story-panel__visual strong {
  font-size: clamp(2rem, 5vw, 5rem);
  text-transform: uppercase;
  transform: translateZ(72px);
}

.visual-line {
  position: absolute;
  width: 68%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--amber), transparent);
  transform: translateZ(90px) rotate(-28deg);
}

.story-panel__body {
  width: min(620px, 100%);
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section-heading {
  width: min(980px, 100%);
  margin-bottom: clamp(36px, 6vw, 76px);
}

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

.service-card {
  min-height: 290px;
  perspective: 1100px;
}

.service-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 290px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-card:hover .service-card__inner,
.service-card.is-active .service-card__inner {
  transform: rotateY(180deg) translateY(-8px);
}

.service-card__front,
.service-card__back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  backface-visibility: hidden;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.018)),
    linear-gradient(330deg, rgba(91, 216, 255, 0.09), transparent 54%),
    rgba(8, 13, 17, 0.4);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.service-card__front span {
  color: var(--amber);
  font-weight: 800;
}

.service-card__front h3 {
  margin: auto 0 18px;
}

.service-card__back {
  align-items: flex-start;
  justify-content: flex-end;
  border-color: rgba(91, 216, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(91, 216, 255, 0.18), rgba(255, 184, 77, 0.1)),
    rgba(7, 14, 18, 0.88);
  transform: rotateY(180deg);
}

.consultation {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 12px 28px;
  width: min(1000px, 100%);
  margin-top: clamp(42px, 7vw, 86px);
}

.consultation__tab {
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  background: transparent;
  transition: color 0.25s ease, transform 0.25s ease;
}

.consultation__tab:hover,
.consultation__tab.is-active {
  color: white;
  transform: translateX(8px);
}

.consultation__panel {
  grid-column: 2;
  max-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.consultation__panel p {
  margin: 0;
  padding: 16px 0 28px;
  color: rgba(244, 247, 248, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.consultation__panel.is-open {
  max-height: 180px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: center;
  min-height: 80vh;
}

.contact__copy p:last-child {
  width: min(680px, 100%);
  margin-top: 24px;
  color: rgba(244, 247, 248, 0.76);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.contact-hub {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 430px;
  padding: clamp(26px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.015)),
    linear-gradient(320deg, rgba(91, 216, 255, 0.13), rgba(255, 184, 77, 0.07)),
    rgba(8, 13, 17, 0.36);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.contact-hub::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(91, 216, 255, 0.18);
  border-radius: calc(var(--radius) * 0.78);
  transform: rotate(-4deg) translateZ(-20px);
}

.contact-hub::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: url("../assets/hero-atlas.png");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  mix-blend-mode: screen;
}

.contact-hub > * {
  position: relative;
  z-index: 1;
}

.contact-hub__status {
  align-self: start;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(95, 240, 200, 0.28);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(95, 240, 200, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-hub strong {
  max-width: 100%;
  margin-top: auto;
  overflow-wrap: anywhere;
  color: white;
  font-size: clamp(1.5rem, 3.6vw, 3rem);
  line-height: 1;
}

.contact-hub__link {
  width: fit-content;
  color: rgba(244, 247, 248, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  transition: color 0.25s ease, transform 0.25s ease;
}

.contact-hub__link:hover {
  color: var(--cyan);
  transform: translateX(8px);
}

.contact-hub p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 0.85rem;
}

.split-text .char {
  display: inline-block;
  transform-origin: 50% 80%;
}

.noscript {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  max-width: 320px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--panel-solid);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .chapter,
  .story-panel,
  .story-panel--reverse,
  .service-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .story-panel--reverse .story-panel__visual {
    order: 0;
  }

  .chapter__index {
    font-size: clamp(4rem, 22vw, 9rem);
  }

  .depth-grid {
    max-width: 520px;
  }

  .consultation {
    grid-template-columns: 1fr;
  }

  .consultation__panel {
    grid-column: 1;
  }

}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    width: 42px;
    min-height: 36px;
    padding: 0;
    font-size: 0;
  }

  .header-action::before {
    width: 10px;
    height: 10px;
    content: "";
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
  }

  .hero {
    min-height: 94vh;
    padding: 108px 18px 92px;
  }

  h1 {
    max-width: 100%;
    font-size: 3.45rem;
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .split-text {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero__image img {
    object-position: 64% center;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.92), rgba(5, 7, 10, 0.55)),
      linear-gradient(180deg, rgba(5, 7, 10, 0.08) 0, rgba(5, 7, 10, 0.92) 100%);
  }

  .hero__signal {
    left: 18px;
    right: 18px;
    bottom: 22px;
    width: auto;
    padding: 14px;
  }

  .hero__signal strong {
    font-size: 2.2rem;
  }

  .button {
    width: 100%;
  }

  .chapter,
  .services,
  .contact {
    padding-inline: 18px;
  }

  .story-panel {
    min-height: auto;
  }

  .story-panel__visual {
    aspect-ratio: 1.18;
  }

  .service-card,
  .service-card__inner,
  .service-card__front,
  .service-card__back {
    min-height: 240px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .space-canvas {
    display: none;
  }

  .reveal,
  [data-panel],
  .service-card,
  .contact-hub {
    opacity: 1;
  }
}
