:root {
  color-scheme: dark;
  --ink: #080908;
  --charcoal: #111311;
  --forest: #12372e;
  --forest-deep: #0d241f;
  --gold: #c8a66a;
  --gold-soft: #e1c58e;
  --wine: #6e1f2a;
  --ivory: #f1ece2;
  --muted: #aaa69d;
  --hairline: rgba(225, 197, 142, 0.24);
  --hero-x: 0px;
  --hero-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ivory);
  background: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid transparent;
  transition: background-color 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background-color: rgba(8, 9, 8, 0.9);
  border-color: rgba(225, 197, 142, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.brand-logo {
  width: 38px;
  height: 42px;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-size: 17px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  color: rgba(241, 236, 226, 0.78);
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-soft);
}

.nav-entry {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border: 1px solid rgba(225, 197, 142, 0.46);
}

.hero {
  position: relative;
  min-height: 90svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--charcoal);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  transform: translate3d(var(--hero-x), var(--hero-y), 0);
  will-change: transform;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/smart-gto-robot-hero-wide.jpg");
  background-position: 64% center;
  background-size: cover;
  animation: cinematic-breathe 14s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-shade {
  z-index: -2;
  background-color: rgba(3, 4, 3, 0.24);
  box-shadow:
    inset 52vw 0 180px rgba(0, 0, 0, 0.82),
    inset 0 -150px 120px rgba(5, 8, 6, 0.62);
}

.hero-inner,
.section-inner {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
}

.hero-inner {
  min-height: 90svh;
  display: flex;
  align-items: center;
  padding: 118px 0 84px;
}

.hero-copy {
  width: min(620px, 50vw);
  padding-top: 24px;
}

.eyebrow,
.section-index {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 48px;
  height: 1px;
  margin: 0 14px 4px 0;
  background: var(--gold);
}

h1,
h2,
p {
  letter-spacing: 0;
}

h1 {
  margin: 24px 0 20px;
  color: var(--ivory);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 92px;
  font-weight: 500;
  line-height: 0.96;
}

.hero-lead {
  margin: 0;
  color: rgba(241, 236, 226, 0.78);
  font-size: 19px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.primary-action {
  min-width: 148px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--gold);
  background: var(--wine);
  color: #fff8eb;
  font-size: 15px;
  font-weight: 650;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.text-action {
  color: rgba(241, 236, 226, 0.84);
  font-size: 14px;
}

.text-action span {
  display: inline-block;
  margin-left: 8px;
  color: var(--gold);
  transition: transform 180ms ease;
}

.text-action:hover span,
.text-action:focus-visible span {
  transform: translateX(5px);
}

.hero-signal {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 52px;
  color: rgba(241, 236, 226, 0.5);
  font-size: 11px;
}

.signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #59a47d;
  box-shadow: 0 0 0 5px rgba(89, 164, 125, 0.12);
  animation: signal-pulse 2.4s ease-out infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 28px;
  height: 46px;
  border: 1px solid rgba(225, 197, 142, 0.4);
  border-radius: 16px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: var(--gold-soft);
  transform: translateX(-50%);
  animation: scroll-drop 2s ease-in-out infinite;
}

.manifesto {
  min-height: 68vh;
  display: flex;
  align-items: center;
  background: #111411;
  border-top: 1px solid rgba(225, 197, 142, 0.08);
}

.manifesto .section-inner,
.moment .section-inner {
  padding: 104px 0;
}

.manifesto-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 90px;
  margin-top: 54px;
  align-items: end;
}

.manifesto h2,
.moment h2 {
  margin: 0;
  font-family: Didot, "Bodoni 72", "Songti SC", Georgia, serif;
  font-size: 62px;
  font-weight: 500;
  line-height: 1.16;
}

.manifesto-copy {
  padding-bottom: 8px;
}

.manifesto-copy > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  border-top: 1px solid var(--hairline);
}

.principles span {
  padding-top: 18px;
  color: var(--gold-soft);
  font-size: 14px;
}

.moment {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest-deep);
}

.moment-line {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  border-left: 1px solid rgba(225, 197, 142, 0.2);
  transform: skewX(-12deg) translateX(18%);
}

.moment-inner {
  position: relative;
}

.moment h2 {
  width: min(850px, 80%);
  margin-top: 50px;
  color: var(--ivory);
}

.moment-signature {
  margin: 72px 0 0;
  color: rgba(241, 236, 226, 0.48);
  font-size: 14px;
  font-weight: 650;
}

.moment-signature span {
  margin-left: 8px;
  color: var(--gold);
}

.site-footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1320px) / 2));
  color: rgba(241, 236, 226, 0.4);
  background: var(--ink);
  border-top: 1px solid rgba(225, 197, 142, 0.1);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal-up 760ms ease forwards;
}

.reveal-delay-1 {
  animation-delay: 120ms;
}

.reveal-delay-2 {
  animation-delay: 240ms;
}

.reveal-delay-3 {
  animation-delay: 360ms;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cinematic-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.025); }
}

@keyframes signal-pulse {
  0%, 45% { box-shadow: 0 0 0 0 rgba(89, 164, 125, 0.25); }
  100% { box-shadow: 0 0 0 10px rgba(89, 164, 125, 0); }
}

@keyframes scroll-drop {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 15px); }
}

@media (min-width: 621px) {
  .hero-media::before {
    background-position: right center;
    background-size: auto 98%;
    background-repeat: no-repeat;
    animation: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 24px;
  }

  .site-nav {
    gap: 20px;
  }

  .site-nav > a:not(.nav-entry) {
    display: none;
  }

  .hero-inner,
  .section-inner {
    width: min(100% - 48px, 720px);
  }

  .hero-copy {
    width: min(540px, 72vw);
  }

  h1 {
    font-size: 68px;
  }

  .manifesto-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .manifesto h2,
  .moment h2 {
    font-size: 50px;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 66px;
    padding: 0 18px;
  }

  .brand-logo {
    width: 32px;
    height: 36px;
  }

  .brand-name {
    font-size: 15px;
  }

  .nav-entry {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 80svh;
  }

  .hero-media::before {
    background-position: 63% center;
  }

  .hero-shade {
    background-color: rgba(2, 3, 2, 0.5);
    box-shadow:
      inset 0 260px 130px rgba(0, 0, 0, 0.42),
      inset 0 -220px 160px rgba(0, 0, 0, 0.76);
  }

  .hero-inner,
  .section-inner {
    width: calc(100% - 36px);
  }

  .hero-inner {
    min-height: 80svh;
    align-items: flex-end;
    padding: 104px 0 48px;
  }

  .hero-copy {
    width: 100%;
    padding: 0;
  }

  .eyebrow::before {
    width: 32px;
  }

  h1 {
    margin-top: 18px;
    font-size: 50px;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions {
    gap: 22px;
    margin-top: 28px;
  }

  .primary-action {
    min-width: 128px;
    min-height: 44px;
    padding: 0 18px;
  }

  .hero-signal {
    margin-top: 24px;
    color: rgba(241, 236, 226, 0.68);
  }

  .scroll-cue {
    display: none;
  }

  .manifesto .section-inner,
  .moment .section-inner {
    padding: 78px 0;
  }

  .manifesto-layout {
    margin-top: 34px;
  }

  .manifesto h2,
  .moment h2 {
    width: 100%;
    font-size: 38px;
  }

  .manifesto-copy > p {
    font-size: 16px;
  }

  .principles {
    margin-top: 30px;
  }

  .moment-signature {
    margin-top: 48px;
  }

  .site-footer {
    min-height: 78px;
    padding: 0 18px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
