/* ============================================================
   V1.5 EDITORIAL LAYER  (Designed to Flow)
   Smart independent magazine + personal notebook + life-design lab.
   Scoped to .ed-* classes so existing pages are untouched.
   Loaded after site.css from base.njk.
   ============================================================ */

:root {
  --ed-ink:    #1F3D52;
  --ed-ocean:  #2E5A80;
  --ed-sky:    #70A0C0;
  --ed-paper:  #F7F5F0;
  --ed-paper2: #FBF9F6;
  --ed-pink:   #FE4D82;
  --ed-body:   #34495c;
  --ed-hand:   GoldenHopes, CooperBT, Georgia, serif; /* Golden Hopes only. Fallback is the editorial serif, never a fake handwriting face. */
  --ed-wrap:   1180px;
}

/* ── FOOTER ADDITIONS (sitewide) ── */
.site-footer .footer-tag { margin: 6px auto 30px; }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 20px;
  max-width: 860px; margin: 0 auto 20px;
}
.footer-links a {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em;
  font-size: 12px; color: rgba(240,244,248,.6);
}
.footer-links a:hover { color: #fff; }

/* ── BASE ── */
.ed { background: var(--ed-paper); color: var(--ed-ink); overflow-x: hidden; }
:where(.ed) p { color: var(--ed-body); }
.ed-wrap { max-width: var(--ed-wrap); margin: 0 auto; padding: 0 var(--pad); position: relative; }
.ed-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--pad); position: relative; }
.ed-sec { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.ed-sec--tight { padding: clamp(44px, 6vw, 80px) 0; }
.ed-sec--paper2 { background: var(--ed-paper2); }
.ed-sec--ruled { border-top: 1px solid rgba(31,61,82,.14); }

/* Dark sections */
.ed-dark { background: var(--ed-ink); color: var(--ed-paper); }
.ed-dark h1, .ed-dark h2, .ed-dark h3, .ed-dark h4 { color: #fff; }
:where(.ed-dark) p { color: rgba(247,245,240,.78); }
.ed-ocean { background: var(--ed-ocean); color: var(--ed-paper); }
.ed-ocean h1, .ed-ocean h2, .ed-ocean h3 { color: #fff; }
:where(.ed-ocean) p { color: rgba(247,245,240,.82); }

/* ── TYPE ── */
.ed-kicker {
  font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ed-ink); display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
}
.ed-kicker::before { content: ""; width: 28px; height: 3px; background: var(--ed-pink); display: inline-block; }
.ed-dark .ed-kicker, .ed-ocean .ed-kicker, .ed-choice-card--ink .ed-kicker { color: var(--ed-paper); }

.ed-mega {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .98;
  font-size: clamp(46px, 8.2vw, 116px); color: var(--ed-ink); margin: 0 0 .35em;
}
.ed-h2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: 1.02;
  font-size: clamp(33px, 5.6vw, 76px); /* min was 38px; lowered Oct 2026 with the H1 scale so H1 stays dominant on phones */ margin: 0 0 .4em;
}
.ed-h3 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; line-height: 1.1;
  font-size: clamp(26px, 2.8vw, 38px); margin: 0 0 .45em;
}
.ed-lede { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.6; color: var(--ed-body); max-width: 40ch; }
:where(.ed-body) p { font-size: 19px; line-height: 1.75; max-width: 62ch; }
.ed-small { font-size: 15px !important; line-height: 1.6 !important; }
.ed-pink { color: var(--ed-pink); }
.ed-italic { font-style: italic; }

/* Hand-written annotations */
.ed-hand {
  font-family: var(--ed-hand); font-weight: 400; color: var(--ed-pink);
  font-size: clamp(32px, 3.1vw, 42px); line-height: 1.15; letter-spacing: 0; text-transform: none;
  display: inline-block; transform: rotate(-3deg);
}
.ed-hand--ink { color: var(--ed-ink); }
.ed-hand--sky { color: var(--ed-sky); }
.ed-hand--sm { font-size: 30px; }
.ed-hand--lg { font-size: clamp(46px, 5.4vw, 72px); line-height: 1.05; transform: rotate(-2deg); }
.ed-direction { text-align: center; margin: clamp(48px, 6vw, 80px) 0 clamp(8px, 2vw, 24px); }
.ed-dark .ed-hand--ink { color: var(--ed-paper); }

/* Scribbled underline under a word */
.ed-scrib { position: relative; white-space: nowrap; display: inline-block; isolation: isolate; }
.ed-scrib::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15 C 60 5, 120 20, 180 10 S 270 8, 297 13' fill='none' stroke='%23FE4D82' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M20 20 C 90 13, 170 22, 285 17' fill='none' stroke='%23FE4D82' stroke-width='3' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none; z-index: -1;
}
/* Hand-drawn circle around a word */
/* Loose marker circle around a single word (e.g. "can't") */
.ed-marker-circle { position: relative; display: inline-block; padding: 0 .12em; margin: 0 .2em; white-space: nowrap; }
.ed-marker-circle::after {
  content: ""; position: absolute; inset: -.3em -.36em -.24em -.4em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 90' preserveAspectRatio='none'%3E%3Cpath d='M58 14 C 110 2, 186 8, 193 40 C 199 70, 128 86, 72 82 C 22 78, 4 60, 9 40 C 15 18, 62 6, 120 8 C 150 9, 170 14, 178 20' fill='none' stroke='%23FE4D82' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M40 20 C 20 30, 14 52, 30 66' fill='none' stroke='%23FE4D82' stroke-width='2' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.ed-circled { position: relative; display: inline-block; padding: 0 .12em; }
.ed-circled::after {
  content: ""; position: absolute; inset: -.18em -.22em -.12em -.22em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'%3E%3Cpath d='M30 12 C 90 -2, 185 6, 194 38 C 200 66, 120 78, 60 74 C 12 70, 2 50, 8 32 C 14 16, 50 8, 110 9' fill='none' stroke='%23FE4D82' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}
/* Highlighter swipe */
.ed-hilite { background: linear-gradient(transparent 58%, rgba(254,77,130,.28) 58%, rgba(254,77,130,.28) 92%, transparent 92%); padding: 0 .08em; }
.ed-dark .ed-hilite { background: linear-gradient(transparent 58%, rgba(254,77,130,.5) 58%, rgba(254,77,130,.5) 92%, transparent 92%); }

/* Arrow svg helper */
.ed-arrow { display: inline-block; width: 90px; height: auto; color: var(--ed-pink); }
.ed-arrow path { stroke: currentColor; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ── BUTTONS ── */
.ed-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 17px 26px;
  background: var(--ed-pink); color: #fff !important; border: 2px solid var(--ed-pink);
  font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px; line-height: 1.2; transition: transform .15s, background .15s, box-shadow .15s;
  box-shadow: 4px 4px 0 var(--ed-ink);
}
.ed-btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ed-ink); }
.ed-dark .ed-btn, .ed-ocean .ed-btn { box-shadow: 4px 4px 0 rgba(247,245,240,.9); }
.ed-btn--ink { background: var(--ed-ink); border-color: var(--ed-ink); box-shadow: 4px 4px 0 var(--ed-pink); }
.ed-btn--ghost { background: transparent; color: var(--ed-ink) !important; border-color: var(--ed-ink); box-shadow: none; }
.ed-btn--ghost:hover { background: var(--ed-ink); color: #fff !important; box-shadow: none; }
.ed-dark .ed-btn--ghost { color: #fff !important; border-color: rgba(255,255,255,.6); }
.ed-link {
  font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ed-ink); border-bottom: 2px solid var(--ed-pink); padding-bottom: 3px; display: inline-block;
}
.ed-link:hover { color: var(--ed-pink); }
.ed-dark .ed-link, .ed-ocean .ed-link { color: #fff; }

/* ── PAPER, TAPE, PHOTOS ── */
.ed-photo {
  position: relative; background: #fff; padding: 12px 12px 44px; box-shadow: 0 18px 40px rgba(31,61,82,.18);
  transform: rotate(2.2deg); display: inline-block; max-width: 100%;
}
.ed-photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.ed-photo figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 6px; font-family: var(--ed-hand); font-weight: 400;
  font-size: 30px; color: var(--ed-ink); line-height: 1.1; text-align: center;
}
.ed-photo--left { transform: rotate(-2.4deg); }
.ed-photo--flat { transform: none; }
.ed-tape::before, .ed-tape::after {
  content: ""; position: absolute; width: 96px; height: 28px; background: rgba(254,77,130,.55);
  top: -12px; left: 50%; transform: translateX(-50%) rotate(-4deg); z-index: 2;
  clip-path: polygon(3% 0, 97% 6%, 100% 100%, 0 94%);
}
.ed-tape::after { display: none; }
.ed-tape--sky::before { background: rgba(112,160,192,.6); }
.ed-tape--corners::before { left: 8px; transform: rotate(-38deg); top: 4px; width: 80px; }
.ed-tape--corners::after { display: block; left: auto; right: -18px; transform: rotate(-38deg); top: auto; bottom: 14px; width: 80px; }

.ed-paper {
  background: var(--ed-paper2); position: relative; padding: clamp(26px, 3.4vw, 44px);
  box-shadow: 0 1px 0 rgba(31,61,82,.06), 0 14px 34px rgba(31,61,82,.08);
}
.ed-torn { clip-path: polygon(0 2%, 6% 0, 14% 1.5%, 23% 0, 34% 2%, 45% .5%, 57% 2%, 68% 0, 79% 1.8%, 90% .3%, 100% 1.5%, 100% 98%, 93% 100%, 82% 98.5%, 71% 100%, 60% 98%, 48% 99.6%, 36% 98%, 25% 100%, 13% 98.4%, 4% 100%, 0 98.6%); }

.ed-blob {
  position: absolute; z-index: 0; background: var(--ed-sky); opacity: .22;
  border-radius: 58% 42% 63% 37% / 44% 55% 45% 56%;
}
.ed-blob--pink { background: var(--ed-pink); opacity: .16; }

/* Grid-paper notebook background */
.ed-grid-paper {
  background-color: var(--ed-paper2);
  background-image:
    linear-gradient(rgba(112,160,192,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112,160,192,.16) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ── HOMEPAGE: HERO ── */
.ed-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); position: relative; }
.ed-hero-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ed-hero .ed-lede { margin-bottom: 34px; }
.ed-hero-cta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.ed-hero-aside { position: relative; }
.ed-hero-aside .ed-photo { width: 100%; max-width: 420px; }
.ed-hero-aside .ed-photo img { aspect-ratio: 4/5; }
.ed-hero-note { position: absolute; left: -64px; bottom: 16%; z-index: 3; max-width: 190px; }
.ed-hero-note .ed-arrow { width: 70px; display: block; margin: 6px 0 0 70px; transform: rotate(8deg); }
.ed-hero-meta {
  margin-top: 44px; display: flex; gap: 26px; flex-wrap: wrap; font-family: var(--sans);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ed-ocean); font-weight: 700;
}
.ed-hero-meta span::before { content: "∿ "; color: var(--ed-pink); }

/* ── RECOGNITION ── */
.ed-recog { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.ed-recog-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ed-recog-list li {
  font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); border: 1.5px solid var(--ed-ink);
  padding: 4px 16px; border-radius: 999px; line-height: 1.3;
}
.ed-recog-list li:nth-child(3n+2) { transform: rotate(-2deg); }
.ed-recog-list li:nth-child(3n) { transform: rotate(1.5deg); }
.ed-pull {
  font-family: var(--serif); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -.03em;
  color: var(--ed-ink); margin: 36px 0 0; padding-left: 22px; border-left: 5px solid var(--ed-pink);
}

/* ── FLOW MODEL ── */
.ed-model-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.ed-model { position: relative; }
.ed-river-svg { width: 100%; height: auto; display: block; margin: 0 0 8px; }
.ed-river-svg--m { display: none; }
.ed-glossary { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ed-ink); }
.ed-gloss { padding: 26px 22px 8px 0; border-right: 1px solid rgba(31,61,82,.18); margin-right: 22px; }
.ed-gloss:last-child { border-right: 0; margin-right: 0; }
.ed-gloss-term { font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); letter-spacing: -.03em; line-height: 1; margin: 0 0 6px; color: var(--ed-ink); }
.ed-gloss-eq { font-family: var(--ed-hand); font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--ed-pink); display: block; margin-bottom: 12px; }
.ed-gloss p:not(.ed-gloss-term) { font-size: 17px !important; line-height: 1.6 !important; margin: 0 0 12px; }
.ed-gloss-note { margin: 4px 0 10px; }
.ed-gloss-note .ed-hand { font-size: 34px; }
.ed-gloss--flow .ed-gloss-term { color: var(--ed-pink); }
.ed-model-close { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: clamp(40px, 5vw, 70px); }
.ed-model-close .ed-h3 { margin: 0; }
.ed-model-close .ed-link { justify-self: start; }

/* ── PATHWAYS ── */
.ed-paths-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 40px; }
.ed-paths-head .ed-hand { max-width: 560px; }
.ed-paths { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; }
.ed-path { position: relative; display: flex; flex-direction: column; text-decoration: none; }
.ed-path-num { font-family: var(--serif); font-size: 18px; letter-spacing: .02em; }
.ed-path-state { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin: 10px 0 4px; }
.ed-path-title { font-family: var(--serif); letter-spacing: -.035em; line-height: 1.02; margin: 0 0 16px; }
.ed-path--main {
  background: var(--ed-ink); color: #fff; padding: clamp(30px, 4vw, 54px); grid-row: span 2; min-height: 100%;
  overflow: hidden;
}
.ed-path--main .ed-path-num, .ed-path--main .ed-path-state { color: var(--ed-pink); }
.ed-path--main .ed-path-title { font-size: clamp(40px, 4.8vw, 68px); color: #fff; }
:where(.ed-path--main) p { color: rgba(247,245,240,.8); font-size: 19px; max-width: 34ch; }
.ed-path--main .ed-btn { align-self: flex-start; margin-top: auto; }
/* Subtle hand-drawn river line (replaces the old aerial river photo) */
.ed-path--main > * { position: relative; z-index: 1; }
.ed-path--main > .ed-path-river { position: absolute; z-index: 0; right: 18px; bottom: 18px; width: 30%; max-width: 200px; height: auto; pointer-events: none; }
.ed-path-river path { fill: none; stroke: var(--ed-sky); stroke-width: 2; stroke-linecap: round; opacity: .35; }
.ed-path--minor { background: var(--ed-paper2); border: 1.5px solid var(--ed-ink); padding: clamp(24px, 3vw, 36px); }
.ed-path--minor .ed-path-num { color: var(--ed-ocean); }
.ed-path--minor .ed-path-state { color: var(--ed-ocean); }
.ed-path--minor .ed-path-title { font-size: clamp(28px, 2.8vw, 38px); color: var(--ed-ink); }
.ed-path--minor p { font-size: 17px; margin-bottom: 18px; }
.ed-path--minor:hover { background: #fff; }
.ed-path--minor .ed-link { align-self: flex-start; }

/* ── RIVER STATES ── */
.ed-states-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: 40px; }
.ed-states { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgba(247,245,240,.25); border-bottom: 1px solid rgba(247,245,240,.25); }
.ed-state { padding: 28px 20px 26px; border-right: 1px solid rgba(247,245,240,.18); position: relative; }
.ed-state:last-child { border-right: 0; }
.ed-state-icon { width: 58px; height: 34px; display: block; margin-bottom: 18px; }
.ed-state-icon path, .ed-state-icon line, .ed-state-icon circle { stroke: var(--ed-sky); fill: none; stroke-width: 3; stroke-linecap: round; }
.ed-state h3 { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); margin: 0 0 8px; color: #fff; letter-spacing: -.02em; }
.ed-state p { font-size: 16px !important; line-height: 1.55 !important; margin: 0; }
.ed-not { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; align-items: center; }
.ed-noticing { font-size: clamp(36px, 3.4vw, 46px); text-decoration: none; }
.ed-not span:not(.ed-hand) { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,245,240,.6); text-decoration: line-through; text-decoration-color: var(--ed-pink); text-decoration-thickness: 2px; }

/* ── ABOUT STRIP ── */
.ed-about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
/* About collage: two overlapping taped photos on a 12-col grid (no absolute positioning, so it recomposes at every width) */
.ed-about-photos { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; max-width: 520px; width: 100%; }
.ed-about-photos .ed-photo { grid-row: 1; width: 100%; max-width: none; margin: 0; }
.ed-about-photos .ed-photo:nth-of-type(1) { grid-column: 1 / 9; z-index: 1; }
.ed-about-photos .ed-photo:nth-of-type(2) { grid-column: 5 / 13; margin-top: 40%; z-index: 2; }
.ed-about-photos .ed-photo img { aspect-ratio: 4/5; }
/* About: one large Polaroid, natural 3:2 proportions, caption written in the bottom border */
.ed-about--polaroid { grid-template-columns: 1fr 1fr; align-items: start; }
/* Desktop: photo top lines up with the top of the H2 (offsets the kicker above the heading) */
.ed-about--polaroid .ed-about-single { max-width: 440px; margin-top: 38px; }
.ed-about-single { width: 100%; max-width: 560px; justify-self: center; padding: 10px 6px 16px; }
.ed-polaroid { display: block; width: 100%; padding: 14px 14px 70px; transform: rotate(-1.6deg); box-shadow: 0 18px 40px rgba(31,61,82,.2); }
.ed-polaroid img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.ed-polaroid figcaption { left: 18px; right: 18px; bottom: 12px; font-family: var(--ed-hand); font-weight: 400; font-size: clamp(34px, 3vw, 42px); line-height: 1; color: var(--ed-pink); text-align: left; transform: rotate(-2deg); }
.ed-case { grid-row: 1; grid-column: 1 / 6; align-self: end; justify-self: start; margin: 0 0 12% 4%; font-size: clamp(34px, 3.4vw, 44px); color: var(--ed-pink); transform: rotate(-6deg); z-index: 3; white-space: nowrap; }

/* ── LATEST ── */
.ed-latest { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ed-item { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(31,61,82,.12); }
.ed-item-img { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--ed-ink); }
.ed-item-img img { width: 100%; height: 100%; object-fit: cover; }
.ed-item-type {
  position: absolute; top: 12px; left: 12px; background: var(--ed-paper); color: var(--ed-ink);
  font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px;
}
.ed-item-img--essay { display: block; background-color: var(--ed-paper2); background-image: linear-gradient(rgba(112,160,192,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(112,160,192,.16) 1px, transparent 1px); background-size: 22px 22px; border-bottom: 1px solid rgba(31,61,82,.12); }
.ed-item-mark { position: absolute; right: 18px; bottom: -22px; font-family: var(--serif); font-size: 150px; line-height: 1; color: var(--ed-pink); opacity: .85; }
.ed-item--listen .ed-item-type { background: var(--ed-pink); color: #fff; }
.ed-item-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.ed-item-body h3 { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -.02em; }
.ed-item-body p { font-size: 15px !important; line-height: 1.55 !important; margin: 0 0 14px; flex: 1; }
.ed-item-body .ed-link { font-size: 11px; align-self: flex-start; }
.ed-latest-foot { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; }

/* ── GUIDE FEATURE ── */
.ed-guide { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
/* The cover is a physical object: never skewed, stretched, cropped or perspective-transformed.
   Only the whole mat carries a very slight rotation; the image keeps its native 905x1280 proportions. */
.ed-guide-mat { position: relative; justify-self: center; width: 100%; max-width: 380px; padding: 30px 30px 62px; transform: rotate(-1deg); box-shadow: 0 16px 36px rgba(0,0,0,.28); }
.ed-cover { position: relative; margin: 0; }
/* Homepage guide: the cover alone on navy. Native 905x1280 proportions, no mat, one tape strip. */
.ed-guide-clean { position: relative; justify-self: center; width: 100%; max-width: 340px; padding-bottom: 56px; }
.ed-cover--clean img { box-shadow: 0 1px 0 rgba(255,255,255,.25), 0 22px 44px rgba(0,0,0,.42); }
.ed-guide-clean .ed-hand { position: absolute; right: 0; bottom: 4px; font-size: 34px; color: var(--ed-pink); transform: rotate(-3deg); }
.ed-cover img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; transform: none; box-shadow: 0 6px 16px rgba(31,61,82,.28); }
.ed-cover::before { content: ""; position: absolute; z-index: 2; top: -12px; left: -18px; width: 88px; height: 26px; background: rgba(254,77,130,.55); transform: rotate(-32deg); clip-path: polygon(3% 0, 97% 6%, 100% 100%, 0 94%); }
.ed-guide-mat .ed-hand { position: absolute; right: 26px; bottom: 12px; font-size: 32px; transform: rotate(-3deg); }
.ed-guide-points { list-style: none; padding: 0; margin: 0 0 32px; }
.ed-guide-points li { font-size: 18px; color: rgba(247,245,240,.85); padding: 10px 0 10px 30px; border-bottom: 1px solid rgba(247,245,240,.14); position: relative; line-height: 1.5; }
.ed-guide-points li::before { content: "∿"; position: absolute; left: 0; top: 9px; color: var(--ed-pink); font-size: 20px; }

/* ── QUOTES ── */
.ed-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ed-quote { margin: 0; padding: 30px 26px 26px; background: #fff; position: relative; }
.ed-quote:nth-child(2) { transform: rotate(-1.2deg); margin-top: 26px; }
.ed-quote:nth-child(3) { transform: rotate(1deg); }
.ed-quote::before { content: "\201C"; font-family: var(--serif); font-size: 90px; line-height: .6; color: var(--ed-pink); display: block; margin-bottom: 8px; }
.ed-quote blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--ed-ink); }
.ed-quote figcaption { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ed-ocean); font-weight: 700; }

/* ── SUBSTACK ── */
.ed-substack { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ed-substack iframe { display: block; width: 100%; max-width: 480px; height: 320px; border: 1px solid rgba(31,61,82,.15); background: #fff; }
.ed-substack > div { min-width: 0; }
.ed-substack-note { margin-top: 18px; font-size: 15px !important; }

/* ── FLOWOLOGY STRIP ── */
.ed-flowology { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding: 30px 0; border-top: 2px solid var(--ed-ink); border-bottom: 1px solid rgba(31,61,82,.2); }
.ed-flowology p { margin: 0; font-size: 18px; max-width: 60ch; }
.ed-flowology strong { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); color: var(--ed-ink); display: block; margin-bottom: 4px; letter-spacing: -.02em; }

/* ── INNER PAGES: PAGE HEAD ── */
.ed-pagehead { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); position: relative; }
.ed-pagehead .ed-lede { max-width: 46ch; }
.ed-pagehead-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 72px); align-items: end; }

/* Choice blocks (Start Here, The Work) */
.ed-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ed-choice-card { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; position: relative; }
.ed-choice-card .ed-h3 { font-size: clamp(30px, 3.4vw, 46px); }
.ed-choice-card .ed-btn, .ed-choice-card .ed-link { margin-top: auto; align-self: flex-start; }
.ed-choice-card ul { margin: 0 0 26px; padding-left: 20px; }
.ed-choice-card li { font-size: 17px; line-height: 1.55; margin-bottom: 8px; color: inherit; }
.ed-choice-card--ink { background: var(--ed-ink); color: var(--ed-paper); }
.ed-choice-card--ink .ed-h3 { color: #fff; }
:where(.ed-choice-card--ink) :is(p, li) { color: rgba(247,245,240,.82); }
.ed-choice-card--paper { background: #fff; border: 1.5px solid var(--ed-ink); }
.ed-choice-card--sky { background: var(--ed-sky); color: var(--ed-ink); }
:where(.ed-choice-card--sky) :is(p, li) { color: var(--ed-ink); }
.ed-quote-in { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 18px; }
.ed-choice-card--ink .ed-quote-in { color: var(--ed-pink); }

.ed-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ed-ink); }
.ed-secondary a { padding: 26px 26px 26px 0; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid rgba(31,61,82,.18); }
.ed-secondary a + a { padding-left: 26px; border-left: 1px solid rgba(31,61,82,.18); }
.ed-secondary strong { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--ed-ink); letter-spacing: -.02em; }
.ed-secondary span { font-size: 16px; color: var(--ed-body); line-height: 1.5; }
.ed-secondary--3 { grid-template-columns: repeat(3, 1fr); }
.ed-secondary--3 a + a { padding-left: 26px; }
.ed-secondary--3 strong { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ed-ink); }
.ed-secondary--3 a:hover strong { color: var(--ed-pink); }
.ed-btn--xl { font-size: 15px; padding: 22px 34px; }
.ed-download-note { font-size: 16px !important; margin-top: 18px; max-width: 46ch; }
.ed-signoff { text-align: center; margin: clamp(40px, 6vw, 72px) 0 0; }
.ed-signoff .ed-hand { display: block; transform: rotate(-2deg); }
.ed-signoff .ed-sig { display: block; margin-top: 14px; font-size: 40px; transform: rotate(-4deg); }
.ed-secondary em { font-style: normal; font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ed-pink); margin-top: 6px; }

/* Numbered steps (How I Work) */
.ed-steps { counter-reset: step; border-top: 2px solid var(--ed-ink); }
.ed-step { display: grid; grid-template-columns: 110px 1fr 1fr; gap: clamp(18px, 3vw, 44px); padding: 34px 0; border-bottom: 1px solid rgba(31,61,82,.18); align-items: start; }
.ed-step-num { font-family: var(--serif); font-size: clamp(46px, 5vw, 72px); line-height: .9; color: var(--ed-pink); letter-spacing: -.04em; }
.ed-step h3 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; margin: 0; letter-spacing: -.03em; }
.ed-step p { margin: 0 0 12px; font-size: 18px; line-height: 1.7; }
.ed-step .ed-hand { font-size: 32px; margin-top: 8px; }

/* Short numbered process list (The Work) */
.ed-worklist { counter-reset: w; list-style: none; padding: 0; margin: 0 0 26px; border-top: 2px solid var(--ed-ink); }
.ed-worklist li { counter-increment: w; display: grid; grid-template-columns: 52px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(31,61,82,.16); font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); color: var(--ed-ink); letter-spacing: -.02em; }
.ed-worklist li::before { content: "0" counter(w); font-family: var(--serif); color: var(--ed-pink); font-size: 18px; }

/* Loop diagram */
.ed-loop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 26px 0; }
.ed-loop span { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; padding: 10px 16px; border: 1.5px solid currentColor; border-radius: 999px; }
.ed-loop i { font-style: normal; color: var(--ed-pink); font-size: 22px; }
.ed-loop span:last-child { background: var(--ed-pink); border-color: var(--ed-pink); color: #fff; }

/* States table (How I Work) */
.ed-statelist { border-top: 1px solid rgba(247,245,240,.25); }
.ed-statelist div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(247,245,240,.18); align-items: baseline; }
.ed-statelist h3 { font-family: var(--serif); font-size: 28px; margin: 0; color: #fff; }
.ed-statelist p { margin: 0; font-size: 18px; }

/* Podcast */
.ed-episodes { display: grid; gap: 34px; }
.ed-episode { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(22px, 4vw, 54px); align-items: center; padding-bottom: 34px; border-bottom: 1px solid rgba(31,61,82,.16); }
.ed-episode:last-child { border-bottom: 0; }
.ed-episode-embed { position: relative; aspect-ratio: 16/9; background: var(--ed-ink); }
.ed-episode-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ed-ep-num { font-family: var(--serif); font-size: 64px; line-height: .9; color: var(--ed-pink); letter-spacing: -.04em; display: block; margin-bottom: 10px; }
.ed-ep-meta { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ed-ocean); margin: 0 0 12px; }

/* Timeline (About) */
.ed-timeline { border-top: 2px solid var(--ed-ink); }
.ed-timeline div { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid rgba(31,61,82,.16); }
.ed-timeline b { font-family: var(--serif); font-size: 22px; color: var(--ed-pink); font-weight: 400; line-height: 1.3; letter-spacing: -.02em; }
.ed-timeline p { margin: 0; font-size: 18px; line-height: 1.6; }
.ed-timeline strong { color: var(--ed-ink); font-weight: 700; }

.ed-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.ed-center { text-align: center; }
.ed-mt { margin-top: 36px; }

/* ── FREE FLOW LIFE AUDIT (V2 landing) ── */
.lra-mapcard-wrap { position: relative; max-width: 380px; width: 100%; justify-self: center; }
.lra-mapcard { transform: rotate(1.4deg); padding: 30px 28px 22px; }
.lra-mapcard-title { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ed-ink) !important; margin: 0 0 18px; }
.lra-maprow { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; margin-bottom: 12px; }
.lra-maprow span { font-family: var(--serif); font-size: 18px; color: var(--ed-ink); letter-spacing: -.01em; }
.lra-maprow i { display: block; height: 9px; border-radius: 5px; background: linear-gradient(90deg, var(--ed-ocean) var(--w), rgba(31,61,82,.1) var(--w)); }
.lra-maprow--focus i { background: linear-gradient(90deg, var(--ed-pink) var(--w), rgba(31,61,82,.1) var(--w)); }
.lra-maprow--focus span { color: var(--ed-pink); }
.lra-mapcard-note { font-size: 12px !important; letter-spacing: .12em; text-transform: uppercase; color: rgba(31,61,82,.45) !important; margin: 14px 0 0; text-align: right; }
.lra-mapcard-hand { margin: 22px 0 0; text-align: center; }
.lra-mapcard-hand .ed-hand { font-size: clamp(34px, 3.2vw, 44px); }
.lra-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ed-ink); }
.lra-area { padding: 28px 26px 30px 0; border-bottom: 1px solid rgba(31,61,82,.16); position: relative; }
.lra-area:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid rgba(31,61,82,.16); }
.lra-area-label { font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ed-pink) !important; margin: 0 0 8px; }
.lra-area h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 12px; }
.lra-area p:not(.lra-area-label) { font-size: 17px; line-height: 1.6; margin: 0; }
.lra-area-hand { display: block; margin-top: 16px; font-size: 32px; transform: rotate(-2deg); }
.lra-area--cta { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.lra-area--cta .ed-btn { align-self: flex-start; }
#quiz .quiz-card-main { box-shadow: 0 18px 40px rgba(31,61,82,.12); }

/* ── ABOUT: Designs expire manifesto panel ── */
.ed-manifesto { padding: clamp(72px, 10vw, 140px) 0; }
.ed-manifesto-h { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: 1.02; font-size: clamp(40px, 6vw, 84px); color: #fff; max-width: 17ch; margin: 0 0 .5em; }
.ed-manifesto-lines p { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px) !important; line-height: 1.3; letter-spacing: -.02em; color: rgba(247,245,240,.82); margin: 0 0 .3em; }
.ed-manifesto-lines .ed-manifesto-last { color: var(--ed-pink); }
.ed-manifesto-story { margin-top: clamp(48px, 7vw, 96px); padding-top: clamp(36px, 5vw, 60px); border-top: 1px solid rgba(247,245,240,.18); align-items: start; }
.ed-manifesto-story .ed-h3 { color: #fff; }
.ed-manifesto-card { max-width: 380px; margin-bottom: 20px; transform: rotate(-2deg); padding: clamp(28px, 3.4vw, 40px); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.ed-manifesto-card p { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px) !important; line-height: 1.3; letter-spacing: -.02em; color: var(--ed-ink); margin: 0; }

/* ── GUIDE SALES PAGE ── */
.gd-micro { font-size: 14px !important; color: var(--ed-body); margin: 14px 0 0; letter-spacing: .01em; }
.gd-micro--light { color: rgba(247,245,240,.75) !important; }
.gd-hero-cover { max-width: 330px; padding-bottom: 0; }
.gd-recog p:not(.ed-kicker) { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px) !important; line-height: 1.3; letter-spacing: -.02em; color: var(--ed-ink); margin: 0 0 .45em; }
.gd-contents ul { list-style: none; padding: 0; margin: 0; }
.gd-contents li { font-size: 17px; line-height: 1.5; padding: 8px 0 8px 22px; border-bottom: 1px solid rgba(31,61,82,.1); position: relative; color: var(--ed-body); }
.gd-contents li::before { content: "∿"; position: absolute; left: 0; top: 7px; color: var(--ed-pink); }
.gd-worksheets { font-size: 16px !important; line-height: 1.6; margin: 18px 0 0 !important; padding: 16px 18px; background: #fff; border-left: 4px solid var(--ed-pink); }
.gd-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ed-ink); }
.gd-list li { font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.35; letter-spacing: -.015em; color: var(--ed-ink); padding: 16px 0 16px 30px; border-bottom: 1px solid rgba(31,61,82,.16); position: relative; }
.gd-list li::before { content: "∿"; position: absolute; left: 0; top: 15px; color: var(--ed-pink); font-family: var(--sans); }
.gd-disclaimer { font-size: 16px !important; line-height: 1.6; max-width: 70ch; margin: 30px 0 0; }
.gd-author { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(31,61,82,.16); max-width: 820px; }
.gd-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.gd-author p { font-size: 16px !important; line-height: 1.65; margin: 0; }
.gd-price { font-family: var(--serif); font-size: clamp(56px, 7vw, 96px) !important; line-height: 1; color: #fff !important; margin: 0 0 14px; letter-spacing: -.03em; }
.gd-pay { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.gd-pay img { height: 26px; width: auto; border-radius: 4px; opacity: .9; }
.ed-ocean .ed-guide-clean .ed-hand { color: var(--ed-pink); }

/* Guide page v2: scannable */
.gd-hook { font-size: clamp(19px, 1.8vw, 22px) !important; line-height: 1.5; max-width: 38ch; margin: 18px 0 0; }
.gd-chips { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 6px 0 30px; }
.gd-chips span { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 24px); letter-spacing: -.015em; color: var(--ed-ink); background: #fff; border: 1.5px solid var(--ed-ink); border-radius: 999px; padding: 6px 18px; line-height: 1.3; }
.gd-chips span:nth-child(2n) { transform: rotate(-1.2deg); }
.gd-chips span:nth-child(3n) { transform: rotate(1deg); }
.gd-big-q { font-size: clamp(40px, 6vw, 84px); margin: 0; color: var(--ed-pink); }
.gd-dark-p { font-size: clamp(18px, 1.7vw, 21px) !important; line-height: 1.6; margin: 0; }
.gd-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gd-card { background: #fff; border: 1px solid rgba(31,61,82,.14); padding: 22px 20px 20px; box-shadow: 0 8px 20px rgba(31,61,82,.06); }
.gd-card h3 { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 8px; color: var(--ed-ink); }
.gd-card p { font-size: 15px !important; line-height: 1.5; margin: 0; }
.gd-card--pink { border-top: 4px solid var(--ed-pink); }
.gd-card--ink { background: var(--ed-ink); border-color: var(--ed-ink); }
.gd-card--ink h3 { color: #fff; }
.gd-card--ink p { color: rgba(247,245,240,.8) !important; }
.gd-inside-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin-top: 38px; }
.gd-inside-cta .ed-hand { font-size: clamp(28px, 2.6vw, 36px); max-width: 520px; }
.gd-short { margin: 0; padding-left: 20px; }
.gd-short li { font-size: 18px; line-height: 1.5; margin-bottom: 10px; }
.gd-closing-q { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px) !important; line-height: 1.15; letter-spacing: -.03em; color: #fff !important; margin: 0; max-width: 20ch; }
@media (max-width: 1000px) { .gd-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gd-cards { grid-template-columns: 1fr 1fr; gap: 10px; } .gd-card { padding: 16px 14px; } .gd-card h3 { font-size: 17px; } .gd-card p { font-size: 14px !important; } }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .ed-river-svg { display: none; }
  .ed-river-svg--m { display: block; width: calc(100% + 2 * var(--pad) - 16px); max-width: none; margin: 0 calc(-1 * var(--pad) + 8px) 12px; }
  .ed-not { gap: 8px 18px; }
  .ed-not span:not(.ed-hand) { font-size: 11px; letter-spacing: .12em; }
  .ed-noticing { display: block; font-size: clamp(42px, 11.5vw, 50px); line-height: 1.05; margin: 18px 0 4px; padding: 0 14px; transform: rotate(-2deg); transform-origin: left center; }
  .ed-hand--lg { padding-left: 4px; }
  .ed-guide-clean { margin-top: 30px; }
  .ed-substack iframe { max-width: 100%; height: 410px; }
}
@media (max-width: 1000px) {
  .lra-areas { grid-template-columns: repeat(2, 1fr); }
  .lra-area:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .lra-area:nth-child(2n) { padding-left: 26px; border-left: 1px solid rgba(31,61,82,.16); }
  .ed-latest { grid-template-columns: repeat(2, 1fr); }
  .ed-states { grid-template-columns: repeat(2, 1fr); }
  .ed-state { border-bottom: 1px solid rgba(247,245,240,.18); }
  .ed-state:nth-child(2n) { border-right: 0; }
  .ed-glossary { grid-template-columns: repeat(2, 1fr); }
  .ed-gloss:nth-child(2n) { border-right: 0; margin-right: 0; }
}
@media (max-width: 860px) {
  .ed-hero-grid, .ed-recog, .ed-model-head, .ed-paths, .ed-states-head, .ed-about, .ed-guide,
  .ed-substack, .ed-pagehead-grid, .ed-choice, .ed-two, .ed-episode, .ed-secondary, .ed-secondary--3 { grid-template-columns: 1fr; }
  .ed-path--main { grid-row: auto; }
  .ed-hero-aside { max-width: 360px; margin: 10px auto 0; }
  .ed-hero-note { left: -8px; bottom: -30px; }
  .ed-quotes { grid-template-columns: 1fr; }
  .ed-quote:nth-child(2) { margin-top: 0; }
  .ed-about-photos { max-width: 460px; margin: 0 auto 8px; }
  .ed-about--polaroid .ed-about-single { margin-top: 0; }
  .ed-guide-clean { max-width: 280px; }
  .ed-step { grid-template-columns: 70px 1fr; }
  .ed-step > div:last-child { grid-column: 2; }
  .ed-statelist div { grid-template-columns: 1fr; gap: 6px; }
  .ed-secondary a + a, .ed-secondary--3 a + a { padding-left: 0; border-left: 0; }
  .ed-model-close { grid-template-columns: 1fr; }
  .ed-guide-mat { max-width: 300px; }
}
@media (max-width: 400px) {
  .ed-substack iframe { height: 440px; }
}
@media (max-width: 560px) {
  .lra-areas { grid-template-columns: 1fr; }
  .lra-area, .lra-area:nth-child(2n), .lra-area:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .lra-maprow { grid-template-columns: 84px 1fr; }
  .ed-latest, .ed-glossary, .ed-states { grid-template-columns: 1fr; }
  .ed-gloss, .ed-state { border-right: 0; margin-right: 0; }
  .ed-gloss { border-bottom: 1px solid rgba(31,61,82,.14); }
  .ed-btn { padding: 15px 20px; font-size: 12px; }
  .ed-timeline div { grid-template-columns: 1fr; gap: 2px; }
  .ed-step { grid-template-columns: 1fr; }
  .ed-step > div:last-child { grid-column: 1; }
  .ed-about-photos { max-width: none; }
  .ed-polaroid { padding: 10px 10px 58px; }
  .ed-polaroid figcaption { font-size: 34px; bottom: 10px; }
  .ed-about-photos .ed-photo { padding: 8px 8px 26px; }
  .ed-case { font-size: 34px; margin: 0 0 10% 2%; }
}

/* ============================================
   H1 SCALE (Oct 2026). One shared token, ~13% smaller everywhere.
   Pages that need a different H1 size set --h1-size inline (never font-size),
   so the scale always applies. Mobile defaults mirror site.css breakpoints.
   ============================================ */
:root { --h1-scale: .87; }
h1 { --h1-default: clamp(38px, 5.2vw, 64px); font-size: calc(var(--h1-size, var(--h1-default)) * var(--h1-scale)); }
.ed-mega { --h1-default: clamp(46px, 8.2vw, 116px); font-size: calc(var(--h1-size, var(--h1-default)) * var(--h1-scale)); }
.bio-title { --h1-default: clamp(38px, 9vw, 52px); }
@media (max-width: 900px) { h1:not(.ed-mega):not(.bio-title) { --h1-default: clamp(34px, 8.5vw, 48px); } }
@media (max-width: 700px) { h1:not(.ed-mega):not(.bio-title) { --h1-default: clamp(34px, 9vw, 46px); } }
@media (max-width: 480px) { h1:not(.ed-mega):not(.bio-title) { --h1-default: clamp(33px, 9.5vw, 42px); } }
/* Phones: keep H1 clearly above H2 (H2s bottom out around 34px). Never larger than the old size. */
@media (max-width: 700px) {
  h1 { font-size: min(var(--h1-size, var(--h1-default)), max(33px, calc(var(--h1-size, var(--h1-default)) * var(--h1-scale)))); }
  .ed-mega { font-size: min(var(--h1-size, var(--h1-default)), max(37px, calc(var(--h1-size, var(--h1-default)) * var(--h1-scale)))); }
}

/* ============================================
   LINK IN BIO (Oct 2026): compact editorial calling card. Mobile first.
   ============================================ */
body.linkinbio-page main { padding-top: 0 !important; }
.lb { min-height: 100vh; padding: 44px 18px 40px; }
.lb-inner { max-width: 440px; margin: 0 auto; text-align: center; }
.lb-photo { width: 200px; padding: 10px 10px 46px; transform: rotate(-2deg); margin: 6px auto 26px; display: block; }
.lb-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 55%; }
.lb-photo figcaption { color: var(--ed-pink); font-size: 28px; bottom: 6px; }
.lb-name {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: 1;
  --h1-default: clamp(42px, 11vw, 54px); color: var(--ed-ink); margin: 0 0 8px;
}
.lb-brand {
  display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ed-ink); margin: 0 0 18px; padding-bottom: 6px;
  border-bottom: 3px solid var(--ed-pink);
}
.lb-logo { margin: 0 auto 16px; line-height: 0; }
.lb-logo a { display: inline-block; max-width: 80%; }
.lb-logo img { width: 270px; max-width: 100%; height: auto; display: inline-block; }
.lb-line { font-size: 18px; line-height: 1.6; color: var(--ed-body); margin: 0 auto 28px; max-width: 36ch; }
.lb-links { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.lb-card {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 18px;
  background: #fff; border: 1.5px solid var(--ed-ink); border-radius: 4px;
  box-shadow: 3px 3px 0 var(--ed-ink); color: var(--ed-ink); text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.lb-card:hover, .lb-card:focus-visible { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ed-pink); }
.lb-card-text { flex: 1; min-width: 0; }
.lb-card-title { display: block; text-wrap: balance; font-family: var(--serif); font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.lb-card-sub { display: block; font-family: var(--sans); font-size: 14px; color: var(--ed-body); margin-top: 3px; }
.lb-arrow { color: var(--ed-pink); font-size: 20px; flex-shrink: 0; }
.lb-card--main { background: var(--ed-pink); border-color: var(--ed-pink); box-shadow: 4px 4px 0 var(--ed-ink); color: #fff; padding: 20px 20px; }
.lb-card--main .lb-card-title { font-size: 23px; }
.lb-card--main .lb-card-sub, .lb-card--main .lb-arrow { color: #fff; }
.lb-card--main:hover, .lb-card--main:focus-visible { box-shadow: 5px 5px 0 var(--ed-ink); }
.lb-thumb { width: 38px; height: auto; flex-shrink: 0; box-shadow: 0 3px 8px rgba(31,61,82,.25); }
.lb-wave { width: 38px; height: 24px; flex-shrink: 0; fill: none; stroke: var(--ed-ocean); stroke-width: 2.4; stroke-linecap: round; }
.lb-socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 32px 0 10px; }
.lb-socials a {
  font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ed-ink); text-decoration: none; border-bottom: 2px solid rgba(254,77,130,.5); padding-bottom: 2px;
}
.lb-foot { margin: 14px 0 0; font-size: 14px; }
.lb-foot a { color: var(--ed-body); }

/* Burnout Coaching "What it isn't" (Oct 2026): light supporting note beside the dominant onward card. */
.ed-choice--note { align-items: start; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.ed-note-card {
  position: relative; background: var(--ed-paper2); border: 1px solid var(--ed-sky);
  padding: clamp(22px, 2.6vw, 30px) clamp(22px, 2.6vw, 32px);
}
.ed-note-card .gd-short { margin: 4px 0 0; }
.ed-note-card .gd-short li { font-size: 17px; margin-bottom: 6px; color: var(--ed-body); }
.ed-note-card-foot { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid rgba(112,160,192,.45); font-size: 14px; color: var(--ed-body); }
.ed-choice-card--lead { box-shadow: 6px 6px 0 var(--ed-ink); }
@media (max-width: 860px) { .ed-choice--note { grid-template-columns: 1fr; } }

/* How I Work glossary icons (Oct 2026): fragments of the homepage river sketch and the five River State icons. */
.ed-gloss-icon { display: block; width: 120px; height: 44px; margin: 0 0 14px; }
.ed-gloss-icon--states { width: 100%; max-width: 230px; height: auto; aspect-ratio: 330 / 34; margin-top: 6px; margin-bottom: 18px; }

/* Blog + Substack (Oct 2026) */
.ss-panel-wrap { padding: clamp(28px, 4vw, 44px) var(--pad, 20px) 0; }
.ss-panel {
  max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px 36px; flex-wrap: wrap;
  background: var(--ed-paper2); border: 1px solid var(--ed-sky); border-left: 4px solid var(--ed-pink);
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 34px);
}
.ss-panel > div { flex: 1 1 380px; }
.ss-panel .ed-kicker { margin-bottom: 8px; }
.ss-panel-text { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ed-body); max-width: 60ch; }
.ss-panel .ed-btn { flex-shrink: 0; }
.ss-cta { background: var(--ed-paper); border-top: 3px solid var(--ed-ink); padding: clamp(48px, 7vw, 88px) var(--pad, 20px); }
.ss-cta-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 56px; align-items: end; }
.ss-cta-title { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: 1; color: var(--ed-ink); font-size: clamp(40px, 5vw, 66px); margin: 0; }
.ss-cta-title::after { content: ""; display: block; width: 90px; height: 4px; background: var(--ed-pink); margin-top: 16px; border-radius: 2px; }
.ss-cta-text { font-size: 18px; line-height: 1.65; color: var(--ed-body); margin: 0 0 10px; }
.ss-cta-text--small { font-size: 15px; margin-bottom: 22px; }
@media (max-width: 760px) { .ss-cta-inner { grid-template-columns: 1fr; } .ss-panel .ed-btn { width: 100%; justify-content: center; text-align: center; } }

/* Intent-based CTA panels (Oct 2026): blog posts, category pages, Guide companion resources */
.ic { padding: clamp(44px, 6vw, 80px) var(--pad, 20px); }
.ic-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 22px 56px; align-items: end; }
.ic-title { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; font-size: clamp(32px, 3.8vw, 50px); margin: 0; color: var(--ed-ink); }
.ic-text { font-size: 18px; line-height: 1.65; margin: 0 0 22px; color: var(--ed-body); }
.ic-alt { margin: 18px 0 0; font-size: 15px; color: var(--ed-body); }
.ic-alt a { color: var(--ed-ink); text-decoration: underline; text-decoration-color: var(--ed-pink); text-underline-offset: 4px; }
.ic--burnout { background: var(--ed-ink); }
.ic--burnout .ic-title { color: #fff; }
.ic--burnout .ed-kicker { color: #F6A0B0; }
.ic--burnout .ic-text, .ic--burnout .ic-alt { color: rgba(247,245,240,.82); }
.ic--burnout .ic-alt a { color: #fff; }
.ic--guide { background: var(--ed-paper); border-top: 3px solid #F6A0B0; }
.ic--audit { background: var(--ed-paper2); border-top: 3px solid var(--ed-ink); }
.ic-guide-head { display: flex; gap: 22px; align-items: flex-end; }
.ic-cover { width: 92px; height: auto; flex-shrink: 0; box-shadow: 0 10px 24px rgba(31,61,82,.22); }
@media (max-width: 760px) { .ic-inner { grid-template-columns: 1fr; } .ic-cover { width: 70px; } }

/* Life Audit email confirmation (Oct 2026): compact, secondary to the Flow Map */
.lra-mail { margin: 0 0 24px; }
.lra-mail--pending { margin: 0; }
.lra-mail--ok, .lra-mail--err { background: #F2F6F9; border: 1px solid rgba(112,160,192,.45); border-left: 3px solid var(--ed-pink); padding: 14px 18px; }
.lra-mail--err { background: #FBF5F7; }
.lra-mail p { margin: 0 0 6px; font-size: 15px; line-height: 1.55; color: var(--ed-body); }
.lra-mail p:last-child { margin-bottom: 0; }
.lra-mail-title { font-family: var(--sans); font-weight: 700; font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--ed-ink) !important; margin-bottom: 6px !important; }
.lra-mail strong { color: var(--ed-ink); word-break: break-all; }
.lra-mail-small { font-size: 13px !important; color: var(--muted, #4A6B87) !important; }
.lra-mail-retry { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.lra-mail-retry input { flex: 1 1 220px; padding: 10px 12px; border: 1px solid var(--border); font: inherit; font-size: 15px; background: #fff; border-radius: 2px; }
.lra-mail-retry button { background: var(--ed-ink); color: #fff; border: 0; padding: 10px 18px; font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; border-radius: 2px; }

/* Burnout Coaching / The Capacity Reset (Oct 2026) */
.bc-hero { max-width: 980px; }
.bc-hero-body { max-width: 640px; }
.bc-offer { border-left: 3px solid #F6A0B0; padding-left: clamp(18px, 3vw, 32px); }
.bc-offer-text { font-size: clamp(19px, 1.9vw, 22px); line-height: 1.55; color: var(--ed-body); max-width: 48ch; margin: 0; }
.bc-offer-cta { display: flex; align-items: center; gap: 18px 36px; flex-wrap: wrap; margin-top: 34px; }
