/* =========================================================
   Skief Labs — design system
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,300;1,6..72,400&family=Geist:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;0,6..96,800;0,6..96,900;1,6..96,400;1,6..96,500;1,6..96,600&display=swap');

/* -------- TOKENS -------- */
:root {
  /* color — derived from logo (navy + bright blue) */
  --ink:        #0A1118;        /* near-black for body type */
  --ink-2:      #2A2F38;        /* secondary type */
  --ink-3:      #6B6F76;        /* tertiary, captions */
  --rule:       #1A1F28;        /* hairline rules at full strength */
  --rule-soft:  rgba(10,17,24,0.12);
  --rule-faint: rgba(10,17,24,0.06);

  --navy:       #0A1F4D;        /* primary brand */
  --blue:       #1E5EFF;        /* accent — single use */
  --blue-ink:   #0E3FB8;        /* darker hover */

  --bg:         #EEF1F5;
  --bg-alt:     #E5E9EF;
  --bg-card:    #F6F8FB;

  /* type */
  --serif: 'Newsreader', 'Times New Roman', serif;
  --sans:  'Geist', -apple-system, system-ui, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* grid */
  --gutter: 32px;
  --max-w:  1280px;
  --prose:  640px;

  /* motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* -------- RESET -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; padding: 0; color: inherit; }
hr { border: 0; border-top: 1px solid var(--rule-soft); margin: 0; }

::selection { background: var(--blue); color: var(--bg); }

/* -------- TYPOGRAPHY -------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.display-xl {
  font-family: var(--serif);
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.display-l {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.018em;
}
.display-m {
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.display-s {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.012em;
}

.italic-soft { font-style: italic; color: var(--ink-2); }

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  color: var(--ink-2);
  max-width: 28ch;
}

.prose {
  max-width: var(--prose);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-2);
}
.prose p { margin: 0 0 1.4em; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 500; }

.stat-num {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 80px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* -------- LAYOUT -------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.section { padding: clamp(56px, 8vw, 120px) 0; }
.section-tight { padding: clamp(40px, 5vw, 72px) 0; }
.section-rule { border-top: 1px solid var(--rule-soft); }

.section-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 32px;
}

/* -------- NAV -------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.nav-logo img { height: 22px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
}
.nav-links a { position: relative; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 1px; background: var(--blue);
}
.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease);
}
.nav-cta:hover { color: var(--blue-ink); border-color: var(--blue-ink); }

.nav-services-wrap { position: relative; }
.nav-services-wrap:hover .nav-dropdown,
.nav-services-wrap:focus-within .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  background: var(--bg-card);
  border: 1px solid var(--rule-soft);
  padding: 18px 24px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.nav-dropdown a {
  display: block;
  padding: 0;
}
.nav-dropdown .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.nav-dropdown .name {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}

.mobile-toggle { display: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
}

/* -------- MOBILE DRAWER -------- */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 90vw);
  height: 100dvh;
  background: var(--bg-card);
  border-left: 1px solid var(--rule-soft);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.6, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.mobile-drawer.open { transform: translateX(0); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,17,24,0.4);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--rule-soft);
}

.mobile-drawer-close {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--ink-3);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  transition: color 0.2s;
}
.mobile-drawer-close:hover { color: var(--ink); }

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px;
  flex: 1;
  gap: 0;
}
.mobile-drawer-nav > a {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-drawer-nav > a:hover { color: var(--blue); }
.mobile-drawer-nav > a.active { color: var(--blue); }
.mobile-drawer-nav > a:first-child { border-top: 1px solid var(--rule-soft); }

.mobile-drawer-sub {
  display: flex;
  flex-direction: column;
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid var(--rule-soft);
  gap: 4px;
}
.mobile-drawer-sub a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-drawer-sub a:hover { color: var(--blue); }

.mobile-drawer-cta {
  padding: 24px;
  border-top: 1px solid var(--rule-soft);
}

/* -------- BUTTONS / LINKS -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 0;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  position: relative;
}
.btn:hover { background: var(--navy); }
.btn .arr { font-family: var(--mono); transition: transform 0.2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--rule-soft);
  padding: 4px 0;
  transition: border-color 0.2s var(--ease);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost .arr { font-family: var(--mono); transition: transform 0.2s var(--ease); }
.btn-ghost:hover .arr { transform: translateX(4px); }

.text-link {
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.2s var(--ease);
}
.text-link:hover { color: var(--blue-ink); }

/* arrow underline link, like editorial */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap 0.25s var(--ease);
}
.arrow-link:hover { gap: 14px; }
.arrow-link .arr { font-family: var(--mono); }

/* -------- COMPONENTS -------- */

/* service card */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 0;
  border-top: 1px solid var(--rule-soft);
  transition: padding 0.3s var(--ease);
  position: relative;
}
.service-card:last-child { border-bottom: 1px solid var(--rule-soft); }
.service-card .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.service-card h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.service-card p { color: var(--ink-2); margin: 0; max-width: 50ch; }
.service-card .arrow-link { align-self: flex-start; }
.service-card:hover h3 { color: var(--blue); }
.service-card h3 { transition: color 0.2s var(--ease); }

/* stat block */
.stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.stat .desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 32ch;
}

/* case / proof block */
.proof {
  border-top: 1px solid var(--rule-soft);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
}
.proof:last-child { border-bottom: 1px solid var(--rule-soft); }
.proof .meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proof .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.proof .client {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
}
.proof .body { display: flex; flex-direction: column; gap: 16px; }
.proof .outcome {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.proof .outcome em {
  font-style: italic;
  color: var(--blue);
  font-weight: 400;
}
.proof .desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 64ch;
}

@media (max-width: 720px) {
  .proof { grid-template-columns: 1fr; gap: 14px; }
}

/* principle / definition */
.principle {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--rule-soft);
}
.principle:last-child { border-bottom: 1px solid var(--rule-soft); }
.principle .term {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.principle .num-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.principle .def {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 60ch;
}

@media (max-width: 720px) {
  .principle { grid-template-columns: 1fr; gap: 8px; }
}

/* fit / non-fit list */
.fit-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
}
.fit-list li {
  padding: 18px 0;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: baseline;
  font-size: 16px;
  color: var(--ink-2);
}
.fit-list li:last-child { border-bottom: 1px solid var(--rule-soft); }
.fit-list .marker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.fit-list.fit .marker { color: var(--blue); }

/* article card */
.article-card {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule-soft);
  align-items: baseline;
  transition: padding-left 0.3s var(--ease);
}
.article-card:last-child { border-bottom: 1px solid var(--rule-soft); }
.article-card:hover { padding-left: 12px; }
.article-card:hover h3 { color: var(--blue); }
.article-card .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.article-card h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  transition: color 0.2s var(--ease);
}
.article-card .summary {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 70ch;
}
.article-card .read {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .article-card { grid-template-columns: 1fr; gap: 8px; }
  .article-card .num { font-size: 10px; }
  .article-card .read { display: none; }
}

/* footer */
.footer {
  border-top: 1px solid var(--rule-soft);
  padding: 56px 0 40px;
  margin-top: 80px;
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; color: var(--ink-2); transition: color 0.2s var(--ease); }
.footer a:hover { color: var(--ink); }
.footer .colophon {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 28ch;
  margin-bottom: 16px;
}
.footer .meta {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.55;
}
.footer-base {
  max-width: var(--max-w);
  margin: 56px auto 0;
  padding: 24px var(--gutter) 0;
  border-top: 1px solid var(--rule-faint);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-base { flex-direction: column; gap: 12px; }
}

/* page header (sub-pages) */
.page-header {
  padding: clamp(80px, 12vw, 160px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--rule-soft);
}
.page-header .crumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.page-header .crumb .sep { color: var(--ink-3); opacity: 0.4; }
.page-header h1 { margin-bottom: 24px; }
@media (max-width: 880px) {
  .page-header .header-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .page-header .header-aside {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 1px solid var(--rule-soft);
    padding-top: 24px;
  }
}

/* what's inside cards (outbound 2x2) */
.component-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule-soft);
  border-left: 1px solid var(--rule-soft);
}
.component-grid .cell {
  padding: 36px;
  border-right: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.component-grid .cell .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.component-grid .cell h4 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.component-grid .cell p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

@media (max-width: 720px) {
  .component-grid { grid-template-columns: 1fr; }
}

/* engagement shapes inline list */
.shapes {
  list-style: none; padding: 0; margin: 0;
}
.shapes li {
  padding: 22px 0;
  border-top: 1px solid var(--rule-soft);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: baseline;
}
.shapes li:last-child { border-bottom: 1px solid var(--rule-soft); }
.shapes .name {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.shapes .desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
}
@media (max-width: 720px) {
  .shapes li { grid-template-columns: 1fr; gap: 8px; }
}

/* tags / industries */
.tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  padding: 6px 12px;
  border: 1px solid var(--rule-soft);
  text-transform: uppercase;
}

/* form */
.form { display: flex; flex-direction: column; gap: 20px; max-width: 560px; }
.form label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 8px; }
.form input, .form textarea, .form select {
  font-family: var(--sans);
  font-size: 16px;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-soft);
  padding: 10px 0;
  color: var(--ink);
  border-radius: 0;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-bottom-color: var(--blue);
}
.form textarea { resize: vertical; min-height: 80px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .form .row-2 { grid-template-columns: 1fr; } }

/* calendly placeholder */
.calendly {
  border: 1px solid var(--rule-soft);
  background: var(--bg-card);
  padding: 56px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  min-height: 480px;
  justify-content: center;
}
.calendly .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.calendly .h { font-family: var(--serif); font-size: 32px; line-height: 1.15; max-width: 22ch; }
.calendly .sub { font-size: 14px; color: var(--ink-3); }

/* divider that says "or" */
.or-rule {
  display: flex; align-items: center; gap: 16px;
  margin: 64px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.or-rule::before, .or-rule::after {
  content: '';
  flex: 1; height: 1px; background: var(--rule-soft);
}

/* Article reading view */
.article-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.75;
  color: var(--ink);
}
.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 64px 0 18px;
  font-weight: 400;
}
.article-body h3 {
  font-family: var(--sans);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin: 48px 0 14px;
  color: var(--ink-3);
}
.article-body p { margin: 0 0 1.4em; color: var(--ink-2); }
.article-body p strong { color: var(--ink); font-weight: 500; }
.article-body ul, .article-body ol { padding-left: 24px; margin: 0 0 1.4em; }
.article-body li { margin-bottom: 8px; color: var(--ink-2); }
.article-body blockquote {
  margin: 32px 0;
  padding-left: 24px;
  border-left: 2px solid var(--blue);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
}
.article-body hr {
  margin: 48px auto;
  width: 80px;
  border-top: 1px solid var(--rule-soft);
}
.article-body .pull {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 36px 0;
  font-style: italic;
}

.article-meta {
  max-width: 680px;
  margin: 0 auto 56px;
  display: flex;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* read progress */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0;
  background: var(--blue);
  z-index: 100;
  transition: width 0.05s linear;
}

/* -------- REVEAL ANIMATIONS -------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; animation: rise 0.7s var(--ease) forwards; }
.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.15s; }
.reveal-3 { animation-delay: 0.25s; }
.reveal-4 { animation-delay: 0.35s; }
.reveal-5 { animation-delay: 0.45s; }
.reveal-6 { animation-delay: 0.55s; }

/* type-in for hero variant */
@keyframes type-in {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.type-in {
  display: inline-block;
  animation: type-in 0.9s var(--ease) forwards;
}
.type-in-2 { animation-delay: 0.6s; opacity: 0; animation-fill-mode: forwards; }

/* big rule */
.big-rule {
  height: 1px;
  background: var(--rule);
  width: 100%;
  margin: 0;
}

/* tweaks panel base (for homepage) */
.tweak-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--rule-soft);
  padding: 18px 20px;
  display: none;
  flex-direction: column;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  z-index: 60;
  min-width: 240px;
  box-shadow: 0 12px 40px rgba(10,17,24,0.06);
}
.tweak-panel.open { display: flex; }
.tweak-panel h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink-3);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweak-panel .group { display: flex; flex-direction: column; gap: 8px; }
.tweak-panel .group-label { color: var(--ink-3); }
.tweak-panel .options { display: flex; gap: 6px; }
.tweak-panel .opt {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--rule-soft);
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  font-size: 10px;
  transition: all 0.2s var(--ease);
}
.tweak-panel .opt:hover { color: var(--ink); }
.tweak-panel .opt.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tweak-panel .close {
  cursor: pointer; color: var(--ink-3);
}
.tweak-panel .close:hover { color: var(--ink); }
