:root {
  --paper: #f3ecde;
  --paper-deep: #e8dcc5;
  --ink: #111820;
  --muted: #4e5a65;
  --line: rgba(17, 24, 32, 0.14);
  --panel: rgba(255, 252, 246, 0.75);
  --panel-strong: rgba(18, 24, 33, 0.92);
  --copper: #8e5a2b;
  --gold: #d1a949;
  --cyan: #1eb9c7;
  --red: #db5a52;
  --violet: #7f65d8;
  --shadow: 0 24px 80px rgba(34, 24, 10, 0.14);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(209, 169, 73, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(30, 185, 199, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f2e7 0%, #f1e6d4 46%, #efe6d8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background:
    linear-gradient(rgba(17, 24, 32, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 32, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
}

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

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

.page-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px 18px;
  margin-bottom: 36px;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 999px;
  background: rgba(248, 242, 231, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(43, 30, 11, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(17, 24, 32, 0.96), rgba(33, 48, 68, 0.84));
  box-shadow: inset 0 0 0 1px rgba(57, 231, 229, 0.22);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong,
.signal-grid strong,
.system-card h3,
.studio-card h3,
.button {
  letter-spacing: 0.02em;
}

.brand-copy span,
.site-nav a,
.signal-label,
.quote-credit,
.site-footer,
.hero-note,
.cta-panel p {
  color: var(--muted);
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-nav a {
  font-size: 0.88rem;
}

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

.hero,
.story-layout,
.studio-grid,
.system-grid {
  display: grid;
  gap: 24px;
}

.hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  min-height: calc(100vh - 140px);
  padding: 28px 0 40px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.94;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

h1 {
  max-width: 8ch;
  font-size: clamp(4.2rem, 10vw, 8rem);
}

h2 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
}

h3 {
  font-size: 1.8rem;
}

.hero-text,
.story-panel p,
.system-card p,
.studio-card p,
.cta-panel p,
.quote,
.hero-note p {
  font-size: 1rem;
  line-height: 1.78;
}

.hero-text {
  max-width: 36rem;
  margin: 22px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #f8f4eb;
  background: linear-gradient(135deg, #0f1822, #26364b);
  box-shadow: 0 16px 30px rgba(15, 24, 34, 0.18);
}

.button-secondary {
  border-color: rgba(17, 24, 32, 0.14);
  background: rgba(255, 255, 255, 0.34);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.signal-grid article,
.story-panel,
.quote-panel,
.studio-card,
.cta-panel {
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.signal-grid article {
  padding: 18px;
}

.signal-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-art {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 20px;
}

.artifact-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  padding: 48px;
  border-radius: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(57, 231, 229, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(17, 24, 32, 0.98), rgba(24, 36, 52, 0.92));
  box-shadow: 0 30px 70px rgba(13, 18, 26, 0.3);
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.artifact-frame::before,
.artifact-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.artifact-frame::after {
  inset: auto 40px 40px;
  top: 40px;
  border-radius: 999px;
  border-style: dashed;
  opacity: 0.3;
}

.artifact-frame img {
  width: 100%;
  max-width: 320px;
  filter: drop-shadow(0 16px 32px rgba(57, 231, 229, 0.18));
  transform: translateZ(0);
}

.artifact-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(57, 231, 229, 0.24);
}

.artifact-ring-a {
  inset: 38px;
  animation: spin 28s linear infinite;
}

.artifact-ring-b {
  inset: 82px;
  border-color: rgba(209, 169, 73, 0.2);
  border-style: dashed;
  animation: spin-reverse 34s linear infinite;
}

.hero-note {
  max-width: 360px;
  padding: 18px 20px;
  border-left: 3px solid rgba(142, 90, 43, 0.4);
}

.note-kicker {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chapter {
  padding: 84px 0 0;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.story-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.story-panel,
.quote-panel,
.studio-card,
.cta-panel {
  padding: 28px;
}

.story-panel p + p,
.cta-panel p + p {
  margin-top: 18px;
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(15, 24, 34, 0.97), rgba(24, 36, 52, 0.94)),
    rgba(18, 24, 33, 0.95);
  color: #eef5ff;
}

.quote {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.quote-credit {
  margin: 28px 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quote-panel .quote-credit {
  color: rgba(238, 245, 255, 0.68);
}

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

.system-card {
  position: relative;
  min-height: 340px;
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(245, 236, 223, 0.84)),
    var(--panel);
  box-shadow: var(--shadow);
}

.system-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.3), transparent 45%);
  pointer-events: none;
}

.system-card img {
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
}

.system-card h3 {
  margin-bottom: 10px;
}

.system-card.cyan {
  box-shadow: 0 20px 60px rgba(30, 185, 199, 0.15);
}

.system-card.red {
  box-shadow: 0 20px 60px rgba(219, 90, 82, 0.12);
}

.system-card.gold {
  box-shadow: 0 20px 60px rgba(209, 169, 73, 0.18);
}

.system-card.violet {
  box-shadow: 0 20px 60px rgba(127, 101, 216, 0.12);
}

.split .section-heading h2 {
  max-width: 12ch;
}

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

.studio-card {
  min-height: 240px;
}

.cta {
  padding-bottom: 40px;
}

.cta-panel {
  background:
    radial-gradient(circle at top right, rgba(30, 185, 199, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.86), rgba(240, 229, 212, 0.86));
}

.cta-panel .eyebrow {
  color: var(--copper);
}

.site-footer {
  padding-top: 12px;
  font-size: 0.8rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@media (max-width: 1080px) {
  .hero,
  .story-layout,
  .studio-grid,
  .system-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 10px;
  }

  .studio-grid,
  .system-grid {
    align-items: stretch;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(100% - 24px, 1200px);
  }

  .site-header {
    position: static;
    border-radius: 28px;
    padding: 16px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .story-layout,
  .studio-grid,
  .system-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }

  .artifact-frame {
    max-width: 420px;
  }

  .chapter {
    padding-top: 72px;
  }
}

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

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

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