/* =========================================================
   SPATIALx / Become a Synthetic Human Artist
========================================================= */

:root {
  --sha-bg: #07090d;
  --sha-bg-soft: #0d121a;
  --sha-ink: #f1eadc;
  --sha-ink-soft: rgba(241, 234, 220, 0.7);
  --sha-ink-dim: rgba(241, 234, 220, 0.45);
  --sha-rule: rgba(241, 234, 220, 0.12);
  --sha-rule-hot: rgba(228, 184, 114, 0.42);
  --sha-gold: #e4b872;
  --sha-copper: #b7734e;
  --sha-mint: #9bd7ca;
  --sha-serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sha-sans: "Archivo Narrow", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sha-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --sha-shell: min(1180px, calc(100vw - 44px));
}

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

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

body.sha-page {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(228, 184, 114, 0.12), transparent 31rem),
    radial-gradient(circle at 88% 18%, rgba(155, 215, 202, 0.07), transparent 27rem),
    linear-gradient(180deg, #090d14 0%, #05070b 58%, #07090d 100%);
  color: var(--sha-ink);
  font-family: var(--sha-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sha-page a {
  color: inherit;
  text-decoration: none;
}

.sha-page ::selection {
  background: rgba(228, 184, 114, 0.28);
  color: var(--sha-ink);
}

.sha-noise {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.52'/></svg>");
}

.sha-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  color: rgba(241, 234, 220, 0.62);
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.86), rgba(7, 9, 13, 0.52));
  border-bottom: 1px solid rgba(241, 234, 220, 0.08);
  backdrop-filter: blur(14px);
}

.sha-return,
.sha-topbar p {
  margin: 0;
  font-family: var(--sha-mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sha-return {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 180ms ease;
}

.sha-return span:first-child {
  color: var(--sha-gold);
  transition: transform 180ms ease;
}

.sha-return:hover,
.sha-return:focus-visible {
  color: var(--sha-ink);
}

.sha-return:hover span:first-child,
.sha-return:focus-visible span:first-child {
  transform: translateX(-3px);
}

.sha-sticky {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 22;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  padding: 0 14px;
  color: rgba(241, 234, 220, 0.78);
  background:
    linear-gradient(135deg, rgba(228, 184, 114, 0.14), rgba(241, 234, 220, 0.03)),
    rgba(7, 9, 13, 0.84);
  border: 1px solid rgba(228, 184, 114, 0.28);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.36), 0 0 28px rgba(228, 184, 114, 0.08);
  backdrop-filter: blur(14px);
  transform: translate(-50%, calc(100% + 28px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 260ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.sha-page.is-scrolled .sha-sticky {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.sha-sticky span,
.sha-sticky strong {
  font-family: var(--sha-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sha-sticky strong {
  color: var(--sha-gold);
  font-weight: 600;
}

.sha-sticky:hover,
.sha-sticky:focus-visible {
  border-color: rgba(228, 184, 114, 0.68);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.48), 0 0 34px rgba(228, 184, 114, 0.14);
  transform: translate(-50%, -2px);
}

.sha-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
  min-height: 100svh;
  padding: 104px max(22px, calc((100vw - 1180px) / 2)) 64px;
  isolation: isolate;
}

.sha-hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.sha-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  opacity: 0.24;
  filter: saturate(0.78) contrast(1.05);
  transform: scale(1.012);
  animation: shaHeroDrift 16s ease-in-out infinite alternate;
}

.sha-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.94) 0%, rgba(7, 9, 13, 0.76) 46%, rgba(7, 9, 13, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.18) 0%, rgba(7, 9, 13, 0.9) 100%);
}

.sha-hero__content {
  width: min(720px, 100%);
}

.sha-kicker,
.sha-section__label {
  margin: 0;
  color: var(--sha-gold);
  font-family: var(--sha-mono);
  font-size: 11px;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.sha-hero h1 {
  max-width: 760px;
  margin: 22px 0 20px;
  font-family: var(--sha-serif);
  font-size: clamp(64px, 8.3vw, 136px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

.sha-hero__sub {
  margin: 0 0 20px;
  max-width: 620px;
  font-family: var(--sha-serif);
  font-size: clamp(28px, 3.3vw, 48px);
  line-height: 1;
  color: var(--sha-ink);
}

.sha-hero__body {
  max-width: 640px;
  margin: 0;
  color: var(--sha-ink-soft);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.56;
}

.sha-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.sha-hero__note {
  width: fit-content;
  margin: 16px 0 0;
  padding-top: 13px;
  color: rgba(241, 234, 220, 0.52);
  border-top: 1px solid rgba(228, 184, 114, 0.28);
  font-family: var(--sha-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--sha-rule);
  color: var(--sha-ink);
  font-family: var(--sha-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.sha-btn--primary {
  color: #08090d;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.28), transparent 42%),
    linear-gradient(135deg, #f3deb1, var(--sha-gold));
  border-color: rgba(228, 184, 114, 0.7);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), 0 0 24px rgba(228, 184, 114, 0.08);
}

.sha-btn--ghost {
  background: rgba(241, 234, 220, 0.035);
}

.sha-btn:hover,
.sha-btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--sha-rule-hot);
}

.sha-btn--primary:hover,
.sha-btn--primary:focus-visible {
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.42), 0 0 34px rgba(228, 184, 114, 0.16);
}

.sha-btn__arrow {
  transition: transform 180ms ease;
}

.sha-btn:hover .sha-btn__arrow,
.sha-btn:focus-visible .sha-btn__arrow {
  transform: translateX(4px);
}

.sha-hero__program {
  justify-self: end;
  width: min(460px, 100%);
  display: grid;
  gap: 18px;
}

.sha-hero__portrait {
  position: relative;
  min-height: clamp(280px, 34vw, 430px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(241, 234, 220, 0.12);
  background: rgba(7, 9, 13, 0.55);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 42px rgba(228, 184, 114, 0.055);
}

.sha-hero__portrait::before,
.sha-hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sha-hero__portrait::before {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.05) 0%, rgba(7, 9, 13, 0.28) 50%, rgba(7, 9, 13, 0.92) 100%),
    radial-gradient(circle at 32% 40%, rgba(228, 184, 114, 0.18), transparent 24rem);
}

.sha-hero__portrait::after {
  z-index: 2;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sha-gold), transparent);
  opacity: 0.7;
}

.sha-hero__portrait img {
  width: 100%;
  height: 134%;
  min-height: inherit;
  object-fit: cover;
  object-position: 54% 45%;
  filter: saturate(0.92) contrast(1.08);
  transform: scale(1.02) translateY(-14%);
  transition: transform 900ms cubic-bezier(0.2, 0.74, 0.18, 1);
}

.sha-hero__portrait:hover img {
  transform: scale(1.055) translateY(-14%);
}

.sha-hero__portrait figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  margin: 0;
  color: rgba(241, 234, 220, 0.72);
  font-family: var(--sha-serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.25;
}

.sha-program-card {
  padding: 20px 0 0 22px;
  border-left: 1px solid rgba(228, 184, 114, 0.35);
}

.sha-program-signal {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 4px;
  align-items: end;
  height: 48px;
  margin-bottom: 22px;
  opacity: 0.78;
}

.sha-program-signal span {
  display: block;
  min-height: 8px;
  background: linear-gradient(180deg, var(--sha-gold), rgba(155, 215, 202, 0.45));
  animation: shaSignal 1600ms ease-in-out infinite alternate;
  transform-origin: bottom;
}

.sha-program-signal span:nth-child(3n) { animation-delay: 120ms; }
.sha-program-signal span:nth-child(4n) { animation-delay: 240ms; }
.sha-program-signal span:nth-child(5n) { animation-delay: 360ms; }

.sha-hero__program dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 0;
}

.sha-hero__program dl > div {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--sha-rule);
}

.sha-hero__program dt {
  margin-bottom: 6px;
  color: var(--sha-copper);
  font-family: var(--sha-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sha-hero__program dd {
  margin: 0;
  color: rgba(241, 234, 220, 0.86);
  font-family: var(--sha-serif);
  font-size: 21px;
  line-height: 1.08;
}

.sha-section {
  width: var(--sha-shell);
  margin: 0 auto;
  padding: 100px 0;
  border-top: 1px solid var(--sha-rule);
}

.sha-manifesto {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(34px, 5vw, 74px);
  align-items: start;
}

.sha-manifesto h2,
.sha-curriculum h2,
.sha-offer h2 {
  margin: 0;
  font-family: var(--sha-serif);
  font-size: clamp(46px, 6.4vw, 96px);
  font-weight: 500;
  line-height: 0.92;
}

.sha-manifesto p,
.sha-curriculum__head p,
.sha-offer p {
  color: var(--sha-ink-soft);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
}

.sha-manifesto__copy p {
  max-width: 700px;
}

.sha-manifesto__proof {
  padding-left: 22px;
  border-left: 1px solid var(--sha-rule-hot);
}

.sha-manifesto__proof p {
  margin: 0 0 14px;
  font-family: var(--sha-serif);
  font-size: 25px;
  line-height: 1.22;
}

.sha-manifesto__proof p:last-child {
  margin-bottom: 0;
  color: var(--sha-ink-dim);
  font-size: 19px;
}

.sha-build__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--sha-rule);
  border: 1px solid var(--sha-rule);
}

.sha-build article {
  min-height: 250px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(241, 234, 220, 0.035), rgba(241, 234, 220, 0.015)),
    rgba(7, 9, 13, 0.78);
  transition: background 180ms ease, transform 180ms ease;
}

.sha-build article:hover {
  background:
    linear-gradient(180deg, rgba(228, 184, 114, 0.075), rgba(241, 234, 220, 0.02)),
    rgba(9, 13, 20, 0.9);
}

.sha-build article span,
.sha-modules span {
  color: var(--sha-gold);
  font-family: var(--sha-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.sha-build h3 {
  margin: 38px 0 16px;
  font-family: var(--sha-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}

.sha-build p {
  margin: 0;
  color: var(--sha-ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.sha-curriculum {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(440px, 0.62fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.sha-curriculum > .sha-section__label {
  grid-column: 1 / -1;
}

.sha-curriculum__head {
  grid-column: 1;
  grid-row: 2;
  position: sticky;
  top: 92px;
  align-self: start;
}

.sha-curriculum__head .sha-section__label {
  margin-bottom: 18px;
}

.sha-curriculum__head p {
  max-width: 430px;
}

.sha-modules {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--sha-rule);
}

.sha-modules li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 7px 26px;
  align-items: start;
  min-height: 94px;
  padding: 22px 0;
  border-bottom: 1px solid var(--sha-rule);
}

.sha-modules span {
  grid-row: 1 / span 2;
  padding-top: 8px;
}

.sha-modules strong {
  color: var(--sha-ink);
  display: block;
  font-family: var(--sha-serif);
  font-size: clamp(30px, 2.8vw, 46px);
  font-weight: 500;
  line-height: 0.96;
  text-wrap: balance;
}

.sha-modules em {
  grid-column: 2;
  display: block;
  max-width: 520px;
  margin-top: 3px;
  color: var(--sha-ink-dim);
  font-family: var(--sha-serif);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.32;
}

.sha-fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--sha-rule);
  padding: 0;
  border: 1px solid var(--sha-rule);
}

.sha-fit__column {
  padding: clamp(34px, 5vw, 62px);
  background: rgba(11, 15, 22, 0.76);
}

.sha-fit__column--muted {
  background: rgba(9, 12, 18, 0.58);
}

.sha-fit ul {
  display: grid;
  gap: 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.sha-fit li {
  position: relative;
  padding-left: 25px;
  color: var(--sha-ink-soft);
  font-size: 20px;
  line-height: 1.35;
}

.sha-fit li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 1px;
  background: var(--sha-gold);
}

.sha-offer {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: stretch;
}

.sha-offer__copy p {
  max-width: 730px;
}

.sha-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  background: var(--sha-rule);
  border: 1px solid var(--sha-rule);
}

.sha-includes li {
  position: relative;
  min-height: 58px;
  padding: 18px 18px 17px 39px;
  color: rgba(241, 234, 220, 0.72);
  background:
    linear-gradient(180deg, rgba(241, 234, 220, 0.028), rgba(241, 234, 220, 0.012)),
    rgba(8, 12, 18, 0.78);
  font-size: 15px;
  line-height: 1.35;
}

.sha-includes li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 27px;
  width: 8px;
  height: 1px;
  background: var(--sha-gold);
}

.sha-offer__details {
  display: grid;
  align-content: start;
  gap: 1px;
  background: var(--sha-rule);
  border: 1px solid var(--sha-rule);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.sha-offer__details div {
  display: grid;
  gap: 8px;
  padding: 26px 28px;
  background:
    linear-gradient(180deg, rgba(228, 184, 114, 0.04), transparent),
    rgba(12, 16, 24, 0.82);
}

.sha-offer__details span {
  color: var(--sha-copper);
  font-family: var(--sha-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sha-offer__details strong {
  color: var(--sha-ink);
  font-family: var(--sha-serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
}

.sha-offer__details .sha-btn {
  margin: 24px 28px 28px;
}

.sha-final {
  width: var(--sha-shell);
  margin: 0 auto;
  padding: 110px 0 120px;
  text-align: center;
}

.sha-final p {
  max-width: 740px;
  margin: 0 auto 30px;
  font-family: var(--sha-serif);
  font-size: clamp(48px, 6.8vw, 108px);
  line-height: 0.92;
}

.sha-footer {
  width: var(--sha-shell);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 40px;
  color: var(--sha-ink-dim);
  border-top: 1px solid var(--sha-rule);
  font-family: var(--sha-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sha-page.js-ready .sha-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.75, 0.16, 1);
}

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

@keyframes shaHeroDrift {
  from { transform: scale(1.012) translate3d(0, 0, 0); }
  to { transform: scale(1.045) translate3d(-1.2%, 0.4%, 0); }
}

@keyframes shaSignal {
  from { transform: scaleY(0.38); opacity: 0.46; }
  to { transform: scaleY(1); opacity: 0.96; }
}

@media (max-width: 980px) {
  .sha-topbar p {
    display: none;
  }

  .sha-hero {
    grid-template-columns: 1fr;
    gap: 54px;
    align-items: end;
    padding-top: 108px;
  }

  .sha-hero__content {
    width: 100%;
  }

  .sha-hero__program {
    justify-self: start;
    width: min(520px, 100%);
  }

  .sha-hero__portrait {
    min-height: 320px;
  }

  .sha-manifesto,
  .sha-curriculum,
  .sha-offer {
    grid-template-columns: 1fr;
  }

  .sha-curriculum > .sha-section__label,
  .sha-curriculum__head,
  .sha-modules {
    grid-column: auto;
    grid-row: auto;
  }

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

  .sha-curriculum__head {
    position: static;
  }
}

@media (max-width: 700px) {
  :root {
    --sha-shell: min(100% - 34px, 1180px);
  }

  .sha-topbar {
    min-height: 58px;
    padding-inline: 17px;
  }

  .sha-return {
    font-size: 10px;
  }

  .sha-sticky {
    width: calc(100% - 30px);
    justify-content: center;
    gap: 8px;
  }

  .sha-sticky span,
  .sha-sticky strong {
    font-size: 9px;
  }

  .sha-hero {
    min-height: auto;
    padding: 96px 17px 58px;
  }

  .sha-hero h1 {
    font-size: clamp(54px, 15vw, 82px);
  }

  .sha-hero__sub {
    font-size: 34px;
  }

  .sha-hero__body {
    font-size: 17px;
  }

  .sha-actions,
  .sha-actions .sha-btn,
  .sha-offer__details .sha-btn,
  .sha-final .sha-btn {
    width: 100%;
  }

  .sha-hero__program {
    gap: 16px;
  }

  .sha-hero__portrait {
    min-height: 250px;
  }

  .sha-hero__portrait figcaption {
    font-size: 17px;
  }

  .sha-program-card {
    padding: 18px 0 0 16px;
  }

  .sha-hero__program dl {
    grid-template-columns: 1fr;
  }

  .sha-section {
    padding: 72px 0;
  }

  .sha-build__grid,
  .sha-fit,
  .sha-includes {
    grid-template-columns: 1fr;
  }

  .sha-build article {
    min-height: auto;
  }

  .sha-offer__details .sha-btn {
    width: auto;
  }

  .sha-modules li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    min-height: auto;
    padding: 20px 0;
  }

  .sha-modules em {
    grid-column: 2;
  }

  .sha-offer__details strong {
    font-size: 27px;
  }

  .sha-footer {
    display: grid;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
