/* ==========================================================================
   RobotIC · SCUT — 华南理工大学 RobotIC 机器人实验室
   Design system & site styles
   ========================================================================== */

:root {
  --bg: #0b0c0e;
  --bg-2: #101216;
  --surface: #14161b;
  --surface-2: #191c22;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f4f5f7;
  --ink-2: #c9cdd6;
  --muted: #8d94a1;
  --red: #e8261a;
  --red-2: #ff5b3d;
  --red-dim: rgba(232, 38, 26, 0.12);
  --navy: #1b3b6f;
  --ok: #37d67a;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", "Cascadia Mono", Consolas,
    "Liberation Mono", monospace;

  --container: 1240px;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red-2);
  outline-offset: 3px;
}

/* ---------- layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.container--wide {
  max-width: 1480px;
}

.section {
  padding: 104px 0;
  position: relative;
}

.section--tight {
  padding: 72px 0;
}

.section--alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-head__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.section-head__label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--red);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.section-head__note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.9;
  color: var(--ink-2);
}

.mono-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.accent {
  color: var(--red-2);
}

/* ---------- top bar ---------- */

.topbar {
  background: #08090b;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 40px;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.topbar__brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__sep {
  flex: none;
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.22);
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.topbar__meta a:hover {
  color: var(--ink);
}

.dot-live {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(232, 38, 26, 0.5);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(232, 38, 26, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 38, 26, 0);
  }
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 12, 14, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-stuck {
  background: rgba(8, 9, 11, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
}

.brand img {
  height: 38px;
  width: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__text strong {
  font-size: 15px;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.brand__text span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  display: block;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__links a[aria-current="page"] {
  color: var(--ink);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__toggle span::before {
  top: -6px;
}

.nav__toggle span::after {
  top: 6px;
}

.nav.is-open .nav__toggle span {
  background: transparent;
}

.nav.is-open .nav__toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav.is-open .nav__toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: #ff3a25;
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.btn--light {
  background: #fff;
  color: #111;
}

.btn--light:hover {
  background: #e9e9e9;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--red-2);
  font-weight: 600;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.02);
  filter: brightness(0.62) contrast(1.08) saturate(0.85);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 12, 14, 0.97) 0%, rgba(11, 12, 14, 0.9) 30%, rgba(11, 12, 14, 0.45) 58%, rgba(11, 12, 14, 0.55) 100%),
    linear-gradient(180deg, rgba(11, 12, 14, 0.72) 0%, transparent 24%, transparent 58%, rgba(11, 12, 14, 0.96) 100%);
}

.hero__inner {
  width: 100%;
  padding: 100px 0 0;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 26px;
}

.hero__eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--red);
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(38px, 5.8vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero h1 .line-2 {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.42);
  font-weight: 700;
}

.hero__sub {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: clamp(15px, 1.3vw, 17.5px);
  line-height: 1.85;
  color: var(--ink-2);
}

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

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.chip b {
  color: var(--ink);
  font-weight: 600;
}

.chip--red {
  border-color: rgba(232, 38, 26, 0.5);
  background: rgba(232, 38, 26, 0.12);
  color: #ffd9d4;
}

.hero__stats {
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 44px;
}

.hero__stats div {
  padding: 26px 28px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stats div:last-child {
  border-right: 0;
}

.hero__stats b {
  display: block;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__stats b small {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--ink-2);
  margin-left: 2px;
}

.hero__stats span {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.hero__scroll {
  position: absolute;
  right: 36px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--red), transparent);
}

/* ---------- page hero (sub pages) ---------- */

.page-hero {
  position: relative;
  padding: 132px 0 72px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: radial-gradient(120% 140% at 82% -10%, rgba(232, 38, 26, 0.16), transparent 55%),
    linear-gradient(180deg, #0d0e11, var(--bg));
}

.page-hero__grid {
  position: absolute;
  inset: 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: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 78%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  max-width: 780px;
}

/* decorative render on the right edge of a page hero */
.page-hero--media::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  background: url("../img/join-hero.jpg") no-repeat right center / contain;
  opacity: 0.55;
  filter: brightness(0.8) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 35%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 35%, #000 72%);
  pointer-events: none;
}

@media (max-width: 960px) {
  .page-hero--media::before {
    display: none;
  }
}

.page-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.page-hero p {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.85;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.crumb a:hover {
  color: var(--ink);
}

.crumb span {
  opacity: 0.4;
}

/* ---------- split entry cards ---------- */

.entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.entry__item {
  position: relative;
  background: var(--bg);
  padding: 56px 52px;
  overflow: hidden;
  transition: background 0.3s var(--ease);
}

.entry__item::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 38, 26, 0.22), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.entry__item:hover {
  background: #0f1115;
}

.entry__item:hover::after {
  opacity: 1;
}

.entry__index {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--red-2);
}

.entry__item h3 {
  margin: 20px 0 12px;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.entry__item p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 380px;
}

/* ---------- stats row ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface), #101215);
}

.stats__item {
  padding: 34px 30px;
  border-right: 1px solid var(--line);
}

.stats__item:last-child {
  border-right: 0;
}

.stats__item b {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stats__item b small {
  font-size: 0.42em;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
  letter-spacing: 0;
}

.stats__item span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- about blocks ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.about-copy p {
  margin: 0 0 20px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.95;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.quote {
  position: relative;
  margin: 0;
  padding: 34px 34px 34px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--red);
  border-radius: var(--radius);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.75;
  letter-spacing: -0.01em;
}

.quote small {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.fact-list li {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.fact-list span {
  flex: none;
  width: 116px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  padding-top: 3px;
}

.fact-list b {
  font-weight: 500;
  color: var(--ink-2);
}

/* ---------- cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.3s var(--ease);
}

.card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.card--flat:hover {
  transform: none;
}

.card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--red-2);
  margin-bottom: 22px;
}

.card__icon svg {
  width: 19px;
  height: 19px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.card--media {
  padding: 0;
  overflow: hidden;
}

.card--media .card__body {
  padding: 28px 30px 32px;
}

.card__figure {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #a1a6aa;
  overflow: hidden;
}

.card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease);
}

.card--contain .card__figure img {
  object-fit: contain;
}

.card--media:hover .card__figure img {
  transform: scale(1.04);
}

.card__tag {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 5px 11px;
  background: rgba(8, 9, 11, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(6px);
}

.card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.card__specs span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- robot showcase ---------- */

.showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.showcase__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #a1a6aa;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
}

.showcase__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.showcase__item:hover img {
  transform: scale(1.03);
}

.showcase__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 9, 11, 0.9) 100%);
}

.showcase__body {
  position: relative;
  z-index: 2;
  padding: 34px;
  width: 100%;
}

.showcase__body h3 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.showcase__body p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 340px;
}

.showcase__body .card__specs {
  margin-top: 14px;
}

.showcase__body .card__specs span {
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.25);
}

/* ---------- timeline ---------- */

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 136px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--red), rgba(255, 255, 255, 0.08) 22%, rgba(255, 255, 255, 0.08) 88%, transparent);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 114px 1fr;
  gap: 46px;
  padding: 0 0 40px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline__date {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  padding-top: 2px;
  text-align: right;
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 132px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--red);
  transition: background 0.3s;
}

.timeline li.is-major::after {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(232, 38, 26, 0.16);
}

.timeline__body h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
}

.timeline__body p {
  margin: 0;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.8;
}

.timeline__awards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.timeline__awards span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
}

.timeline__awards span.first {
  border-color: rgba(232, 38, 26, 0.55);
  background: var(--red-dim);
  color: #ffc7bf;
}

/* ---------- groups / tabs ---------- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.tab {
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.22s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.tab span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.tab:hover {
  color: var(--ink);
  border-color: var(--line-2);
}

.tab[aria-selected="true"] {
  background: #fff;
  border-color: #fff;
  color: #0b0c0e;
}

.tab[aria-selected="true"] span {
  color: var(--red);
  opacity: 1;
}

.panel[hidden] {
  display: none;
}

.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  background: linear-gradient(180deg, var(--surface), rgba(20, 22, 27, 0.4));
}

.panel h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
}

.panel .lede {
  font-size: 15px;
  color: var(--ink-2);
}

.panel__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.panel__list li {
  padding: 13px 0 13px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  position: relative;
}

.panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 1px;
  background: var(--red);
}

.panel__aside {
  border-left: 1px solid var(--line);
  padding-left: 44px;
}

.panel__aside h4 {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack span {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 12.5px;
  color: var(--ink-2);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* ---------- awards table ---------- */

.awards {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.awards__row {
  display: grid;
  grid-template-columns: 120px 1fr 300px;
  gap: 28px;
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background 0.25s;
}

.awards__row:last-child {
  border-bottom: 0;
}

.awards__row:hover {
  background: rgba(255, 255, 255, 0.018);
}

.awards__row--head {
  background: var(--surface);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 15px 30px;
}

.awards__year {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.awards__year small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.awards__name {
  font-size: 15px;
  color: var(--ink-2);
}

.awards__name b {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  margin-bottom: 6px;
}

.awards__name em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-2);
}

.awards__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.awards__list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 13.8px;
  color: var(--ink-2);
}

.medal {
  flex: none;
  width: 30px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-top: 1px;
}

.medal--1 {
  color: var(--red-2);
}

/* ---------- partner wall ---------- */

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

.partner {
  display: grid;
  place-items: center;
  height: 112px;
  padding: 20px 26px;
  background: #fff;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease);
}

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

.partner img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(200px, 100%);
  max-height: 64px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(0.15);
  transition: filter 0.3s;
}

.partner:hover img {
  filter: none;
}

.partner-more {
  margin: 30px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #14161b, #0b0c0e 55%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 38, 26, 0.2), transparent 62%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0;
}

.cta h2 {
  margin: 16px 0 18px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.cta p {
  margin: 0;
  color: var(--muted);
  max-width: 480px;
  font-size: 15px;
  line-height: 1.85;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cta__card {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
}

.cta__card h3 {
  margin: 0 0 18px;
  font-size: 14px;
  font-family: var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta__card dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.cta__card div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cta__card div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cta__card dt {
  color: var(--muted);
  font-size: 13px;
}

.cta__card dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
}

/* ---------- process steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  counter-reset: step;
}

.step {
  background: var(--bg);
  padding: 30px 26px 34px;
  position: relative;
  transition: background 0.3s;
}

.step:hover {
  background: #101216;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red-2);
}

.step h3 {
  margin: 14px 0 8px;
  font-size: 15.5px;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-size: 15.5px;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq summary:hover {
  color: var(--red-2);
}

.faq p {
  margin: 0 0 22px;
  padding-right: 60px;
  color: var(--muted);
  font-size: 14.2px;
  line-height: 1.9;
}

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery button {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: #a1a6aa;
  padding: 0;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.3s;
}

.gallery button:hover img {
  transform: scale(1.05);
  opacity: 0.86;
}

.gallery button:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(5, 6, 7, 0.94);
  padding: 40px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- footer ---------- */

.footer {
  background: #07080a;
  border-top: 1px solid var(--line);
  padding: 72px 0 34px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.footer__brand img {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
}

.footer__brand p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
  max-width: 300px;
}

.footer h4 {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.footer ul a,
.footer ul li {
  font-size: 13.8px;
  color: var(--ink-2);
}

.footer ul a:hover {
  color: var(--red-2);
}

.footer__qr {
  display: flex;
  gap: 14px;
}

.footer__qr figure {
  margin: 0;
  text-align: center;
}

.footer__qr img {
  width: 92px;
  height: 92px;
  background: #fff;
  padding: 5px;
  border-radius: var(--radius);
}

.footer__qr figcaption {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 12.5px;
  color: #6b7280;
}

.footer__bottom a:hover {
  color: var(--ink-2);
}

/* ---------- 3D model viewer ---------- */

.model-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 18px;
  scrollbar-width: thin;
}

.model-tab {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 196px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.model-tab:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.model-tab.is-active {
  border-color: rgba(232, 38, 26, 0.65);
  background: linear-gradient(150deg, rgba(232, 38, 26, 0.16), rgba(20, 22, 27, 0.6));
}

.model-tab__season {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.model-tab.is-active .model-tab__season {
  color: var(--red-2);
}

.model-tab__name {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
}

.model-tab__badge {
  font-size: 11.5px;
  color: var(--muted);
}

.viewer {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(120% 130% at 50% 0%, #1b212a 0%, #101317 52%, #090a0c 100%);
}

.viewer__stage {
  position: relative;
  height: min(72vh, 640px);
  min-height: 380px;
}

.viewer__stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

.viewer__stage canvas:active {
  cursor: grabbing;
}

.viewer__hud {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}

.viewer__status {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.viewer__tools {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.viewer__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(10, 11, 13, 0.72);
  color: var(--ink-2);
  font-size: 12.5px;
  backdrop-filter: blur(6px);
  transition: all 0.22s var(--ease);
}

.viewer__btn svg {
  width: 14px;
  height: 14px;
}

.viewer__btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.viewer__btn.is-on {
  border-color: rgba(232, 38, 26, 0.6);
  background: rgba(232, 38, 26, 0.22);
  color: #fff;
}

.viewer__hint {
  position: absolute;
  left: 20px;
  bottom: 18px;
  display: flex;
  gap: 16px;
  font-size: 11.5px;
  color: var(--muted);
  pointer-events: none;
}

.viewer__hint span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 7px;
  vertical-align: middle;
}

.viewer__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}

.viewer__progress.is-active {
  opacity: 1;
}

.viewer__progress .bar {
  height: 100%;
  width: 0;
  background: var(--red);
  transition: width 0.2s linear;
}

.viewer__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.viewer__note {
  margin: 0;
}

.viewer__fallback {
  padding: 40px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .viewer__stage {
    height: 58vh;
  }

  .viewer__hint {
    display: none;
  }

  .model-tab {
    min-width: 168px;
  }
}

/* ---------- reveal animation ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .dot-live {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .about-grid,
  .panel,
  .cta__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .panel__aside {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 32px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .awards__row {
    grid-template-columns: 100px 1fr;
  }

  .awards__row .awards__list {
    grid-column: 2;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .section {
    padding: 76px 0;
  }

  .topbar__meta span:first-child {
    display: none;
  }

  .nav {
    height: 68px;
    gap: 16px;
  }

  .nav__links {
    position: fixed;
    inset: 108px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0a0b0d;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 26px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    max-height: calc(100vh - 108px);
    overflow: auto;
  }

  .nav.is-open .nav__links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav__links a {
    padding: 15px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav__links li:last-child a {
    border-bottom: 0;
  }

  .nav__links a::after {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__actions .btn {
    display: none;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 52px;
  }

  .hero__stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0 18px;
  }

  .hero__stats div:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 18px;
  }

  .hero__scroll {
    display: none;
  }

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

  .entry__item {
    padding: 40px 28px;
  }

  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

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

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats__item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .timeline::before {
    left: 7px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 34px;
    padding-left: 34px;
  }

  .timeline__date {
    text-align: left;
    color: var(--red-2);
  }

  .timeline li::after {
    left: 3px;
    top: 7px;
  }

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

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery button:first-child {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .awards__row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .awards__row .awards__list {
    grid-column: 1;
  }

  .awards__row--head {
    display: none;
  }

  .awards__year {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .awards__year small {
    margin: 0;
  }

  .panel {
    padding: 30px 24px;
  }

  .faq p {
    padding-right: 0;
  }

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

@media (max-width: 560px) {
  .container {
    padding: 0 20px;
  }

  .hero__inner {
    padding-top: 92px;
  }

  .step {
    padding: 24px 20px 28px;
  }

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

  .footer__qr img {
    width: 78px;
    height: 78px;
  }
}
