:root {
  --night: #09080d;
  --night-soft: #111019;
  --ink: #1d1820;
  --paper: #eee5d8;
  --paper-soft: #f6efe6;
  --ivory: #f4ecdf;
  --muted: #b2a6ad;
  --muted-dark: #716873;
  --coral: #ee7756;
  --coral-deep: #c9513d;
  --gold: #c9a66b;
  --blue: #506fa0;
  --line-light: rgba(242, 226, 207, 0.15);
  --line-dark: rgba(36, 27, 34, 0.14);
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --page-pad: clamp(22px, 4.5vw, 72px);
  --section-pad: clamp(88px, 11vw, 168px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-width: 320px;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  overflow-x: hidden;
}

button,
a,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  border: 0;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}

::selection {
  background: var(--coral);
  color: var(--night);
}

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  height: 88px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line-light);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand i {
  color: var(--coral);
  font-family: var(--display);
  font-weight: 400;
}

.brand-mark {
  color: var(--gold);
  font-size: 14px;
}

.site-nav {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
}

.site-nav a,
.header-cta {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.09em;
  transition: color 180ms ease;
}

.site-nav a:hover,
.header-cta:hover {
  color: var(--ivory);
}

.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ivory);
}

.header-cta span {
  color: var(--coral);
  font-size: 16px;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  overflow: clip;
  min-height: max(760px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
  padding: 130px var(--page-pad) 88px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 76% 44%, rgba(228, 92, 63, 0.14), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(65, 82, 128, 0.11), transparent 32%),
    linear-gradient(115deg, rgba(9, 8, 13, 0.18), var(--night) 70%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 88px 50% 0 auto;
  width: 1px;
  z-index: -1;
  background: linear-gradient(transparent, var(--line-light) 17%, var(--line-light) 83%, transparent);
  opacity: 0.65;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  display: flex;
  justify-content: space-between;
  max-width: 680px;
  margin-bottom: clamp(28px, 4vh, 52px);
  color: var(--coral);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow span:last-child {
  color: var(--muted);
}

.hero h1 {
  max-width: 820px;
  font-family: var(--display);
  font-size: clamp(54px, 6.7vw, 102px);
  font-weight: 500;
  line-height: 0.87;
  letter-spacing: -0.045em;
}

.hero h1 em {
  color: var(--coral);
  font-weight: 400;
}

.hero-lede {
  max-width: 630px;
  margin-top: clamp(30px, 4.5vh, 54px);
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 150ms var(--ease-out), background-color 200ms ease, border-color 200ms ease;
}

.button-primary {
  background: var(--coral);
  color: #21100d;
  box-shadow: 0 18px 46px rgba(196, 73, 46, 0.18);
}

.button-primary:hover {
  background: #f28665;
}

.button:active {
  transform: scale(0.97);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid rgba(242, 226, 207, 0.24);
  padding-bottom: 5px;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link:hover {
  color: var(--ivory);
  border-color: var(--coral);
}

.hero-principles {
  display: flex;
  gap: 0;
  margin-top: 50px;
  color: #837881;
  font-size: 10px;
  letter-spacing: 0.11em;
  list-style: none;
  text-transform: uppercase;
}

.hero-principles li {
  display: flex;
  align-items: center;
}

.hero-principles li:not(:last-child)::after {
  content: "✦";
  margin: 0 16px;
  color: var(--gold);
  font-size: 7px;
}

.hero-artifact {
  position: relative;
  justify-self: center;
  width: min(100%, 520px);
  padding: 30px 58px 16px;
}

.artifact-orbit {
  position: absolute;
  inset: 4% -3% 9%;
  border: 1px solid rgba(201, 166, 107, 0.16);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.artifact-orbit::before,
.artifact-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(201, 166, 107, 0.11);
  border-radius: 50%;
}

.artifact-orbit::before {
  inset: 9% -6%;
}

.artifact-orbit::after {
  inset: -4% 12%;
}

.orbit-label {
  position: absolute;
  z-index: 4;
  min-width: 126px;
  padding: 9px 12px;
  background: rgba(13, 12, 18, 0.82);
  border: 1px solid var(--line-light);
  color: var(--ivory);
  font-family: var(--display);
  font-size: 14px;
  line-height: 1.15;
  backdrop-filter: blur(12px);
  transform: rotate(4deg);
}

.orbit-label b {
  display: block;
  margin-bottom: 3px;
  color: var(--coral);
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.orbit-label-work {
  top: 14%;
  right: -13%;
}

.orbit-label-friends {
  bottom: 20%;
  left: -14%;
}

.orbit-label-pressure {
  right: -7%;
  bottom: 2%;
}

.card-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 370px);
  margin: 0 auto;
}

.card {
  position: relative;
  width: 100%;
  aspect-ratio: 832 / 1248;
  border-radius: 18px;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 420ms var(--ease-out);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.46);
}

.card-canvas,
.card-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.card-fallback {
  object-fit: cover;
  opacity: 0;
}

.card.no-webgl .card-canvas {
  display: none;
}

.card.no-webgl .card-fallback {
  opacity: 1;
}

.card-aura {
  position: absolute;
  inset: -15%;
  z-index: -1;
  background: radial-gradient(circle at 50% 38%, rgba(236, 103, 72, 0.34), rgba(236, 103, 72, 0) 64%);
  filter: blur(22px);
  opacity: 0.8;
}

.card.drawing {
  animation: card-arrive 750ms var(--ease-out);
}

@keyframes card-arrive {
  0% { opacity: 0; transform: translateY(32px) rotateX(-8deg) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) rotateX(0) scale(1); }
}

.artifact-caption {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 370px);
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 12px var(--coral);
}

.cursor-hint {
  margin-top: 13px;
  color: #736a75;
  font-family: var(--display);
  font-size: 13px;
  font-style: italic;
  text-align: center;
  transition: opacity 400ms ease;
}

.cursor-hint.hide {
  opacity: 0;
}

.scroll-note {
  position: absolute;
  left: var(--page-pad);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #756b75;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-note i {
  display: block;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), transparent);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.42fr 1.2fr 0.75fr;
  align-items: end;
  gap: clamp(30px, 5vw, 84px);
  margin-bottom: clamp(54px, 7vw, 96px);
}

.section-index {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.practice-intro h2,
.explainer-copy h2,
.closing-section h2 {
  font-family: var(--display);
  font-size: clamp(48px, 5.4vw, 84px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.section-heading h2 em,
.explainer-copy h2 em,
.closing-section h2 em {
  color: var(--coral);
  font-weight: 400;
}

.section-heading > p:last-child {
  max-width: 430px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.5;
}

.session-section {
  position: relative;
  z-index: 3;
  padding: var(--section-pad) var(--page-pad);
  background: var(--paper);
  color: var(--ink);
}

.section-heading-dark .section-index {
  color: var(--coral-deep);
}

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

.studio {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
  min-height: 650px;
  border: 1px solid rgba(39, 29, 38, 0.26);
  box-shadow: 0 30px 90px rgba(46, 33, 34, 0.12);
}

.conversation-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 4vw, 58px);
  background: var(--paper-soft);
}

.studio-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
}

.studio-bar > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-bar strong {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
}

.studio-status,
.step-count {
  color: var(--muted-dark);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.studio-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.chat-log {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  max-height: 320px;
  overflow-y: auto;
  padding: 34px 5px 24px 0;
  scrollbar-color: rgba(32, 24, 31, 0.18) transparent;
}

.message {
  max-width: min(86%, 580px);
  padding: 17px 20px;
  border: 1px solid var(--line-dark);
}

.message-guide {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.42);
}

.message-user {
  align-self: flex-end;
  background: var(--ink);
  color: var(--paper-soft);
}

.message-author {
  display: block;
  margin-bottom: 7px;
  color: var(--coral-deep);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.message p {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.38;
}

.prompt-widget {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.prompt-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--coral-deep);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.prompt-widget h3 {
  max-width: 650px;
  margin-bottom: 20px;
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.1;
}

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

.choice-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid rgba(36, 27, 34, 0.2);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-size: 11px;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, border-color 180ms ease;
}

.choice-button span:last-child {
  color: var(--coral-deep);
}

.choice-button:hover {
  border-color: var(--coral-deep);
  background: rgba(255, 255, 255, 0.48);
}

.choice-button:active {
  transform: scale(0.98);
}

.completion-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: var(--ink);
  color: var(--paper-soft);
}

.completion-widget p {
  max-width: 430px;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.3;
}

.restart-button {
  flex: 0 0 auto;
  padding: 10px 13px;
  background: transparent;
  border: 1px solid rgba(242, 226, 207, 0.24);
  color: var(--paper-soft);
  cursor: pointer;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 180ms ease, transform 140ms var(--ease-out);
}

.restart-button:hover {
  border-color: var(--coral);
}

.restart-button:active {
  transform: scale(0.97);
}

.identity-draft {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px);
  background:
    radial-gradient(circle at 50% 34%, rgba(210, 86, 61, 0.16), transparent 32%),
    var(--night-soft);
  color: var(--ivory);
}

.identity-draft::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(201, 166, 107, 0.2);
  pointer-events: none;
}

.draft-topline,
.draft-note {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8b8189;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.draft-sigil {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(108px, 11vw, 150px);
  height: clamp(108px, 11vw, 150px);
  margin: clamp(32px, 5vh, 54px) auto 32px;
  border: 1px solid rgba(201, 166, 107, 0.32);
  border-radius: 50%;
  transition: transform 600ms var(--ease-out), border-color 300ms ease;
}

.draft-sigil::before,
.draft-sigil::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(201, 166, 107, 0.16);
  border-radius: 50%;
}

.draft-sigil::before {
  inset: -14px;
}

.draft-sigil::after {
  inset: 17px;
}

.draft-sigil span {
  color: var(--coral);
  font-size: 24px;
  text-shadow: 0 0 24px rgba(238, 119, 86, 0.7);
}

.draft-sigil.awake {
  border-color: var(--coral);
  transform: rotate(45deg);
}

.draft-sigil.awake span {
  transform: rotate(-45deg);
}

.draft-kicker,
.identity-draft h3,
.draft-reflection,
.draft-details,
.signal-list {
  position: relative;
  z-index: 1;
}

.draft-kicker {
  color: var(--coral);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.identity-draft h3 {
  margin-top: 7px;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  line-height: 0.95;
  text-align: center;
}

.draft-reflection {
  max-width: 360px;
  margin: 20px auto 30px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.42;
  text-align: center;
}

.draft-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.draft-details div {
  min-width: 0;
  padding: 17px 11px 17px 0;
}

.draft-details div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line-light);
}

.draft-details dt {
  margin-bottom: 6px;
  color: #776d76;
  font-size: 7px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.draft-details dd {
  color: var(--paper);
  font-family: var(--display);
  font-size: 15px;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 auto;
}

.signal-list span {
  padding: 6px 9px;
  border: 1px solid var(--line-light);
  color: #8f858e;
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.signal-list span.active {
  border-color: rgba(238, 119, 86, 0.56);
  color: var(--paper);
}

.draft-note {
  margin-top: 22px;
  justify-content: center;
}

.system-section {
  position: relative;
  padding: var(--section-pad) var(--page-pad);
  background: rgba(9, 8, 13, 0.88);
  color: var(--ivory);
  isolation: isolate;
}

.system-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(244, 236, 223, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 236, 223, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.section-heading-light .section-index {
  color: var(--coral);
}

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

.identity-system {
  display: grid;
  grid-template-columns: minmax(310px, 0.8fr) minmax(280px, 0.62fr) minmax(320px, 0.76fr);
  align-items: stretch;
  min-height: 560px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.master-node {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 510px;
  overflow: hidden;
  border-right: 1px solid var(--line-light);
}

.node-ring {
  position: absolute;
  border: 1px solid rgba(201, 166, 107, 0.18);
  border-radius: 50%;
}

.node-ring-one {
  width: 410px;
  height: 410px;
}

.node-ring-two {
  width: 285px;
  height: 285px;
  border-style: dashed;
  transform: rotate(18deg);
}

.master-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 206px;
  height: 294px;
  padding: 24px;
  background: linear-gradient(155deg, #181522, #0e0c12);
  border: 1px solid rgba(201, 166, 107, 0.36);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.34);
  text-align: center;
}

.master-core::before,
.master-core::after {
  content: "✦";
  position: absolute;
  color: var(--gold);
  font-size: 11px;
}

.master-core::before { top: 20px; }
.master-core::after { bottom: 20px; }

.master-core small {
  color: var(--coral);
  font-size: 7px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.master-core strong {
  margin: 14px 0;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 500;
}

.master-core span {
  max-width: 140px;
  color: #8f858e;
  font-family: var(--display);
  font-size: 14px;
  font-style: italic;
  line-height: 1.3;
}

.context-rail {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line-light);
}

.context-button {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr auto;
  align-items: center;
  flex: 1;
  gap: 18px;
  min-height: 100px;
  padding: 22px 24px;
  background: transparent;
  border-bottom: 1px solid var(--line-light);
  color: #756b75;
  cursor: pointer;
  text-align: left;
  transition: background-color 220ms ease, color 220ms ease;
}

.context-button:last-child {
  border-bottom: 0;
}

.context-button span,
.context-button i {
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.context-button strong {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
}

.context-button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--coral);
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 220ms ease, transform 220ms var(--ease-out);
}

.context-button.active {
  background: rgba(244, 236, 223, 0.045);
  color: var(--ivory);
}

.context-button.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.context-reading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 72px);
}

.context-reading > p:first-child {
  color: var(--coral);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.context-reading h3 {
  margin: 24px 0 16px;
  font-family: var(--display);
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 500;
  line-height: 0.95;
}

.context-reading blockquote {
  margin-bottom: 32px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
  line-height: 1.35;
}

.context-reading > p:nth-of-type(2) {
  color: var(--muted);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
}

.context-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 30px;
}

.context-traits span {
  padding: 6px 9px;
  border: 1px solid var(--line-light);
  color: #8d838c;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.practice-section {
  position: relative;
  z-index: 3;
  padding: var(--section-pad) var(--page-pad);
  background: var(--paper);
  color: var(--ink);
}

.practice-intro {
  display: grid;
  grid-template-columns: 0.35fr 1fr 0.75fr;
  align-items: end;
  gap: clamp(30px, 5vw, 84px);
}

.practice-intro .section-index {
  color: var(--coral-deep);
}

.practice-intro > p:last-child {
  color: var(--muted-dark);
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.5;
}

.practice-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: clamp(70px, 8vw, 120px) 0 0;
  border: 1px solid rgba(36, 27, 34, 0.22);
}

.practice-card {
  position: relative;
  min-height: 440px;
  padding: clamp(34px, 5vw, 68px);
  overflow: hidden;
}

.practice-card + .practice-card {
  border-left: 1px solid rgba(36, 27, 34, 0.22);
}

.practice-card-next {
  background: var(--ink);
  color: var(--paper);
}

.practice-number {
  position: absolute;
  top: 18px;
  right: 34px;
  color: rgba(39, 29, 38, 0.08);
  font-family: var(--display);
  font-size: 150px;
  line-height: 1;
}

.practice-card-next .practice-number {
  color: rgba(238, 229, 216, 0.06);
}

.practice-card > p {
  position: relative;
  z-index: 1;
  color: var(--coral-deep);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.practice-card-next > p {
  color: var(--coral);
}

.practice-card h3 {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 84px 0 24px;
  font-family: var(--display);
  font-size: clamp(44px, 4vw, 64px);
  font-weight: 500;
  line-height: 0.95;
}

.practice-card > span {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 470px;
  color: var(--muted-dark);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.5;
}

.practice-card-next > span {
  color: var(--muted);
}

.practice-line {
  position: absolute;
  right: -40px;
  bottom: -95px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(201, 166, 107, 0.25);
  border-radius: 50%;
}

.practice-line::before,
.practice-line::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(201, 166, 107, 0.16);
  border-radius: 50%;
}

.practice-line::before { inset: 28px; }
.practice-line::after { inset: 58px; }

.artifact-explainer {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(400px, 1.24fr);
  align-items: center;
  gap: clamp(54px, 8vw, 130px);
  margin-top: var(--section-pad);
  padding: 0 clamp(0px, 6vw, 100px);
}

.explainer-card {
  position: relative;
  max-width: 410px;
  margin: 0 auto;
  transform: rotate(-3.5deg);
}

.explainer-card::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -1;
  border: 1px solid rgba(36, 27, 34, 0.2);
  transform: rotate(6deg);
}

.explainer-card img {
  width: 100%;
  box-shadow: 0 28px 70px rgba(47, 30, 31, 0.24);
}

.explainer-copy .section-index {
  color: var(--coral-deep);
}

.explainer-copy h2 {
  margin: 26px 0 30px;
}

.explainer-copy > p:nth-of-type(2) {
  max-width: 640px;
  color: var(--muted-dark);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.5;
}

.explainer-copy ul {
  margin-top: 44px;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.explainer-copy li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line-dark);
}

.explainer-copy li span {
  color: var(--coral-deep);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.explainer-copy li strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
}

.closing-section {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 720px;
  justify-content: center;
  padding: var(--section-pad) var(--page-pad);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(223, 85, 56, 0.19), transparent 30%),
    rgba(9, 8, 13, 0.94);
  text-align: center;
}

.closing-section::before {
  content: "";
  position: absolute;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 166, 107, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(201, 166, 107, 0.04),
    0 0 0 140px rgba(201, 166, 107, 0.025);
  pointer-events: none;
}

.closing-mark {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 20px;
}

.closing-section > p {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 20px;
  font-style: italic;
}

.closing-section h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(56px, 7vw, 106px);
}

.closing-section .button {
  position: relative;
  z-index: 1;
  margin-top: 48px;
}

.closing-note {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: #766c75;
  font-size: 9px;
  letter-spacing: 0.09em;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 112px;
  padding: 26px var(--page-pad);
  border-top: 1px solid var(--line-light);
  background: var(--night);
  color: #796f78;
  font-size: 9px;
}

.site-footer .brand {
  color: var(--ivory);
}

.site-footer > p {
  text-align: center;
}

.site-footer > a:last-child {
  justify-self: end;
  transition: color 180ms ease;
}

.site-footer > a:last-child:hover {
  color: var(--ivory);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
  }

  .context-button:hover {
    background: rgba(244, 236, 223, 0.035);
    color: var(--ivory);
  }
}

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

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 38px;
  }

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

  .hero-artifact {
    padding-inline: 35px;
  }

  .orbit-label-work { right: -5%; }
  .orbit-label-friends { left: -8%; }
  .orbit-label-pressure { right: -2%; }

  .section-heading,
  .practice-intro {
    grid-template-columns: 0.32fr 1fr;
  }

  .section-heading > p:last-child,
  .practice-intro > p:last-child {
    grid-column: 2;
  }

  .identity-system {
    grid-template-columns: 0.86fr 1.14fr;
  }

  .master-node {
    grid-row: span 2;
  }

  .context-rail {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .context-reading {
    min-height: 370px;
  }
}

@media (max-width: 860px) {
  :root {
    --section-pad: 92px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 132px;
    padding-bottom: 86px;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero h1 {
    font-size: clamp(62px, 12vw, 92px);
  }

  .hero-artifact {
    width: min(100%, 550px);
    margin-top: 34px;
  }

  .scroll-note {
    display: none;
  }

  .studio {
    grid-template-columns: 1fr;
  }

  .conversation-panel {
    min-height: 620px;
  }

  .identity-draft {
    min-height: 640px;
  }

  .identity-system {
    grid-template-columns: 1fr;
  }

  .master-node {
    grid-row: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .context-reading {
    min-height: 430px;
  }

  .practice-pair,
  .artifact-explainer {
    grid-template-columns: 1fr;
  }

  .practice-card + .practice-card {
    border-top: 1px solid rgba(36, 27, 34, 0.22);
    border-left: 0;
  }

  .artifact-explainer {
    gap: 90px;
  }

  .explainer-card {
    width: min(82%, 410px);
  }
}

@media (max-width: 620px) {
  :root {
    --page-pad: 18px;
    --section-pad: 76px;
  }

  .site-header {
    height: 76px;
    gap: 10px;
  }

  .brand {
    gap: 7px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .header-cta {
    gap: 7px;
    font-size: 9px;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 74px;
  }

  .eyebrow {
    margin-bottom: 28px;
    font-size: 8px;
  }

  .hero h1 {
    font-size: clamp(49px, 15.5vw, 68px);
    line-height: 0.9;
  }

  .hero-lede {
    margin-top: 28px;
    font-size: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-principles {
    flex-wrap: wrap;
    row-gap: 10px;
    margin-top: 36px;
    font-size: 8px;
  }

  .hero-principles li:not(:last-child)::after {
    margin-inline: 10px;
  }

  .hero-artifact {
    padding: 22px 25px 12px;
  }

  .artifact-orbit {
    inset: 3% 0 10%;
  }

  .orbit-label {
    min-width: 105px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .orbit-label-work { right: -1%; }
  .orbit-label-friends { left: -2%; }
  .orbit-label-pressure { right: 2%; }

  .artifact-caption,
  .cursor-hint {
    font-size: 8px;
  }

  .section-heading,
  .practice-intro {
    display: block;
  }

  .section-heading .section-index,
  .practice-intro .section-index {
    margin-bottom: 24px;
  }

  .section-heading h2,
  .practice-intro h2,
  .explainer-copy h2 {
    font-size: clamp(45px, 13vw, 62px);
  }

  .section-heading > p:last-child,
  .practice-intro > p:last-child {
    margin-top: 26px;
    font-size: 18px;
  }

  .studio {
    margin-inline: -18px;
    border-right: 0;
    border-left: 0;
  }

  .conversation-panel {
    min-height: 660px;
    padding: 28px 18px;
  }

  .chat-log {
    max-height: 310px;
  }

  .message {
    max-width: 92%;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-button {
    min-height: 46px;
  }

  .completion-widget {
    align-items: flex-start;
    flex-direction: column;
  }

  .identity-draft {
    min-height: 610px;
    padding: 34px 28px;
  }

  .draft-details {
    grid-template-columns: 1fr;
  }

  .draft-details div + div {
    padding-left: 0;
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .identity-system {
    margin-inline: -18px;
  }

  .master-node {
    min-height: 470px;
  }

  .context-button {
    grid-template-columns: 0.6fr 1.4fr auto;
    min-height: 86px;
    padding: 18px;
  }

  .context-reading {
    min-height: 440px;
    padding: 44px 24px;
  }

  .practice-pair {
    margin-inline: -18px;
    border-right: 0;
    border-left: 0;
  }

  .practice-card {
    min-height: 400px;
    padding: 36px 24px;
  }

  .practice-card h3 {
    margin-top: 78px;
  }

  .artifact-explainer {
    padding: 0;
  }

  .explainer-card {
    width: min(76%, 320px);
  }

  .explainer-copy li {
    grid-template-columns: 34px 1fr;
  }

  .closing-section {
    min-height: 640px;
  }

  .closing-section h2 {
    font-size: clamp(52px, 15vw, 72px);
  }

  .closing-section .button {
    width: 100%;
    max-width: 360px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer .brand,
  .site-footer > a:last-child {
    justify-self: center;
  }
}

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

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

  #sky {
    transform: none !important;
  }

  .card,
  .draft-sigil {
    transition: opacity 180ms ease;
  }
}
