:root {
  --ink: #080807;
  --graphite: #12110f;
  --graphite-2: #1c1814;
  --paper: #f0e7d7;
  --paper-2: #ded1bd;
  --text: #211b15;
  --muted: #756958;
  --muted-light: rgba(240, 231, 215, 0.7);
  --copper: #b56c43;
  --copper-bright: #d78b58;
  --line: rgba(240, 231, 215, 0.16);
  --dark-line: rgba(33, 27, 21, 0.14);
  --container: 1180px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.18;
  background:
    linear-gradient(rgba(240, 231, 215, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 231, 215, 0.024) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

p,
h1,
h2,
h3 {
  margin: 0;
}

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

.site-nav {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  width: min(var(--container), calc(100% - 32px));
  min-height: 64px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(240, 231, 215, 0.16);
  background: rgba(8, 8, 7, 0.72);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.25);
}

.site-nav.is-scrolled {
  background: rgba(8, 8, 7, 0.92);
  border-color: rgba(215, 139, 88, 0.28);
}

.brand,
.brand > span:last-child,
.site-nav nav,
.actions,
.scenario-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 139, 88, 0.54);
  border-radius: 50%;
  color: var(--copper-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.brand > span:last-child {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.brand strong {
  font-size: 15px;
  line-height: 1.15;
}

.brand small {
  color: rgba(240, 231, 215, 0.48);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.site-nav nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(240, 231, 215, 0.68);
  font-size: 14px;
}

.site-nav nav a:hover {
  color: var(--paper);
}

.nav-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.nav-cta,
.button.primary {
  border: 1px solid rgba(240, 231, 215, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 205, 160, 0.18), rgba(76, 32, 14, 0.16)),
    var(--copper);
  color: #130d09;
  box-shadow: 0 16px 40px rgba(181, 108, 67, 0.25);
}

.button.ghost {
  border: 1px solid currentColor;
  color: var(--paper);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  color: rgba(240, 231, 215, 0.76);
  border-bottom: 1px solid rgba(240, 231, 215, 0.34);
  padding-bottom: 5px;
  font-weight: 720;
}

.hero {
  min-height: 100svh;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(112px, 12vw, 172px) 0 clamp(72px, 8vw, 110px);
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--copper-bright);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #854629;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(46px, 5.4vw, 76px);
}

h1 span {
  display: block;
}

h1 span + span {
  margin-top: 0.12em;
  color: rgba(240, 231, 215, 0.82);
  font-size: 0.62em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(36px, 5.2vw, 72px);
}

h3 {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.2;
}

p {
  color: var(--muted-light);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
}

.hero p:not(.eyebrow),
.section-copy p,
.section-head p,
.final-panel p {
  margin-top: 24px;
}

.actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.actions.centered {
  justify-content: center;
}

.art-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(240, 231, 215, 0.16);
  background: #11100e;
  box-shadow: var(--shadow);
}

.art-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(215, 139, 88, 0.15);
}

.art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
  transform: scale(1.035);
  animation: image-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-art img {
  animation-duration: 18s;
}

.wide-art img {
  animation-duration: 26s;
}

.split .art-card img {
  animation-duration: 24s;
}

@keyframes image-drift {
  from {
    transform: scale(1.035) translate3d(-0.8%, -0.6%, 0);
  }

  to {
    transform: scale(1.07) translate3d(0.8%, 0.6%, 0);
  }
}

.hero-art {
  aspect-ratio: 1.72 / 1;
}

.wide-art {
  width: min(var(--container), calc(100% - 40px));
  margin: 42px auto 0;
  aspect-ratio: 1.92 / 1;
}

.section {
  padding: clamp(82px, 10vw, 140px) 0;
}

.section-dark {
  background: var(--ink);
}

.section-ink {
  background:
    radial-gradient(circle at 15% 0%, rgba(181, 108, 67, 0.14), transparent 32%),
    linear-gradient(135deg, #090807, #1a1612 64%, #0c0b0a);
}

.section-paper {
  background:
    linear-gradient(rgba(33, 27, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 27, 21, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  color: var(--text);
}

.section-paper p {
  color: rgba(33, 27, 21, 0.66);
}

.section-head {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head.centered {
  text-align: center;
}

.split {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.split .art-card {
  aspect-ratio: 1.62 / 1;
}

.section-copy {
  max-width: 620px;
}

.archive-console {
  min-height: 520px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  padding: clamp(18px, 2.6vw, 30px);
  border: 1px solid rgba(240, 231, 215, 0.16);
  background:
    linear-gradient(rgba(240, 231, 215, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 231, 215, 0.032) 1px, transparent 1px),
    linear-gradient(145deg, rgba(28, 24, 20, 0.94), rgba(7, 7, 6, 0.98));
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow);
}

.console-top,
.console-foot,
.profile-card {
  display: flex;
  align-items: center;
}

.console-top {
  justify-content: space-between;
  gap: 16px;
  color: rgba(240, 231, 215, 0.74);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.console-top strong {
  color: var(--copper-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  letter-spacing: 0;
}

.console-search {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(240, 231, 215, 0.18);
  background: rgba(240, 231, 215, 0.065);
  color: rgba(240, 231, 215, 0.66);
  font-size: 14px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-card {
  gap: 12px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(240, 231, 215, 0.17);
  background: rgba(240, 231, 215, 0.055);
}

.profile-card.featured {
  border-color: rgba(215, 139, 88, 0.58);
  background:
    linear-gradient(135deg, rgba(181, 108, 67, 0.2), transparent 42%),
    rgba(8, 8, 7, 0.56);
}

.avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 139, 88, 0.46);
  border-radius: 50%;
  background: rgba(240, 231, 215, 0.08);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 18px;
}

.profile-card h3 {
  margin-bottom: 5px;
  font-size: clamp(16px, 1.25vw, 19px);
}

.profile-card p {
  color: rgba(240, 231, 215, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.console-foot {
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(240, 231, 215, 0.16);
  color: rgba(240, 231, 215, 0.64);
  font-size: 12px;
}

.four-grid {
  width: min(var(--container), calc(100% - 40px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}

.four-grid article {
  min-height: 190px;
  padding: 28px 24px;
  border-right: 1px solid var(--dark-line);
}

.four-grid article:last-child {
  border-right: 0;
}

.four-grid span {
  color: #854629;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.four-grid h3 {
  margin: 32px 0 12px;
}

.scenario-row {
  width: min(var(--container), calc(100% - 40px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(33, 27, 21, 0.14);
  border: 1px solid rgba(33, 27, 21, 0.14);
}

.scenario-row article {
  min-height: 132px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.34);
}

.scenario-row strong {
  display: block;
  margin-bottom: 18px;
  font-size: 22px;
}

.scenario-row span {
  color: var(--muted);
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted-light);
  line-height: 1.65;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 8px;
  height: 8px;
  background: var(--copper-bright);
}

.final {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background: var(--ink);
}

.final > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transform: scale(1.03);
  animation: final-image-drift 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes final-image-drift {
  from {
    transform: scale(1.03) translate3d(0, -0.6%, 0);
  }

  to {
    transform: scale(1.075) translate3d(0, 0.8%, 0);
  }
}

.final::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 8, 7, 0.96), rgba(8, 8, 7, 0.36), rgba(8, 8, 7, 0.28)),
    radial-gradient(circle at 50% 40%, rgba(181, 108, 67, 0.16), transparent 40%);
}

.final-panel {
  position: relative;
  z-index: 2;
  width: min(860px, calc(100% - 40px));
  padding: clamp(34px, 5vw, 60px);
}

.site-footer {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 5vw, 70px);
  right: clamp(20px, 5vw, 70px);
  bottom: 24px;
  min-height: 64px;
  justify-content: center;
  gap: clamp(16px, 4vw, 54px);
  padding-top: 18px;
  border-top: 1px solid rgba(240, 231, 215, 0.22);
  color: rgba(240, 231, 215, 0.64);
  font-size: 14px;
}

.site-footer strong {
  color: var(--paper);
  font-size: 18px;
}

.art-card,
.archive-console,
.four-grid article,
.scenario-row article {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.art-card.is-visible,
.archive-console.is-visible,
.four-grid article.is-visible,
.scenario-row article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .site-nav nav {
    display: none;
  }

  .hero,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-art,
  .split .art-card,
  .wide-art {
    aspect-ratio: 1.45 / 1;
  }

  .archive-console {
    min-height: auto;
  }

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

  .four-grid article:nth-child(2) {
    border-right: 0;
  }

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

  .site-footer {
    flex-wrap: wrap;
    gap: 12px 22px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .site-nav {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 56px;
    padding: 8px 8px 8px 12px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero,
  .section {
    width: auto;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 70px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 56px);
    max-width: 10em;
  }

  h1 span + span {
    font-size: 0.54em;
  }

  h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-art,
  .split .art-card,
  .wide-art {
    width: 100%;
    aspect-ratio: 1.08 / 1;
  }

  .wide-art,
  .split,
  .section-head,
  .four-grid,
  .scenario-row {
    width: 100%;
  }

  .art-card img {
    object-position: center;
  }

  .four-grid,
  .scenario-row,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    min-height: 96px;
  }

  .four-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--dark-line);
  }

  .four-grid article:last-child {
    border-bottom: 0;
  }

  .scenario-row article {
    min-height: 104px;
  }

  .final-panel {
    padding: 28px 0;
  }

  .site-footer {
    left: 16px;
    right: 16px;
    bottom: 14px;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .art-card img,
  .final > img {
    animation: none;
    transform: none;
  }
}
