/* infoMogli — calm knowledge platform */

:root{
  /* tokens — overridable by Tweaks */
  --bg: oklch(98% 0.009 80);          /* slightly warmer paper */
  --surface: oklch(96% 0.012 78);
  --surface-2: oklch(93% 0.016 75);
  --ink: oklch(19% 0.02 250);         /* deeper for contrast */
  --ink-2: oklch(32% 0.02 250);       /* body text — was 40 */
  --ink-3: oklch(46% 0.018 250);      /* meta — was 55 */
  --ink-4: oklch(64% 0.014 250);      /* dividers / hints — was 72 */
  --hair: oklch(88% 0.013 250);
  --hair-2: oklch(80% 0.016 250);
  --accent: oklch(46% 0.07 235);      /* the one accent: muted slate-blue, a touch warmer */
  --accent-soft: oklch(94% 0.024 235);
  --accent-ink: oklch(33% 0.075 235);
  --warm: oklch(72% 0.05 70);          /* warm sand — used sparingly as paper tint */
  --warm-soft: oklch(94% 0.025 75);

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans:  "IBM Plex Sans", "Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1240px;
  --read: 680px;
  --r: 6px;
  --r-lg: 10px;

  --section-pad: 112px;
  --grid-gap: 28px;
}

[data-density="compact"]{ --section-pad: 80px; --grid-gap: 22px; }
[data-density="airy"]{    --section-pad: 144px; --grid-gap: 36px; }

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body{
  font-feature-settings: "ss01", "cv11";
}

a{ color: var(--accent); text-decoration: none; }
a:hover{ color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

button{ font: inherit; cursor: pointer; }

/* Type scale */
h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1{ font-size: 52px; line-height: 1.07; letter-spacing: -0.024em; font-weight: 450; }
h2{ font-size: 32px; line-height: 1.15; letter-spacing: -0.018em; }
h3{ font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
h4{ font-size: 16px; line-height: 1.35; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p{ margin: 0; color: var(--ink-2); }

/* Small editorial metadata pill */
.badge{
  display: inline-flex; align-items: center;
  font-size: 11.5px;
  font-family: var(--sans);
  font-weight: 500;
  padding: 3px 9px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--bg);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.badge .dot{
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  margin-right: 7px;
  flex: 0 0 auto;
}
.badge.tinted{ background: var(--accent-soft); border-color: color-mix(in oklab, var(--accent) 22%, var(--hair)); color: var(--accent-ink); }
.badge.warm{ background: var(--warm-soft); border-color: color-mix(in oklab, var(--warm) 30%, var(--hair)); color: oklch(36% 0.05 60); }
.badges{ display: flex; flex-wrap: wrap; gap: 6px; }

.kicker{
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0;
}

.sr-only{
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Layout */
.shell{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

section{ padding-top: var(--section-pad); padding-bottom: 0; }
section:last-of-type{ padding-bottom: var(--section-pad); }

.section-head{
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 44px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hair);
  position: relative;
}
/* The signature motif: a faint second rule, 3px below the first,
   giving every section head the quiet "editorial double rule" of a magazine masthead. */
.section-head::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--hair-2);
  opacity: .55;
}
.section-head .lede{ max-width: 460px; color: var(--ink-2); font-size: 15px; }
.section-head .kicker{ display:block; margin-bottom: 10px; }
.section-head h2{ max-width: 560px; }
.section-head .right{
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  text-align: right;
}

/* Editorial section index — quiet roman numeral with a rule */
.sec-num{
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-4);
  font-weight: 500;
}
.sec-num::before{
  content: "";
  width: 28px; height: 1px;
  background: var(--ink-4);
  display: inline-block;
}
.sec-num em{ font-style: normal; color: var(--ink-2); }

/* Mid-section h2 bump for stronger rhythm */
section#articles h2,
section#tools h2,
section#categories h2{
  font-size: 36px;
  letter-spacing: -0.02em;
}

.divider{ height: 1px; background: var(--hair); border: 0; }

/* ── Top nav ─────────────────────────────────────────── */
.nav{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--hair) 80%, transparent);
}
.nav-inner{
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand{
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 600; letter-spacing: -0.01em;
  font-size: 17px;
}
.brand-mark{
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: 15px;
  letter-spacing: 0;
}
.brand b{ font-weight: 600; }
.brand i{ font-style: normal; color: var(--ink-3); font-weight: 500; }

/* Nav link micro — a small accent dot under hover */
.nav-links a{ position: relative; padding: 4px 0; }
.nav-links a:not(.nav-cta)::after{
  content: "";
  position: absolute; left: 50%; bottom: -4px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, 0) scale(0);
  transition: transform .28s ease;
}
.nav-links a:not(.nav-cta):hover::after{ transform: translate(-50%, 0) scale(1); }

.nav-links{
  display: flex; gap: 28px; align-items: center;
  font-size: 14.5px;
}
.nav-links a{ color: var(--ink-2); }
.nav-links a:hover{ color: var(--ink); text-decoration: none; }
.nav-cta{
  font-size: 13.5px;
  padding: 7px 12px;
  border: 1px solid var(--hair-2);
  border-radius: var(--r);
  color: var(--ink);
  background: var(--surface);
}
.nav-cta:hover{ background: var(--surface-2); text-decoration: none; color: var(--ink); }

.search{
  display: flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 10px 0 12px;
  border: 1px solid var(--hair-2);
  background: var(--surface);
  border-radius: var(--r);
  color: var(--ink-3);
  font-size: 13.5px;
  min-width: 220px;
}
.search input{
  flex: 1; border: 0; background: transparent; color: var(--ink); outline: none;
  font: inherit;
}
.search input::placeholder{ color: var(--ink-3); }
.kbd{
  font-family: var(--mono); font-size: 11px;
  padding: 1px 5px; border: 1px solid var(--hair-2); border-radius: 4px;
  color: var(--ink-3); background: var(--bg);
}

/* ── Hero ────────────────────────────────────────────── */
.hero{
  padding-top: 88px;
  padding-bottom: 16px;
  position: relative;
}
/* Quiet editorial backdrop — barely-there grid */
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--hair) 60%, transparent) 1px, transparent 1px);
  background-size: 80px 100%;
  background-position: 50% 0;
  -webkit-mask-image: radial-gradient(60% 80% at 80% 30%, black, transparent 75%);
          mask-image: radial-gradient(60% 80% at 80% 30%, black, transparent 75%);
  opacity: .45;
  pointer-events: none;
}
.hero > .shell{ position: relative; }
.hero-grid{
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: end;
}
.hero-mark{
  display: block;
  width: 96px; height: 8px;
  margin-bottom: 18px;
  color: var(--ink-4);
}
.hero-mark .acc{ color: var(--accent); }
.hero h1{ max-width: 13ch; }
.hero .lede{
  margin-top: 26px;
  max-width: 38ch;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-2);
}
.hero-meta{
  margin-top: 36px;
  display: flex; align-items: center; gap: 18px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.hero-meta .dot{ width:3px;height:3px;border-radius:50%;background:var(--ink-4); display:inline-block; }
.hero-cta-row{
  margin-top: 40px;
  display: flex; gap: 12px; align-items: center;
}
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-size: 14px; font-weight: 500;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}
.btn-primary{
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover{ background: color-mix(in oklab, var(--ink) 88%, white); color: var(--bg); text-decoration: none; }
.btn-ghost{
  background: transparent; color: var(--ink);
  border-color: var(--hair-2);
}
.btn-ghost:hover{ background: var(--surface); color: var(--ink); text-decoration: none; }
.btn .arrow{ transition: transform .22s ease; }
.btn:hover .arrow{ transform: translateX(2px); }

/* Hero side card — newest guide preview */
.hero-card{
  border: 1px solid var(--hair);
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 26px 28px 28px;
  box-shadow: 0 1px 0 rgba(0,0,0,.012), 0 14px 36px -24px rgba(20,30,50,.22);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hero-card:hover{
  border-color: var(--hair-2);
  box-shadow: 0 1px 0 rgba(0,0,0,.012), 0 18px 42px -24px rgba(20,30,50,.26);
}
/* Editorial illustration inside the hero card */
.hero-illo{
  display: block;
  width: 100%;
  height: auto;
  margin: -4px 0 18px;
}
.hero-card .kicker{ display: flex; align-items: center; gap: 10px; }
.hero-card .pulse{
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(62% 0.13 150);
  box-shadow: 0 0 0 0 oklch(62% 0.13 150 / .6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 oklch(62% 0.13 150 / .55); }
  70%{ box-shadow: 0 0 0 8px oklch(62% 0.13 150 / 0); }
  100%{ box-shadow: 0 0 0 0 oklch(62% 0.13 150 / 0); }
}
.hero-card h3{
  margin-top: 14px;
  font-size: 23px; line-height: 1.25;
  font-weight: 500;
}
.hero-card p{
  margin-top: 10px;
  font-size: 15px; color: var(--ink-2);
  line-height: 1.55;
}
.hero-card .meta{
  margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed var(--hair);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--ink-3);
  font-family: var(--mono);
}
.hero-card .read-link{
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-family: var(--sans); font-size: 13.5px;
  transition: gap .15s ease;
}
.hero-card .read-link:hover{ gap: 9px; text-decoration: none; color: var(--accent-ink); }

.hero-strip{
  margin-top: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px; align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  font-size: 13px;
  color: var(--ink-3);
}
.hero-strip .label{ font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.hero-strip .pubs{
  display: flex; gap: 26px; flex-wrap: wrap;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: -0.005em;
}
.hero-strip .pubs span{ opacity: .75; }

/* ── What we help with ─────────────────────────────── */
.help-grid{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
}
.help-cell{
  padding: 28px 28px 32px 0;
  border-bottom: 1px solid var(--hair);
}
.help-cell + .help-cell{ padding-left: 28px; border-left: 1px solid var(--hair); }
.help-num{
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .08em;
}
.help-cell h3{
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.012em;
}
.help-cell p{
  margin-top: 10px;
  font-size: 14.5px; color: var(--ink-2);
}

/* ── Featured articles ─────────────────────────────── */
.articles{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--grid-gap);
}
.article{
  display: flex; flex-direction: column;
  border: 1px solid var(--hair);
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .28s ease, transform .28s ease, box-shadow .28s ease;
  will-change: transform;
}
.article:hover{
  border-color: var(--hair-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -26px rgba(20,30,50,.28);
}
.article:hover h3{ color: var(--accent-ink); }
.article h3{ transition: color .2s ease; }
.article .cover{
  aspect-ratio: 4 / 3;
  position: relative;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--warm-soft) 50%, var(--surface-2)) 0%, var(--surface-2) 100%);
  border-bottom: 1px solid var(--hair);
  display: grid; place-items: center;
  color: var(--ink-3);
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  overflow: hidden;
}
.article .cover svg{ width: 70%; max-width: 280px; height: auto; }
.article .body{
  padding: 22px 24px 24px;
  display: flex; flex-direction: column;
  flex: 1;
}
.article h3{
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.014em;
}
.article p{
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.article .foot{
  margin-top: auto;
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
  color: var(--ink-3);
}

.article.feature h3{ font-size: 28px; line-height: 1.18; }
.article.feature .cover{ aspect-ratio: 16 / 11; }
.article.feature .body{ padding: 26px 28px 28px; }

/* ── Tools ─────────────────────────────────────────── */
.tools-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}
.tool{
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 28px 28px 30px;
  background: transparent;
  display: flex; flex-direction: column;
  min-height: 192px;
  transition: background .22s ease, box-shadow .22s ease;
  position: relative;
  text-decoration: none;
  color: var(--ink);
}
.tool::before{
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: 0 0;
  transition: transform .28s ease;
}
.tool:hover{
  background: color-mix(in oklab, var(--surface) 90%, var(--warm-soft));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 12%, transparent);
  text-decoration: none; color: var(--ink);
}
.tool:hover::before{ transform: scaleY(1); }
.tool:hover .tool-arrow{ transform: translate(4px,-4px); color: var(--accent); }
.tool:hover h3{ color: var(--accent-ink); }
.tool h3{ transition: color .2s ease; margin-top: 18px; }
.tool-head{
  display: flex; justify-content: space-between; align-items: flex-start;
}
.tool .label{
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3);
}
.tool-arrow{
  color: var(--ink-3);
  transition: transform .2s ease, color .2s ease;
}
.tool h3{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.012em;
}
.tool p{
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34ch;
}
.tool .meta{
  margin-top: auto; padding-top: 18px;
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}

/* ── Learning categories ───────────────────────────── */
.cat-toolbar{
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.chip{
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--ink-2);
  background: transparent;
  transition: all .15s ease;
}
.chip:hover{ border-color: var(--hair-2); color: var(--ink); }
.chip.active{
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.chip .count{
  margin-left: 6px;
  font-family: var(--mono);
  font-size: 11px;
  opacity: .55;
}

.cat-list{
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hair);
  margin-top: 4px;
}
.cat-item{
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 28px;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--hair) 70%, var(--bg));
  text-decoration: none;
  color: var(--ink);
  transition: padding .28s ease, background .25s ease;
  position: relative;
}
.cat-item:nth-child(odd){ padding-right: 36px; padding-left: 4px; }
.cat-item:nth-child(even){
  padding-left: 36px;
  border-left: 1px solid color-mix(in oklab, var(--hair) 65%, var(--bg));
  padding-right: 4px;
}
.cat-item:hover{ text-decoration: none; background: color-mix(in oklab, var(--surface) 55%, transparent); }
.cat-item:nth-child(odd):hover{ padding-left: 10px; padding-right: 30px; }
.cat-item:nth-child(even):hover{ padding-left: 42px; }
.cat-item:hover .cat-title{ color: var(--accent-ink); }
.cat-item:hover .cat-arrow{ transform: translateX(4px); color: var(--accent); }
.cat-num{
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-3);
}
/* Category interactions — vertical accent rule + title underline reveal */
.cat-item::before{
  content: "";
  position: absolute;
  left: -2px; top: 28%; bottom: 28%;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleY(.4);
  transform-origin: 50% 50%;
  transition: opacity .25s ease, transform .3s ease, top .25s ease, bottom .25s ease;
}
.cat-item:nth-child(even)::before{ left: 34px; }
.cat-item:hover::before{
  opacity: 1;
  transform: scaleY(1);
  top: 14%;
  bottom: 14%;
}
.cat-title{
  font-family: var(--serif);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
  background-image: linear-gradient(to right, var(--accent), var(--accent));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .4s ease, color .2s ease;
  padding-bottom: 2px;
  display: inline;
}
.cat-item:hover .cat-title{
  background-size: 100% 1px;
}
.cat-desc{
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.cat-right{
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
}
.cat-arrow{ transition: transform .15s ease, color .15s ease; color: var(--ink-3); }

/* ── About ─────────────────────────────────────────── */
.about{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}
.about-photo{
  width: 200px; height: 240px;
  border-radius: 8px;
  border: 1px solid var(--hair);
  background:
    radial-gradient(120% 80% at 30% 25%, oklch(94% 0.025 80) 0%, oklch(88% 0.03 70) 60%, oklch(82% 0.04 60) 100%);
  position: relative;
  overflow: hidden;
}
.about-photo::after{
  content: "PORTRAIT";
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; color: oklch(36% 0.04 60);
  background: oklch(96% 0.02 80 / .7);
  padding: 3px 6px; border-radius: 3px;
}
.about-body{ max-width: 620px; }
.about-body .kicker{ display:block; margin-bottom: 14px; }
.about-body h2{ font-size: 30px; max-width: 18ch; }
.about-body p{
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
}
.about-body p + p{ margin-top: 14px; }
.about-sig{
  margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-3);
}
.about-sig .name{
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--ink);
  letter-spacing: -0.01em;
}

/* ── Newsletter / CTA ──────────────────────────────── */
.cta{
  margin-top: var(--section-pad);
  border: 1px solid var(--hair);
  background:
    radial-gradient(120% 100% at 0% 0%, color-mix(in oklab, var(--warm-soft) 65%, var(--surface)) 0%, var(--surface) 60%),
    var(--surface);
  border-radius: var(--r-lg);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.cta::after{
  content: "Nº 184";
  position: absolute;
  top: 22px; right: 26px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--ink-4);
}
.cta h2{ font-size: 32px; max-width: 16ch; }
.cta-letter{ display: flex; flex-direction: column; }
.cta-letter .letter{
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 38ch;
}
.cta-letter .letter + .letter{ margin-top: 12px; }
.cta-letter .italic{ font-style: italic; color: var(--ink-3); }
.cta-sig{
  margin-top: 28px;
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.cta-sig .hand{
  font-family: var(--serif); font-style: italic;
  font-size: 24px; color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
}
.cta-right{ display: flex; flex-direction: column; gap: 24px; padding-top: 6px; }
.recent-letters{
  border-top: 1px dashed var(--hair-2);
  padding-top: 18px;
}
.recent-letters .kicker{ display: block; margin-bottom: 14px; }
.recent-letters ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.recent-letters li{
  display: grid; grid-template-columns: 1fr auto;
  gap: 16px; align-items: baseline;
  font-family: var(--serif);
  font-size: 15.5px;
  color: var(--ink-2);
}
.recent-letters li .when{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.cta .lede{
  margin-top: 14px;
  font-size: 15.5px;
  max-width: 44ch;
  color: var(--ink-2);
}
.cta-form{
  display: flex; flex-direction: column; gap: 10px;
}
.cta-row{
  display: flex; gap: 8px;
}
.cta-input{
  flex: 1;
  height: 44px;
  padding: 0 14px;
  font: inherit; font-size: 14.5px;
  border: 1px solid var(--hair-2);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cta-input::placeholder{ color: var(--ink-3); }
.cta-input:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 15%, transparent);
}
.cta-form .btn{ height: 44px; }
.cta-fine{
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex; gap: 14px; align-items: center;
}
.cta-fine .dot{ width:3px;height:3px;border-radius:50%;background:var(--ink-4); display:inline-block; }
.cta-success{
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid color-mix(in oklab, oklch(62% 0.13 150) 30%, var(--hair));
  background: color-mix(in oklab, oklch(95% 0.04 150) 70%, var(--surface));
  border-radius: var(--r);
  font-size: 14px;
  color: var(--ink);
}
.cta-success svg{ flex: 0 0 auto; color: oklch(50% 0.13 150); margin-top: 1px; }
.cta-error{
  font-size: 12.5px;
  color: oklch(48% 0.16 25);
  margin-top: 2px;
}

/* ── Footer ────────────────────────────────────────── */
footer{
  margin-top: 96px;
  border-top: 1px solid var(--hair);
  padding: 64px 0 40px;
  background:
    linear-gradient(to bottom,
      transparent 0%,
      transparent 55%,
      color-mix(in oklab, var(--warm-soft) 72%, var(--bg)) 100%);
}
.foot-colophon{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--hair);
  align-items: start;
}
.foot-colophon .kicker{ display: block; margin-bottom: 14px; }
.foot-colophon p{
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 42ch;
}
.foot-colophon p + p{ margin-top: 12px; }
.foot-sig{
  margin-top: 22px;
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.foot-sig .hand{
  font-family: var(--serif); font-style: italic;
  font-size: 26px; color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
}
.foot-next .preview{
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 30ch;
}
.foot-next .when{
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3);
}
.foot-next .when::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.foot-grid{
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  align-items: start;
}
.foot-col h4{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 16px;
}
.foot-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a{
  color: var(--ink-2); font-size: 14.5px;
}
.foot-col a:hover{ color: var(--ink); text-decoration: none; }
.foot-blurb{
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34ch;
  margin-top: 12px;
}
.foot-bottom{
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--mono);
  letter-spacing: .04em;
}
.foot-bottom .links{ display: flex; gap: 24px; }
.foot-bottom a{ color: var(--ink-3); }
.foot-bottom a:hover{ color: var(--ink); text-decoration: none; }

/* Responsive */
@media (max-width: 1080px){
  .foot-grid{ grid-template-columns: 1.2fr repeat(2, 1fr); row-gap: 36px; }
  .foot-col:first-child{ grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 960px){
  h1{ font-size: 44px; line-height: 1.08; }
  .hero{ padding-top: 64px; }
  .hero-grid{ grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .hero .lede{ font-size: 18px; max-width: 44ch; }
  .hero-strip{ margin-top: 56px; }

  .section-head{ flex-direction: column; gap: 20px; align-items: stretch; }
  .section-head .right{ align-items: flex-start; text-align: left; gap: 16px; }
  .section-head .right .lede{ max-width: 56ch; }

  section#articles h2, section#tools h2, section#categories h2{ font-size: 32px; }

  .help-grid{ grid-template-columns: repeat(2, 1fr); }
  .help-cell + .help-cell{ padding-left: 0; border-left: 0; }
  .help-cell:nth-child(even){ padding-left: 28px; border-left: 1px solid var(--hair); }

  .articles{ grid-template-columns: 1fr 1fr; }
  .article.feature{ grid-column: 1 / -1; }
  .article.feature h3{ font-size: 26px; }

  .tools-grid{ grid-template-columns: repeat(2, 1fr); }

  .cat-list{ grid-template-columns: 1fr; }
  .cat-item:nth-child(even){ padding-left: 0; border-left: 0; }
  .cat-item:nth-child(odd){ padding-right: 0; }
  .cat-item:nth-child(even)::before{ left: -2px; }

  .about{ grid-template-columns: 1fr; gap: 36px; }

  .cta{ grid-template-columns: 1fr; padding: 44px 40px; gap: 32px; }
  .cta::after{ top: 18px; right: 22px; }
  .cta h2{ font-size: 28px; }

  .foot-colophon{ grid-template-columns: 1fr; gap: 36px; padding-bottom: 44px; margin-bottom: 44px; }
  .foot-grid{ grid-template-columns: 1.2fr repeat(2, 1fr); gap: 40px 32px; }
  .foot-col:first-child{ grid-column: 1 / -1; max-width: 520px; }

  .nav-links .hide-md{ display: none; }
}
@media (max-width: 720px){
  :root{ --section-pad: 80px; }
  h1{ font-size: 36px; line-height: 1.1; }
  h2{ font-size: 26px; }
  section#articles h2, section#tools h2, section#categories h2{ font-size: 28px; }

  .shell{ padding: 0 20px; }
  .hero{ padding-top: 48px; }
  .hero h1{ max-width: 16ch; }
  .hero .lede{ font-size: 17px; }
  .hero-cta-row{ flex-wrap: wrap; }
  .hero-card{ padding: 22px 22px 24px; }
  .hero-card h3{ font-size: 21px; }
  .hero-strip{ grid-template-columns: 1fr; gap: 14px; padding: 18px 0; }
  .hero-strip .pubs{ font-size: 15px; gap: 18px; }

  .help-grid, .articles, .tools-grid{ grid-template-columns: 1fr; }
  .help-cell{ padding: 24px 0 26px 0; }
  .help-cell:nth-child(even){ padding-left: 0; border-left: 0; }

  .article .body, .article.feature .body{ padding: 22px 22px 24px; }
  .article.feature h3{ font-size: 24px; }

  .tool{ padding: 24px 22px 26px; min-height: 0; }

  .cat-item{ grid-template-columns: 36px 1fr; padding: 20px 0; gap: 16px; }
  .cat-right{ grid-column: 2 / -1; padding-top: 8px; font-size: 11.5px; }
  .cat-title{ font-size: 20px; }
  .cat-desc{ font-size: 14px; }

  .about-photo{ width: 160px; height: 192px; }
  .about-body h2{ font-size: 26px; }
  .about-body p{ font-size: 16.5px; line-height: 1.6; }

  .cta{ padding: 32px 24px; gap: 28px; }
  .cta h2{ font-size: 24px; }
  .cta::after{ display: none; }
  .cta-letter .letter{ font-size: 16.5px; max-width: none; }
  .recent-letters li{ grid-template-columns: 1fr; gap: 4px; }
  .recent-letters li .when{ font-size: 10.5px; }
  .cta-form .btn{ height: 44px; padding: 0 14px; }

  .foot-colophon p{ font-size: 16px; }
  .foot-grid{ grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .foot-col:first-child{ grid-column: 1 / -1; max-width: none; }
  .foot-bottom{ flex-direction: column; gap: 14px; align-items: flex-start; font-size: 12px; }
  .foot-bottom .links{ gap: 18px; flex-wrap: wrap; }

  .nav .search, .nav-links{ display: none; }
  .nav-inner{ height: 56px; }
}
@media (max-width: 420px){
  h1{ font-size: 32px; }
  .foot-grid{ grid-template-columns: 1fr; gap: 28px; }
}
