/* ================= HOME (one screen) =================
   Marquee H1 band (merges the old word ticker) → lead story flanked by two sticker callouts → segmented tabs. */
.mq-hero { padding-top: 6px; }
.mq { position: relative; overflow-x: clip; padding: 10px 0 12px; }
.mq__band { width: 104%; margin: 0 0 0 -2%; padding: .13em 0 .16em; overflow: hidden; background: var(--ink); color: var(--paper); border-block: 2px solid var(--stroke); transform: rotate(-.8deg); font-size: clamp(24px, 3vw, 40px); line-height: 1; letter-spacing: -0.035em; }
.mq__track { display: flex; width: max-content; animation: mq 260s linear infinite; }
.mq__group { display: flex; flex: none; align-items: center; }
.mq__phrase { padding: 0 .28em; white-space: nowrap; color: var(--paper); }
.mq__phrase em { font-style: normal; background: linear-gradient(transparent 64%, var(--accent) 64% 90%, transparent 90%); }
.mq__words { display: inline-flex; gap: 6px; margin: 0 .5em; }
.mq__words b { padding: 4px 10px; border: 1.5px solid var(--paper); border-radius: 999px; background: var(--sun); color: #12150f; font: 700 12px/1 var(--font-display); letter-spacing: 0; }
.mq__words b + b { background: var(--accent); }
.mq__band:hover .mq__track, .mq__band:focus .mq__track, .mq.is-paused .mq__track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq__toggle { position: absolute; right: 22px; top: 50%; z-index: 2; width: 30px; height: 30px; transform: translateY(-50%); display: grid; place-items: center; border: 2px solid var(--stroke); border-radius: 50%; background: var(--card); color: var(--ink); }
.mq__toggle:hover { background: var(--sun); color: #12150f; }
.mq__pause { width: 9px; height: 11px; border-inline: 3px solid currentColor; }
.mq.is-paused .mq__pause { width: 0; height: 0; margin-left: 4px; border: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; }
@media (prefers-reduced-motion: reduce) {
  .mq__track { width: 100%; animation: none; }
  .mq__group { width: 100%; justify-content: center; }
  .mq__group + .mq__group, .mq__group > :nth-child(n + 2), .mq__toggle { display: none; }
  .mq__phrase { white-space: normal; text-align: center; }
}

.hero-row { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2.7fr) minmax(150px, 1fr); gap: 28px; align-items: center; margin-top: 10px; }
.callout { position: relative; justify-self: center; width: 100%; max-width: 200px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 22px; text-align: center; color: #12150f; border: 2px solid var(--stroke); border-radius: 50%; transform: rotate(-7deg); transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.callout::after { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(18, 21, 15, .42); border-radius: inherit; pointer-events: none; }
.callout--coral { background: var(--accent); }
.callout--sun { background: var(--sun); border-radius: 34px; transform: rotate(6deg); }
.callout:hover, .callout:focus-visible { transform: rotate(0) scale(1.04); }
.callout__n { font: 700 54px/.9 var(--font-display); letter-spacing: -0.05em; }
.callout__t { margin-top: 6px; max-width: 14ch; font: 600 14px/1.25 var(--font-display); }
.callout__go { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; padding-bottom: 2px; border-bottom: 2px solid currentColor; font: 700 13px var(--font-display); }
.callout__go svg { width: 14px; height: 14px; }

.lead-card { position: relative; isolation: isolate; display: block; color: inherit; }
.lead-card .card__back { border-radius: 26px; }
.lead-card__face { position: relative; display: grid; grid-template-columns: 42% 1fr; min-height: 212px; overflow: hidden; background: var(--card); border: 2px solid var(--stroke); border-radius: 26px; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.lead-card:hover .card__back, .lead-card:focus-visible .card__back { transform: rotate(-4deg) translate(8px, 12px); }
.lead-card:hover .lead-card__face, .lead-card:focus-visible .lead-card__face { transform: translateY(-3px) rotate(.4deg); }
.lead-card__img { display: block; border-right: 2px solid var(--stroke); background: var(--paper-2); }
.lead-card__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.lead-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px; }
.lead-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lead-card__flag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 11.5px var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.lead-card__title { font: 700 clamp(20px, 1.9vw, 26px)/1.12 var(--font-display); letter-spacing: -0.025em; color: var(--ink); }
.lead-card__ex { font-size: 15px; line-height: 1.5; color: var(--body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead-card__foot { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--font-display); color: var(--ink); }
.lead-card__foot svg { width: 16px; height: 16px; transition: transform .2s; }
.lead-card:hover .lead-card__foot svg { transform: translateX(5px); }

.segs { margin-top: 30px; }
.segs__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.segs__tabs { display: inline-flex; gap: 4px; padding: 4px; border: 2px solid var(--stroke); border-radius: 999px; background: var(--card); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segs__tabs [role="tab"] { flex: none; height: 38px; padding: 0 18px; border-radius: 999px; font: 700 15px var(--font-display); color: var(--ink); transition: background .15s; }
.segs__tabs [role="tab"]:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.segs__tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); }
.segs__tabs [role="tab"]:focus-visible { outline-offset: -3px; }
.segs__panel { min-height: 150px; border-radius: 12px; }
.segs__panel:focus-visible { outline-offset: 8px; }
.seg-grid { display: grid; gap: 22px; }
.seg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.rankgrid { counter-reset: r; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.rankgrid li { counter-increment: r; }
.rankgrid a { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 2px 10px; padding: 10px 16px; border: 2px solid var(--stroke); border-radius: 18px; background: var(--card); transition: background .15s; }
.rankgrid a::before { content: counter(r, decimal-leading-zero); grid-row: span 2; font: 700 34px var(--font-display); letter-spacing: -0.04em; color: var(--accent-text); }
.rankgrid a:hover { background: color-mix(in srgb, var(--accent) 16%, var(--card)); }
.rankgrid strong { font: 700 16px/1.2 var(--font-display); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rankgrid span { font-size: 13px; color: var(--muted); }

.topic-tag { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 11px 16px; border: 2px solid var(--stroke); border-radius: 18px; color: var(--ink); transition: transform .2s; }
.topic-tag:hover { transform: rotate(-1deg) translateY(-2px); }
.topic-tag--sky { background: var(--sky); } .topic-tag--blush { background: var(--blush); } .topic-tag--sage { background: var(--sage); } .topic-tag--sand { background: var(--sand); }
.topic-tag__name { font: 700 17px var(--font-display); }
.topic-tag__n { display: inline-flex; align-items: center; gap: 6px; font: 700 12.5px var(--font-display); }
.topic-tag__n svg { width: 14px; height: 14px; }
.topic-tag__desc { grid-column: 1 / -1; font-size: 13px; line-height: 1.4; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.starter { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 2px solid var(--stroke); border-radius: 18px; background: var(--card); transition: transform .2s; }
.starter:hover { transform: translateY(-3px) rotate(-.6deg); }
.starter__n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--stroke); border-radius: 50%; background: var(--accent); color: #12150f; font: 700 16px var(--font-display); }
.starter strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 700 15.5px/1.22 var(--font-display); color: var(--ink); }
.starter small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.pocket { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border: 2px solid var(--stroke); border-radius: 18px; background: var(--sun); color: #12150f; transform: rotate(1.2deg); transition: transform .2s; }
.pocket:hover { transform: rotate(0) translateY(-2px); }
.pocket small { font: 700 11px var(--font-display); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.pocket strong { font: 700 19px/1.1 var(--font-display); }
.pocket span { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ================= ARTICLES LIST ================= */
.pagehead { padding: 64px 0 36px; }
.pagehead h1 { font-size: clamp(44px, 6vw, 84px); }
.pagehead p { margin-top: 18px; max-width: 56ch; font-size: 19px; }
.pagehead--tight { padding: 44px 0 26px; }
.pagehead--tight h1 { font-size: clamp(40px, 5vw, 68px); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.toolbar .field { max-width: 340px; }
.toolbar select.field { max-width: 200px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.count { margin: 8px 0 28px; font: 600 15px var(--font-display); color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.more { display: flex; justify-content: center; margin-top: 44px; }
.empty { padding: 64px 24px; text-align: center; border: 2px dashed var(--stroke); border-radius: var(--radius); font: 600 20px var(--font-display); color: var(--ink); }

/* ================= ARTICLE ================= */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 34px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--ink); font-weight: 600; }
.crumbs a:hover { color: var(--accent-text); }
.post-head { max-width: 960px; padding: 26px 0 0; }
.post-head--cover { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; }
.post-head h1 { margin-top: 18px; font-size: clamp(38px, 5.4vw, 70px); line-height: 1.02; }
.post-head .excerpt { margin-top: 22px; max-width: 62ch; font-size: 21px; line-height: 1.55; color: var(--body); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; font-size: 14.5px; }
.byline__who { display: inline-flex; align-items: center; gap: 12px; font: 700 15px var(--font-display); color: var(--ink); }
.byline__who svg { width: 40px; height: 40px; }
.byline .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
/* Cover is a small tile beside the title, so the text starts within the first screen. */
.post-cover { border: 2px solid var(--stroke); border-radius: 22px; overflow: hidden; box-shadow: 6px 6px 0 var(--shadow-c); background: var(--paper-2); transform: rotate(1.5deg); }
.post-cover img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: var(--img-filter); }

.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 64px; margin-top: 48px; }
.rail { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 22px; }
.rail__box { padding: 22px; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card); }
.rail h4 { margin-bottom: 14px; font: 700 13px var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toc { display: flex; flex-direction: column; gap: 2px; border-left: 3px solid var(--line); }
.toc a { display: block; margin-left: -3px; padding: 7px 0 7px 16px; border-left: 3px solid transparent; font: 600 15px/1.35 var(--font-display); color: var(--body); transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--accent); }
.share { display: flex; flex-wrap: wrap; gap: 10px; }
.share .btn { flex: 1 1 auto; }
.rail__sub { background: var(--accent); color: var(--on-accent); }
.rail__sub h4 { color: var(--on-accent); opacity: .75; }
.rail__sub p { font: 700 20px/1.2 var(--font-display); margin-bottom: 14px; }

.prose { font-size: 19px; line-height: 1.82; color: var(--body); }
.prose > :first-child { margin-top: 0; }
.prose > p:first-of-type { font-size: 22px; line-height: 1.65; color: var(--ink); }
.prose p { margin: 1.15em 0; }
.prose h2 { position: relative; margin: 2.1em 0 .55em; padding-top: 18px; font-size: clamp(28px, 3.2vw, 38px); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 8px; border: 2px solid var(--stroke); border-radius: 8px; background: var(--accent); }
.prose h3 { margin: 1.7em 0 .4em; font-size: 24px; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--ink); font-weight: 600; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 3px no-repeat; transition: background-size .2s; }
.prose a:hover { background-size: 100% 100%; color: var(--on-accent); }
.prose ul, .prose ol { margin: 1.1em 0; display: flex; flex-direction: column; gap: .55em; }
.prose ul > li { position: relative; padding-left: 32px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 12px; height: 12px; border: 2px solid var(--stroke); border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: n; }
.prose ol > li { position: relative; padding-left: 46px; counter-increment: n; }
.prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--stroke); border-radius: 9px; background: var(--sun); color: #12150f; font: 700 15px var(--font-display); }
.prose blockquote { position: relative; margin: 1.8em 0; padding: 26px 28px 26px 30px; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--sand); box-shadow: 6px 6px 0 var(--shadow-c); font: 600 22px/1.45 var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
.prose blockquote p { margin: 0; }
.prose code { padding: 2px 7px; border-radius: 7px; background: color-mix(in srgb, var(--ink) 9%, transparent); font-size: .88em; }
.prose table { width: 100%; margin: 1.6em 0; border-collapse: separate; border-spacing: 0; border: 2px solid var(--stroke); border-radius: 14px; overflow: hidden; font-size: 16px; }
.prose th { padding: 12px 16px; background: var(--ink); color: var(--paper); text-align: left; font: 700 14px var(--font-display); }
.prose td { padding: 12px 16px; border-top: 2px solid var(--line); background: var(--card); }
.prose hr { margin: 2.4em 0; border: 0; height: 2px; background: var(--line); }

.aftermath { margin-top: 56px; display: flex; flex-direction: column; gap: 22px; }
.disclaimer { padding: 22px 26px; border: 2px dashed var(--stroke); border-radius: var(--radius); font-size: 15.5px; background: var(--card); }
.disclaimer strong { color: var(--ink); font-family: var(--font-display); }
.author { display: flex; gap: 18px; align-items: center; padding: 22px 26px; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--sage); }
.author svg { width: 58px; height: 58px; flex: none; }
.author strong { display: block; font: 700 19px var(--font-display); color: var(--ink); }
.author p { font-size: 15px; }
.related { margin-top: 20px; }
.sources { margin-top: 48px; padding: 22px 26px; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card); font-size: 16px; }
.prose .sources h2 { margin: 0 0 6px; padding-top: 0; font-size: 22px; }
.prose .sources h2::before { display: none; }
.sources a { word-break: break-word; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.prevnext__a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 2px solid var(--stroke); border-radius: 18px; background: var(--card); transition: transform .2s; }
.prevnext__a:hover { transform: translateY(-3px); }
.prevnext__a small { font: 700 12px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.prevnext__a strong { font: 700 18px/1.2 var(--font-display); color: var(--ink); }
.prevnext__a--next { grid-column: 2; text-align: right; }

/* ================= GLOSSARY ================= */
.gloss { display: grid; grid-template-columns: 64px 1fr; gap: 40px; align-items: start; }
.az { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 2px solid var(--stroke); border-radius: 18px; background: var(--card); }
.az a { display: grid; place-items: center; height: 34px; border-radius: 9px; font: 700 15px var(--font-display); color: var(--ink); transition: background .15s; }
.az a:hover, .az a.is-active { background: var(--accent); color: var(--on-accent); }
.gloss h2 { margin: 0 0 14px; font-size: 52px; color: var(--accent-text); scroll-margin-top: calc(var(--header-h) + 24px); }
.gloss section + section { margin-top: 44px; }
.terms { border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.term { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 22px 26px; }
.term + .term { border-top: 2px solid var(--line); }
.term:focus { outline: none; background: color-mix(in srgb, var(--accent) 16%, var(--card)); box-shadow: inset 5px 0 0 var(--accent); }
.term dt { font: 700 19px/1.25 var(--font-display); color: var(--ink); }
.term dd { margin: 0; font-size: 16.5px; line-height: 1.65; }

/* ================= ABOUT / TEXT PAGES ================= */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 48px 0; }
.principle { padding: 30px; border: 2px solid var(--stroke); border-radius: var(--radius); transition: transform .18s, box-shadow .18s; }
.principle:hover { transform: rotate(-.8deg) translateY(-3px); }
.principle:nth-child(1) { background: var(--sky); } .principle:nth-child(2) { background: var(--sand); }
.principle:nth-child(3) { background: var(--sage); } .principle:nth-child(4) { background: var(--blush); }
.principle .num { font: 700 15px var(--font-display); letter-spacing: .12em; color: var(--accent-text); }
.principle h3 { margin: 10px 0 10px; font-size: 26px; } .principle p { color: var(--body); font-size: 16.5px; }
.textpage { max-width: 820px; }
.textpage.prose > p:first-of-type { font-size: 22px; }

/* ================= ADMIN ================= */
.admin { padding-top: 56px; }
.admin__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.admin__bar h1 { font-size: clamp(34px, 4vw, 52px); }
.admin h2 { margin: 56px 0 18px; font-size: 32px; }
.table { border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 22px; }
.row + .row { border-top: 2px solid var(--line); }
.row__main { flex: 1; min-width: 220px; }
.row__main a { display: block; font: 700 18px/1.25 var(--font-display); color: var(--ink); }
.row__main a:hover { color: var(--accent-text); }
.row__main small { color: var(--muted); font-size: 13.5px; }
.status { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 2px solid var(--stroke); border-radius: 999px; font: 700 12.5px var(--font-display); background: var(--sage); color: #12150f; }
.status--draft { background: var(--sun); }
.status--feat { background: var(--sky); }
.row__actions { display: flex; gap: 8px; }

.login { max-width: 460px; margin: 90px auto 0; padding: 34px; border: 2px solid var(--stroke); border-radius: 28px; background: var(--card); box-shadow: 8px 8px 0 var(--shadow-c); display: flex; flex-direction: column; gap: 18px; }
.login h1 { font-size: 40px; }

.editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.editor__form { display: flex; flex-direction: column; gap: 18px; }
.editor__form textarea[name=content] { min-height: 460px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 15px; }
.editor__preview { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; padding: 26px 30px; border: 2px solid var(--stroke); border-radius: var(--radius); background: var(--card); }
.editor__preview .prose { font-size: 16.5px; }
.editor__preview .prose > p:first-of-type { font-size: 18px; }
.editor__preview h1 { font-size: 34px; margin-bottom: 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inline { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

.notfound { padding: 120px 0 40px; text-align: center; }
.notfound h1 { font-size: clamp(80px, 16vw, 200px); line-height: .9; }
.notfound p { margin: 18px 0 28px; font-size: 20px; }
.notfound__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.unsub { margin-top: 70px; }
.unsub .eyebrow { margin-bottom: 0; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rail { position: static; order: -1; }
  .post-head--cover { grid-template-columns: minmax(0, 1fr) 200px; gap: 28px; }
  .rail__toc, .rail__sub { display: none; }
  .editor { grid-template-columns: 1fr; }
  .editor__preview { position: static; max-height: none; }
}
@media (max-width: 960px) {
  .card--wide .card__face { flex-direction: column; }
  .card--wide .card__media { width: 100%; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 2px solid var(--stroke); }
  .hero-row { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .lead-card { grid-column: 1 / -1; order: -1; }
  .callout { max-width: 170px; }
  .seg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .gloss { grid-template-columns: 1fr; } .az { display: none; }
  .term { grid-template-columns: 1fr; gap: 6px; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { padding-inline: 18px; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .section { margin-top: 72px; }
  .mq__toggle { right: 12px; width: 28px; height: 28px; }
  .mq__band { font-size: 22px; }
  .lead-card__face { grid-template-columns: 1fr; }
  .post-head--cover { grid-template-columns: 1fr; gap: 22px; }
  .post-cover { transform: none; }
  .post-cover img { aspect-ratio: 16 / 5; }
  .lead-card__img { border-right: 0; border-bottom: 2px solid var(--stroke); aspect-ratio: 16 / 8; }
  .callout { max-width: 150px; padding: 16px; }
  .callout__n { font-size: 40px; }
  .callout__t { font-size: 12.5px; }
  .seg-grid--4, .seg-grid--3, .rankgrid { grid-template-columns: 1fr; }
  .seg-grid { gap: 14px; }
  .segs__panel { min-height: 0; }
  .segs__tabs { width: 100%; justify-content: space-between; }
  .segs__tabs [role="tab"] { padding: 0 11px; font-size: 14px; }
  .callout__go { font-size: 11px; gap: 4px; white-space: nowrap; }
  .callout { padding: 14px; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext__a--next { grid-column: auto; }
  .prose { font-size: 17.5px; } .prose > p:first-of-type { font-size: 19.5px; }
  .post-head .excerpt { font-size: 18px; }
  .row { padding: 14px 16px; }
}
