:root {
  --ink: #16180f;
  --cream: #f4eed5;
  --paper: #ebe3bf;
  --acid: #cfdf6a;
  --pistachio: #91a451;
  --moss: #34401d;
  --deep: #202716;
  --orange: #e86918;
  --rust: #8e3519;
  --thread: #f08a2e;
  --line: rgba(22, 24, 15, 0.24);
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

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

::selection {
  color: var(--cream);
  background: var(--orange);
}

.site-shell {
  min-width: 320px;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(22, 24, 15, 0.97) 0%, rgba(28, 32, 15, 0.89) 42%, rgba(33, 40, 18, 0.35) 73%, rgba(22, 24, 15, 0.72) 100%),
    linear-gradient(0deg, rgba(22, 24, 15, 0.52), rgba(22, 24, 15, 0.02)),
    url('assets/wool-world-bg.png') center / cover no-repeat;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: repeating-linear-gradient(112deg, transparent 0 20px, rgba(238, 234, 205, 0.025) 21px 22px);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0.23;
  pointer-events: none;
  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='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.nav-wrap {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  width: min(1480px, calc(100% - 64px));
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(244, 238, 213, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.09em;
}

.nav-links a,
.mini-link {
  transition: color 180ms ease;
}

.nav-links a:hover,
.mini-link:hover {
  color: var(--acid);
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.live-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgba(207, 223, 106, 0.5);
  animation: signal 2.3s infinite;
}

.mini-link {
  padding-left: 20px;
  border-left: 1px solid rgba(244, 238, 213, 0.28);
}

.hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 0.97fr) minmax(420px, 0.8fr);
  align-items: center;
  width: min(1480px, calc(100% - 64px));
  min-height: calc(100svh - 174px);
  margin: 0 auto;
  padding: 70px 0 102px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.13em;
}

.eyebrow::before {
  width: 48px;
  height: 2px;
  content: "";
  background: var(--orange);
}

.hero h1,
.story h2,
.loom h2,
.principles h2,
.stitchmap h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.83;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(56px, 6.65vw, 112px);
  text-shadow: 0 5px 35px rgba(0, 0, 0, 0.28);
}

.hero h1 em,
.story h2 em,
.loom h2 em,
.principles h2 em,
.stitchmap h2 em,
.final-cta h2 em {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.08em;
}

.lede {
  max-width: 680px;
  margin: 32px 0 0;
  color: rgba(244, 238, 213, 0.82);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 216px;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--ink);
  background: var(--acid);
  box-shadow: 6px 6px 0 var(--orange);
}

.button-primary:hover {
  color: var(--cream);
  background: var(--orange);
  box-shadow: 6px 6px 0 var(--acid);
}

.button-ghost {
  color: var(--cream);
  border-color: rgba(244, 238, 213, 0.52);
  background: rgba(22, 24, 15, 0.28);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  color: var(--ink);
  background: var(--cream);
}

.mascot-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
}

.halo {
  position: absolute;
  width: min(36vw, 530px);
  aspect-ratio: 1;
  border: 1px dashed rgba(244, 238, 213, 0.4);
  border-radius: 50%;
  animation: slowturn 28s linear infinite;
}

.halo::before,
.halo::after {
  position: absolute;
  inset: 10%;
  content: "";
  border: 1px solid rgba(207, 223, 106, 0.32);
  border-radius: 48% 52% 49% 51%;
}

.halo::after {
  inset: 22%;
  border-color: rgba(232, 105, 24, 0.48);
}

.mascot {
  position: relative;
  z-index: 1;
  width: min(42vw, 610px);
  max-height: 72svh;
  object-fit: contain;
  filter: drop-shadow(0 35px 32px rgba(0, 0, 0, 0.46));
  transform: rotate(1.5deg);
  animation: woolfloat 5.5s ease-in-out infinite;
}

.specimen-note {
  position: absolute;
  right: 2%;
  bottom: 15%;
  z-index: 2;
  padding: 10px 12px;
  color: var(--cream);
  border-left: 2px solid var(--orange);
  background: rgba(22, 24, 15, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  transform: rotate(-2deg);
}

.specimen-note b {
  color: var(--acid);
}

.contract-strip {
  position: absolute;
  right: 32px;
  bottom: 26px;
  left: 32px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 58px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 0 0 1px rgba(22, 24, 15, 0.45), 8px 8px 0 rgba(232, 105, 24, 0.8);
}

.contract-strip > * {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.contract-label {
  color: var(--cream);
  background: var(--orange);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.contract-strip code {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contract-strip button {
  cursor: pointer;
  border-left: 1px solid var(--line);
  background: transparent;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.contract-strip button:hover {
  color: var(--orange);
}

.scroll-cue {
  position: absolute;
  right: 2px;
  bottom: 180px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.12em;
  transform: rotate(90deg);
}

.scroll-cue span {
  color: var(--acid);
}

.section-pad {
  padding: clamp(90px, 10vw, 160px) max(32px, calc((100vw - 1480px) / 2));
}

.section-kicker {
  color: rgba(22, 24, 15, 0.66);
}

.section-kicker span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--ink);
  border: 1px solid currentColor;
  border-radius: 50%;
  letter-spacing: 0;
}

.section-kicker.light {
  color: rgba(244, 238, 213, 0.68);
}

.section-kicker.light span {
  color: var(--cream);
}

.story {
  position: relative;
  background:
    radial-gradient(circle at 92% 10%, rgba(232, 105, 24, 0.14), transparent 24%),
    repeating-linear-gradient(0deg, rgba(22, 24, 15, 0.028) 0 1px, transparent 1px 7px),
    var(--cream);
}

.story::after {
  position: absolute;
  top: -19px;
  right: 7%;
  width: 120px;
  height: 42px;
  content: "";
  background: var(--orange);
  clip-path: polygon(0 25%, 100% 0, 88% 100%, 8% 76%);
  transform: rotate(2deg);
}

.story-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.58fr);
  align-items: end;
  gap: 8vw;
}

.story-heading h2,
.principles h2 {
  font-size: clamp(62px, 8.3vw, 142px);
}

.story-heading p {
  max-width: 570px;
  margin: 0 0 4px;
  padding: 22px 0 22px 28px;
  border-left: 2px solid var(--orange);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.48;
}

.story-heading h2 em,
.principles h2 em,
.final-cta h2 em {
  color: var(--orange);
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(70px, 8vw, 120px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.chapter-card {
  position: relative;
  min-height: 380px;
  padding: 28px 28px 24px;
  border-right: 1px solid var(--ink);
  transition: color 220ms ease, background 220ms ease;
}

.chapter-card:last-child {
  border-right: 0;
}

.chapter-card:hover {
  color: var(--cream);
  background: var(--moss);
}

.chapter-index {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.chapter-mark {
  position: absolute;
  top: 20px;
  right: 28px;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 50px;
}

.chapter-card h3 {
  margin: 148px 0 16px;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 34px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.chapter-card p {
  max-width: 370px;
  margin: 0;
  opacity: 0.75;
  font-size: 15px;
}

.chapter-card small {
  position: absolute;
  right: 28px;
  bottom: 22px;
  color: var(--orange);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.quote-ribbon {
  display: grid;
  grid-template-columns: 0.58fr 1fr;
  align-items: center;
  gap: 32px;
  margin-top: 42px;
  padding: 20px 24px;
  color: var(--cream);
  background: var(--ink);
  transform: rotate(-1deg);
}

.quote-ribbon span {
  color: var(--acid);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.09em;
}

.quote-ribbon strong {
  font-family: var(--display);
  font-size: clamp(17px, 2vw, 28px);
  letter-spacing: -0.04em;
}

.loom {
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 14%, rgba(207, 223, 106, 0.09), transparent 25%),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(244, 238, 213, 0.018) 31px 32px),
    var(--deep);
}

.loom-intro,
.stitchmap-head {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr;
  align-items: end;
  gap: 8vw;
}

.loom h2,
.stitchmap h2 {
  font-size: clamp(64px, 8.5vw, 146px);
}

.loom-intro > p,
.stitchmap-head > p {
  max-width: 520px;
  margin: 0 0 5px;
  color: rgba(244, 238, 213, 0.72);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
}

.loom-board {
  position: relative;
  margin-top: clamp(64px, 8vw, 120px);
  padding: clamp(30px, 4vw, 60px);
  overflow: hidden;
  border: 1px solid rgba(244, 238, 213, 0.45);
  outline: 1px dashed rgba(244, 238, 213, 0.26);
  outline-offset: -10px;
  background: rgba(10, 13, 7, 0.45);
  box-shadow: 16px 16px 0 rgba(232, 105, 24, 0.62);
}

.loom-board::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.11;
  background: repeating-linear-gradient(0deg, transparent 0 9px, var(--cream) 10px 11px);
  pointer-events: none;
}

.loom-status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.loom-status strong {
  color: var(--acid);
  font-size: 13px;
}

.thread-machine {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr 96px;
  align-items: center;
  min-height: 210px;
  margin: 22px 0;
}

.spool {
  position: relative;
  z-index: 2;
  width: 90px;
  height: 90px;
  border: 9px solid var(--paper);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, var(--orange) 0 5px, var(--rust) 6px 10px);
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 4px var(--paper);
  transition: transform 380ms ease;
}

.spool i {
  position: absolute;
  inset: 32%;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
}

.spool-right {
  background: repeating-radial-gradient(circle, var(--acid) 0 5px, var(--moss) 6px 10px);
}

.thread-track {
  position: relative;
  height: 14px;
  margin: 0 -7px;
  overflow: visible;
  border-top: 2px dashed rgba(244, 238, 213, 0.42);
  border-bottom: 2px dashed rgba(244, 238, 213, 0.42);
}

.thread-track i {
  position: absolute;
  top: 2px;
  left: 0;
  width: var(--thread-progress);
  height: 6px;
  background: var(--orange);
  box-shadow: 0 0 14px rgba(232, 105, 24, 0.6);
  transition: width 480ms cubic-bezier(0.76, 0, 0.24, 1);
}

.thread-track i::after {
  position: absolute;
  top: -5px;
  right: -6px;
  width: 15px;
  height: 15px;
  content: "";
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 3px var(--orange);
}

.is-pulling .spool-left {
  transform: rotate(-35deg);
}

.is-pulling .spool-right {
  transform: rotate(35deg);
}

.loom-message {
  position: relative;
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 30px;
  padding: 22px 0;
  border-top: 1px solid rgba(244, 238, 213, 0.24);
  border-bottom: 1px solid rgba(244, 238, 213, 0.24);
}

.loom-message span {
  color: rgba(244, 238, 213, 0.48);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.loom-message strong {
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3.2vw, 51px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pull-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 78px;
  margin-top: 28px;
  padding: 0 26px;
  cursor: pointer;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
  box-shadow: 8px 8px 0 var(--orange);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.pull-button:hover {
  color: var(--cream);
  background: var(--orange);
  transform: translate(-2px, -2px);
}

.pull-button b {
  font-size: 28px;
}

.secret-fiber {
  position: absolute;
  right: 4%;
  bottom: -120px;
  display: grid;
  width: min(300px, 86%);
  padding: 20px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 8px 8px 0 var(--acid);
  transform: rotate(3deg);
  opacity: 0;
  transition: bottom 600ms cubic-bezier(0.22, 1, 0.36, 1), opacity 400ms ease;
}

.secret-fiber span,
.secret-fiber small {
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.secret-fiber b {
  margin: 5px 0;
  color: var(--orange);
  font-family: var(--display);
  font-size: 24px;
}

.is-complete .secret-fiber {
  bottom: 102px;
  opacity: 1;
}

.principles {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 9vw;
  background:
    radial-gradient(circle at 10% 84%, rgba(207, 223, 106, 0.55), transparent 18%),
    var(--paper);
}

.principles-copy {
  position: sticky;
  top: 70px;
  align-self: start;
}

.rules-list {
  border-top: 2px solid var(--ink);
}

.rules-list article {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 25px;
  padding: 38px 0 40px;
  border-bottom: 2px solid var(--ink);
}

.rules-list article > span {
  padding-top: 4px;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 34px;
  font-style: italic;
}

.rules-list h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 37px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.rules-list p {
  max-width: 520px;
  margin: 0;
  color: rgba(22, 24, 15, 0.67);
  font-size: 16px;
}

.stitchmap {
  color: var(--cream);
  background:
    repeating-linear-gradient(135deg, transparent 0 32px, rgba(244, 238, 213, 0.02) 33px 34px),
    var(--moss);
}

.stitch-list {
  margin-top: clamp(62px, 8vw, 110px);
  border-top: 1px solid rgba(244, 238, 213, 0.48);
}

.stitch-list article {
  display: grid;
  grid-template-columns: 100px 0.62fr 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 130px;
  border-bottom: 1px solid rgba(244, 238, 213, 0.48);
  transition: color 180ms ease, padding 180ms ease, background 180ms ease;
}

.stitch-list article:hover {
  padding-right: 20px;
  padding-left: 20px;
  color: var(--ink);
  background: var(--acid);
}

.stitch-number {
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 42px;
  font-style: italic;
}

.stitch-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(23px, 2.6vw, 42px);
  letter-spacing: -0.06em;
}

.stitch-list p {
  max-width: 520px;
  margin: 0;
  color: rgba(244, 238, 213, 0.65);
}

.stitch-list article:hover p {
  color: rgba(22, 24, 15, 0.7);
}

.stitch-list b {
  min-width: 86px;
  padding: 8px 10px;
  color: var(--acid);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 9px;
  text-align: center;
  letter-spacing: 0.1em;
}

.stitch-list article:hover b {
  color: var(--ink);
}

.truth-note {
  width: fit-content;
  max-width: 720px;
  margin: 54px 0 0 auto;
  padding: 14px 18px;
  color: var(--ink);
  background: var(--orange);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.1em;
  transform: rotate(-1deg);
}

.final-cta {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr 0.68fr;
  align-items: center;
  min-height: 800px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 50%, rgba(232, 105, 24, 0.4), transparent 27%),
    var(--acid);
}

.final-cta::before {
  position: absolute;
  inset: 20px;
  content: "";
  border: 1px dashed rgba(22, 24, 15, 0.4);
  pointer-events: none;
}

.final-eye {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 5px solid var(--ink);
  border-radius: 62% 38% 60% 40%;
  background: var(--cream);
  transform: rotate(-12deg);
}

.final-eye i {
  width: 35px;
  height: 35px;
  border: 8px solid var(--ink);
  border-radius: 50%;
  background: white;
}

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

.final-copy > span {
  display: inline-block;
  margin-bottom: 26px;
  padding: 8px 10px;
  color: var(--cream);
  background: var(--ink);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.final-cta h2 {
  font-size: clamp(66px, 8.2vw, 138px);
}

.button-dark {
  color: var(--cream);
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--orange);
}

.button-dark:hover {
  color: var(--ink);
  background: var(--orange);
}

.button-outline-dark {
  color: var(--ink);
  border-color: var(--ink);
}

.button-outline-dark:hover {
  color: var(--cream);
  background: var(--ink);
}

.final-cta > img {
  position: relative;
  z-index: 1;
  width: min(42vw, 560px);
  margin-right: -7vw;
  filter: drop-shadow(0 28px 24px rgba(22, 24, 15, 0.33));
  transform: rotate(6deg);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  align-items: center;
  gap: 44px;
  min-height: 114px;
  padding: 22px max(32px, calc((100vw - 1480px) / 2));
  color: var(--cream);
  background: var(--ink);
}

footer > div {
  display: grid;
  gap: 3px;
  padding-left: 30px;
  border-left: 1px solid rgba(244, 238, 213, 0.25);
}

footer > div span {
  color: rgba(244, 238, 213, 0.48);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.1em;
}

footer > div b {
  max-width: 290px;
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

footer > p {
  justify-self: end;
  margin: 0;
  color: var(--acid);
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.09em;
}

@keyframes signal {
  50% { box-shadow: 0 0 0 8px rgba(207, 223, 106, 0); }
}

@keyframes slowturn {
  to { transform: rotate(360deg); }
}

@keyframes woolfloat {
  0%, 100% { transform: translateY(0) rotate(1.5deg); }
  50% { transform: translateY(-13px) rotate(-0.5deg); }
}

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

  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.7fr;
  }

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

  .mascot-stage {
    min-height: 480px;
  }

  .principles {
    grid-template-columns: 0.78fr 1fr;
  }

  .stitch-list article {
    grid-template-columns: 70px 0.72fr 1fr auto;
  }

  .final-cta {
    grid-template-columns: 105px 1fr 0.58fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap,
  .hero-grid {
    width: min(100% - 36px, 1480px);
  }

  .nav-wrap {
    min-height: 72px;
  }

  .live-tag {
    display: none;
  }

  .nav-right {
    gap: 0;
  }

  .mini-link {
    padding-left: 0;
    border-left: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 62px 0 154px;
  }

  .hero h1 {
    font-size: clamp(49px, 14vw, 76px);
  }

  .lede {
    font-size: 16px;
  }

  .mascot-stage {
    min-height: 480px;
    margin-top: 30px;
  }

  .mascot {
    width: min(98vw, 550px);
    max-height: none;
  }

  .halo {
    width: min(88vw, 470px);
  }

  .specimen-note {
    right: 0;
  }

  .contract-strip {
    right: 18px;
    bottom: 24px;
    left: 18px;
    grid-template-columns: 1fr auto;
  }

  .contract-label {
    display: none;
  }

  .contract-strip code {
    font-size: 10px;
  }

  .contract-strip > * {
    padding: 0 13px;
  }

  .scroll-cue {
    display: none;
  }

  .section-pad {
    padding: 88px 18px;
  }

  .story-heading,
  .loom-intro,
  .stitchmap-head,
  .principles {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .story-heading h2,
  .principles h2,
  .loom h2,
  .stitchmap h2,
  .final-cta h2 {
    font-size: clamp(54px, 17vw, 90px);
  }

  .story-heading p {
    padding: 16px 0 16px 20px;
    font-size: 17px;
  }

  .chapter-grid {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .chapter-card {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .chapter-card:last-child {
    border-bottom: 0;
  }

  .chapter-card h3 {
    margin-top: 110px;
  }

  .quote-ribbon {
    grid-template-columns: 1fr;
  }

  .loom-board {
    padding: 28px 20px;
    box-shadow: 7px 7px 0 rgba(232, 105, 24, 0.62);
  }

  .thread-machine {
    grid-template-columns: 65px 1fr 65px;
    min-height: 150px;
  }

  .spool {
    width: 62px;
    height: 62px;
    border-width: 6px;
  }

  .loom-message {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .pull-button {
    min-height: 68px;
    padding: 0 16px;
    font-size: 10px;
  }

  .is-complete .secret-fiber {
    bottom: 92px;
  }

  .principles-copy {
    position: static;
  }

  .rules-list article {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .stitch-list article {
    grid-template-columns: 50px 1fr auto;
    gap: 15px;
    padding: 25px 0;
  }

  .stitch-list p {
    grid-column: 2 / -1;
    grid-row: 2;
  }

  .stitch-number {
    font-size: 29px;
  }

  .truth-note {
    margin-top: 42px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 0;
  }

  .final-eye {
    display: none;
  }

  .final-copy {
    z-index: 3;
  }

  .final-cta > img {
    width: min(94vw, 540px);
    margin: 28px auto -5px;
  }

  footer {
    grid-template-columns: 1fr auto;
    gap: 24px;
    padding: 32px 18px;
  }

  footer > div {
    display: none;
  }
}

@media (max-width: 440px) {
  .brand span {
    font-size: 12px;
  }

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

  .hero h1 {
    font-size: 47px;
  }

  .section-kicker {
    font-size: 9px;
  }

  .loom-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .stitch-list article {
    grid-template-columns: 42px 1fr;
  }

  .stitch-list b {
    display: none;
  }

  .stitch-list p {
    grid-column: 2;
  }

  footer > p {
    max-width: 120px;
    text-align: right;
  }
}

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

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