:root {
  --ink: #0a0d0c;
  --ink-soft: #111614;
  --panel: #151b18;
  --panel-2: #1b211e;
  --text: #eef2e8;
  --body: #a9b4aa;
  --muted: #849087;
  --line: rgba(238, 242, 232, 0.12);
  --grid: rgba(238, 242, 232, 0.045);
  --lime: #c8f05a;
  --lime-soft: rgba(200, 240, 90, 0.12);
  --orange: #ff8b4a;
  --red: #ff6363;
  --nav: rgba(10, 13, 12, 0.88);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --display:
    "Arial Narrow", "Avenir Next Condensed", "Helvetica Neue", Arial, sans-serif;
  --sans:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: 1160px;
  --nav-height: 76px;
  color-scheme: dark;
}

[data-theme="light"] {
  --ink: #f1f3ec;
  --ink-soft: #e8ebe2;
  --panel: #ffffff;
  --panel-2: #e1e6da;
  --text: #111712;
  --body: #465047;
  --muted: #59645b;
  --line: rgba(17, 23, 18, 0.14);
  --grid: rgba(17, 23, 18, 0.055);
  --lime: #557d00;
  --lime-soft: rgba(85, 125, 0, 0.1);
  --orange: #b94d12;
  --red: #bd3030;
  --nav: rgba(241, 243, 236, 0.9);
  --shadow: 0 24px 80px rgba(25, 34, 28, 0.12);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}
body {
  min-width: 320px;
  background: var(--ink);
  color: var(--body);
  font: 400 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 65%);
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--lime);
  color: #10140d;
  font-weight: 800;
}
.skip-link:focus {
  top: 16px;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.4rem, 8vw, 7.1rem);
}
h2 {
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}
h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
}
.mono {
  font-family: var(--mono);
}
.accent {
  color: var(--lime);
}
.orange {
  color: var(--orange);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--lime);
  font: 700 0.73rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section-intro {
  max-width: 760px;
  margin-bottom: 52px;
}
.section-intro h2 {
  margin-bottom: 22px;
}
.section-intro p {
  max-width: 650px;
  font-size: 1.08rem;
}
.section-index {
  color: var(--muted);
  font: 700 0.72rem/1 var(--mono);
  letter-spacing: 0.15em;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid var(--line);
  background: var(--nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--lime);
  color: var(--lime);
  font: 800 0.75rem/1 var(--mono);
  transform: rotate(-3deg);
}
.brand-name {
  font-size: 1.05rem;
}
.brand-alias {
  color: var(--muted);
  font: 500 0.68rem/1 var(--mono);
  letter-spacing: 0.04em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.site-nav a {
  color: var(--body);
  font-size: 0.86rem;
  font-weight: 650;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}
.theme-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 700 0.65rem/1 var(--mono);
  letter-spacing: 0.1em;
}
.theme-toggle {
  padding: 10px 11px;
}
.theme-toggle:hover,
.menu-toggle:hover {
  border-color: var(--lime);
  color: var(--lime);
}
.nav-cta {
  padding: 11px 16px;
  background: var(--lime);
  color: #10140d !important;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
}

.hero {
  position: relative;
  min-height: 860px;
  padding: calc(var(--nav-height) + 92px) 0 80px;
  overflow: hidden;
}
.hero::after {
  content: "Q";
  position: absolute;
  right: -3vw;
  bottom: -11vw;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  font: 900 min(58vw, 760px)/0.8 var(--display);
  opacity: 0.7;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.7fr);
  gap: 56px;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero h1 {
  max-width: 790px;
  text-transform: uppercase;
}
.hero h1 .line {
  display: block;
}
.hero .lede {
  max-width: 680px;
  margin: 30px 0 36px;
  font-size: clamp(1.07rem, 1.7vw, 1.28rem);
  line-height: 1.62;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-actions.spaced {
  margin-top: 28px;
}
.hero-actions.spaced-wide {
  margin-top: 30px;
}
.hero-actions.centered {
  justify-content: center;
}
.button.spaced {
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 750;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  border-color: var(--lime);
}
.button-primary {
  border-color: var(--lime);
  background: var(--lime);
  color: #10140d;
}
.button-primary:hover {
  background: #dbff78;
}
.button-arrow {
  color: currentColor;
  font-family: var(--mono);
}

.chart-window {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.chart-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 600 0.65rem/1 var(--mono);
  letter-spacing: 0.06em;
}
.chart-top strong {
  color: var(--text);
}
.chart-body {
  position: relative;
  aspect-ratio: 1 / 0.78;
  overflow: hidden;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
}
.chart-body svg {
  width: 100%;
  height: 100%;
}
.chart-label {
  position: absolute;
  padding: 7px 9px;
  background: var(--lime);
  color: #11150f;
  font: 800 0.65rem/1 var(--mono);
}
.chart-label.entry {
  top: 33%;
  right: 12%;
}
.chart-label.base {
  left: 23%;
  bottom: 23%;
  background: var(--panel-2);
  color: var(--body);
  border: 1px solid var(--line);
}
.quote-tape {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--orange);
  background: var(--panel);
  color: var(--text);
  font: 700 0.84rem/1.6 var(--mono);
  transform: rotate(-1deg);
}

.ticker-strip {
  border-block: 1px solid var(--line);
  background: var(--ink-soft);
  overflow: hidden;
}
.ticker-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ticker-item {
  padding: 24px;
  border-left: 1px solid var(--line);
}
.ticker-item:first-child {
  border-left: 0;
}
.ticker-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font: 800 1.5rem/1 var(--display);
  letter-spacing: -0.02em;
}
.ticker-item span {
  color: var(--muted);
  font: 600 0.67rem/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section {
  padding: 110px 0;
}
.section-alt {
  border-block: 1px solid var(--line);
  background: var(--ink-soft);
}
.journey-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
  align-items: start;
}
.journey-statement {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}
.journey-statement h2 {
  font-size: clamp(2.4rem, 4.7vw, 4.4rem);
}
.journey-statement p {
  margin-top: 22px;
  font-size: 1.05rem;
}
.timeline {
  list-style: none;
}
.timeline li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 28px;
  padding: 0 0 44px;
  border-left: 1px solid var(--line);
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline-year {
  position: relative;
  padding-left: 28px;
  color: var(--lime);
  font: 800 0.92rem/1.4 var(--mono);
}
.timeline-year::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 3px;
  width: 9px;
  height: 9px;
  background: var(--lime);
  box-shadow: 0 0 0 5px var(--lime-soft);
}
.timeline-copy h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}
.timeline-copy p {
  max-width: 590px;
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.setup-card {
  position: relative;
  min-height: 440px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.setup-card:hover {
  transform: translateY(-6px);
  border-color: var(--lime);
}
.setup-card::before {
  content: attr(data-number);
  position: absolute;
  right: -10px;
  top: -25px;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  font: 900 9rem/1 var(--display);
}
.setup-tag {
  color: var(--lime);
  font: 700 0.7rem/1 var(--mono);
  letter-spacing: 0.1em;
}
.setup-card h3 {
  margin: 80px 0 18px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  text-transform: uppercase;
}
.setup-card p {
  font-size: 0.95rem;
}
.setup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}
.setup-meta span {
  padding: 7px 9px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 650 0.64rem/1 var(--mono);
  text-transform: uppercase;
}
.card-link {
  position: absolute;
  left: 28px;
  bottom: 28px;
  color: var(--text);
  font: 750 0.8rem/1 var(--mono);
}
.card-link span {
  color: var(--lime);
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.principle {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principle-num {
  color: var(--lime);
  font: 800 0.8rem/1.2 var(--mono);
}
.principle h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}
.principle p {
  font-size: 0.94rem;
}

.study-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 72px;
  align-items: center;
}
.study-copy h2 {
  margin-bottom: 24px;
}
.study-copy p + p {
  margin-top: 18px;
}
.study-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  list-style: none;
  counter-reset: study;
}
.study-list li {
  counter-increment: study;
  padding: 17px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
}
.study-list li::before {
  content: "0" counter(study);
  margin-right: 18px;
  color: var(--lime);
  font-family: var(--mono);
}
.database-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.database-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 650 0.66rem/1 var(--mono);
}
.database-row {
  display: grid;
  grid-template-columns: 66px 1fr 58px;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font: 650 0.72rem/1.3 var(--mono);
}
.database-row:last-child {
  border-bottom: 0;
}
.database-row .ticker {
  color: var(--text);
}
.database-row .pattern {
  color: var(--body);
}
.database-row .result {
  color: var(--lime);
  text-align: right;
}
.database-row .loss {
  color: var(--red);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.resource-link {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.resource-link:hover {
  border-color: var(--lime);
}
.resource-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--lime-soft);
  color: var(--lime);
  font: 800 0.75rem/1 var(--mono);
}
.resource-link h3 {
  margin-bottom: 7px;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.resource-link p {
  color: var(--muted);
  font-size: 0.82rem;
}
.resource-copy {
  min-width: 0;
}
.resource-link .external {
  color: var(--lime);
  font: 800 0.9rem/1 var(--mono);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.book-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--panel);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.book-card:hover {
  transform: translateY(-5px);
  border-color: var(--lime);
}
.book-cover {
  position: relative;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  overflow: hidden;
  border-bottom: 3px solid var(--lime);
  background: #202a24;
}
.book-card:nth-child(2) .book-cover {
  border-color: var(--orange);
  background: #30231d;
}
.book-card:nth-child(3) .book-cover {
  border-color: #75a8ff;
  background: #182434;
}
.book-card:nth-child(4) .book-cover {
  border-color: #f5d067;
  background: #2e2a1c;
}
.book-card:nth-child(5) .book-cover {
  border-color: #d690e8;
  background: #2a1d2d;
}
.book-cover::before {
  content: "";
  position: absolute;
  top: 22px;
  right: -30px;
  width: 130px;
  height: 130px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.13;
}
.book-cover small {
  margin-bottom: 10px;
  color: #c8f05a;
  font: 700 0.62rem/1.3 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.book-card:nth-child(2) .book-cover small {
  color: #ff9a61;
}
.book-cover strong {
  position: relative;
  color: #f4f6ef;
  font: 800 1.18rem/1.08 var(--display);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.book-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
.book-author {
  color: var(--lime);
  font: 700 0.65rem/1.3 var(--mono);
  text-transform: uppercase;
}
.book-body p {
  margin-top: 12px;
  font-size: 0.85rem;
}
.book-buy {
  margin-top: auto;
  padding-top: 20px;
  color: var(--text);
  font: 750 0.74rem/1 var(--mono);
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.post-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.post-card::after {
  content: attr(data-index);
  position: absolute;
  top: -26px;
  right: -8px;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  font: 900 8rem/1 var(--display);
}
.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--lime);
}
.post-meta {
  position: relative;
  z-index: 1;
  color: var(--lime);
  font: 700 0.64rem/1.4 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.post-card h3 {
  position: relative;
  z-index: 1;
  margin: 58px 0 16px;
  font-size: 1.7rem;
  line-height: 1.02;
}
.post-card p {
  position: relative;
  z-index: 1;
  font-size: 0.91rem;
}
.post-read {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 28px;
  color: var(--text);
  font: 750 0.74rem/1 var(--mono);
}

.blog-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.blog-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.blog-row:hover h2 {
  color: var(--lime);
}
.blog-row time,
.article-date {
  color: var(--muted);
  font: 650 0.7rem/1.4 var(--mono);
  text-transform: uppercase;
}
.blog-row h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  line-height: 1.03;
  transition: color 0.2s;
}
.blog-row p {
  max-width: 650px;
  font-size: 0.92rem;
}
.blog-row .external {
  color: var(--lime);
  font: 800 1rem/1 var(--mono);
}

.faq {
  max-width: 820px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.2;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary span {
  color: var(--lime);
  font: 500 1rem/1 var(--mono);
  transition: transform 0.2s;
}
.faq details[open] summary span {
  transform: rotate(45deg);
}
.faq-answer {
  max-width: 700px;
  padding: 0 0 26px;
}

.page-hero {
  padding: calc(var(--nav-height) + 92px) 0 76px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-soft);
}
.breadcrumbs {
  margin-bottom: 36px;
  color: var(--muted);
  font: 650 0.72rem/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.breadcrumbs a {
  color: var(--lime);
}
.page-hero h1 {
  max-width: 980px;
  font-size: clamp(3.3rem, 8vw, 6.8rem);
  text-transform: uppercase;
}
.page-hero .lede {
  max-width: 760px;
  margin-top: 28px;
  font-size: 1.17rem;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.page-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font: 650 0.65rem/1 var(--mono);
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 72px;
  align-items: start;
}
.article-nav {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
}
.article-nav strong {
  display: block;
  margin-bottom: 16px;
  color: var(--text);
  font: 750 0.72rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.article-nav ul {
  list-style: none;
}
.article-nav li {
  border-top: 1px solid var(--line);
}
.article-nav a {
  display: block;
  padding: 12px 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.article-nav a:hover {
  color: var(--lime);
}
.article h2 {
  margin: 70px 0 20px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.article h2:first-child {
  margin-top: 0;
}
.article h3 {
  margin: 38px 0 14px;
  font-size: 1.55rem;
}
.article p + p {
  margin-top: 18px;
}
.article ul,
.article ol {
  margin: 18px 0 0 24px;
}
.article li + li {
  margin-top: 10px;
}
.article li::marker {
  color: var(--lime);
  font-family: var(--mono);
}
.article strong {
  color: var(--text);
}
.article a:not(.button) {
  color: var(--lime);
  border-bottom: 1px solid var(--lime-soft);
}
.callout {
  margin: 30px 0;
  padding: 24px 26px;
  border-left: 3px solid var(--orange);
  background: var(--panel);
}
.callout strong {
  display: block;
  margin-bottom: 7px;
  color: var(--orange);
  font: 750 0.72rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.criteria {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}
.criterion {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.criterion span {
  color: var(--lime);
  font: 800 0.78rem/1.4 var(--mono);
}
.criterion h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
}
.criterion p {
  font-size: 0.92rem;
}
.source-note {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}
.next-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.next-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.next-card:hover {
  border-color: var(--lime);
}
.next-card span {
  color: var(--lime);
  font: 700 0.65rem/1 var(--mono);
  text-transform: uppercase;
}
.next-card h3 {
  margin-top: 14px;
  font-size: 1.3rem;
}

.about-lead {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.monogram-portrait {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.monogram-portrait::before {
  content: "KK";
  color: transparent;
  -webkit-text-stroke: 1px var(--lime);
  font: 900 clamp(7rem, 17vw, 13rem)/1 var(--display);
  letter-spacing: -0.14em;
  transform: translateX(-0.08em);
}
.monogram-portrait::after {
  content: "QULLAMAGGIE / STOCKHOLM";
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: var(--muted);
  font: 650 0.63rem/1 var(--mono);
  letter-spacing: 0.1em;
}
.about-copy h2 {
  margin-bottom: 24px;
}
.about-copy p + p {
  margin-top: 18px;
}

.site-footer {
  padding: 64px 0 38px;
  border-top: 1px solid var(--line);
  background: var(--ink-soft);
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 56px;
  padding-bottom: 42px;
}
.footer-main p {
  max-width: 430px;
  margin-top: 16px;
  font-size: 0.91rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 14px 24px;
  max-width: 460px;
  list-style: none;
}
.footer-nav a {
  color: var(--body);
  font-size: 0.83rem;
  font-weight: 650;
}
.footer-nav a:hover {
  color: var(--lime);
}
.fine-print {
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}
.fine-print p + p {
  margin-top: 9px;
}
.fine-print strong {
  color: var(--body);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 100px 0;
  text-align: center;
}
.not-found .code {
  color: var(--lime);
  font: 900 clamp(7rem, 24vw, 16rem)/0.8 var(--display);
}
.not-found h1 {
  margin-top: 22px;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  text-transform: uppercase;
}
.not-found p {
  max-width: 520px;
  margin: 20px auto 30px;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--nav-height));
    padding: 18px 24px 22px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .site-nav li,
  .site-nav li:nth-child(2),
  .site-nav li:nth-child(3) {
    display: block;
    width: 100%;
  }
  .site-nav a {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .theme-toggle {
    width: 100%;
    margin: 13px 0;
  }
  .site-nav .nav-cta {
    text-align: center;
    border: 0;
  }
  .hero {
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .chart-window {
    max-width: 620px;
    transform: none;
  }
  .journey-grid,
  .study-grid,
  .about-lead {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .journey-statement {
    position: static;
  }
  .setup-grid {
    grid-template-columns: 1fr;
  }
  .books-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .setup-card {
    min-height: 340px;
  }
  .setup-card h3 {
    margin-top: 48px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .article-nav {
    position: static;
  }
  .article-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .article-nav li {
    border: 0;
  }
  .article-nav a {
    padding: 8px 10px;
    border: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  :root {
    --nav-height: 68px;
  }
  .container {
    width: min(100% - 32px, var(--container));
  }
  .brand-alias {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    display: none;
    padding: 18px 16px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .site-nav li,
  .site-nav li:nth-child(2),
  .site-nav li:nth-child(3) {
    display: block;
    width: 100%;
  }
  .site-nav a {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .theme-toggle {
    width: 100%;
    margin: 13px 0;
  }
  .site-nav .nav-cta {
    text-align: center;
    border: 0;
  }
  .hero {
    padding-top: calc(var(--nav-height) + 70px);
  }
  .hero h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }
  .ticker-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .ticker-item:nth-child(3) {
    border-left: 0;
  }
  .ticker-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .section {
    padding: 78px 0;
  }
  .timeline li {
    grid-template-columns: 72px 1fr;
    gap: 15px;
  }
  .timeline-year {
    padding-left: 20px;
  }
  .principles,
  .resources-grid,
  .next-grid,
  .books-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }
  .book-card {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
  }
  .book-cover {
    min-height: 240px;
    border-right: 3px solid var(--lime);
    border-bottom: 0;
  }
  .blog-row {
    grid-template-columns: 1fr auto;
    gap: 12px 20px;
  }
  .blog-row time {
    grid-column: 1 / -1;
  }
  .principle {
    padding: 24px 20px;
  }
  .resource-link {
    grid-template-columns: 44px 1fr auto;
    padding: 18px;
  }
  .resource-icon {
    width: 42px;
    height: 42px;
  }
  .page-hero {
    padding-top: calc(var(--nav-height) + 64px);
  }
  .footer-main {
    flex-direction: column;
  }
  .monogram-portrait {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
