:root {
  --bg: #f5f1eb;
  --paper: #fbf8f3;
  --ink: #171614;
  --muted: #6f6a64;
  --line: rgba(23, 22, 20, 0.14);
  --gold: #b89a67;
  --charcoal: #121212;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  color: #fff;
  mix-blend-mode: difference;
}

.brand {
  letter-spacing: 0.24em;
  font-size: 14px;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.hero-media img {
  transform: scale(1.06);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 13, 12, 0.68), rgba(14, 13, 12, 0.18) 58%, rgba(14, 13, 12, 0.28)),
    linear-gradient(180deg, rgba(12, 12, 12, 0.08), rgba(12, 12, 12, 0.72));
}

.hero-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  width: min(620px, calc(100% - 64px));
  margin: 0 0 72px 32px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-size: 12px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.12;
  letter-spacing: 0.03em;
}

.lede {
  max-width: 540px;
  margin: 22px 0 32px;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  text-decoration: none;
  transition: all 260ms ease;
  backdrop-filter: blur(8px);
}

.cta:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.intro {
  padding: 108px 0 88px;
}

.intro p {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.55;
}

.feature {
  padding: 40px 0 120px;
}

.section-head {
  margin-bottom: 42px;
}

.section-head h2,
.closing h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.2;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: start;
}

.media-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ddd;
  min-height: 320px;
}

.media-card.wide {
  min-height: 420px;
}

.media-card.tall {
  min-height: 560px;
}

.media-card img {
  transition: transform 900ms cubic-bezier(.2,.8,.2,1);
}

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

.copy-block {
  padding: 8px 8px 8px 0;
}

.copy-block h3 {
  margin-bottom: 16px;
  font-size: 28px;
}

.copy-block p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.feature-dark {
  margin-top: 18px;
  padding: 120px 0;
  color: #f8f4ef;
  background: var(--charcoal);
}

.feature-dark .copy-block p {
  color: rgba(248,244,239,0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

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

.tech-panel {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: 28px;
}

.tech-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.72));
}

.tech-panel div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
}

.tech-panel span,
.tech-panel strong {
  display: block;
}

.tech-panel span {
  margin-bottom: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.tech-panel strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.journey ul {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.journey li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.closing {
  padding: 110px 0 120px;
  background: var(--paper);
  text-align: center;
}

.closing p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px auto 30px;
  color: var(--muted);
  line-height: 1.8;
}

.cta-dark {
  color: var(--ink);
  border-color: rgba(23,22,20,0.28);
}

.cta-dark:hover {
  border-color: var(--ink);
  background: rgba(23,22,20,0.06);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(.2,.8,.2,1);
}

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

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

  nav {
    gap: 18px;
  }

  .shell {
    width: min(100% - 40px, 1180px);
  }

  .hero-copy {
    width: calc(100% - 40px);
    margin: 0 20px 40px;
  }

  .intro {
    padding: 76px 0 64px;
  }

  .feature,
  .feature-dark {
    padding: 28px 0 76px;
  }

  .feature-grid,
  .split,
  .journey {
    grid-template-columns: 1fr;
  }

  .media-card.wide,
  .media-card.tall,
  .media-card {
    min-height: 260px;
  }

  .copy-block h3 {
    font-size: 24px;
  }

  .journey ul {
    flex-wrap: wrap;
  }

  .closing {
    padding: 84px 0 90px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
