/* ============================================================
   research.zannavanderaa.com — shared design system
   Tokens taken from the LIVE zannavanderaa.com, not the PPT deck.
   Montserrat / #FF7700 / #3B271D / 60px pill buttons.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap');

:root{
  --orange:#FF7700;
  --orange-deep:#E86B00;
  --amber:#FFB02E;
  --peach:#FFD9AE;
  --cream:#FFF6EC;
  --cream-deep:#FFF0DC;
  --brown:#3B271D;
  --brown-deep:#2A1B13;
  --ink:#191512;
  --body:#2E2823;
  --muted:#736659;
  --faint:#A2938A;
  --rule:#EDE7E1;
  --rail:288px;
  --shell:1280px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Montserrat','Segoe UI',sans-serif;
  color:var(--ink);
  background:#fff;                 /* one flat white everywhere — no two-tone */
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit}
img{max-width:100%;display:block}

/* ---------------- top wave ----------------
   Generous, not a hairline. ~110px desktop.
   Markup:
   <div class="topwave"><svg viewBox="0 0 1440 110" preserveAspectRatio="none"> … </svg></div>
------------------------------------------- */
.topwave{height:110px;overflow:hidden;background:#fff;position:relative}
.topwave svg{width:100%;height:110px;display:block}
@media(max-width:900px){.topwave,.topwave svg{height:74px}}

/* ---------------- shell ---------------- */
.shell{
  display:grid;
  grid-template-columns:var(--rail) 1fr;
  max-width:var(--shell);
  margin:0 auto;
}

/* ---------------- sidebar rail ----------------
   Sticky, and it scrolls on its own once it is taller than the screen.
   `max-height:100vh` pairs with `top:0`: the rail can never be deeper than the
   window it is pinned to, and `overflow-y:auto` gives whatever does not fit a
   scrollbar of its own instead of stranding it below the fold. A short rail
   (blog, notes, a post) still shows no scrollbar at all, because `auto` only
   draws one when there is something to scroll. Do NOT restore the old
   `natural height, no inner scrollbar`: the library rail carries six filter
   groups and thirty themes, and without this its lower half was reachable
   only after scrolling past all 291 cards.
------------------------------------------- */
aside.rail{
  border-right:1px solid var(--rule);
  padding:14px 34px 60px 28px;
  position:sticky;
  top:0;
  align-self:start;
  background:#fff;
  max-height:100vh;
  overflow-y:auto;
  /* thin and peach rather than the stock grey slab: the rail is 288px wide and the
     default Windows scrollbar takes 16 of them. It stays visible, because a rail that
     scrolls with no sign that it scrolls is the bug this replaced. */
  scrollbar-width:thin;
  scrollbar-color:var(--peach) transparent;
}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;margin-bottom:36px}
.brand img{width:32px}
.brand-name{font-size:14px;font-weight:600;color:var(--brown);line-height:1.15}
.brand-name em{font-style:normal;color:var(--orange)}
.brand-sub{display:block;font-size:9.5px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);margin-top:4px}

.rail-h{font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--faint);font-weight:600;margin:0 0 12px}
.rail-nav{margin-bottom:34px}
.rail-nav a{
  display:block;text-decoration:none;color:var(--brown);font-size:13.5px;font-weight:500;
  padding:7px 0 7px 13px;margin-left:-13px;border-left:2px solid transparent;
}
.rail-nav a:hover{color:var(--orange)}
.rail-nav a.on{border-left-color:var(--orange);color:var(--orange)}
.rail-nav a .cnt{float:right;font-size:11px;font-weight:400;color:var(--faint)}
/* the one link that leaves the blog: lighter than the four sections, set off by a hairline,
   so the sections read as a group and this one reads as the way out. */
.rail-nav a.away{
  font-weight:400;font-size:12.5px;color:var(--faint);
  margin-top:12px;padding-top:15px;border-top:1px solid var(--rule);
}
.rail-nav a.away:hover{color:var(--orange)}

.filt{margin-bottom:34px}
.filt button{
  display:flex;width:100%;justify-content:space-between;align-items:center;gap:10px;
  font-family:inherit;font-size:12.5px;font-weight:400;color:var(--muted);cursor:pointer;
  background:transparent;border:0;padding:8px 13px;border-radius:60px;text-align:left;
  transition:background .14s,color .14s;
}
.filt button .n{font-size:11px;opacity:.6}
.filt button:hover{background:var(--cream);color:var(--brown)}
.filt button.on{background:var(--orange);color:#fff}
.filt button.on .n{opacity:.85}

.panel{background:var(--cream);border-radius:4px;padding:18px 18px 20px;margin-bottom:30px}
.panel h6{font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:#B04E00;margin:0 0 10px;font-weight:600}
.panel p{font-size:12.5px;line-height:1.65;color:#5A4A3E;margin:0}
.panel cite{display:block;font-style:normal;font-size:11.5px;color:var(--muted);margin-top:8px}
.panel a{color:#B04E00;text-decoration:none}
.panel a:hover{text-decoration:underline}

/* ---------------- main column ---------------- */
main{padding:14px 60px 90px;min-width:0}
.intro{max-width:660px;margin-bottom:54px}
.eyebrow{font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;color:var(--orange);font-weight:600;margin:0 0 16px}
h1.page{font-size:42px;line-height:1.13;font-weight:200;letter-spacing:-.018em;margin:0 0 18px}
h1.page b{font-weight:700}
.intro p{font-size:15.5px;line-height:1.8;color:var(--muted);margin:0}

.sect-rule{
  font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--faint);font-weight:600;
  padding-bottom:12px;border-bottom:1px solid var(--rule);margin:0 0 4px;
}

/* ---------------- tags ---------------- */
.tag{
  font-size:9.5px;letter-spacing:.15em;text-transform:uppercase;font-weight:600;
  padding:4px 11px;border-radius:60px;background:var(--cream-deep);color:#B04E00;white-space:nowrap;
}
/* The three real library domains. One declaration, used site-wide:
   money = Women & money, ai = Women & AI, org = Companies & AI. */
.tag.money{background:#FFF0DC;color:#8A5A12}
.tag.ai{background:var(--cream-deep);color:#B04E00}
.tag.org{background:var(--peach);color:#7A4A10}
.tag.ghost{background:transparent;border:1px solid var(--rule);color:var(--muted)}
.when{font-size:11.5px;color:var(--faint);letter-spacing:.04em;white-space:nowrap}

/* ---------------- entry row (blog + notes lists) ---------------- */
.entry{
  display:grid;grid-template-columns:60px 1fr;gap:26px;
  padding:30px 0;border-bottom:1px solid var(--rule);
  text-decoration:none;color:inherit;
}
.entry:hover .num{background:var(--orange);color:#fff;border-color:var(--orange)}
.entry:hover h2{color:var(--orange)}
.num{
  width:44px;height:44px;border-radius:50%;border:1px solid var(--rule);
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:600;color:var(--muted);transition:all .15s;flex:none;
}
.entry-meta{display:flex;align-items:center;gap:12px;margin-bottom:9px;flex-wrap:wrap}
.entry h2{font-size:20px;line-height:1.35;font-weight:500;margin:0 0 10px;transition:color .15s}
.entry p{font-size:14px;line-height:1.72;color:var(--muted);margin:0 0 12px;max-width:660px}
.cite-line{font-size:11.5px;color:var(--muted);border-left:2px solid var(--peach);padding-left:12px;line-height:1.6}
.cite-line b{
  font-weight:600;color:#8A5A12;text-transform:uppercase;letter-spacing:.1em;
  font-size:9.5px;display:block;margin-bottom:3px;
}

/* ---------------- buttons ---------------- */
.btn{
  display:inline-block;text-decoration:none;background:var(--orange);color:#fff;
  font-size:14px;font-weight:300;letter-spacing:.02em;padding:12px 28px;border-radius:60px;
  border:0;font-family:inherit;cursor:pointer;
}
.btn:hover{background:var(--orange-deep)}
.btn.ghost{background:transparent;color:var(--brown);border:1px solid var(--rule)}
.btn.ghost:hover{border-color:var(--orange);color:var(--orange)}

/* ---------------- article ---------------- */
.article{max-width:700px}
.article h1{font-size:38px;line-height:1.16;font-weight:200;letter-spacing:-.018em;margin:0 0 20px}
.article h1 b{font-weight:700}
.byline{
  display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--muted);
  padding-bottom:26px;border-bottom:1px solid var(--rule);margin-bottom:36px;
}
/* The one language control on the site. Not a site-wide switcher: only the posts
   exist in two languages, so this lives inside the byline of a post and points at
   that post's counterpart. Peach pill, so it reads as an offer next to the plain
   grey byline metadata without introducing a new colour. */
.langswitch{
  display:inline-flex;align-items:center;gap:8px;text-decoration:none;
  font-size:12px;font-weight:500;color:#B04E00;
  background:var(--cream);border:1px solid var(--peach);border-radius:60px;
  padding:6px 14px;
}
.langswitch:hover{background:var(--cream-deep);color:var(--orange-deep)}
.langswitch .code{
  font-size:9px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;
  color:#7A4A10;background:var(--peach);border-radius:60px;padding:3px 7px;
}

/* The narration player, between the byline and the first paragraph: an offer, not a
   demand, so it borrows the peach-on-cream of .langswitch rather than announcing
   itself. Same vocabulary throughout, orange only on the one thing you press.
   The audio is a clone of Zanna's voice reading her own text, which the sub line
   says out loud. Do not quietly drop that line, on a research blog the disclosure
   is the point. Native <audio> controls are hidden and rebuilt because the stock
   widget is the one element on the page that would look like someone else's site. */
.listen{
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
  background:var(--cream);border:1px solid var(--peach);border-radius:4px;
  padding:16px 20px;margin:0 0 36px;
}
.listen audio{display:none}
.listen-play{
  flex:0 0 auto;width:44px;height:44px;border-radius:60px;border:0;cursor:pointer;
  background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;
  transition:background .15s ease;
}
.listen-play:hover{background:var(--orange-deep)}
.listen-play svg{width:15px;height:15px;fill:currentColor;display:block}
.listen-play .ico-pause{display:none}
.listen.playing .listen-play .ico-play{display:none}
.listen.playing .listen-play .ico-pause{display:block}
.listen-meta{flex:1 1 190px;min-width:0}
.listen-h{
  font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:#B04E00;
  font-weight:600;margin:0 0 5px;
}
.listen-sub{font-size:12.5px;line-height:1.5;color:#5A4A3E;margin:0}
/* order:3 drops the bar onto its own line under both the button and the label,
   at every width, so it never has to compete for the row. */
.listen-track{
  flex:1 1 100%;order:3;height:3px;border-radius:60px;background:var(--peach);
  cursor:pointer;position:relative;
}
.listen-fill{
  position:absolute;inset:0 auto 0 0;width:0;border-radius:60px;background:var(--orange);
}
.listen-time{
  flex:0 0 auto;font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums;
}
@media (max-width:520px){
  .listen{gap:13px;padding:15px 16px}
  .listen-play{width:48px;height:48px}
}

.article p.body{font-size:16.5px;line-height:1.85;color:var(--body);margin:0 0 24px}
.article h3.sub{font-size:12.5px;letter-spacing:.17em;text-transform:uppercase;color:var(--orange);font-weight:600;margin:44px 0 16px}
.article ul.body,.article ol.body{font-size:16.5px;line-height:1.85;color:var(--body);padding-left:20px;margin:0 0 24px}
.article li{margin-bottom:8px}
.article li::marker{color:var(--orange)}

.note-panel{background:var(--cream);border-radius:4px;padding:22px 26px;margin:34px 0}
.note-panel h6{font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:#B04E00;margin:0 0 10px;font-weight:600}
.note-panel p{font-size:14px;line-height:1.75;color:#4A3F37;margin:0}

.pullquote{margin:42px 0;font-size:23px;line-height:1.45;font-weight:300;letter-spacing:-.01em}
.hl{
  background:var(--brown);color:#fff;padding:2px 10px;font-weight:600;
  text-transform:uppercase;font-size:19px;letter-spacing:.01em;display:inline-block;line-height:1.55;
}

.refs{border-top:1px solid var(--rule);padding-top:26px;margin-top:44px}
.refs h6{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--faint);margin:0 0 14px;font-weight:600}
.refs ol{margin:0;padding-left:18px}
.refs li{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:10px}
.refs a{color:#B04E00}

.share{display:flex;gap:10px;align-items:center;padding:30px 0 0;border-top:1px solid var(--rule);margin-top:40px;flex-wrap:wrap}
.share span{font-size:12px;color:var(--muted);margin-right:6px}
.share a{font-size:12px;text-decoration:none;color:var(--brown);border:1px solid var(--rule);padding:8px 16px;border-radius:60px}
.share a:hover{border-color:var(--orange);color:var(--orange)}

/* ---------------- library ---------------- */
.searchbox{
  width:100%;font-family:inherit;font-size:13.5px;padding:11px 16px;
  border:1px solid var(--rule);border-radius:60px;color:var(--ink);background:#fff;margin-bottom:16px;
}
.searchbox:focus{outline:0;border-color:var(--peach)}
.src{padding:26px 0;border-bottom:1px solid var(--rule)}
.src .headline{font-size:16.5px;line-height:1.45;font-weight:600;margin:0 0 10px;color:var(--ink)}
.src .cite{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 10px}
.src .finding{font-size:13.5px;line-height:1.75;color:var(--body);margin:0 0 10px;max-width:680px}
.src .forthesis{font-size:12.5px;line-height:1.7;color:var(--muted);border-left:2px solid var(--peach);padding-left:12px;margin:0 0 12px;max-width:680px}
.src .badges{display:flex;gap:8px;align-items:center;margin-bottom:11px;flex-wrap:wrap}
.badge{font-size:9px;letter-spacing:.13em;text-transform:uppercase;font-weight:600;padding:4px 10px;border-radius:60px}
.badge.peer{background:#E8F2EA;color:#2F6B41}
.badge.inst{background:#E9EEF5;color:#3A5A80}
.badge.industry{background:#FFF1D6;color:#8A5A12}
.badge.wp{background:#F1EDE9;color:#6E6259}
.badge.free{background:#E8F2EA;color:#2F6B41}
.badge.paywall{background:#F6EAEA;color:#8A3A3A}
.src a.open{font-size:12.5px;color:#B04E00;text-decoration:none}
.src a.open:hover{text-decoration:underline}

/* the trail: where a read source went next, a reading note and/or a blog post. It sits
   under the link to the paper and stays a step quieter than it: smaller, set in brown
   rather than the orange of a.open, and marked by a peach underline instead. Brown is
   also what keeps it readable through the .src.read dim, which every card carrying a
   trail has by definition (orange at .7 opacity on white falls under 3:1). */
.src .trail{display:flex;gap:18px;flex-wrap:wrap;align-items:baseline;margin-top:10px}
.src .trail a{
  font-size:11.5px;line-height:1.5;color:var(--brown);text-decoration:none;
  border-bottom:1px solid var(--peach);
}
.src .trail a:hover{color:#B04E00;border-bottom-color:currentColor}

/* read indicator: a source Zanna has already read (it carries a note, a blog post, or
   both) sits back, so the unread ones lead. Scoped to .src so nothing else can be dimmed.
   Ported from the dark original (.read{opacity:.55;filter:saturate(.6)}); the values are
   opened up here because the same dim on white drops body text under 4.5:1. */
.src.read{opacity:.7;filter:saturate(.7)}
.src.read:hover{opacity:1;filter:none}
/* while the Reading filter is on, the read sources ARE the subject, so the dim comes
   off: nothing on screen should be greyed out when it is the only thing on screen. */
body.read-on .src.read{opacity:1;filter:none}
/* the chip that says a card produced a reading note, at the top of the card where the
   dim is read as a state rather than as a mistake. Peach on cream, the same pill the
   posts use for .langswitch, so the library gains a marker and not a new colour. Read
   state is never marked by hand: a source is read because a note or a post exists
   against it, which is what this chip links to. */
.notes-chip{
  display:inline-flex;align-items:center;gap:6px;text-decoration:none;
  font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#B04E00;
  background:var(--cream);border:1px solid var(--peach);border-radius:60px;
  padding:4px 12px;margin:0 0 11px;
}
.notes-chip:hover{background:var(--cream-deep);color:var(--orange-deep)}

.counts{display:flex;gap:22px;flex-wrap:wrap;margin-bottom:34px}
.count{border-left:2px solid var(--peach);padding-left:14px}
.count .n{font-size:26px;font-weight:200;line-height:1;color:var(--ink);display:block}
.count .l{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--faint);font-weight:600;margin-top:6px;display:block}

.empty{padding:40px 0;color:var(--faint);font-size:14px}

/* ---------------- footer ---------------- */
footer.site{background:var(--brown);color:#fff;padding:54px 0 40px;margin-top:80px}
/* Two link groups since the inert Language column was removed. `space-between`
   would pin them to the two far edges of a 1280px shell with a void in the
   middle, so the groups are left-aligned with a generous column gap instead. */
footer.site .in{max-width:var(--shell);margin:0 auto;padding:0 28px;display:flex;justify-content:flex-start;gap:40px 140px;flex-wrap:wrap}
/* The copyright row needs its own spacing. The shorthands above outrank a bare
   .foot-base, so it has to be re-stated at this specificity or the hairline
   sits flush against the last footer link. */
footer.site .in.foot-base{margin-top:44px;padding-top:22px}
footer.site h6{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--peach);margin:0 0 14px;font-weight:600}
footer.site a{color:#D9CFC7;text-decoration:none;font-size:13.5px;display:block;line-height:2}
footer.site a:hover{color:var(--orange)}
footer.site small{color:#9C8F85;font-size:12px}

/* ---------------- responsive ----------------
   Below 980px the rail stops being a column and becomes a thin header.
   `display:contents` dissolves the <aside> box so its children join the
   single-column grid directly and can be reordered around <main>:

     1  brand
     2  Sections nav          (horizontal pill strip)
     3  every other rail group: filters, jump lists, TOCs (horizontal strips)
     4  main                  <- the writing starts here
     8  Currently reading panel

   So navigation and filters stay one tap away at the top, and the panel,
   which is context rather than navigation, moves below the article.
   Order 8 is kept (rather than renumbered to 5) so the tail zone still has
   room for a later group without touching the header numbering; the gap is
   deliberate, flex/grid `order` sorts, it does not count.
   Slot 9 used to hold the site-wide language toggle, which was removed:
   the site is English, only the two posts have a Dutch counterpart and each
   one offers it from its own byline (.langswitch).
   No JavaScript, so it behaves identically with scripting disabled.
------------------------------------------------------------------- */
@media(max-width:980px){
  .shell{grid-template-columns:1fr}
  main{padding:26px 20px 70px;order:4}
  h1.page{font-size:32px}
  .article h1{font-size:29px}
  .entry{grid-template-columns:1fr;gap:8px}
  .num{display:none}

  /* --- dissolve the rail box, order what is left --- */
  aside.rail,
  aside.rail .railview{display:contents}
  aside.rail > *,
  aside.rail .railview > *{order:3}
  aside.rail > .brand{order:1}
  aside.rail > p.rail-h:first-of-type{order:2}
  aside.rail > div.rail-nav:first-of-type{order:2}
  aside.rail .panel{order:8}

  /* --- brand: compact, no longer a 36px-deep masthead --- */
  aside.rail > .brand{margin:0 20px 16px;gap:10px}
  aside.rail > .brand img{width:29px}

  /* --- group labels --- */
  aside.rail .rail-h{margin:0 20px 7px;font-size:10.5px;letter-spacing:.18em}

  /* --- every rail group becomes a horizontally scrollable strip --- */
  aside.rail .rail-nav,
  aside.rail .filt{
    display:flex;align-items:stretch;gap:8px;
    overflow-x:auto;overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;-ms-overflow-style:none;
    padding:2px 20px 4px;margin:0 0 16px;
  }
  aside.rail .rail-nav::-webkit-scrollbar,
  aside.rail .filt::-webkit-scrollbar{display:none}

  /* the Sections strip closes the header zone */
  aside.rail > div.rail-nav:first-of-type{
    padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid var(--rule);
  }

  /* nav links and filter buttons share one pill shape, 44px tall */
  aside.rail .rail-nav a,
  aside.rail .filt button{
    flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;
    min-height:44px;width:auto;padding:0 16px;margin:0;
    border:1px solid var(--rule);border-radius:60px;
    white-space:nowrap;text-align:center;
  }
  aside.rail .rail-nav a{font-size:13.5px;font-weight:500}
  aside.rail .rail-nav a.on{border-left-width:1px;border-color:var(--orange);background:var(--cream)}
  aside.rail .rail-nav a .cnt{float:none;font-size:11.5px}
  aside.rail .rail-nav a.away{
    font-size:12.5px;margin:0;padding:0 16px;border:1px dashed var(--rule);
  }
  aside.rail .filt button{font-size:13px}
  aside.rail .filt button .n{font-size:11.5px}
  aside.rail .filt button.on{border-color:var(--orange)}

  /* --- the tail: context, below the writing --- */
  aside.rail .panel{margin:34px 20px 0}

  /* rail children are grid items now, so anything that was inline-sized on
     desktop would otherwise stretch the full column width */
  aside.rail > .brand,
  aside.rail > .back{justify-self:start}

  /* --- long metadata must be allowed to wrap --- */
  .when{white-space:normal}

  /* --- tap targets ---
     Block-level controls get a real 44px box. Links that sit inside a line of
     prose or a citation cannot be boxed without breaking the text flow, so they
     get vertical padding instead: on an inline box that grows the hit area
     without touching the line height or the layout around it. */
  .searchbox{min-height:44px;font-size:14px}
  .brand{padding:7px 0}
  .share a,.btn.ghost{display:inline-flex;align-items:center;min-height:44px}
  .src .links a.open{display:inline-flex;align-items:center;min-height:44px}
  footer.site a{display:flex;align-items:center;min-height:44px;line-height:1.4}
  /* .foot-base sets margin-top/padding-top at 0,1,0, which `footer.site .in`
     outranks with its margin/padding shorthands, so the copyright rule lands
     flush against the last link. Re-asserted here at a weight that wins.
     The same defect exists on desktop and is left alone on purpose. */
  footer.site .in.foot-base{margin-top:32px;padding-top:20px}
  .panel cite a,.panel p a{display:inline-flex;align-items:center;min-height:44px}
  .cite-line a,.refs a,.note-panel a,.src .trail a{padding-block:12px}

  /* --- nothing essential below ~12px on a phone ---
     The uppercase letterspaced labels stay in the 10.5px band on purpose: caps
     at 10.5px carry roughly the apparent size of 13px lowercase, and dropping
     the device would change the look of the whole design. Everything set in
     lowercase, and every number a reader actually has to read, is lifted. */
  .panel h6,.note-panel h6,.refs h6,footer.site h6{font-size:10.5px}
  .tag{font-size:10.5px}
  .when{font-size:12px}
  .badge{font-size:10.5px;padding:5px 11px}
  .cite-line{font-size:12.5px}
  .cite-line b{font-size:10.5px}
  .src .cite{font-size:13.5px}
  .src .forthesis{font-size:13px}
  .src a.open{font-size:13px}
  .src .trail a{font-size:12.5px}
  .panel p{font-size:13px}
  .panel cite{font-size:12.5px}
  .count .l{font-size:10.5px}
  .byline{font-size:12.5px}
  .langswitch{font-size:13px;min-height:44px;padding:0 16px}
  .notes-chip{font-size:10.5px;min-height:44px;padding:0 16px}
  .share span,.share a{font-size:12.5px}
  footer.site small{font-size:12.5px}
}

/* the thinnest phones still in real use */
@media(max-width:700px){
  .topwave,.topwave svg{height:58px}
}
@media(max-width:420px){
  main{padding:22px 16px 64px}
  aside.rail > .brand,
  aside.rail .rail-h,
  aside.rail .panel{margin-left:16px;margin-right:16px}
  aside.rail .rail-nav,
  aside.rail .filt{padding-left:16px;padding-right:16px}
  h1.page{font-size:28px}
  .article h1{font-size:26px}
}
