:root {
  color-scheme: light;
  --ink: #171512;
  --ink-soft: #3c352e;
  --paper: #f3ead9;
  --paper-deep: #e3cfad;
  --board: #c59756;
  --board-line: rgba(54, 33, 16, 0.52);
  --cinnabar: #b93f2d;
  --jade: #1f6c5a;
  --indigo: #253655;
  --gold: #b8893c;
  --mist: rgba(255, 252, 244, 0.82);
  --line: rgba(54, 33, 16, 0.16);
  --shadow: 0 24px 80px rgba(29, 20, 11, 0.24);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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

[id] {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 72% 8%, rgba(31, 108, 90, 0.13), transparent 35%),
    radial-gradient(ellipse at 14% 12%, rgba(185, 63, 45, 0.1), transparent 32%),
    linear-gradient(90deg, rgba(23, 21, 18, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(23, 21, 18, 0.03) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--paper);
  color: var(--ink);
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold), var(--jade));
  box-shadow: 0 0 18px rgba(185, 63, 45, 0.42);
}

.cursor-aura {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(230, 182, 96, 0.22);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
}

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 252, 244, 0.28);
  background: rgba(28, 23, 17, 0.62);
  color: #fff7e7;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(22, 17, 10, 0.24);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  padding: 6px 10px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, #fff 0 9%, transparent 10%),
    radial-gradient(circle at 50% 52%, #151311 0 56%, #382d23 57% 100%);
  box-shadow: 14px 0 0 #f6ead4;
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(255, 247, 231, 0.82);
  font-size: 14px;
}

.nav-links a:hover {
  background: rgba(255, 247, 231, 0.12);
  color: #fff7e7;
}

.section {
  position: relative;
  padding: 96px max(24px, calc((100vw - 1160px) / 2));
}

.hero {
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  overflow: hidden;
  padding-top: 160px;
  color: #fff7e7;
  isolation: isolate;
}

.hero-bg,
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(16, 13, 10, 0.9), rgba(16, 13, 10, 0.44) 48%, rgba(16, 13, 10, 0.76)),
    url("./assets/illustrations/overview.png") center / cover no-repeat;
  transform: scale(1.05);
}

.hero-vignette {
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(230, 182, 96, 0.14) 0 1px, transparent 1px 16%),
    radial-gradient(circle at 70% 35%, transparent 0 20%, rgba(14, 11, 8, 0.72) 58%, rgba(14, 11, 8, 0.96) 100%),
    linear-gradient(180deg, rgba(14, 11, 8, 0.15), rgba(14, 11, 8, 0.88));
}

.hero-route-map {
  position: absolute;
  right: max(28px, calc((100vw - 1160px) / 2));
  bottom: 15%;
  z-index: -1;
  width: min(42vw, 520px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 247, 231, 0.13);
  background:
    linear-gradient(rgba(255, 247, 231, 0.13) 1px, transparent 1px) 0 0 / calc(100% / 8) calc(100% / 8),
    linear-gradient(90deg, rgba(255, 247, 231, 0.13) 1px, transparent 1px) 0 0 / calc(100% / 8) calc(100% / 8);
  opacity: 0.56;
  transform: rotate(-5deg);
}

.route-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(230, 182, 96, 0.82), transparent);
  transform-origin: left center;
}

.route-line-a {
  left: 17%;
  top: 29%;
  width: 58%;
  transform: rotate(18deg);
}

.route-line-b {
  left: 35%;
  top: 56%;
  width: 44%;
  transform: rotate(-28deg);
}

.route-line-c {
  left: 12%;
  top: 72%;
  width: 70%;
  transform: rotate(4deg);
}

.hero-stone {
  position: absolute;
  width: clamp(22px, 3.8vw, 48px);
  height: clamp(22px, 3.8vw, 48px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.28), transparent 18%),
    #12100d;
  box-shadow:
    inset 0 -10px 18px rgba(0, 0, 0, 0.3),
    0 20px 46px rgba(0, 0, 0, 0.28);
}

.hero-stone:nth-of-type(even) {
  background:
    radial-gradient(circle at 30% 24%, #fff 0 15%, transparent 16%),
    #f7ebd2;
}

.stone-a {
  left: 15%;
  top: 25%;
}

.stone-b {
  left: 74%;
  top: 42%;
}

.stone-c {
  left: 39%;
  top: 68%;
}

.stone-d {
  left: 82%;
  top: 76%;
}

.hero-coordinate {
  position: absolute;
  right: 14px;
  bottom: 10px;
  color: rgba(255, 247, 231, 0.42);
  font-family: "Hiragino Sans GB", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-content {
  width: min(780px, 100%);
  padding-bottom: 44px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cinnabar);
  font-family: "Hiragino Sans GB", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e6b660;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
}

h1 {
  max-width: 780px;
  font-size: clamp(50px, 7.6vw, 112px);
}

h2 {
  font-size: clamp(32px, 4.2vw, 60px);
}

h3 {
  margin: 0;
}

.hero-copy {
  width: min(660px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 247, 231, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.75;
}

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

.icon-button {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 247, 231, 0.36);
  border-radius: 50%;
  color: #fff7e7;
  font-family: "Hiragino Sans GB", "PingFang SC", sans-serif;
  font-size: 22px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.icon-button.primary {
  background: #fff7e7;
  color: var(--ink);
}

.icon-button.ghost {
  background: rgba(255, 247, 231, 0.1);
}

.icon-button:hover {
  transform: translateY(-3px);
}

.hero-signal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 247, 231, 0.2);
  background: rgba(255, 247, 231, 0.16);
}

.hero-signal div {
  min-height: 112px;
  padding: 20px;
  background: rgba(20, 16, 11, 0.72);
  backdrop-filter: blur(10px);
}

.hero-signal span,
.hero-signal em {
  display: block;
  color: rgba(255, 247, 231, 0.62);
  font-family: "Hiragino Sans GB", "PingFang SC", sans-serif;
  font-size: 13px;
  font-style: normal;
}

.hero-signal strong {
  display: inline-block;
  margin-top: 8px;
  margin-right: 12px;
  font-size: clamp(18px, 2vw, 26px);
}

.section-heading {
  width: min(920px, 100%);
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  width: min(760px, 100%);
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.8;
}

.board-section {
  background:
    linear-gradient(180deg, rgba(243, 234, 217, 0.96), rgba(232, 215, 184, 0.92)),
    var(--paper);
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.go-board {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border: 12px solid #6a3f1d;
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.16), transparent 26%),
    radial-gradient(circle at 20% 18%, rgba(255, 239, 179, 0.28), transparent 34%),
    linear-gradient(135deg, #d7a15c, #b97b3c 54%, #d8a865);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
}

.go-board::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: conic-gradient(from 180deg at 52% 48%, transparent 0 28%, rgba(255, 247, 231, 0.16) 32%, transparent 38% 100%);
  opacity: 0.68;
  pointer-events: none;
}

.go-board::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 247, 231, 0.22);
  pointer-events: none;
}

.board-grid {
  position: absolute;
  inset: 7.5%;
  background:
    linear-gradient(var(--board-line) 1px, transparent 1px) 0 0 / calc(100% / 18) calc(100% / 18),
    linear-gradient(90deg, var(--board-line) 1px, transparent 1px) 0 0 / calc(100% / 18) calc(100% / 18);
  border-right: 1px solid var(--board-line);
  border-bottom: 1px solid var(--board-line);
}

.hoshi {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(54, 33, 16, 0.64);
  transform: translate(-50%, -50%);
}

.hoshi-a {
  left: 23.5%;
  top: 23.5%;
}

.hoshi-b {
  right: 23.5%;
  top: 23.5%;
}

.hoshi-c {
  left: 50%;
  top: 50%;
}

.hoshi-d {
  left: 23.5%;
  bottom: 23.5%;
}

.hoshi-e {
  right: 23.5%;
  bottom: 23.5%;
}

.stone-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.stone-route,
.board-pulse-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stone-route {
  z-index: 2;
  overflow: visible;
}

.stone-route path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

#stonePath {
  stroke: rgba(66, 39, 17, 0.24);
  stroke-width: 0.42;
  stroke-dasharray: 2 2.6;
}

#activePath {
  stroke: var(--cinnabar);
  stroke-width: 0.72;
  filter: drop-shadow(0 2px 5px rgba(185, 63, 45, 0.32));
}

.board-pulse-layer {
  z-index: 4;
}

.board-pulse {
  position: absolute;
  width: clamp(54px, 8vw, 86px);
  height: clamp(54px, 8vw, 86px);
  border: 2px solid rgba(185, 63, 45, 0.72);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.18);
}

.stone {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(36px, 5.8vw, 58px);
  height: clamp(36px, 5.8vw, 58px);
  border: 0;
  border-radius: 50%;
  color: #fff7e7;
  cursor: pointer;
  transform: translate(-50%, -50%);
  will-change: transform;
  transform-style: preserve-3d;
}

.stone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.32), transparent 17%),
    radial-gradient(circle at 65% 80%, rgba(0, 0, 0, 0.44), transparent 46%),
    #171512;
  box-shadow:
    inset 0 1px 4px rgba(255, 255, 255, 0.16),
    inset 0 -9px 18px rgba(0, 0, 0, 0.34),
    0 12px 18px rgba(37, 22, 10, 0.34);
}

.stone.white {
  color: var(--ink);
}

.stone.white::before {
  background:
    radial-gradient(circle at 30% 24%, #fff 0 16%, transparent 17%),
    radial-gradient(circle at 65% 78%, rgba(185, 155, 105, 0.4), transparent 46%),
    #f7ebd2;
}

.stone.active::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid var(--cinnabar);
  border-radius: inherit;
  box-shadow: 0 0 0 5px rgba(185, 63, 45, 0.14);
}

.stone:hover::before {
  box-shadow:
    inset 0 1px 4px rgba(255, 255, 255, 0.18),
    inset 0 -9px 18px rgba(0, 0, 0, 0.3),
    0 18px 28px rgba(37, 22, 10, 0.38);
}

.stone span {
  position: relative;
  z-index: 1;
  font-family: "Hiragino Sans GB", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.term-panel {
  --panel-sweep: -120%;
  position: relative;
  min-height: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 252, 244, 0.92), rgba(244, 233, 212, 0.86)),
    var(--paper);
  box-shadow: 0 18px 52px rgba(57, 40, 19, 0.12);
  overflow: hidden;
}

.term-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent),
    linear-gradient(90deg, rgba(185, 63, 45, 0.08), transparent 38%, rgba(31, 108, 90, 0.08));
  opacity: 0.72;
  transform: translateX(var(--panel-sweep));
  pointer-events: none;
}

.panel-kicker {
  margin: 0 0 12px;
  color: var(--jade);
  font-family: "Hiragino Sans GB", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.term-panel h3 {
  font-size: clamp(30px, 4vw, 48px);
}

.term-panel dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.term-panel dl > div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.term-panel dt {
  margin-bottom: 8px;
  color: var(--cinnabar);
  font-family: "Hiragino Sans GB", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.term-panel dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.72;
}

.term-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.chip {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(23, 21, 18, 0.18);
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.66);
  color: var(--ink-soft);
  cursor: pointer;
}

.chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff7e7;
}

.model-section {
  background:
    linear-gradient(135deg, rgba(185, 63, 45, 0.12), transparent 30%, rgba(31, 108, 90, 0.16)),
    #1b1a17;
  color: #fff7e7;
  overflow: hidden;
}

.model-section .eyebrow {
  color: #e6b660;
}

.model-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 247, 231, 0.16);
  border-radius: 999px;
  background: rgba(255, 247, 231, 0.08);
}

.tab-button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 247, 231, 0.72);
  cursor: pointer;
}

.tab-button.active {
  background: #fff7e7;
  color: var(--ink);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.model-card {
  --card-sweep: -120%;
  position: relative;
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgba(255, 247, 231, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 247, 231, 0.12), rgba(255, 247, 231, 0.03)),
    #24211c;
  overflow: hidden;
}

.model-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(230, 182, 96, 0.12), transparent);
  transform: translateX(var(--card-sweep));
}

.model-card span {
  color: #e6b660;
  font-family: "Hiragino Sans GB", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.model-card h3 {
  margin-top: 28px;
  font-size: 27px;
}

.model-card p {
  min-height: 116px;
  margin: 16px 0 24px;
  color: rgba(255, 247, 231, 0.72);
  font-size: 17px;
  line-height: 1.7;
}

.meter {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 247, 231, 0.12);
}

.meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold), var(--jade));
}

.cases-section {
  background: #efe1c7;
}

.case-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 16px;
}

.case-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 18, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.76);
  box-shadow: 0 14px 36px rgba(57, 40, 19, 0.1);
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(185, 63, 45, 0);
  pointer-events: none;
  transition: border-color 180ms ease;
}

.case-card:hover::after {
  border-color: rgba(185, 63, 45, 0.36);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-card div {
  padding: 22px;
}

.case-card span {
  color: var(--jade);
  font-family: "Hiragino Sans GB", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.case-card h3 {
  margin-top: 10px;
  font-size: 25px;
  line-height: 1.2;
}

.case-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.runway-section {
  background:
    linear-gradient(90deg, rgba(185, 63, 45, 0.08), transparent 34%, rgba(31, 108, 90, 0.09)),
    var(--paper);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 39px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--cinnabar), var(--gold), var(--jade));
}

.time-node {
  position: relative;
  padding: 74px 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 252, 244, 0.76);
}

.time-node::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 18px;
  width: 20px;
  height: 20px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 2px rgba(23, 21, 18, 0.24);
}

.time-node span {
  color: var(--cinnabar);
  font-family: "Hiragino Sans GB", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.time-node h3 {
  margin-top: 12px;
  font-size: 23px;
}

.time-node p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.media-section {
  background: #211d18;
  color: #fff7e7;
}

.media-section .eyebrow {
  color: #e6b660;
}

.media-section .section-heading p {
  color: rgba(255, 247, 231, 0.72);
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.65fr);
  gap: 18px;
  align-items: stretch;
}

.video-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 247, 231, 0.16);
  border-radius: var(--radius);
  background: #090806;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

.video-shell video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.slide-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  perspective: 900px;
}

.slide-stack img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  border: 1px solid rgba(255, 247, 231, 0.18);
  border-radius: var(--radius);
  object-fit: cover;
  transform-origin: center;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  margin-top: 22px;
}

.gallery-feature {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 247, 231, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 247, 231, 0.06);
}

.gallery-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-feature figcaption {
  padding: 16px 18px;
  color: rgba(255, 247, 231, 0.78);
  font-size: 17px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.thumb {
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.thumb.active {
  border-color: #e6b660;
}

.thumb:hover {
  border-color: rgba(230, 182, 96, 0.52);
}

.thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 22px max(24px, calc((100vw - 1160px) / 2));
  background: #14120f;
  color: rgba(255, 247, 231, 0.78);
}

.footer a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 247, 231, 0.24);
  border-radius: 50%;
  color: #fff7e7;
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .cursor-aura {
    display: none !important;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 92svh;
    padding-top: 150px;
  }

  .hero-route-map {
    right: 18px;
    bottom: 26%;
    width: min(58vw, 420px);
    opacity: 0.34;
  }

  .hero-signal,
  .board-layout,
  .media-layout,
  .gallery {
    grid-template-columns: 1fr;
  }

  .model-grid,
  .case-rail,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 78px 18px;
  }

  .hero {
    align-content: start;
    padding-top: 188px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-content {
    padding-bottom: 28px;
  }

  .hero-route-map {
    width: 82vw;
    bottom: 36%;
    left: 9vw;
    right: auto;
  }

  .hero-signal div {
    min-height: auto;
  }

  .go-board {
    min-height: 0;
    border-width: 8px;
  }

  .model-grid,
  .case-rail,
  .timeline {
    grid-template-columns: 1fr;
  }

  .model-card {
    min-height: auto;
  }

  .model-card p {
    min-height: auto;
  }

  .slide-stack,
  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@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;
  }

  .cursor-aura {
    display: none;
  }
}
