/* Inner pages: topic pages, the CRO and SEO & GEO hubs, the notes index and the note article.
   Same grammar as home: a lit plate carries each finding; lists are ruled, not boxed. */

/* ---------- Page hero (topic, hub, notes index) ---------- */
.phero {
  padding: 6px 0 26px;
  background:
    radial-gradient(70% 55% at 95% 10%, rgba(194, 155, 103, .12), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.phero__grid { display: grid; gap: 18px; }
.phero__title { margin-top: 4px; font: 400 34px/1.06 var(--serif); letter-spacing: -.022em; text-wrap: balance; }
.phero__title em { color: var(--gold-hi); }
.phero__title--icon { display: flex; align-items: center; gap: 14px; }
.phero__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--gold-hi); background: radial-gradient(circle at 30% 25%, rgba(246, 220, 170, .22), rgba(194, 155, 103, .08) 70%); }
.phero__icon .icon { width: 22px; height: 22px; }
.phero__lede { margin-top: 10px; color: var(--ink-2); font-size: 17px; line-height: 1.5; max-width: 36em; }
.phero__jump { display: none; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; }
.phero__jump .go { font-size: 15px; }

/* ---------- Topic page: the two notes, each on its plate ---------- */
.picks { padding: 6px 0 44px; background: var(--bg-2); }
.picks__list { display: grid; gap: 34px; }
.feature { display: grid; gap: 14px; }
.feature__title { font: 400 24px/1.18 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.feature__title a, .feature__title a:visited { padding-block: 8px; color: var(--ink); text-decoration: none; }
.feature__title a:hover, .feature__title a:focus-visible { color: var(--gold-hi); }
.feature__dek { color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.feature__time { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 15px; }
.feature__time .icon { width: 16px; height: 16px; color: var(--gold-hi); }
.feature__btn { justify-self: start; }

/* Sibling topics: a ruled row of links */
.siblings { padding: 40px 0 44px; background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); border-top: 1px solid var(--rule-soft); }
.siblings__title { font: italic 500 22px/1.2 var(--serif); color: var(--gold-hi); margin-bottom: 10px; }
.siblings__list { display: grid; }
.siblings__link, .siblings__link:visited { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: 14px; min-height: 64px; padding: 8px 0; border-bottom: 1px solid var(--rule-soft); color: var(--ink); text-decoration: none; }
.siblings__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--gold-hi); background: radial-gradient(circle at 30% 25%, rgba(246, 220, 170, .2), rgba(194, 155, 103, .07) 70%); }
.siblings__icon .icon { width: 19px; height: 19px; }
.siblings__name { display: grid; gap: 2px; font: 400 21px/1.15 var(--serif); }
.siblings__name small { font: 400 15px/1.35 var(--sans); color: var(--ink-2); }
.siblings__go { width: 20px; height: 20px; color: var(--gold-hi); transition: transform .3s var(--ease); }
.siblings__link:hover .siblings__name, .siblings__link:focus-visible .siblings__name { color: var(--gold-hi); }
.siblings__link:hover .siblings__go, .siblings__link:focus-visible .siblings__go { transform: translateX(4px); }

/* ---------- Hub: one section per topic, two ruled entries each ---------- */
.tsecs { padding: 8px 0 40px; background: var(--bg-2); }
.tsec { display: grid; gap: 14px; padding: 26px 0 24px; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 8px); }
.tsec__head { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 14px; align-content: start; }
.tsec__icon { grid-row: 1 / span 3; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--gold-hi); background: radial-gradient(circle at 30% 25%, rgba(246, 220, 170, .22), rgba(194, 155, 103, .08) 70%); }
.tsec__icon .icon { width: 22px; height: 22px; }
.tsec__name { font: 400 28px/1.1 var(--serif); letter-spacing: -.015em; }
.tsec__desc { color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.tsec__go { justify-self: start; font-size: 15px; }
.entries { display: grid; }
.entry__tile, .nrow__tile { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--gold-hi); background: linear-gradient(160deg, #2e2318 0%, #1a140e 100%); box-shadow: inset 0 0 0 1px rgba(134, 112, 79, .7); }
.entry__tile .icon, .nrow__tile .icon { width: 24px; height: 24px; }

/* ---------- Hub hero visual: a collage of the hub's own topic figures, each tile a link ---------- */
.collage__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.collage__tile--1 { grid-column: span 2; }
.collage__link, .collage__link:visited {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%;
  border-radius: 16px; color: var(--ink); text-decoration: none;
  background: radial-gradient(90% 80% at 60% 10%, rgba(220, 187, 138, .12), transparent 70%), linear-gradient(165deg, #261c15 0%, #140f0b 100%);
  box-shadow: inset 0 0 0 1px rgba(134, 112, 79, .7), 0 24px 40px -28px rgba(0, 0, 0, 1);
  transition: transform .45s var(--ease), box-shadow .3s;
}
.collage__link::before { content: ""; position: absolute; inset: -10% -40%; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent 38%, rgba(255, 236, 200, .08) 50%, transparent 62%); transform: translateX(-70%); }
.collage__link:hover, .collage__link:focus-visible { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--gold-hi), 0 30px 44px -26px rgba(0, 0, 0, 1); }
.collage__art { display: grid; align-items: center; min-height: 92px; padding: 14px 14px 4px; overflow: hidden; }
.collage__viz { display: block; width: 100%; }
.collage__label { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 10px; font: 700 15px/1.25 var(--sans); }
.collage__label > .icon:first-child { width: 17px; height: 17px; color: var(--gold-hi); }
.collage__go { width: 16px; height: 16px; margin-left: auto; color: var(--gold-hi); transition: transform .3s var(--ease); }
.collage__link:hover .collage__label, .collage__link:focus-visible .collage__label { color: var(--gold-hi); }
.collage__link:hover .collage__go, .collage__link:focus-visible .collage__go { transform: translateX(4px); }
/* In a tile the figure is a picture: its small print is dropped and the tile label names the topic. */
.collage .hbar__top, .collage .band__stat, .collage .meter__labels, .collage .meter__pair, .collage .meter__ticks, .collage .measure__cap, .collage .measure__lh,
.collage .claim__bridge, .collage .claim__found, .collage .hund__key, .collage .answer__who, .collage .answer__text, .collage .suggest__list .suggest__bar, .collage .canon__arrow { display: none; }
.collage .claim__said { font-size: 19px; }
.collage .band__chip { height: 40px; }
.collage .hund__grid { gap: 4px; }
.collage .hbars { gap: 10px; }
.collage__tile--1 .collage__art { min-height: 120px; }
@keyframes tileSheen { from { transform: translateX(-70%); } to { transform: translateX(70%); } }
@media (prefers-reduced-motion: no-preference) {
  .collage__link::before { animation: tileSheen 1.6s var(--ease) both; }
  .collage__tile--2 .collage__link::before { animation-delay: .25s; }
  .collage__tile--3 .collage__link::before { animation-delay: .5s; }
  .collage__tile--4 .collage__link::before { animation-delay: .75s; }
  .collage__tile--5 .collage__link::before { animation-delay: 1s; }
}
.entry { border-top: 1px solid var(--rule-soft); }
.entry:first-child { border-top: 0; }
.entry__link, .entry__link:visited { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 6px 14px; padding: 14px 0; color: var(--ink); text-decoration: none; }
.entry__fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; }
.entry__num { font: 300 34px/1 var(--serif); letter-spacing: -.02em; color: var(--gold-hi); font-variant-numeric: lining-nums; }
.entry__unit { color: var(--ink-2); font: italic 400 16px/1.25 var(--serif); }
.entry__title { grid-column: 1; font: 500 19px/1.3 var(--serif); text-wrap: pretty; }
.entry__meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--ink-2); font-size: 14px; }
.entry__meta span { display: inline-flex; align-items: center; gap: 5px; }
.entry__meta .icon { width: 14px; height: 14px; color: var(--gold-hi); }
.entry__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 22px; height: 22px; color: var(--gold-hi); transition: transform .3s var(--ease); }
.entry__link:hover .entry__title, .entry__link:focus-visible .entry__title { color: var(--gold-hi); }
.entry__link:hover .entry__go, .entry__link:focus-visible .entry__go { transform: translateX(4px); }

/* ---------- Notes index: topic filter and a ruled list ---------- */
.filter { position: relative; margin-top: 16px; margin-inline: calc(var(--gutter) * -1); }
.filter__scroller { overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.filter__scroller::-webkit-scrollbar { display: none; }
.filter__bar { display: flex; gap: 4px; width: max-content; border-bottom: 1px solid var(--rule-soft); }
.filter__btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px;
  color: var(--ink-2); background: none; border: 0; cursor: pointer; font: 600 15px/1 var(--sans); white-space: nowrap;
}
.filter__btn .icon { display: none; }
.filter__btn::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--gold-hi); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.filter__btn:hover, .filter__btn:focus-visible { color: var(--ink); }
.filter__btn[aria-pressed="true"] { color: var(--gold-hi); }
.filter__btn[aria-pressed="true"]::after { transform: scaleX(1); }
.filter__btn:focus-visible { outline-offset: -3px; }
.filter__status { margin-top: 12px; color: var(--ink-2); font-size: 15px; }

.nlist-wrap { padding: 4px 0 48px; background: var(--bg-2); }
.nlist { display: grid; border-top: 1px solid var(--rule-soft); }
.nrow { border-bottom: 1px solid var(--rule-soft); animation: rowIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
.nrow[hidden] { display: none; }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.nrow__link, .nrow__link:visited { display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 6px 14px; padding: 16px 0; color: var(--ink); text-decoration: none; }
.nrow__fig { display: flex; align-items: baseline; gap: 10px; }
.nrow__num { font: 300 34px/1 var(--serif); letter-spacing: -.02em; color: var(--gold-hi); font-variant-numeric: lining-nums; }
.nrow__unit { color: var(--ink-2); font: italic 400 15px/1.25 var(--serif); }
.nrow__main { display: grid; gap: 6px; grid-column: 1; }
.nrow__topic { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-hi); font-size: 14px; font-weight: 700; }
.nrow__topic .icon { width: 15px; height: 15px; }
.nrow__title { font: 500 21px/1.25 var(--serif); letter-spacing: -.008em; text-wrap: pretty; }
.nrow__dek { display: none; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.nrow__meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--ink-2); font-size: 14px; }
.nrow__meta span { display: inline-flex; align-items: center; gap: 5px; }
.nrow__meta .icon { width: 14px; height: 14px; color: var(--gold-hi); }
.nrow__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 22px; height: 22px; color: var(--gold-hi); transition: transform .3s var(--ease); }
.nrow__link:hover .nrow__title, .nrow__link:focus-visible .nrow__title { color: var(--gold-hi); }
.nrow__link:hover .nrow__go, .nrow__link:focus-visible .nrow__go { transform: translateX(4px); }

/* ---------- Note article ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 50; height: 3px; background: var(--gold-hi); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.ahero {
  padding: 6px 0 28px;
  background:
    radial-gradient(70% 55% at 95% 10%, rgba(194, 155, 103, .12), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.ahero__grid { display: grid; gap: 18px; }
.ahero__topic, .ahero__topic:visited { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--gold-hi); font-size: 15px; font-weight: 700; text-decoration: none; }
.ahero__topic .icon { width: 17px; height: 17px; }
.ahero__topic:hover, .ahero__topic:focus-visible { color: var(--ink); }
.ahero__title { font: 400 33px/1.08 var(--serif); letter-spacing: -.022em; text-wrap: balance; }
.ahero__dek { margin-top: 12px; color: var(--ink-2); font: 400 19px/1.45 var(--serif); max-width: 34em; text-wrap: pretty; }
.ahero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.ahero__meta > span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.ahero__meta .icon { width: 16px; height: 16px; color: var(--gold-hi); }

.abody { padding: 34px 0 40px; background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 380px); }
.abody__grid { display: grid; gap: 24px; }
.toc { display: none; }
.prose { min-width: 0; max-width: 720px; font: 400 20px/1.6 var(--serif); color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font: 500 27px/1.2 var(--serif); letter-spacing: -.012em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 20px); text-wrap: balance; }
.prose h2 + * { margin-top: .6em; }
.prose p { color: var(--ink); }
.prose strong { font-weight: 600; color: var(--gold-hi); }
.prose code { padding: .05em .3em; border-radius: 5px; background: #2a2018; color: var(--gold-hi); font: 500 .82em/1 var(--sans); }
.prose ul, .prose ol { display: grid; gap: .55em; }
.prose ul > li { position: relative; padding-left: 1.3em; }
.prose ul > li::before { content: ""; position: absolute; left: .15em; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); }
.prose ol { counter-reset: n; }
.prose ol > li { position: relative; padding-left: 2.1em; counter-increment: n; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .12em; display: grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 50%; background: #2d2217; color: var(--gold-hi); font: 700 15px/1 var(--sans); }
.flag { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding: 0 8px; border-radius: 6px; background: rgba(232, 160, 138, .12); color: var(--warn); font: 600 14px/1.8 var(--sans); white-space: nowrap; }
.flag .icon { width: 14px; height: 14px; }

/* Sources: the ledger every note ends on */

/* Next read */
.next { padding: 40px 0 46px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); border-top: 1px solid var(--rule-soft); }
.next__grid { display: grid; gap: 22px; }
.next__label { font: italic 500 22px/1.2 var(--serif); color: var(--gold-hi); }

/* ---------- >= 640 ---------- */
@media (min-width: 640px) {
  .phero__title { font-size: 46px; }
  .ahero__title { font-size: 44px; }
  .nrow__dek { display: block; }
  .phero__jump { display: flex; }
}

/* ---------- >= 1024 ---------- */
@media (min-width: 1024px) {
  .phero { padding: 8px 0 34px; }
  .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); column-gap: 64px; align-items: end; }
  .phero__grid--solo { grid-template-columns: minmax(0, 1fr); }
  .phero__title { font-size: 56px; gap: 18px; }
  .phero__icon { width: 60px; height: 60px; }
  .phero__icon .icon { width: 28px; height: 28px; }
  .phero__lede { font-size: 19px; margin-top: 14px; }
  .phero--hub .phero__grid { align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
  .collage__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .collage--cro .collage__tile--1 { grid-column: 1 / span 4; grid-row: 1 / span 2; }
  .collage--cro .collage__tile--2 { grid-column: 5 / span 2; }
  .collage--cro .collage__tile--3 { grid-column: 5 / span 2; }
  .collage--cro .collage__tile--4, .collage--cro .collage__tile--5 { grid-column: span 3; }
  .collage--seo-geo .collage__tile { grid-column: span 3; }
  .collage__tile--1 .collage__art { min-height: 0; padding: 22px 22px 6px; }
  .collage--cro .collage__tile--2 .collage__art, .collage--cro .collage__tile--3 .collage__art { min-height: 84px; }

  .picks { padding: 8px 0 72px; }
  .picks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .feature { gap: 16px; }
  .feature__title { font-size: 28px; }
  .picks__list { align-items: start; }
  .feature .plate__visual { height: 210px; min-height: 0; }
  .feature .plate__cap { min-height: 92px; }

  .siblings { padding: 56px 0 64px; }
  .siblings__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }

  .tsecs { padding: 8px 0 72px; }
  .tsec { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; padding: 34px 0 30px; }
  .tsec__head { grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; }
  .tsec__icon { width: 56px; height: 56px; }
  .tsec__icon .icon { width: 26px; height: 26px; }
  .tsec__name { font-size: 34px; }
  .entry__link, .entry__link:visited { grid-template-columns: 170px minmax(0, 1fr) 22px; padding: 18px 0; }
  .entry__fig { grid-row: 1 / span 2; flex-direction: column; gap: 4px; }
  .entry__fig--tile, .nrow__fig--tile { align-self: center; }
  .entry__num { font-size: 40px; }
  .entry__title, .entry__meta { grid-column: 2; }
  .entry__go { grid-column: 3; }

  .filter { margin-inline: 0; }
  .filter__scroller { padding-inline: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .filter__bar { width: auto; flex-wrap: wrap; }
  .nlist-wrap { padding: 8px 0 72px; }
  .nrow__link, .nrow__link:visited { grid-template-columns: 220px minmax(0, 1fr) 200px 22px; align-items: center; column-gap: 32px; padding: 22px 0; }
  .nrow__fig { flex-direction: column; gap: 6px; align-items: flex-start; }
  .nrow__num { font-size: 42px; }
  .nrow__main { grid-column: 2; }
  .nrow__meta { grid-column: 3; flex-direction: column; gap: 4px; }
  .nrow__go { grid-column: 4; grid-row: 1; }

  .ahero { padding: 8px 0 44px; }
  .ahero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); column-gap: 64px; align-items: center; }
  .ahero__title { font-size: 52px; }
  .ahero__dek { font-size: 21px; }
  .abody { padding: 56px 0 64px; }
  .abody__grid { grid-template-columns: 240px minmax(0, 720px); column-gap: 72px; justify-content: start; }
  .toc { display: block; position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
  .toc__title { color: var(--gold-hi); font: italic 500 19px/1.2 var(--serif); margin-bottom: 8px; }
  .toc__list { display: grid; border-left: 1px solid var(--rule-soft); }
  .toc__link, .toc__link:visited { position: relative; display: flex; align-items: center; min-height: 44px; padding: 6px 0 6px 16px; color: var(--ink-2); font-size: 15px; line-height: 1.3; text-decoration: none; }
  .toc__link::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 2px; background: var(--gold-hi); transform: scaleY(0); transition: transform .3s var(--ease); }
  .toc__link:hover, .toc__link:focus-visible { color: var(--ink); }
  .toc__link[aria-current="true"] { color: var(--gold-hi); }
  .toc__link[aria-current="true"]::before { transform: none; }
  .prose { font-size: 22px; line-height: 36px; }
  .prose h2 { font-size: 32px; line-height: 1.2; }
  .prose ol > li::before { font-size: 16px; }
  .sources { margin-top: 56px; }
  .sources__title { font-size: 32px; }
  .next__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .nrow { animation: none; }
  .progress { display: none; }
}

/* CRO hub plate: three claims, struck one after another */
.claim--stack { gap: 14px; }
.claim--stack .claim__said { font-size: 21px; }
.claim--stack .claim__said--1 .claim__s { transition-delay: .9s; }
.claim--stack .claim__said--2 .claim__s { transition-delay: 1.5s; }
@media (min-width: 640px) { .claim--stack .claim__said { font-size: 25px; } }
@media (min-width: 1024px) { .claim--stack .claim__said { font-size: 27px; } }
@media (max-width: 1023px) {
  .collage--seo-geo .collage__tile--1 { grid-column: auto; }
  .collage__art { min-height: 0; height: 74px; padding: 12px 12px 0; align-items: start; }
  .collage__tile--1 .collage__art { min-height: 0; height: 104px; }
  .collage__label { min-height: 44px; padding: 4px 12px 8px; font-size: 14px; gap: 7px; }
  .collage__label > .icon:first-child { width: 16px; height: 16px; }
  .collage .claim__said { font-size: 16px; }
  .collage .band__chip { height: 30px; }
  .collage .hbars { gap: 7px; }
}

/* Lists: the figure caption is plain small sans (no italic), and only the first note of a topic carries a figure */
.entry__unit, .nrow__unit { font: 500 14px/1.35 var(--sans); color: var(--ink-2); }
/* SEO & GEO tiles: each figure is fitted inside its tile (nothing runs past the edge): one search box, the two
   addresses wrapped, the question wrapped, and the GEO bars with their own short labels and values. */
.collage--seo-geo .collage__viz { width: 100%; min-width: 0; }
.collage--seo-geo .collage__art { align-items: start; }
.collage .hbar__base { display: none; }
.collage .answer__q { justify-self: start; }
.collage .suggest { grid-template-columns: minmax(0, 1fr); }
.collage .suggest__box + .suggest__box { display: none; }
.collage .suggest__q { font-size: 14px; }
.collage .canon { gap: 6px; }
.collage .canon__url { font-size: 14px; padding: 7px 10px; gap: 8px; grid-template-columns: 16px minmax(0, 1fr); }
.collage .answer { gap: 6px; }
.collage .answer__q { font-size: 14px; padding: 6px 10px; }
.collage .answer__a { padding: 0; background: none; box-shadow: none; }
.collage .answer__cite { padding: 5px 8px; gap: 8px; grid-template-columns: 26px minmax(0, 1fr) 16px; }
.collage .answer__fav { width: 26px; height: 26px; }
.collage__tile--geo .hbar__top { display: flex; font-size: 14px; }
.collage__tile--geo .hbar__long { display: none; }
.collage__tile--geo .hbar__short { display: inline; }
.collage__tile--geo .hbar__val { font-size: 14px; }
.collage__tile--geo .hbars { gap: 8px; }
.collage__tile--geo .hbar { gap: 4px; }
.collage__tile--geo .hbar__track { height: 8px; }
@media (max-width: 1023px) {
  .collage--seo-geo .collage__art { height: auto; padding-top: 12px; }
  .collage .canon__url:not(.canon__url--main) { display: none; }
}
/* Phones: the question-and-answer tile and the GEO bars take the full row, so their labels read in one line */
@media (max-width: 639px) {
  .collage--seo-geo .collage__tile--3, .collage--seo-geo .collage__tile--4 { grid-column: span 2; }
}
/* CRO colour tile: six pills, the one that differs is the one remembered */
.pills { display: grid; gap: 10px; margin-top: 12px; }
.pills__row { display: flex; flex-wrap: nowrap; align-items: center; gap: 5px; }
.pills__pill { flex: 0 1 30px; min-width: 14px; height: 11px; border-radius: 6px; background: #5a4a36; }
.pills__pill--odd { flex: 0 1 42px; min-width: 22px; height: 15px; border-radius: 8px; background: linear-gradient(180deg, #fbe7bf, #dcbb8a); transition: transform .7s var(--ease) .8s; }
.pills__cap { color: var(--ink-2); font: 500 14px/1.3 var(--sans); }
@media (prefers-reduced-motion: no-preference) { .js .pills__pill--odd { animation: pillPop 1s var(--ease) 1s both; } }
@keyframes pillPop { from { transform: scale(.6); opacity: .4; } to { transform: none; opacity: 1; } }

/* ---------- CRO hub tiles carry their number: the figure, then a picture of it ---------- */
.collage--cro .collage__art { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 10px; height: auto; min-height: 0; padding: 14px 14px 4px; }
.collage__fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.collage__num { font: 300 34px/1 var(--serif); letter-spacing: -.02em; color: var(--gold-hi); font-variant-numeric: lining-nums; white-space: nowrap; transition: color .3s; }
.collage__unit { flex: 1 1 8em; color: var(--ink-2); font: 500 14px/1.3 var(--sans); }
.collage__link:hover .collage__num, .collage__link:focus-visible .collage__num { color: var(--focus); }
.collage--cro .collage__tile--1 .collage__num { font-size: 44px; }
.collage--cro .collage__tile--1 .collage__unit { font-size: 15px; }
/* AOV: one threshold bar, 40 of 100 */
.tbar { display: grid; gap: 4px; }
.tbar__track { position: relative; display: block; height: 12px; border-radius: 6px; background: rgba(134, 112, 79, .32); box-shadow: inset 0 0 0 1.5px #9a805b; overflow: hidden; }
.tbar__fill { position: absolute; inset: 0 60% 0 0; border-radius: 6px; background: linear-gradient(90deg, #c9a26d, #f3d7a6); transform-origin: left; }
.tbar__ends { display: flex; justify-content: space-between; color: var(--ink-2); font: 600 14px/1 var(--sans); }
@media (prefers-reduced-motion: no-preference) {
  .js .tbar__fill { animation: tbarGrow 1.2s var(--ease) .5s both; }
}
@keyframes tbarGrow { from { transform: scaleX(0); } to { transform: none; } }
/* Fonts: the ruler keeps its 80-character cap mark visible in the tile */
.collage--cro .measure__lines { gap: 6px; }
@media (min-width: 1024px) {
  .collage--cro .collage__art { padding: 18px 18px 4px; }
  .collage--cro .collage__tile--1 .collage__art { padding: 22px 22px 6px; gap: 28px; }
  .collage--cro .collage__tile--4 .collage__art, .collage--cro .collage__tile--5 .collage__art { gap: 26px; }
  .collage--cro .collage__tile--2 .collage__art, .collage--cro .collage__tile--3 .collage__art { min-height: 0; }
  .collage--cro .collage__num { font-size: 36px; }
  .collage--cro .collage__tile--1 .collage__num { font-size: 56px; }
}
@media (max-width: 1023px) { .collage--cro .collage__art { justify-content: flex-start; } }

/* ---------- Hub and method intro: a jump list with icons that fills the left column (640 px and up) ---------- */
.jumps { display: none; }
.jumps__link, .jumps__link:visited { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; align-items: center; gap: 14px; min-height: 60px; padding: 8px 0; border-bottom: 1px solid var(--rule-soft); color: var(--ink); text-decoration: none; }
.jumps__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--gold-hi); background: radial-gradient(circle at 30% 25%, rgba(246, 220, 170, .2), rgba(194, 155, 103, .07) 70%); transition: transform .35s var(--ease); }
.jumps__icon .icon { width: 19px; height: 19px; }
.jumps__text { display: grid; gap: 1px; min-width: 0; }
.jumps__name { font: 700 16px/1.25 var(--sans); }
.jumps__short { color: var(--ink-2); font-size: 15px; line-height: 1.35; }
.jumps__go { width: 18px; height: 18px; color: var(--gold-hi); transition: transform .3s var(--ease); }
.jumps__link:hover .jumps__name, .jumps__link:focus-visible .jumps__name { color: var(--gold-hi); }
.jumps__link:hover .jumps__go, .jumps__link:focus-visible .jumps__go { transform: translateY(3px); }
.jumps__link:hover .jumps__icon, .jumps__link:focus-visible .jumps__icon { transform: rotate(-8deg); }
.jumps--method { display: grid; margin-top: 18px; border-top: 1px solid var(--rule-soft); }
@media (min-width: 640px) { .jumps { display: grid; margin-top: 24px; border-top: 1px solid var(--rule-soft); } }
@media (min-width: 1024px) {
  .phero--hub .phero__grid { align-items: start; }
  .phero--hub .phero__title { margin-top: 8px; }
}

/* ---------- SEO & GEO tile "One address per product": resting state = the struck duplicate, an arrow, the kept address ---------- */
.ctile { display: grid; gap: 4px; justify-items: start; font: 600 14px/1.35 var(--sans); }
.ctile__dup { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--warn); text-decoration-thickness: 1.5px; }
.ctile__arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-hi); font-weight: 700; }
.ctile__arrow .icon { width: 16px; height: 16px; }
.ctile__main { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: #2d2217; box-shadow: inset 0 0 0 1.5px var(--gold-hi); color: var(--gold-hi); font-weight: 700; white-space: nowrap; }
.ctile__main .icon { display: none; width: 15px; height: 15px; }
@media (min-width: 640px) { .ctile { font-size: 14px; } .ctile__main .icon { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  .js .ctile__arrow .icon { animation: ctileDrop 1.1s var(--ease) .7s both; }
  .js .ctile__main { animation: ctileLit 1.2s var(--ease) 1.1s both; }
}
@keyframes ctileDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes ctileLit { from { box-shadow: inset 0 0 0 1.5px rgba(220, 187, 138, .2); } to { box-shadow: inset 0 0 0 1.5px var(--gold-hi); } }

/* ---------- /notes rows: a 56 px picture of the note's figure on the left ---------- */
.nrow__link, .nrow__link:visited { grid-template-columns: 56px minmax(0, 1fr) 22px; column-gap: 14px; }
.nrow__thumb { grid-column: 1; grid-row: 1 / span 3; align-self: start; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: radial-gradient(90% 80% at 30% 10%, rgba(220, 187, 138, .14), transparent 70%), linear-gradient(160deg, #2e2318 0%, #1a140e 100%); box-shadow: inset 0 0 0 1px rgba(134, 112, 79, .7); transition: transform .4s var(--ease), box-shadow .3s; }
.nrow__fig, .nrow__main, .nrow__meta { grid-column: 2; }
.nrow__go { grid-column: 3; grid-row: 1 / span 3; }
.nrow__link:hover .nrow__thumb, .nrow__link:focus-visible .nrow__thumb { transform: rotate(-3deg) scale(1.04); box-shadow: inset 0 0 0 1.5px var(--gold-hi); }
.th { width: 44px; height: 44px; }
.th__a { fill: var(--gold-hi); }
.th__b { fill: #5a4a36; }
.th__w { fill: var(--warn); }
.th__l { fill: none; stroke: var(--gold-hi); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.th__o { fill: rgba(220, 187, 138, .12); stroke: var(--gold-hi); stroke-width: 2; }
.th__dash { stroke: #8f7a5c; stroke-width: 1.6; stroke-dasharray: 3 3; }
.th__tick { stroke: #8f7a5c; stroke-width: 1.6; }
.th__strike { stroke: var(--warn); stroke-width: 2; }
@media (min-width: 1024px) {
  .nrow__link, .nrow__link:visited { grid-template-columns: 64px 190px minmax(0, 1fr) 220px 22px; column-gap: 28px; }
  .nrow__thumb { grid-row: 1; align-self: center; width: 64px; height: 64px; }
  .th { width: 50px; height: 50px; }
  .nrow__fig { grid-column: 2; grid-row: 1; }
  .nrow__main { grid-column: 3; grid-row: 1; }
  .nrow__meta { grid-column: 4; grid-row: 1; }
  .nrow__go { grid-column: 5; grid-row: 1; }
}

/* /notes filter on phones: a right-edge fade with a chevron says there are more topics; it hides at the end */
.filter__hint { position: absolute; right: 0; top: 0; bottom: 1px; display: grid; place-items: center end; width: 72px; padding-right: 12px; color: var(--gold-hi); background: linear-gradient(90deg, rgba(20, 16, 11, 0), #14100b 62%); pointer-events: none; transition: opacity .3s; }
.filter__hint .icon { width: 18px; height: 18px; }
.filter.is-end .filter__hint { opacity: 0; }
.filter__scroller { -webkit-mask-image: none; mask-image: none; scroll-padding-inline: 72px; }
.filter__bar { padding-right: 56px; }
@media (min-width: 1024px) { .filter__hint { display: none; } .filter__bar { padding-right: 0; } }

/* Note header: the sources line under the title; a link to the method under the source list */
.sources__how { margin-top: 4px; }
.sources__how .go { font-size: 15px; }

/* ---------- Method & corrections ---------- */
.method__sample { position: relative; padding: 20px 18px 8px; border-radius: 18px; background: linear-gradient(165deg, #241b13 0%, #15100b 100%); box-shadow: inset 0 0 0 1px rgba(134, 112, 79, .6), 0 30px 60px -30px rgba(0, 0, 0, 1); }
.method__cap { margin-bottom: 4px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.method__cap a, .method__cap a:visited { display: inline-block; padding-block: 6px; color: var(--ink); font-family: var(--serif); font-size: 17px; text-decoration: underline; text-decoration-color: rgba(220, 187, 138, .6); text-underline-offset: 4px; }
.method__cap a:hover, .method__cap a:focus-visible { color: var(--gold-hi); }
.sources--sample { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.sources--sample .sources__title { font-size: 22px; }
.mpage { padding: 8px 0 56px; background: var(--bg-2); }
.msec { display: grid; gap: 18px; padding: 34px 0; border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 8px); }
.msec__title { font: 400 28px/1.12 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.msec__lede { margin-top: 8px; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.msec__body { display: grid; gap: 14px; max-width: 720px; color: var(--ink); font: 400 19px/1.6 var(--serif); }
.msec__notes { display: grid; gap: 10px; max-width: 720px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.msec strong { color: var(--gold-hi); font-weight: 600; }
.stypes { display: grid; border-top: 1px solid var(--rule-soft); }
.stypes__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule-soft); }
.stypes__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--gold-hi); background: radial-gradient(circle at 30% 25%, rgba(246, 220, 170, .22), rgba(194, 155, 103, .08) 70%); }
.stypes__icon .icon { width: 20px; height: 20px; }
.stypes__name { color: var(--gold-hi); font: 700 14px/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; }
.stypes__def { margin-top: 6px; color: var(--ink); font: 400 18px/1.5 var(--serif); }
.stypes__used { margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.stypes__note, .stypes__note:visited { color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(211, 198, 177, .45); text-underline-offset: 3px; }
.stypes__note:hover, .stypes__note:focus-visible { color: var(--ink); text-decoration-color: var(--ink); }
.log { position: relative; display: grid; }
.log::before { content: ""; position: absolute; left: 9px; top: 14px; bottom: 30px; width: 2px; background: linear-gradient(180deg, var(--gold-hi), rgba(134, 112, 79, .45)); }
.log__item { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 18px; padding: 8px 0 22px; }
.log__dot { position: relative; z-index: 1; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: radial-gradient(circle, var(--gold-hi) 0 4px, var(--bg-2) 5px); box-shadow: inset 0 0 0 2px var(--gold-hi), 0 0 0 4px var(--bg-2); }
.log__item--empty .log__dot { background: var(--bg-2); box-shadow: inset 0 0 0 2px #9a805b, 0 0 0 4px var(--bg-2); }
.log__when { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--gold-hi); font: 700 14px/1.4 var(--sans); letter-spacing: .05em; text-transform: uppercase; }
.log__when span { color: var(--ink-2); }
.log__what { margin-top: 6px; font: 500 22px/1.25 var(--serif); }
.log__detail { margin-top: 6px; max-width: 680px; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
@media (min-width: 1024px) {
  .phero__grid--method { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); align-items: start; }
  .method__sample { padding: 28px 30px 12px; border-radius: 22px; }
  .mpage { padding: 16px 0 80px; }
  .msec { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; padding: 52px 0; }
  .msec__head { grid-row: 1 / span 2; align-self: start; }
  .msec > :not(.msec__head) { grid-column: 2; }
  .msec__title { font-size: 38px; }
  .msec__lede { font-size: 18px; }
  .stypes__item { grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 20px 0; }
  .stypes__icon { width: 52px; height: 52px; }
  .stypes__def { font-size: 20px; }
  .msec__body { font-size: 21px; }
}
.nrow__fig { flex-wrap: wrap; row-gap: 2px; }
.nrow__num { white-space: nowrap; }
@media (max-width: 639px) { .nrow__num { font-size: 30px; } }
/* Method: each note link in the type list is a full 44 px target */
.stypes__used { display: flex; flex-wrap: wrap; align-items: center; column-gap: 6px; line-height: 1.35; }
.stypes__note, .stypes__note:visited { display: inline-flex; align-items: center; min-height: 44px; }
.method__cap a, .method__cap a:visited { padding-block: 10px; }

/* ---------- iter7 ---------- */
/* Source type and citation share one line wherever they appear ("PEER-REVIEWED · Kohavi et al., KDD 2014") */
.cite--line { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 0; }
.cite--line .cite__type { align-self: center; letter-spacing: .03em; }
.cite__dot { color: var(--gold-hi); font-weight: 700; }
.cite--link { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 2px; }

/* /notes rows: line 1 = topic and reading time, the source on one more line. Two meta lines in all. */
.nrow__topic { flex-wrap: wrap; column-gap: 6px; }
.nrow__time { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; color: var(--ink-2); font-weight: 500; }
.nrow__time .icon { width: 14px; height: 14px; color: var(--gold-hi); }
@media (min-width: 1024px) {
  .nrow__link, .nrow__link:visited { grid-template-columns: 64px 170px minmax(0, 1fr) 250px 22px; }
  .nrow__meta { flex-direction: row; }
}

/* /notes thumbnail for the Bing fact: a ring, not the 100 dots (those live on the note itself) */
.th__ring { fill: none; stroke: #5a4a36; stroke-width: 5; }
.th__arc, .th__arc2 { fill: none; stroke-width: 5; transform: rotate(-90deg); transform-origin: 28px 28px; }
.th__arc { stroke: var(--gold-hi); stroke-dasharray: 10 90; }
.th__arc2 { stroke: #a68a63; stroke-dasharray: 20 80; }

/* CRO hub, A/B tile: the fact as one large ring beside its number */
.collage__tile--hundred .collage__art { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.collage__tile--hundred .ring__svg { width: 132px; height: 132px; }
@media (min-width: 1024px) {
  .collage--cro .collage__tile--hundred .collage__art { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; }
  .collage__tile--hundred .ring__svg { width: 176px; height: 176px; }
  .collage--cro .collage__tile--hundred .collage__fig { display: grid; gap: 8px; }
}

/* CRO / SEO hub at 1440: the left column runs to the bottom of the collage (rows stretch, no new copy) */
@media (min-width: 1024px) {
  .phero--hub .phero__grid { align-items: stretch; }
  .phero--hub .phero__grid > div:first-child { display: flex; flex-direction: column; }
  .phero--hub .jumps { flex: 1; grid-auto-rows: 1fr; }
}
/* /notes at 1024+: the source line sits under the dek, in the text column, so it stays on one line */
@media (min-width: 1024px) {
  .nrow__link, .nrow__link:visited { grid-template-columns: 64px 190px minmax(0, 1fr) 22px; row-gap: 8px; }
  .nrow__thumb, .nrow__fig, .nrow__go { grid-row: 1 / span 2; }
  .nrow__main { grid-column: 3; grid-row: 1; }
  .nrow__meta { grid-column: 3; grid-row: 2; }
  .nrow__go { grid-column: 4; }
}
.nrow__meta .cite__type .icon { display: none; }
@media (max-width: 1023px) {
  .nrow__meta { flex-direction: row; }
  .nrow__meta .cite__type { letter-spacing: .02em; }
  .nrow__meta .cite__src { font-size: 14px; }
}
/* Where a card is too narrow for "TYPE · Source" on one line, the type shows as its icon (the label stays for
   screen readers), so the citation never breaks into two lines */
.teaser__link, .nrow__meta { container-type: inline-size; }
@container (max-width: 300px) {
  .teaser__src .cite__label, .nrow__meta .cite__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .teaser__src .cite__type .icon, .nrow__meta .cite__type .icon { display: block; }
  .teaser__src .cite__dot, .nrow__meta .cite__dot { display: none; }
}
