:root {
  --bg: #09111f;
  --bg-soft: #0f1d31;
  --bg-card: rgba(14, 24, 40, 0.76);
  --bg-card-strong: rgba(20, 34, 56, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5efe4;
  --muted: #b2bfd5;
  --muted-strong: #d6dfef;
  --accent: #d5ff5f;
  --accent-deep: #c3f037;
  --accent-alt: #ff845f;
  --accent-cool: #78d9ff;
  --shadow: 0 30px 120px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Outfit", "Noto Sans SC", "PingFang SC", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(120, 217, 255, 0.12), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(213, 255, 95, 0.08), transparent 28%),
    linear-gradient(180deg, #081120 0%, #0b1525 40%, #09111f 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  opacity: 0.18;
}

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

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

p {
  margin: 0;
  line-height: 1.75;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  letter-spacing: -0.03em;
}

section {
  position: relative;
  padding: 84px 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.32;
  pointer-events: none;
}

.page-glow-a {
  width: 320px;
  height: 320px;
  top: 12%;
  left: -120px;
  background: rgba(255, 132, 95, 0.28);
}

.page-glow-b {
  width: 360px;
  height: 360px;
  right: -160px;
  bottom: 18%;
  background: rgba(120, 217, 255, 0.22);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(7, 13, 24, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.hero {
  padding-top: 96px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

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

.hero-copy,
.hero-panel,
.case-card,
.artifact-card,
.proof-card,
.approach-card,
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-copy {
  padding: 42px;
  border-radius: var(--radius-xl);
}

.hero-panel {
  padding: 26px;
  border-radius: var(--radius-xl);
  display: grid;
  gap: 16px;
  align-content: start;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 1.06;
  margin-bottom: 24px;
}

.hero-intro {
  max-width: 720px;
  color: var(--muted-strong);
  font-size: 1.05rem;
}

.hero-intro + .hero-intro {
  margin-top: 12px;
}

.hero-intro-muted {
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: #081120;
  background: linear-gradient(135deg, var(--accent) 0%, #f3ffb3 100%);
  box-shadow: 0 14px 40px rgba(213, 255, 95, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.hero-note {
  margin-top: 28px;
  padding: 18px 18px 18px 20px;
  border-left: 3px solid var(--accent-alt);
  background: rgba(255, 132, 95, 0.08);
  border-radius: 16px;
}

.note-tag {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--accent-alt);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-title {
  margin-bottom: 4px;
  color: var(--accent-cool);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.9rem;
}

.signal-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-card-mini {
  background: linear-gradient(135deg, rgba(120, 217, 255, 0.1), rgba(213, 255, 95, 0.08));
}

.signal-label {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.signal-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.signal-values span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 0.92rem;
}

.signal-copy {
  color: var(--muted-strong);
  font-size: 0.96rem;
}

.proof-strip {
  padding-top: 10px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.proof-card {
  padding: 20px 18px;
  border-radius: 22px;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proof-value {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
}

.proof-label {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 14px;
}

.section-heading p:last-child {
  color: var(--muted);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.approach-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.approach-index {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(213, 255, 95, 0.18), rgba(120, 217, 255, 0.15));
  color: var(--accent);
  font-weight: 800;
}

.approach-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.approach-card p {
  color: var(--muted);
}

.insight-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.insight-band span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
}

.cases {
  padding-top: 76px;
}

.case-card {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.case-card + .case-card {
  margin-top: 20px;
}

.case-card-highlight {
  background:
    linear-gradient(135deg, rgba(213, 255, 95, 0.08), transparent 26%),
    rgba(14, 24, 40, 0.8);
}

.case-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.case-tag {
  color: var(--accent-cool);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.86rem;
  margin-bottom: 10px;
}

.case-head h3 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.case-period {
  white-space: nowrap;
  color: var(--muted);
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 20px;
}

.case-copy > p:first-child {
  margin-bottom: 18px;
  color: var(--muted-strong);
}

.bullet-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--muted-strong);
}

.bullet-list li::marker {
  color: var(--accent);
}

.bullet-list-tight {
  gap: 8px;
}

.case-side,
.case-visuals {
  display: grid;
  gap: 14px;
}

.mini-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.case-note {
  margin-top: 18px;
  color: var(--accent-cool);
}

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

.visual-card,
.event-card,
.gallery-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.visual-card img,
.gallery-item img,
.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.visual-card {
  min-height: 260px;
}

.visual-card-large {
  grid-column: span 2;
  min-height: 360px;
}

.visual-card figcaption,
.event-card figcaption,
.gallery-item figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 15, 27, 0.88);
}

.event-card {
  min-height: 100%;
}

.event-card img {
  max-height: 720px;
  object-fit: contain;
  background: #111925;
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.artifact-card {
  padding: 24px;
  border-radius: 22px;
}

.artifact-type {
  margin-bottom: 12px;
  color: var(--accent-alt);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.artifact-card h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.artifact-card p:last-child {
  color: var(--muted);
}

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

.gallery-item {
  grid-column: span 3;
}

.gallery-item-large {
  grid-column: span 6;
}

.gallery-item-wide {
  grid-column: span 6;
}

.gallery-item img {
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #101926;
}

.contact-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: start;
}

.contact-copy {
  max-width: 720px;
  color: var(--muted-strong);
}

.contact-meta {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-meta a {
  font-weight: 700;
}

.contact-meta p {
  color: var(--muted);
}

.site-footer {
  padding: 0 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 1100px) {
  .proof-grid,
  .artifact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-item,
  .gallery-item-large,
  .gallery-item-wide {
    grid-column: span 6;
  }
}

@media (max-width: 900px) {
  section {
    padding: 72px 0;
  }

  .hero-grid,
  .case-grid,
  .contact-card,
  .approach-grid,
  .artifact-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .case-visuals {
    grid-template-columns: 1fr 1fr;
  }

  .header-inner,
  .case-head,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-period {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 60px;
  }

  .hero-copy,
  .hero-panel,
  .case-card,
  .contact-card {
    padding: 22px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    padding: 8px 12px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.9rem);
    line-height: 1.1;
  }

  .case-visuals {
    grid-template-columns: 1fr;
  }

  .visual-card-large {
    grid-column: span 1;
  }

  .gallery-item,
  .gallery-item-large,
  .gallery-item-wide {
    grid-column: span 12;
  }

  .proof-card {
    min-height: unset;
  }
}

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

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

  .button,
  .site-nav a {
    transition: none;
  }
}
