/* ImmigrationProf Blog. One stylesheet for the whole site. Serif headlines and text (Noto Serif), sans labels (Inter),
   one dark red accent on warm off-white. The only lines are neutral one-pixel hairlines. */

/* Page frame, masthead and menus */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);line-height:1.5;font-size:16px}
a{color:var(--link);text-decoration-thickness:1px;text-underline-offset:.15em}
a:hover{color:var(--accent)}
img{max-width:100%;height:auto}
ul,ol{margin:0;padding:0}
h1,h2,h3,p{margin:0}
.skip{position:absolute;left:-999px}
.skip:focus{left:8px;top:8px;background:var(--bg);padding:.5rem;z-index:10}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.masthead ul,.footer-nav,.rows,.terms{list-style:none}
.brand-name{text-decoration:none;color:inherit}

/* compact title lines: homepage, archive */
.line-title{text-decoration:none;color:var(--ink);font-size:1.02rem;line-height:1.35}
.line-title:hover{text-decoration:underline;color:var(--accent)}

/* richer rows: section, tag and editor pages */
.row{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem;border-bottom:1px solid var(--rule);padding:1.4rem 0}
.row.has-img{grid-template-columns:minmax(0,1fr) var(--thumb-w,9.5rem);--thumb-w:12rem}
.row h2 a{text-decoration:none;color:var(--ink)}
.row h2 a:hover{color:var(--accent);text-decoration:underline}

/* Every post image sits in one fixed frame in lists (3:2) and one on the post page (16:9).
   Most banner images on the live site are logos and graphics, so the image is fitted inside the frame, never cropped. */
.row-img{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--frame,#5c6679);align-self:start}
.row-img img{width:100%;height:100%;object-fit:contain;display:block}
.post-img{margin:0;aspect-ratio:16/9;overflow:hidden;background:var(--frame,#5c6679);margin-bottom:1.5rem}
.post-img img{width:100%;height:100%;object-fit:contain;display:block}

/* post body: the editors' own HTML, including pasted headings and Ghost embeds */
.post-body{overflow-wrap:break-word}
.post-body p,.post-body ul,.post-body ol,.post-body blockquote,.post-body figure{margin:0 0 1em}
.post-body p:empty{display:none}
.post-body ul,.post-body ol{padding-left:1.4em}
.post-body h2,.post-body h3,.post-body h4{font:inherit;font-weight:700;margin:1.2em 0 .5em}
/* A quotation is indented and a little smaller, in the same ink, with no shading and no line (Austin, November 26, 2026). */
.post-body blockquote{margin-left:0;padding:0 0 0 1.5rem;font-size:.94em;line-height:1.6}
.post-body figure{margin-left:0;margin-right:0}
.post-body iframe{width:100%;aspect-ratio:16/9;height:auto;border:0}
/* An embed pasted in with its own fixed width (a chart, a tweet) never runs wider than the text. */
.post-body iframe,.post-body .kg-embed-card{max-width:100%!important}
.post-body .kg-bookmark-container{display:flex;gap:1rem;border:1px solid var(--rule);text-decoration:none;color:var(--ink);padding:.75rem;align-items:center}
.post-body .kg-bookmark-content{flex:1;min-width:0;font-size:.85em}
.post-body .kg-bookmark-title{font-weight:700}
.post-body .kg-bookmark-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.post-body .kg-bookmark-icon{width:16px;height:16px;vertical-align:-2px;margin-right:.35rem}
.post-body .kg-bookmark-thumbnail{flex:0 0 96px}
.post-body .kg-bookmark-thumbnail img{display:block;width:96px;height:96px;object-fit:cover}
/* A link card: the article's outlet, title, description and share picture, in one box that links to it. */
.post-body .linkcard{display:flex;border:1px solid var(--rule);background:var(--frame);color:var(--ink);text-decoration:none;margin:0 0 1em}
.post-body .linkcard-t{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:.3rem;padding:.9rem 1.1rem}
.post-body .linkcard-site{font:600 .72rem var(--ui);letter-spacing:.06em;text-transform:uppercase;color:var(--meta)}
.post-body .linkcard-title{font-weight:700;font-size:1.02em;line-height:1.3}
.post-body .linkcard-desc{font-size:.84em;line-height:1.45;color:var(--meta);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post-body .linkcard-pic{flex:0 0 38%;max-width:17rem;display:block}
.post-body .linkcard-pic img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;margin:0}
.post-body .linkcard:hover .linkcard-title{text-decoration:underline}
/* An outlet that does not let its pages be read: its logo stands where the article's picture would be. */
.post-body .linkcard-logo{display:flex;align-items:center;justify-content:center;background:#fff;border-left:1px solid var(--rule);padding:1.1rem 1.4rem;box-sizing:border-box;min-height:6.5rem}
.post-body .linkcard-logo img{width:100%;height:auto;max-height:4.5rem;object-fit:contain}
@media (max-width:34rem){.post-body .linkcard-logo{border-left:0;border-bottom:1px solid var(--rule)}.post-body .linkcard{flex-direction:column-reverse}.post-body .linkcard-pic{flex:none;max-width:none}.post-body .linkcard-pic img{aspect-ratio:16/9}}
/* An attached PDF: a document mark, the title, the size, and the word Download, in one box that downloads the file. */
.post-body .filecard{display:flex;align-items:center;gap:1rem;border:1px solid var(--rule);background:var(--frame);color:var(--ink);text-decoration:none;padding:.85rem 1.1rem;margin:0 0 1em}
.post-body .filecard-mark{flex:none;color:var(--accent);display:flex}
.post-body .filecard-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:.2rem}
.post-body .filecard-title{font-weight:700;line-height:1.3}
.post-body .filecard-meta{font:.78rem var(--ui);color:var(--meta)}
.post-body .filecard-go{flex:none;display:inline-flex;align-items:center;gap:.4rem;font:600 .82rem var(--ui);color:var(--on-accent);background:var(--accent);padding:.5rem .8rem}
.post-body .filecard:hover .filecard-title{text-decoration:underline}
@media (max-width:30rem){.post-body .filecard{flex-wrap:wrap}.post-body .filecard-go{margin-left:calc(40px + 1rem)}}
/* A caption or credit under a picture, a video, and a divider between parts of a post. */
.post-body figcaption{font:.82rem/1.45 var(--ui);color:var(--meta);text-align:center;margin-top:.45rem}
.post-body figure.video{margin:0 0 1em}
.post-body hr{border:0;border-top:1px solid var(--rule);margin:2em auto;width:100%}
.sources ol{list-style:none}
.signup fieldset{border:0;padding:0;margin:0 0 1rem}
.signup legend{padding:0;margin-bottom:.5rem;font-weight:700}
.signup label{display:flex;gap:.6rem;align-items:baseline;margin-bottom:.4rem}
.signup-email{flex-direction:column;gap:.25rem!important;align-items:stretch!important;max-width:24rem}
.signup input[type=email]{font:inherit;padding:.5rem .6rem;border:1px solid var(--ink);background:var(--bg);color:var(--ink)}
.signup button{font:inherit;font-weight:700;padding:.5rem 1.1rem;border:1px solid var(--accent);background:var(--accent);color:var(--on-accent);cursor:pointer;margin:.5rem 0}
.terms-n{font-variant-numeric:tabular-nums;font:.78rem var(--ui);color:var(--meta);margin-left:.4rem}
.footer-nav{display:flex;flex-wrap:wrap;gap:.3rem 1.25rem}

/* Relevant Research credit sits in the footer only (Austin, November 25, 2026) */
.footer-credit{text-align:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(0,0,0,.12)}
.footer-logo{display:inline-block;margin:0 0 .6rem}
.footer-logo img{display:block;height:1.9rem;width:auto;margin:0 auto}
.footer .footer-collab{margin:0;text-align:center}


/* Banner image sits below the post text, smaller than full width */
.post-img-end{max-width:32rem;margin:1.75rem 0 0}

/* Tags under a post (Austin, November 26, 2026): the word "Tags:" in bold, then the names as small grey links, over a
   hairline. No pill shapes. */
.tags{display:flex;flex-wrap:wrap;align-items:baseline;gap:.3rem 1.2rem;font:.82rem var(--ui);margin:2rem 0 1.2rem;padding-top:1rem;border-top:1px solid var(--rule)}
.tags-l{font-weight:700;color:var(--ink)}
.tags a{color:var(--meta);text-decoration:none}
.tags a:hover{color:var(--accent)}

/* Share: a shaded band under the post, like the email signup. "Share" in the serif, then a symbol and a name for each
   place, with no boxes and no underlines (Austin, November 26, 2026). */
.share{background:var(--tint);padding:1rem 1.3rem 1.1rem;margin:0 0 2rem}
.share h2{font:700 1.2rem/1.2 var(--hl);letter-spacing:-.01em;margin:0 0 .55rem}
.share-list{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem 1.2rem}
.share-list a,.share-list button{display:inline-flex;align-items:center;gap:.4rem;border:0;border-radius:0;background:none;padding:0;font:500 .88rem/1.3 var(--ui);color:var(--ink);text-decoration:none;cursor:pointer}
.share-list a:hover,.share-list button:hover{color:var(--accent)}
.sh-i{width:1.05rem;height:1.05rem;flex:none;fill:currentColor}
.sh-i[stroke]{fill:none}
#share-h{scroll-margin-top:2.5rem}

/* Guest bylines, the About the author note, and the Editors page */
.byline-g{margin-left:.5rem;font-weight:400}
.about-author{margin:2rem 0 0;padding:1rem 1.15rem;background:var(--tint);max-width:48rem}
.about-author h2{font:700 .74rem var(--ui);letter-spacing:.09em;text-transform:uppercase;margin-bottom:.4rem}
.about-posted{font:.78rem var(--ui);color:var(--meta);margin-top:.5rem}
.ed{max-width:54rem;margin:0 auto;padding:1.6rem 0;border-top:1px solid var(--rule);overflow:hidden}
.list-h + .ed{border-top:0;padding-top:.4rem}
.ed-ph{float:right;width:40%;margin:0 0 .8rem 1.2rem}
.ed-ph img{display:block;width:100%;height:auto}
.ed-n{font:700 1.45rem/1.2 var(--hl,var(--body));margin-bottom:.5rem}
.ed-n a{color:var(--ink);text-decoration:none}
.ed-n a:hover{color:var(--accent)}
.ed-b{font:1.02rem/1.6 var(--body)}

/* Get ImmProf in your inbox: a tinted block above the footer links on every page. No lines. */
.inbox{background:var(--tint);padding:1.25rem 1.4rem 1.35rem;margin-bottom:1.5rem;color:var(--ink);display:flex;flex-direction:column}
.inbox h2{font:700 1.25rem/1.2 var(--body);margin-bottom:.25rem}
.inbox-f{flex-wrap:wrap;gap:.5rem;align-items:center;display:block}
.inbox-l{position:absolute;left:-999px}
.inbox-f input{font:1rem var(--ui);padding:.5rem .65rem;border:1px solid var(--ink);background:var(--bg);color:var(--ink);min-width:16rem;flex:0 1 20rem}
.inbox-f button{font:700 .95rem var(--ui);padding:.55rem 1.1rem;border:1px solid var(--accent);background:var(--accent);color:var(--on-accent);cursor:pointer}
@media (max-width:560px){
  .inbox-f input{min-width:0;flex:1 1 100%}
}

/* The logo is one picture, brand/logo.png. Its size is set in em from the font size here, so it scales as one piece. */
/* Header (Austin, November 26, 2026): everything centered, like a nameplate. The top links and search, the logo, then
   the sections in alphabetical order on balanced lines. On a narrow screen the sections fold into one "Sections" control
   that opens in three groups. */
.masthead{padding:.55rem 0 .7rem;text-align:center;background:#f7f1e5;box-shadow:0 0 0 100vmax #f7f1e5;clip-path:inset(0 -100vmax)}
.nav-util,.nav-sections{font-family:var(--ui)}
.nav-util{padding:.2rem 0}
.nav-util ul{display:flex;flex-wrap:wrap;gap:.2rem 1.1rem;justify-content:center;align-items:baseline}
.brand{margin-top:1.1rem}
.brand .brand-name{display:block;box-sizing:border-box;width:fit-content;margin:0 auto;font-size:min(4.2rem,8.2vw);line-height:1;height:1.42em;padding:.104em 0 0 .031em}
.nav-sections{margin-top:1.2rem;padding:.2rem 0}
.nav-bar{text-wrap:balance;line-height:2.1}
.nav-bar li{display:inline-block;margin:0 .7rem}
.nav-fold{display:none}
@media (max-width:760px){
  .nav-bar{display:none}
  .nav-fold{display:block;text-align:left;margin-top:.2rem}
  .nav-fold summary{display:flex;justify-content:space-between;align-items:center;font:700 .95rem var(--ui);padding:.55rem 0;cursor:pointer;list-style:none;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
  .nav-fold summary::-webkit-details-marker{display:none}
  .nav-fold summary::after{content:"+";color:var(--accent);font-size:1.1rem}
  .nav-fold[open] summary::after{content:"\2212"}
  .nav-fold h3{font:400 .78rem var(--ui);color:var(--meta);margin:.9rem 0 .3rem}
  .nav-fold ul{display:flex;flex-wrap:wrap;gap:.5rem 1.2rem}
  .nav-fold ul:last-child{padding-bottom:.5rem}
}
.brand-name img{display:block;width:10.365em;height:auto}


/* Colors and typefaces */
:root{--stamp-w:4.4rem;--ink:#241f1a;--accent:#8c1d18;--link:#7a1a15;--meta:#62574a;--on-accent:#fff;--bg:#fafaf8;--tint:#f1efe9;--rule:#dcd8cf;--frame:#ffffff;--hl:"Noto Serif",Georgia,serif;--body:"Noto Serif",Georgia,serif;--read:"Noto Serif",Georgia,serif;--ui:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.shell{margin:0 auto;padding:0 1.5rem;max-width:80rem}

/* long-form text keeps a readable line length inside the wider page */
.post-body,.sources,.row-text,.list-d{max-width:48rem}
/* Section names in the menu: regular weight, no line under them. Austin tried a thin line under each name on November 26,
   2026 (first in the site red, then soft grey, close under the word) and took it off the same morning ("i'm not sure i
   love the underlines after all ... keep the notes about the design option in case we want to turn them back on").
   To turn it back on, add to the rule below:  line-height:1.2;padding-bottom:.04rem;border-bottom:1px solid #b3aa9c
   and put this comment line right before the rule so the line check accepts it:
   accent-ok: a thin soft grey line under each section name in the menu (Austin, date)
   The mockups are in mockups/header/ (menu-line-colors-sheet.png, section-lines-solid-sheet.png). */
.nav-sections a{display:inline-block;font-size:.92rem;font-weight:400;text-decoration:none;color:var(--ink)}
.nav-sections a:hover,.nav-sections a[aria-current]{color:var(--accent)}
.nav-sections a.is-empty{color:var(--meta)}
.nav-util a{font-size:.78rem;color:var(--meta);text-decoration:none}
.nav-util a:hover{color:var(--accent);text-decoration:underline}
/* Search in the top row (Austin, November 26, 2026): a magnifier and the word over a faint line, on the same baseline as the links beside it. */
.nav-q input{font:.78rem/1.2 var(--ui);color:var(--ink);border:1px solid transparent;border-bottom-color:var(--rule);border-radius:0;padding:.2rem .2rem .25rem 1.3rem;width:9rem;-webkit-appearance:none;appearance:none;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362574a' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat .1rem 46%/.82rem}
.nav-q input::placeholder{color:var(--meta);opacity:1}
.nav-q input:focus{outline:0;border-bottom-color:var(--ink)}
@media (max-width:560px){.nav-q input{width:6rem}}
.main{padding:1.5rem 0 3rem;padding-top:2.25rem}
.more{font:.78rem var(--ui);color:var(--meta)}
.kicker{font:700 .74rem var(--ui);letter-spacing:.09em;text-transform:uppercase;text-decoration:none;color:var(--accent)}
.post-h{margin-bottom:1.25rem}
.post-h h1,.list-h h1{font-size:2rem;line-height:1.15;letter-spacing:-.01em;margin:.3rem 0 .6rem;text-wrap:balance}
.byline{font:.82rem var(--ui);color:var(--meta);display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}
.byline-a{font-weight:700;color:var(--ink);text-decoration:none}
.post-body{font-size:1.08rem;line-height:1.62}
.sources{margin:2rem 0 1.25rem;padding:1rem 1.15rem;background:var(--tint)}
.sources h2{font:700 .74rem var(--ui);letter-spacing:.09em;text-transform:uppercase;margin-bottom:.4rem}
.sources li{padding:.12rem 0}
.sources a{font-weight:600}
.src-host{font:.76rem var(--ui);color:var(--meta);margin-left:.4rem}
.list-h{margin-bottom:1.5rem;border-bottom:1px solid var(--rule);padding-bottom:1rem}
.list-d{font-style:italic;font-size:1.05rem}
.list-m{font:.78rem var(--ui);color:var(--meta);margin-top:.4rem}
.rss{margin-left:.75rem}
.row-meta{font:.76rem var(--ui);color:var(--meta)}
.row-sec{margin-left:.6rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:.68rem;text-decoration:none}
.row h2{font-size:1.25rem;line-height:1.25;margin:.15rem 0 .3rem}
.row-sum{font-size:.95rem}
.row-src{font:.78rem var(--ui);color:var(--meta);margin-top:.35rem}
.row-by{margin-left:.75rem;color:var(--meta);text-decoration:none}
.row-by:hover{color:var(--accent)}
.empty{font-style:italic}
.terms li{padding:.3rem 0;border-bottom:1px solid var(--rule);font-size:1.05rem;break-inside:avoid}
.terms-tag{columns:2;column-gap:2rem}
.terms .rss{font:.76rem var(--ui)}
.footer{padding:1.25rem 0 3rem;font:.8rem/1.6 var(--ui);color:var(--meta);border-top:1px solid var(--rule)}
.footer-collab{color:var(--ink);margin-bottom:.5rem}
@media (max-width:560px){
  body{font-size:16px}
  .row.has-img{grid-template-columns:minmax(0,1fr) 5.5rem}
  .terms-tag{columns:1}
}

/* Phones: the time goes above the title so the title gets the full width, and the section list is one row that scrolls sideways. */
@media (max-width:560px){
  .post-h h1,.list-h h1{font-size:1.65rem}
}

@font-face{font-family:"Inter";src:url("../fonts/inter-latin-wght-normal.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
.line-title{font-size:1.06rem}
.post-img,.row-img{border:1px solid var(--rule)}

/* Post page type */
.post-body,.sources,.about-author{max-width:44rem}
.post-body{font-family:var(--read);font-size:1.02rem;line-height:1.65}
.post-h h1{font-family:var(--hl);font-weight:700;font-size:2.15rem;max-width:44rem}
.line-title,.row h2{font-family:var(--hl)}
.row-sum,.list-d{font-family:var(--read)}
.pager{display:flex;gap:1.5rem;align-items:baseline;padding:1.5rem 0 0;font:.9rem var(--ui)}
.pager span{color:var(--meta)}

/* Inbox block: the two choices come before the email field, and the cancel line sits under it. */
.inbox h2{margin-bottom:.6rem}
.inbox-o{border:0;padding:0;margin:0 0 .9rem}
.inbox-o legend{font:700 .72rem var(--ui);letter-spacing:.08em;text-transform:uppercase;color:var(--meta);padding:0;margin-bottom:.4rem}
.inbox-o label{display:flex;gap:.55rem;align-items:baseline;font:.95rem/1.45 var(--ui);margin-bottom:.25rem}
.inbox-r{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.inbox-n{font:.82rem/1.45 var(--ui);color:var(--meta);margin-top:.6rem;order:3;max-width:31rem}
/* Shown in place of the form until the email list is switched on (hugo.toml, [params.email]). */
.inbox-soon{font:700 .95rem var(--ui);margin:0}
.inbox-f .inbox-o input{min-width:0;flex:none;width:auto;padding:0;margin:0}



/* Pictures in a post: never wider than the text, never cropped, and a tall portrait is capped so it fits on one screen. */
.post-body img{display:block;max-width:100%;width:auto;height:auto;max-height:36rem}
.post-body .kg-bookmark-thumbnail img{max-height:none}
.post-body .post-img img,.post-img img{width:100%;height:100%;max-height:none}

/* Wide pictures: with the post's switch on, a landscape picture runs the full width of the page column, past the text. */
.post{container-type:inline-size}
.post-body img.wide{width:100cqw;max-width:100cqw;max-height:none}

/* A tag and its description stay together when the list runs in columns. */

/* Posts pasted from an email newsletter bring tables and blocks with a fixed width in pixels, wider than a phone
   (found November 26, 2026 by loading every page at phone width). Inside a post, nothing keeps a fixed width wider than the text. */
.post-body table{max-width:100%;height:auto}
.post-body table[style*="width"],.post-body td[style*="width"],.post-body th[style*="width"],.post-body div[style*="width"]:not(.instagram-media *),.post-body p[style*="width"]:not(.instagram-media *),.post-body table[width],.post-body td[width]{width:auto!important;max-width:100%!important}
.post-body td,.post-body th{overflow-wrap:anywhere}
.post-body table{display:block;overflow-x:auto}

/* A long unbroken string (a web address in a summary) wraps, so it cannot push a page wider than the screen. */
.row-text,.row h2,.row-sum,.line-title,.post-h h1,.list-h h1,.about-author{overflow-wrap:anywhere}

/* The logo scales down on screens narrower than about 375 pixels, where it was a few pixels wider than the page. */

/* An Instagram embed asks for at least 326 pixels, which is wider than the text on a very small phone. */
/* A video in a post uses the browser's own player and never runs wider than the text. A tall phone video is capped. */
.post-body .kg-video-card{margin:0 0 1em}
.post-body video{display:block;max-width:100%;height:auto;max-height:36rem;margin:0 auto;background:#000}
.post-body blockquote.instagram-media{min-width:0!important;max-width:100%!important}

/* A file attached to a page (Ghost's file card, used on the Library pages). Its download arrow had no size set and filled
   the page (found November 26, 2026). The card is one row: title and caption, file name and size, and a small arrow. */
.post-body .kg-file-card{margin:0 0 1em}
.post-body .kg-file-card-container{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid var(--rule);padding:.8rem 1rem;text-decoration:none;color:var(--ink);background:var(--frame,#fff)}
.post-body .kg-file-card-title{font-weight:700}
.post-body .kg-file-card-caption,.post-body .kg-file-card-metadata{font:.85rem var(--ui);color:var(--meta)}
.post-body .kg-file-card-filesize{margin-left:.6rem}
.post-body .kg-file-card-icon{flex:none;width:1.5rem;height:1.5rem;color:var(--accent)}
.post-body .kg-file-card-icon svg{display:block;width:100%;height:100%}
.post-body .kg-file-card style{display:none}

/* Library: the page's heading and the share block. The list itself is design B, further down (November 29, 2026). */
.lib-h{max-width:60rem;margin:0 auto 1.8rem}
.lib-h h1{font:700 2.4rem/1.12 var(--hl,var(--body));letter-spacing:-.015em;margin:.3rem 0 .5rem}
.lib-h p{font:1.05rem/1.5 var(--body);color:var(--meta);max-width:44rem}
.lib-h p.kicker{font:700 .82rem var(--ui);color:var(--accent)}
.lib-w{max-width:60rem;margin:0 auto}
.lib-h p.lib-crumb{font:.85rem var(--ui);color:var(--meta);margin-bottom:.2rem}
.lib-crumb a{color:var(--meta)}
.lib-add{max-width:60rem;margin:2.6rem auto 0;background:var(--tint);padding:1.2rem 1.4rem}
.lib-add h2{font:700 1.2rem/1.2 var(--hl,var(--body))}
.lib-add p{font:.95rem/1.5 var(--ui);color:var(--meta);margin-top:.3rem}
@media (max-width:760px){.lib-h h1{font-size:1.9rem}}

/* Archive page: one page, two sections. "Browse posts" is a search of this site's posts with menus and a tag panel;
   "The full archive" is the link to the 2005 to 2025 collection, the only thing the site calls an archive. */
.arc-sec{max-width:54rem;margin:0 auto 3rem}
.arc-h{font:700 1.7rem/1.2 var(--hl,var(--body));margin-bottom:.4rem}
.arc-d{font:1.02rem/1.5 var(--body);color:var(--meta);max-width:42rem;margin-bottom:1.1rem}
.arc-f{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem 1rem;margin-bottom:1rem}
.arc-f label{display:block;min-width:0}
.arc-f label span{display:block;font:700 .78rem var(--ui);margin-bottom:.25rem}
.arc-f .arc-q{grid-column:1/-1}
.arc-f input,.arc-f select{width:100%;font:1rem var(--ui);color:var(--ink);background:var(--bg,#fff);border:1px solid var(--rule);border-radius:0;padding:.6rem .7rem}
.arc-f input{font-size:1.05rem;padding:.75rem .8rem}
.arc-tagrow{display:flex;flex-wrap:wrap;align-items:baseline;gap:.3rem 1.2rem;font:.9rem var(--ui);color:var(--meta);margin-bottom:.6rem}
.arc-tagbtn{font:700 .9rem var(--ui);color:var(--accent);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline}
.arc-tagrow b{color:var(--ink)}
#arc-tagon{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem}
.arc-chip{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap}
.arc-x-btn{display:inline-flex;align-items:center;justify-content:center;width:1.05rem;height:1.05rem;font:700 .85rem/1 var(--ui);color:var(--on-accent);background:var(--accent);border:0;padding:0 0 .05rem;cursor:pointer}
.arc-x-btn:hover{background:var(--ink)}
.arc-tags{line-height:2;margin-bottom:1rem}
.arc-tags button{font:.92rem var(--ui);color:var(--ink);background:none;border:0;padding:0;margin-right:.9rem;cursor:pointer}
.arc-tags button.t2{font-size:1.1rem}
.arc-tags button.t3{font-size:1.35rem;font-weight:700}
.arc-tags button:hover,.arc-tags button.on{color:var(--accent)}
.arc-tags button.on{font-weight:800}
.arc-tagall{font:700 .85rem var(--ui);margin-top:.3rem}
.arc-status{font:.9rem var(--ui);color:var(--meta);margin-bottom:.3rem;min-height:1.3rem}
.arc-status:empty{display:none}
.arc-clear{font:inherit;font-weight:700;color:var(--accent);background:none;border:0;padding:0;margin-left:.3rem;cursor:pointer;text-decoration:underline}
.arc-res{list-style:none}
.arc-res li{padding:.8rem 0;border-top:1px solid var(--rule)}
.arc-res li:last-child{border-bottom:1px solid var(--rule)}
.arc-x{font:.95rem/1.45 var(--body);color:var(--ink);margin-top:.25rem;overflow-wrap:anywhere}
.arc-x mark{background:none;color:inherit;font-weight:700}
.arc-rm{display:flex;flex-wrap:wrap;gap:.1rem 1.1rem;font:.8rem var(--ui);color:var(--meta);margin-top:.3rem}
.arc-more{font:700 .92rem var(--ui);color:var(--ink);background:none;border:1px solid var(--rule);padding:.6rem 1.1rem;margin-top:1rem;cursor:pointer}
.arc-more:hover{color:var(--accent)}
.arc-older{font:.9rem var(--ui);color:var(--meta);margin-top:1rem}
@media (max-width:640px){
  .arc-f{grid-template-columns:minmax(0,1fr)}
}
.arc-btn{display:inline-block;margin:0 0 1.4rem;font:700 .92rem var(--ui);background:var(--accent);color:var(--on-accent);padding:.65rem 1.1rem;text-decoration:none}
.arc-btn:hover{background:var(--ink);color:var(--on-accent)}

/* Typefaces */
@font-face{font-family:"Noto Serif";src:url("../fonts/noto-serif-normal-300-800.woff2") format("woff2");font-weight:300 800;font-style:normal;font-display:swap}
@font-face{font-family:"Noto Serif";src:url("../fonts/noto-serif-italic-300-800.woff2") format("woff2");font-weight:300 800;font-style:italic;font-display:swap}

/* Menus and labels in ordinary capitalization. */
.kicker,.row-sec,.about-author h2,.inbox-o legend{letter-spacing:0;text-transform:none}
.kicker{font-size:.82rem}

/* Front page */
.g-top{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:3rem;padding-bottom:2.5rem;border-bottom:1px solid var(--rule)}
.g-lab{font:700 .8rem var(--ui);color:var(--accent)}
.g-lab a{color:inherit;text-decoration:none}
.g-lead h2,.g-second h3,.g-side li a{overflow-wrap:anywhere}
.g-lead h2{font:700 2.7rem/1.12 var(--hl);letter-spacing:-.015em;margin:.4rem 0 .9rem;text-wrap:balance}
.g-lead h2 a,.g-first h4 a,.g-item a,.g-side li a,.g-col h3 a{color:var(--ink);text-decoration:none}
.g-lead h2 a:hover,.g-first h4 a:hover,.g-item a:hover,.g-side li a:hover,.g-col h3 a:hover{color:var(--accent)}
.g-ex{font:1.05rem/1.5 var(--hl);color:var(--meta)}
.g-by{margin-top:.7rem;font:.82rem var(--ui);color:var(--meta)}
.g-by a{color:var(--meta);text-decoration:none}
.g-side h3{font:800 .95rem var(--ui);margin-bottom:.4rem}
.g-side ol{list-style:none}
.g-side li{padding:.8rem 0;border-top:1px solid var(--rule)}
.g-side li a{display:block;font:600 1.08rem/1.3 var(--hl)}
.g-side li span{display:block;margin-top:.25rem;font:.8rem var(--ui);color:var(--meta)}
.g-day,.g-side li span.g-day{font-weight:700;color:var(--ink)}
.g-today,.g-side li span.g-today{color:var(--accent)}
.g-sep{margin-left:.9rem}
.g-side li span span{display:inline;margin-top:0}
.g-all{font:600 .82rem var(--ui);margin-top:.7rem;padding-top:.7rem;border-top:1px solid var(--rule)}

/* Email signup on the front page, between the lead block and the section columns. */
.inbox-t{display:contents}
.inbox-home{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:1.5rem 3rem;align-items:center;padding:1.6rem 1.8rem;margin:2.5rem 0 0}
.inbox-home .inbox-t{display:block}
.inbox-home h2{font:700 1.6rem/1.2 var(--hl);letter-spacing:-.01em;margin-bottom:0}
.inbox-home .inbox-n{font:.9rem/1.5 var(--ui);margin-top:.4rem;max-width:none}
.inbox-home .inbox-o{margin:0 0 .8rem}
.inbox-home .inbox-o legend{font:700 .8rem var(--ui);margin-bottom:.35rem}
.inbox-home .inbox-o label{margin-bottom:.2rem}
.inbox-home .inbox-o input{margin:3px 3px 3px 4px}
.inbox-home .inbox-r{align-items:stretch}
.inbox-home .inbox-r input{flex:1 1 14rem;min-width:0;padding:.55rem .7rem}
.inbox-home .inbox-r button{padding:.6rem 1.2rem}
.g-secs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2.8rem 2rem;margin-top:2.5rem}
/* accent-ok: the solid red line under each section heading in the homepage columns. Austin chose it from mockups ("option F is great", "let's do that"), November 26, 2026, as the one exception to the no-accent-lines rule on this site. */
.g-col h3{font:800 1.15rem var(--ui);padding-bottom:.5rem;margin-bottom:1rem;border-bottom:3px solid var(--accent)}
.g-pic{display:block;margin-bottom:.7rem;background:var(--frame);text-decoration:none}
.g-pic img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}

/* Lead story: its opening text takes whatever height the Latest list beside it has (script in layouts/home.html). */
.g-lead{display:flex;flex-direction:column}
.g-long{flex:1 1 0;min-height:8rem;overflow:hidden}
.g-long:has(.g-fig){min-height:14rem}
.g-long p{font:1.05rem/1.5 var(--hl);color:var(--meta);margin:0 0 .65em;overflow-wrap:anywhere}
.g-long p:last-child{margin-bottom:0}
.g-para{color:var(--accent);font-weight:700}
.g-para{margin:0 .15em}
.g-cont{color:var(--accent);font-style:italic;white-space:nowrap}

/* A lead picture that passes the test sits at the right of the text, which runs around it. */
.g-fig{float:right;width:44%;margin:.3rem 0 .7rem 1.5rem}
.g-fig img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}

/* The second-newest post, shown under a short lead story. Hidden until the script finds the room. */
.g-second{display:none}
.g-extra{display:none}
.g-top.two .g-second{display:flex;flex-direction:column;flex:1 1 0;min-height:0;overflow:hidden;margin-top:1.5rem;padding-top:1.3rem;border-top:1px solid var(--rule)}
.g-top.two .g-second .g-long{min-height:0}
.g-top.two .g-dup{display:none}
.g-top.two .g-extra{display:list-item}
.g-second h3{font:700 1.75rem/1.15 var(--hl);letter-spacing:-.01em;margin:.3rem 0 .6rem;text-wrap:balance}
.g-second h3 a{color:var(--ink);text-decoration:none}
.g-second h3 a:hover{color:var(--accent)}
.g-first h4{font:700 1.25rem/1.25 var(--hl);margin-bottom:.8rem}
.g-first .g-ex{font-size:.92rem;margin-top:.4rem}
.g-first{padding-bottom:.9rem}
.g-item{padding:.7rem 0;border-top:1px solid var(--rule);font:600 .98rem/1.3 var(--hl)}
.g-when{display:block;font:400 .78rem/1.4 var(--ui);color:var(--meta);margin-top:.2rem}

/* Post page: a centered header over one column of text. */
.post-h{text-align:center;max-width:48rem;margin:1rem auto 2.5rem}
.post-h h1{font:700 2.9rem/1.12 var(--hl);letter-spacing:-.015em;max-width:none;margin:.6rem 0 1rem}
.post-body,.about-author,.post .tags,.post .share,.post-img-end,.sources{max-width:46rem;margin-left:auto;margin-right:auto}
.post-body{font:1.14rem/1.7 var(--read)}
.post-body img{margin-left:auto;margin-right:auto}
.post-img-end{max-width:36rem}

/* List pages: section, tag, editor, archive, Editors, Tags. */
.list-h,.rows,.pager,.terms,.empty{max-width:54rem;margin-left:auto;margin-right:auto}
.list-h h1{font:700 2.6rem/1.12 var(--hl);letter-spacing:-.015em}
.list-d{font-style:normal;color:var(--meta)}
.row h2{font:700 1.45rem/1.25 var(--hl);margin:.2rem 0 .4rem}
.row-sum{font:1rem/1.5 var(--hl);color:var(--meta)}
.row-img{border:0}
.line-title{font:600 1.06rem/1.35 var(--hl)}

/* One column (tablets and phones): nothing sits beside the lead story, so its opening text is held to about four lines. */
@media (max-width:900px){
  .inbox-home{grid-template-columns:minmax(0,1fr);padding:1.3rem 1.2rem}
  .g-long,.g-long:has(.g-fig){flex:none;min-height:0;max-height:7rem}
  .g-fig{display:none}
  .g-top{grid-template-columns:minmax(0,1fr);gap:1.5rem}
  .g-secs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-lead h2{font-size:1.9rem}
  .post-h h1,.list-h h1{font-size:2rem}
}
@media (max-width:520px){
  .g-secs{grid-template-columns:minmax(0,1fr)}
  .row.has-img{--thumb-w:5.5rem}
}
/* The main picture under a post's text is shown at its own shape, with no frame around it (Austin, November 27, 2026:
   "drop the frame on the photos"). The homepage keeps its frames, which keep the rows lined up. */
.post .post-img-end{aspect-ratio:auto;background:none;border:0;overflow:visible}
.post .post-img-end img{width:auto;max-width:100%;height:auto;max-height:36rem;margin:0 auto;display:block;object-fit:fill}

/* A field people never see and only a robot fills in (the signup form). */
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

/* The signup form before the email list opens: shown, greyed out and switched off. */
/* The signup form before the list opens: faded and switched off, with "Coming soon" where the email address would go
   (Austin's choice, option C, November 28, 2026; the earlier large label across the form was "so big and such a mess"). */
.is-soon{pointer-events:none;user-select:none}
.is-soon fieldset,.is-soon button,.is-soon .signup-note,.is-soon .signup-email>span:first-child{opacity:.35;filter:grayscale(1)}
.soon-box{display:flex;align-items:center;box-sizing:border-box;min-height:2.6rem;padding:.5rem .7rem;border:1px solid var(--rule);background:var(--bg);font:700 .85rem var(--ui);letter-spacing:.08em;text-transform:uppercase;color:var(--accent);min-width:16rem;flex:0 1 20rem}
.inbox-home .soon-box{flex:1 1 14rem;min-width:0}
.footer .footer-contact{margin:1rem 0 0;color:var(--ink)}
.signup-email .soon-box{flex:none;min-width:0}
.footer .inbox-home{margin:0 0 1.5rem}
/* The footer links and the contact line are centered, like the credit under them (Austin, November 28, 2026: "why is the text and everything all to the left side in the footer? looks terrible"). */
.footer-nav{justify-content:center}
.footer .footer-contact{text-align:center}
/* The Library (November 29, 2026): a directory on the Library page and a page per category, the width of the archive
   and the Editors page. Titles are not bold; a line separates categories and casebooks, never items. */
.lib .lib-h,.lib .lib-w,.lib + .lib-add,.lib-cat + .lib-add{max-width:54rem}
.lib-dir{list-style:none;margin:0;padding:0}
.lib-dir > li{border-top:1px solid var(--rule);padding:1.3rem 0 1.4rem}
.lib-dir h2{font:700 1.5rem/1.2 var(--hl,var(--body));margin:0}
.lib-dir h2 a{color:var(--ink);text-decoration:none}
.lib-dir h2 a:hover{color:var(--accent);text-decoration:underline}
.lib-dir-t{font:.95rem/1.5 var(--ui);color:var(--ink);margin-top:.45rem}
.lib-dir-n{font:.85rem var(--ui);color:var(--meta);margin-top:.6rem}
.lib-dir-k{font:700 .75rem var(--ui);color:var(--accent);margin:.9rem 0 0}
.lib-dir-list{list-style:disc;margin:.3rem 0 0;padding:0 0 0 1.4rem}
.lib-dir-list li::marker{color:var(--meta)}
.lib-dir-list li{font:1rem/1.45 var(--body);padding:.15rem 0}
.lib-dir-more{font:.92rem var(--ui);padding-left:1.4rem;margin-top:.6rem}
.lib-dir-more a{color:var(--accent)}
.lib-note{font:.95rem/1.55 var(--ui);color:var(--ink);margin-top:.7rem;max-width:44rem}
.lib-note p{margin:0 0 .4rem}
.lib-note a{color:var(--link)}
.lib-h .lib-note{font-size:1rem}
.lib-note-end{margin-top:1.4rem}
.li-list{list-style:none;margin:.6rem 0 0;padding:0}
.li-list li{display:grid;grid-template-columns:minmax(0,1fr) 8rem;gap:1.5rem;align-items:start;padding:.6rem 0}
.li-t{font:400 1.1rem/1.35 var(--hl,var(--body));color:var(--ink);text-decoration:none}
.li-t:hover{color:var(--accent)}
/* The lines under an item's title are all one color, black, with black underlined links (Austin, November 29, 2026: "are these two rows using the same color text? one looks grey. i don't like adding color where it makes no sense"). */
.li-m{font:.86rem/1.45 var(--ui);color:var(--ink);margin-top:.15rem}
.li-m a,.li-note a{color:var(--ink);text-decoration:underline}
.li-note{font:.86rem/1.45 var(--ui);color:var(--ink);margin-top:.15rem}
.li-note p{margin:0}
.li-f{display:flex;flex-direction:column;align-items:stretch;gap:.3rem;text-align:center}
.li-b{display:block;background:var(--accent);color:#fff;font:600 .88rem var(--ui);padding:.45rem .8rem;text-decoration:none}
.li-b:hover{background:var(--link);color:#fff}
.li-f span{font:.76rem var(--ui);color:var(--ink);white-space:nowrap}
.li-none{font:1rem var(--body);color:var(--meta);margin-top:1rem}
.lib + .lib-add h2,.lib-cat + .lib-add h2{font-weight:400}
@media (max-width:700px){.li-list li{grid-template-columns:minmax(0,1fr);gap:.5rem;padding:.8rem 0}.li-f{flex-direction:row;align-items:center;gap:.7rem}.li-b{display:inline-block}.lib-dir h2{font-size:1.3rem}}
