/* Claude's December 1 visual proposal, integrated with the completed collection.
   Keep functional layout and accessibility rules in style.css. */
:root {
  --ink:#000; --slate:#000; --mauve:#000; --accent:#e34234;
  --paper:#fff; --pale:#fff; --line:#000;
  --serif:'Source Serif 4',Charter,Georgia,serif;
  --sans:Archivo,system-ui,sans-serif; --mono:Plex,'IBM Plex Mono',monospace;
  --gutter:clamp(20px,4vw,60px); --hero-max:1600px;
}
body { background:var(--paper); font-family:var(--serif); font-size:17px; -webkit-font-smoothing:antialiased }
::selection { background:var(--accent); color:#000 }
:focus-visible { outline:3px solid var(--accent); outline-offset:4px }
.topbar { background:rgba(0,0,0,.9); min-height:64px; padding:16px var(--gutter); border-bottom:1px solid #ffffff24; box-shadow:none; font-family:var(--mono) }
.topbar .brand { font-family:var(--sans); font-weight:600; font-size:.875rem; letter-spacing:.02em }
.topbar .topnote { color:#fff; font-size:.8125rem; border:0 }
.hero { position:relative; isolation:isolate; display:grid; grid-template-columns:1fr; grid-template-rows:auto auto 1fr; gap:0; align-items:stretch; max-width:none; min-height:calc(100svh - var(--header-height)); margin:0; padding:0; overflow:clip; background:#000; color:var(--paper); border:0 }
.hero-figure { position:absolute; inset:0; margin:0; z-index:-1; pointer-events:none }
.hero-figure img { position:absolute; right:-3vw; top:-9%; height:126%; width:auto; max-width:none }
@supports (animation-timeline:view()) {
  @media (prefers-reduced-motion:no-preference) {
    .hero-figure img { animation:hero-drift linear both; animation-timeline:view(); animation-range:exit 0% exit 100% }
  }
}
@keyframes hero-drift { to { transform:translateY(12%) scale(1.05) } }
.hero-figure figcaption { position:absolute; right:22px; bottom:100px; color:#fff; writing-mode:vertical-rl; transform:rotate(180deg); font-family:var(--mono); font-size:.75rem; line-height:1.6 }
.hero-top,.hero h1,.hero-foot,.hero-statement { position:relative; width:100%; max-width:var(--hero-max); margin:0 auto; padding-left:var(--gutter); padding-right:var(--gutter) }
.hero-statement { padding-top:clamp(28px,5vh,52px) }
.hero-statement p { font-family:var(--serif); font-weight:300; font-style:normal; font-optical-sizing:none; max-width:43ch; font-size:clamp(1.25rem,2vw,1.8rem); line-height:1.35; letter-spacing:-.01em; margin:0 }
.hero-statement .hero-call { font-size:clamp(1.25rem,2vw,1.8rem); margin-top:18px }
.hero-top { padding-top:clamp(28px,4vh,48px) }
.hero .curator-credit { font-family:var(--mono); font-size:.8125rem; color:#fff; line-height:1.75; max-width:53ch; margin:0 }
.curator-credit a { color:#fff; text-decoration-color:var(--accent) }
.hero h1 { display:block; align-self:start; padding-top:10px; font-family:var(--serif); font-weight:300; font-style:normal; font-optical-sizing:none; font-size:clamp(3rem,10vw,11rem); line-height:.98; letter-spacing:-.04em; mix-blend-mode:normal; color:#fff; text-shadow:0 2px 24px #0008 }
.hero h1 .title-line { display:block }
.hero h1 .title-script { display:block; font-family:inherit; font-weight:inherit; font-style:italic; color:inherit; text-align:right; font-size:clamp(4rem,12.3vw,14.5rem); margin:0; padding-right:.07em }
.hero-foot { align-self:end; display:grid; justify-items:start; gap:22px; padding-top:32px; padding-bottom:94px }
.hero-context { font-family:var(--serif); font-size:clamp(1.1rem,1.45vw,1.35rem); line-height:1.5; max-width:47ch; margin:0; text-wrap:pretty }
.hero-details { width:min(600px,100%); display:grid; gap:10px }
.hero-details .hero-context { font-size:1.125rem; line-height:1.5; margin-bottom:6px; max-width:none }
.hero-details .curator-credit { max-width:none; font-size:.8125rem }
.hero-companion { font-family:var(--mono); font-size:.8125rem; line-height:1.6; margin:0; color:#fff }
.hero-companion a { color:#fff; text-decoration-color:var(--accent) }
.hero-start { display:inline-flex; align-items:center; min-height:48px; margin:0; padding:12px 23px; border-radius:999px; background:var(--accent); color:#000; font-family:var(--sans); font-size:.875rem; font-weight:600; text-decoration:none; letter-spacing:.025em }
.hero-start:hover { background:#fff; color:#000 }
.layout { max-width:1500px; grid-template-columns:minmax(220px,280px) minmax(0,1fr); gap:clamp(32px,5vw,80px); padding:48px var(--gutter) 90px }
.intro { background:rgba(255,255,255,.92); padding:18px 10px 24px; top:calc(var(--header-height) + 24px) }
.browse-title { font-family:var(--sans); font-size:.875rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase }
.browse { border-top:2px solid var(--ink) }
.all-button,.facet,.quiet-button,.selected-filter,.suggest-shortcut,.collection-nav,.collection-head,.index-label,.entry-index,.pagination,.author-connections,.tag,.card-actions,.source-note,.music-toggle,.back-to-top,.parade-toggle,.listening,.toast { font-family:var(--mono) }
.facet-option,.index-label,.entry-index,.pagination,.source-note,.card-actions { font-size:.875rem }
.facet-option { min-height:44px }
.facet-option input { accent-color:var(--accent) }
#surprise { display:block; width:100%; padding:13px 18px; margin-top:24px; border-radius:999px; background:var(--ink); color:#fff; font-family:var(--sans); font-weight:600; letter-spacing:.05em; text-decoration:none }
#surprise:hover { background:var(--accent) }
.collection>.collection-nav { background:rgba(255,255,255,.9); border-color:var(--line); padding:8px; gap:4px; box-shadow:none }
.collection>.collection-nav a { font-family:var(--sans); font-size:.875rem; font-weight:600; letter-spacing:.03em; border-radius:0; padding:10px 14px; color:var(--slate) }
.collection>.collection-nav a[aria-current=page] { background:var(--ink); color:#fff }
.collection>.collection-nav a:hover:not([aria-current]) { background:var(--pale); color:var(--ink) }
.collection-nav span { font-family:var(--mono); background:#fff; color:var(--slate) }
.collection-intro { font-size:1.125rem; font-style:italic; line-height:1.6 }
.collection-intro,.collection-head,.index-label,.pagination,.study-group { background:rgba(255,255,255,.92) }
.entry-index { min-height:48px; background-color:var(--paper) }
.page-button,.page-picker select { background:var(--paper) }
#cards { display:grid; gap:24px }
.passage,.passage.featured { position:relative; display:flow-root; padding:clamp(24px,3vw,44px); border:1px solid var(--line); background:rgba(255,255,255,.86); margin:0; scroll-margin-top:90px }
.passage::after { content:''; display:block; clear:both }
.passage.featured { background:rgba(0,0,0,.86); color:var(--paper); border-color:var(--ink) }
.card-head { display:block }
.card-head h2 { font-family:var(--sans); font-size:1.125rem; font-weight:600; line-height:1.4 }
.author-connections { font-size:.8125rem; line-height:1.7; margin-top:6px }
.quote { font-family:var(--serif); font-weight:400; font-size:clamp(1.5rem,2.4vw,2.25rem); letter-spacing:-.02em; line-height:1.35; margin:26px 0 22px }
.quote-attribution { font-size:1rem; line-height:1.5; margin:24px 0 0 }
.quote-attribution + .quote { margin-top:8px }
.context { font-size:1.125rem; line-height:1.7 }
.translation { font-size:1.125rem; line-height:1.6; font-style:italic; border-left:2px solid var(--accent); padding-left:16px }
.author-portrait { filter:drop-shadow(3px 5px 3px #0002) }
.tag { font-size:.8125rem; padding:6px 9px; min-height:36px; background:var(--paper) }
.tag:hover { background:var(--pale); border-color:var(--ink) }
.card-actions { border-top:1px solid var(--line); padding-top:16px; gap:12px 22px }
.passage.featured .author-connections,.passage.featured .translation,.passage.featured .source-note { color:#fff }
.passage.featured .tag { background:transparent; color:var(--paper); border-color:#ffffff40 }
.passage.featured .card-actions { border-color:#ffffff30 }
.passage.featured :focus-visible { outline-color:#fff }
.footer { max-width:none; background:var(--ink); color:var(--paper); padding:36px var(--gutter) 120px }
.footer .source-note { color:#fff }
.music-toggle,.back-to-top { border:1px solid #ffffff55; border-radius:999px; padding:11px 18px; min-height:46px; background:#000; color:var(--paper) }
.music-toggle:hover,.back-to-top:hover { background:var(--accent) }
.music-toggle[aria-expanded=true] { background:var(--paper); color:var(--ink); border-color:var(--ink) }
.parade-toggle { border-radius:999px; background:var(--paper); font-size:.75rem }
.listening { background:var(--paper); border-color:var(--ink); padding:16px }
.music-heading h2 { font-family:var(--sans); font-size:.9375rem }
.listening #track-context,.music-links,.listening select { font-size:.875rem }
.arlequin-parade { opacity:.64 }
.parade-visitor { top:var(--visit-top,100px) }
.parade-figure { height:var(--figure-height); transform:rotate(var(--figure-turn)); transform-origin:50% 50% }
@keyframes arlequin-visit { from { transform:translate3d(var(--visit-from),0,0) } to { transform:translate3d(var(--visit-to),0,0) } }
@media (max-width:1000px) {
  .hero-figure img { right:-18vw }
  .hero-figure::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,#000 5%,#000e 30%,#0002 70%,#0008) }
  .hero-context { max-width:42ch }
}
@media (max-width:850px) {
  .layout { grid-template-columns:1fr; gap:28px; padding-top:32px }
  .intro { position:static; padding:16px; max-height:none; overflow:visible }
  .hero-foot { padding-bottom:96px }
  .topbar .brand { font-size:.8125rem }
  .collection>.collection-nav a { padding:10px 12px }
}
@media (max-width:520px) {
  .hero { min-height:calc(100svh - var(--header-height)) }
  .hero-top { padding-top:28px }
  .hero .curator-credit { font-size:.75rem; max-width:42ch; line-height:1.65 }
  .hero h1 { padding-top:20px; mix-blend-mode:normal; text-shadow:0 2px 18px #0008 }
  .hero h1 { font-size:12vw; padding-top:10px }
  .hero-figure img { right:-34vw; top:12%; height:74% }
  .hero-figure::after { background:linear-gradient(0deg,#000 8%,#000e 33%,#0003 60%,#0008 80%,#000 93%) }
  .hero-details .hero-context { font-size:1rem }
  .hero-figure figcaption { display:none }
  .hero-foot { padding-top:28px; gap:24px }
  .hero-context { font-size:1.0625rem; max-width:40ch }
  .hero-start { font-size:.8125rem; padding:12px 18px }
  .collection>.collection-nav { padding:6px; gap:3px }
  .collection>.collection-nav a { font-size:.8125rem; padding:10px 8px; gap:6px }
  .passage,.passage.featured { padding:22px }
  .quote { font-size:1.625rem }
  .context { font-size:1.0625rem }
  .music-toggle,.back-to-top { font-size:.75rem; padding:10px 14px }
  .parade-toggle { font-size:.75rem; bottom:74px }
}
@media (prefers-reduced-transparency:reduce) {
  .topbar { background:#000; backdrop-filter:none; -webkit-backdrop-filter:none }
  .collection>.collection-nav,.intro,.collection-intro,.collection-head,.index-label,.pagination { background:var(--paper); backdrop-filter:none; -webkit-backdrop-filter:none }
  .passage { background:#fff }.passage.featured { background:var(--ink) }
}
@media (prefers-reduced-motion:reduce) { .hero-figure img { animation:none } }
@media print {
  .hero { min-height:0; background:none; color:var(--ink) }.hero h1 { mix-blend-mode:normal; color:var(--ink); padding:0 }
  .hero h1 { font-size:40px }.hero-figure,.hero-top,.hero-start { display:none }
  .hero-foot { padding:24px 0 }.passage,.passage.featured { background:none; color:var(--ink); border:0 }
  .passage.featured .author-connections,.passage.featured .translation { color:var(--ink) }
}

/* White, black, and vermilion are the interface palette. */
.topbar { background:#000; border-bottom-color:#fff }
.hero-figure::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#0009 0%,#0005 45%,transparent 80%) }
#surprise:hover,.music-toggle:hover,.back-to-top:hover { color:#000 }
.collection-nav a[aria-current] span { background:transparent; color:#fff }
.collection>.collection-nav a:hover:not([aria-current]) { background:var(--accent); color:#000 }
.selected-filter { background:#fff; color:#000; border-color:#000 }
.author-portrait.study-preview,.author-portrait.book-cover,.author-portrait.work-preview,.author-portrait.diagram { filter:drop-shadow(2px 3px 4px #0002) }
@media (max-width:1000px) {
  .hero-figure::after { background:linear-gradient(0deg,#000 5%,#000e 30%,#0007 70%,#000b) }
}
@media (max-width:520px) {
  .hero-figure::after { background:linear-gradient(0deg,#000 8%,#000e 33%,#0007 60%,#000a 80%,#000 93%) }
}

/* Let the controls and entries explain the collection without repeated labels. */
.collection-nav span { display:none }
.collection-head { margin:0 }
.browse { border-top:0 }
.hero h1 { letter-spacing:-.045em }
@media (max-width:520px) { .hero h1 .title-script { font-size:18.5vw } }

/* A title-only hero, followed by one continuous introductory paragraph. */
.hero { grid-template-rows:1fr; align-items:center }
.hero h1 { align-self:center; padding-top:0; padding-bottom:0 }
.collection-opening { position:relative; z-index:1; max-width:1500px; margin:0 auto; padding:48px var(--gutter) 0; background:#fff; color:#000 }
.collection-opening p { max-width:90ch; margin:0 0 24px; font-family:var(--serif); font-size:clamp(1.125rem,1.65vw,1.5rem); font-weight:400; line-height:1.55; text-wrap:pretty }
.collection-opening p a { text-decoration-color:var(--accent); text-decoration-thickness:2px }
.collection-opening .hero-start:hover { background:#000; color:#fff }
@media (max-width:520px) {
  .collection-opening { padding-top:30px }
  .hero-figure img { top:0; height:110%; right:-40vw }
  .hero-figure::after { background:linear-gradient(0deg,#000 2%,#0007 35%,#0004 75%,#0008) }
}

/* Restore the display serif and inversion across the porcelain bust. */
@media screen {
  .hero h1 { font-optical-sizing:auto; line-height:.82; letter-spacing:-.055em; mix-blend-mode:difference; text-shadow:none }
  .hero h1 .title-script { font-size:clamp(4rem,14vw,14.5rem); margin-top:.08em }
  .hero-figure::after { background:none }
}
@media screen and (max-width:520px) {
  .hero h1 .title-script { font-size:19vw }
}

/* A crisp opening in the lower-left of the hero. */
.hero-prelude { position:absolute; top:auto; bottom:clamp(46px,8vh,84px); left:max(var(--gutter),calc((100% - var(--hero-max)) / 2 + var(--gutter))); width:min(38ch,48%); margin:0; color:#fff; font-family:var(--sans); font-size:clamp(1.125rem,1.65vw,1.5rem); font-weight:500; line-height:1.45; letter-spacing:-.015em; text-wrap:pretty }
.hero-warning { color:var(--accent) }
@media (max-width:520px) {
  .hero-prelude { width:calc(100% - 2 * var(--gutter)); max-width:32ch; font-size:1.0625rem; bottom:92px }
  .hero-figure::after { background:linear-gradient(0deg,#000 0%,#000d 18%,transparent 48%) }
}
@media print { .hero-prelude { position:static; color:#000; width:auto; margin:0 0 24px } }

/* Keep the larger opening with the established fonts and no typing animation. */
.hero-prelude { width:min(33ch,50%); font-size:clamp(1.5rem,2.5vw,2.125rem); font-weight:500; line-height:1.3; letter-spacing:-.02em }
@media (max-width:520px) { .hero-prelude { width:calc(100% - 2 * var(--gutter)); max-width:32ch; font-size:1.375rem; line-height:1.3 } }

.arlequin-invitation { color:inherit; text-decoration-color:var(--accent); text-decoration-thickness:2px; text-underline-offset:.16em }
.arlequin-invitation:hover { color:var(--accent) }

/* Opposite-color tags keep both card treatments easy to scan. */
.passage .tag { background:#000; color:#fff; border-color:#000 }
.passage.featured .tag { background:#fff; color:#000; border-color:#fff }
.passage .tag:hover,.passage.featured .tag:hover { background:var(--accent); color:#000; border-color:var(--accent) }

.listen-inline { display:inline; min-height:24px; padding:0; border:0; background:none; color:inherit; font:inherit; text-decoration:underline; text-decoration-color:var(--accent); text-decoration-thickness:2px; text-underline-offset:.16em }
.listen-inline:hover { text-decoration-thickness:3px }
@media (prefers-contrast:more) { .hero h1 { mix-blend-mode:normal; color:#fff; background:#000 } }

.study-source-link { display:block; float:right; width:min(40%,320px,var(--portrait-max-width,320px)); margin:0 0 22px 28px }
.study-source-link .author-portrait { float:none; display:block; width:100%; margin:0 }
.study-source-link:hover { outline:2px solid currentColor; outline-offset:4px }
.external-link-mark { font-size:.75em; white-space:nowrap }
@media (max-width:850px) { .study-source-link { width:min(40%,280px,var(--portrait-max-width,280px)); margin-left:22px } }
@media (max-width:450px) {
  .study-source-link { width:min(43%,160px,var(--portrait-max-width,160px)); margin:0 0 18px 16px }
  .collection>.collection-nav a { font-size:.75rem; padding-left:6px; padding-right:6px; line-height:1.3; align-items:center }
  .collection>.collection-nav a[data-collection-link="research"] { max-width:9.5em }
}

/* A short welcome beside the collection chooser. */
.collection-opening { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr); gap:clamp(32px,6vw,90px); align-items:center }
.collection-opening p { max-width:54ch; margin:0 }
.collection-explore { width:100%; max-width:380px; justify-self:end }
.collection-explore .entry-index { width:100%; max-width:100%; margin:0; font-size:.875rem }
.collection-size { display:inline-block; color:var(--accent); font-family:var(--sans); font-weight:600; font-size:1.35em; line-height:1; font-variant-numeric:tabular-nums }
.number-arrived { animation:number-arrival 1s ease-in-out 1 }
@keyframes number-arrival { 0%,100% { transform:scale(1) } 45% { transform:scale(1.12) } }
@media (max-width:850px) {
  .collection-opening { grid-template-columns:1fr; gap:24px }
  .collection-explore { justify-self:start; max-width:480px }
}
@media (prefers-reduced-motion:reduce) { .number-arrived { animation:none } }

.collection-opening .welcome-credit { margin-top:20px }
.collection-explore { align-self:end }
.collection-size { margin-right:.08em }

/* One shared frame, with upright names flowing across a wider chooser. */
:root { --section-gap:clamp(32px,5vw,80px); --frame-inset:max(var(--gutter),calc((100% - var(--hero-max)) / 2 + var(--gutter))) }
.topbar,.footer { padding-left:var(--frame-inset); padding-right:var(--frame-inset) }
.collection-opening,.layout { max-width:var(--hero-max); column-gap:var(--section-gap) }
.collection-opening { grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); padding-top:56px }
.collection-opening p { max-width:54ch }
.intro { padding-left:0; padding-right:0 }
.collection-explore { position:relative; width:100%; max-width:728px; height:224px; background:var(--accent); justify-self:end; align-self:center }
.thinker-cloud { position:absolute; inset:0; overflow:hidden; pointer-events:none; user-select:none }
.name-band { position:absolute; left:0; right:0; overflow:hidden; color:#000; font-family:var(--serif); font-size:1.59375rem; font-weight:400; line-height:1.3 }
.name-band-top { top:15px }
.name-band-bottom { bottom:15px }
.name-track { display:flex; width:max-content; animation:names-left var(--marquee-duration,600s) linear infinite }
.name-track span { flex:none; white-space:pre }
@keyframes names-left { from { transform:translateX(0) } to { transform:translateX(-50%) } }
.thinker-cloud.is-paused .name-track { animation-play-state:paused }
.collection-explore .entry-index { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:calc(100% - 104px); min-width:0; min-height:64px; padding:16px 38px 16px 18px; border:1px solid #000; border-radius:0; background:#fff; font-family:var(--sans); font-size:1rem; box-shadow:none }
.music-toggle { left:24px; right:auto }
@media (max-width:850px) {
  .collection-opening { grid-template-columns:1fr; row-gap:32px; padding-top:36px }
  .collection-explore { justify-self:start; height:208px }
  .music-toggle { left:16px; right:auto }
}
@media (max-width:520px) {
  .collection-explore { height:180px }
  .collection-explore .entry-index { width:calc(100% - 48px); min-height:56px; padding:12px 25px 12px 10px; font-size:.875rem }
  .name-band { font-size:1.3125rem }
}
@media (prefers-reduced-motion:reduce) { .name-track { animation:none } }

/* Supporting notes sit together on white, above the black closing bar. */
.layout { padding-bottom:40px }
.footer { display:flex; flex-direction:row; flex-wrap:nowrap; justify-content:flex-end; align-items:flex-start; gap:32px; background:#fff; color:#000; border-top:0; padding-top:0; padding-bottom:20px }
.footer .source-note { flex:0 1 auto; width:auto; min-width:0; margin:0; color:#000; border:0 }
.footer .source-note summary { display:flex; align-items:center; justify-content:flex-end; gap:12px; min-height:44px; padding:10px 0; font-family:var(--sans); font-size:.875rem; text-decoration:none; white-space:nowrap; cursor:pointer }
.footer .source-note summary::before { content:none }
.footer .source-note summary::after { content:'+'; font-family:var(--mono) }
.footer .source-note[open] summary::after { content:'−' }
.footer .source-note[open] { flex:1 1 0; padding-bottom:16px }
.footer .source-note p,.footer #media-credit-list { margin-left:auto; max-width:76ch; text-align:left }
.bottom-bar { position:relative; z-index:1; min-height:110px; background:#000 }
@media (max-width:520px) { .footer { gap:20px } }
@media print { .bottom-bar { display:none } }

/* The phone title stays legible where the portrait fills the hero. */
@media screen and (max-width:520px) {
  .hero { min-height:max(640px,calc(100svh - var(--header-height))) }
  .hero h1 { mix-blend-mode:normal; color:#fff; text-shadow:0 2px 12px #000 }
  .hero-figure::after { background:linear-gradient(0deg,#000 0%,#000d 18%,#0008 48%,#0002 80%) }
}
@media (max-width:520px) {
  .passage:has(.author-portrait) .card-head { min-height:0 }
  .passage .author-portrait { float:none; display:block; width:auto; max-width:75%; margin:0 auto 24px }
  .passage .study-source-link { float:none; width:min(100%,280px); margin:0 auto 24px }
  .passage .study-source-link .author-portrait { width:100%; max-width:100%; margin:0 }
}

/* Individual corrections for wide cutouts; the standard portrait layout is unchanged. */
#byrne-familiar-surprise .author-portrait { aspect-ratio:1537 / 1023 }
#garcia-improvisation .author-portrait { aspect-ratio:1337 / 1176 }
#sangare-familiar-rhythm .author-portrait { aspect-ratio:1537 / 1023 }
#tagore-known-stranger .author-portrait { aspect-ratio:1536 / 1024 }
#wallace-mediated-familiarity .author-portrait { aspect-ratio:1404 / 1120 }
#serres .author-portrait { aspect-ratio:1448 / 1086 }
#diaz-first-water .author-portrait { aspect-ratio:1426 / 1103 }
#mernissi-size-six .author-portrait { aspect-ratio:1355 / 1160 }
#silko-deceptive-moonlight .author-portrait { aspect-ratio:1357 / 1159 }
#chomei-same-city .author-portrait { aspect-ratio:1400 / 1123 }
#glissant-opacity .author-portrait { aspect-ratio:1668 / 943 }

#byrne-familiar-surprise .author-portrait,
#garcia-improvisation .author-portrait { float:right; width:min(54%,440px,var(--portrait-max-width,440px)); max-width:100%; height:auto; max-height:min(400px,var(--portrait-max-height,400px)); object-position:center top; margin:0 0 24px 24px }
#sangare-familiar-rhythm .author-portrait,
#tagore-known-stranger .author-portrait,
#wallace-mediated-familiarity .author-portrait,
#serres .author-portrait,
#diaz-first-water .author-portrait,
#mernissi-size-six .author-portrait,
#silko-deceptive-moonlight .author-portrait,
#chomei-same-city .author-portrait { width:min(48%,380px,var(--portrait-max-width,380px)); height:auto; max-height:min(400px,var(--portrait-max-height,400px)); object-position:center top }
#glissant-opacity .author-portrait { height:auto; object-position:center top }
.intro { padding-left:18px; padding-right:18px }
@media (max-width:520px) {
  #byrne-familiar-surprise .author-portrait,
  #garcia-improvisation .author-portrait,
  #sangare-familiar-rhythm .author-portrait,
  #tagore-known-stranger .author-portrait,
  #wallace-mediated-familiarity .author-portrait,
  #serres .author-portrait,
  #diaz-first-water .author-portrait,
  #mernissi-size-six .author-portrait,
  #silko-deceptive-moonlight .author-portrait,
  #chomei-same-city .author-portrait { float:none; width:min(100%,var(--portrait-max-width,560px)); max-width:100%; height:auto; max-height:min(300px,var(--portrait-max-height,300px)); margin:0 auto 24px }
  .intro { padding-left:16px; padding-right:16px }
}

/* Frame the existing turning-bust animation without the scroll drift. */
.hero-figure img.hero-animation { top:2%; right:0; height:145%; animation:none }
@media (max-width:520px) { .hero-figure img.hero-animation { top:6%; right:-18vw; height:125% } }

/* The reduced-motion still is the animation's first frame, so it keeps the same framing. */

/* Outside-link arrows stay with the last word. */
.link-tail { white-space:nowrap }

/* A quiet text control beside the footer disclosures, not another floating button. */
.motion-toggle { flex:none; display:inline-flex; align-items:center; min-height:44px; margin:0; padding:10px 0; border:0; background:none; color:#000; font-family:var(--sans); font-size:.875rem; text-decoration:underline; text-decoration-color:var(--accent); text-decoration-thickness:1px; text-underline-offset:4px; cursor:pointer; white-space:nowrap }
.motion-toggle:hover { color:var(--accent) }
.motion-toggle[hidden] { display:none }
.motion-paused .name-track,.motion-paused .parade-track * { animation-play-state:paused }

/* Both title lines share one size (Lindsey, 2 December); height caps it so the opening sentence keeps clear on short laptops. */
@media screen and (min-width:521px) {
  .hero h1 { font-size:clamp(4rem,min(12vw,21vh),14.5rem) }
  .hero h1 .title-script { font-size:1em }
}
@media screen and (max-width:520px) {
  .hero h1 { font-size:17vw }
  .hero h1 .title-script { font-size:1em }
}

/* Upright “paradox” and a centered title block, so the title and the bust sit together in the middle of the hero
   instead of against the right edge (Lindsey, 2 December). app.js centers the bust on “paradox”. */
.hero h1 .title-script { font-style:normal }
@media screen and (min-width:521px) {
  .hero h1 { width:fit-content; max-width:none; margin-left:auto; margin-right:auto; padding-left:0; padding-right:0 }
  .hero h1 .title-script { text-align:right; padding-right:0 }
}

/* A much larger title (Lindsey, 2 December): near full width, set toward the top so the opening sentence keeps its place below. */
@media screen and (min-width:521px) {
  .hero { align-items:start }
  .hero h1 { align-self:start; margin-top:clamp(20px,4.5vh,56px); font-size:clamp(4rem,min(18.5vw,30vh),18.5rem) }
}

/* A slightly smaller opening sentence, and a drawn dropdown arrow with room on the right (Lindsey, 2 December). */
.hero-prelude { font-size:clamp(1.25rem,1.9vw,1.75rem) }
.collection-explore .entry-index { appearance:none; -webkit-appearance:none; padding-right:56px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 22px center; background-size:14px 9px }
@media (max-width:520px) { .collection-explore .entry-index { padding-right:44px; background-position:right 16px center } }

/* Mock 3 hero (Lindsey, 2 December): a light serif “the” over heavy, tightly set “familiarity paradox”,
   left-aligned in the frame; a larger left-aligned opening sentence; the bust fills the hero height with its base on the bottom edge. */
@media screen and (min-width:521px) {
  .hero h1 { width:auto; max-width:none; margin:clamp(24px,5vh,64px) 0 0 var(--frame-inset); padding:0; font-family:'Inter Tight',var(--sans); font-weight:900; font-optical-sizing:auto; font-size:clamp(4rem,min(13.5vw,21vh),15rem); line-height:.84; letter-spacing:-.055em; mix-blend-mode:normal; text-align:left }
  .hero-prelude { bottom:clamp(62px,9vh,120px); font-size:clamp(1.5rem,min(2.7vw,4.4vh),2.75rem); width:min(30ch,52%); line-height:1.2; letter-spacing:-.02em }
  .hero-figure img.hero-animation { top:auto; bottom:-1.5%; height:100% }
}
.hero h1 .title-the { display:block; font-family:var(--serif); font-weight:300; font-size:.6em; letter-spacing:-.04em; line-height:1; margin:0 0 .02em .03em }
.hero h1 .title-line,.hero h1 .title-script { display:block; font-family:inherit; font-weight:inherit; font-style:normal; font-size:1em; text-align:left; padding:0; margin:0 }
@media screen and (max-width:520px) {
  .hero h1 { font-family:'Inter Tight',var(--sans); font-weight:900; font-size:18vw; line-height:.86; letter-spacing:-.05em; text-align:left }
}
.nowrap { white-space:nowrap }
.arlequin-invitation { white-space:nowrap }

/* Title about 10% larger and the opening sentence lower, for more room between them (Lindsey, 2 December). */
@media screen and (min-width:521px) {
  .hero h1 { font-size:clamp(4.4rem,min(14.85vw,23.1vh),16.5rem) }
  .hero-prelude { bottom:clamp(56px,6.5vh,96px) }
}
@media screen and (min-width:521px) and (max-height:820px) {
  .hero h1 { font-size:clamp(4rem,min(13.5vw,21vh),15rem) }
}

/* The writer/work chooser uses the title’s typeface (Lindsey, 2 December). Browsers may still draw the open list in the system font. */
.collection-explore .entry-index { font-family:'Inter Tight',var(--sans); font-weight:700; font-size:1.125rem; letter-spacing:-.02em }
.collection-explore .entry-index option,.collection-explore .entry-index optgroup { font-family:'Inter Tight',var(--sans) }
@media (max-width:520px) { .collection-explore .entry-index { font-size:1rem } }

/* The writer/work chooser as a bold title-style bar: all caps, large, heavy (Lindsey, 2 December). */
.collection-explore .entry-index { min-height:88px; padding:18px 76px 18px 26px; border:2px solid #000; font-family:'Inter Tight',var(--sans); font-weight:900; font-size:clamp(1.25rem,1.9vw,1.875rem); line-height:1.1; letter-spacing:-.01em; text-transform:uppercase; text-overflow:ellipsis; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='13' viewBox='0 0 22 13'%3E%3Cpath d='M1.5 1.5l9.5 9.5 9.5-9.5' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E"); background-position:right 26px center; background-size:22px 13px }
.collection-explore .entry-index option,.collection-explore .entry-index optgroup { text-transform:none; font-weight:600; font-size:1rem; letter-spacing:0 }
@media (max-width:520px) { .collection-explore .entry-index { min-height:68px; padding:14px 52px 14px 16px; font-size:1.0625rem; background-position:right 16px center; background-size:18px 11px } }
@media (min-width:521px) { .collection-explore .entry-index { width:calc(100% - 56px); min-height:100px; font-size:clamp(1.5rem,2.5vw,2.5rem); letter-spacing:-.015em } }
@media (min-width:521px) { .collection-explore .entry-index { font-size:clamp(1.25rem,2vw,2.125rem); padding-left:28px; padding-right:68px } }
@media (max-width:520px) { .collection-explore .entry-index { width:calc(100% - 24px); padding:14px 44px 14px 14px; font-size:.9375rem; background-position:right 14px center } }

/* A bounded menu allows full titles to wrap independently of the bold trigger. */
.collection-opening:has(.entry-index-trigger[aria-expanded=true]) { z-index:30 }
.collection-explore .entry-index { display:flex; align-items:center }
.entry-index-trigger { position:absolute; inset:0; width:100%; height:100%; padding:inherit; border:0; background:transparent; font:inherit; letter-spacing:inherit; text-transform:inherit; text-align:left }
.entry-index-preview { display:block; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis }
.entry-index-menu { position:absolute; top:calc(100% + 6px); left:-2px; width:min(calc(100% + 4px),32rem); max-height:min(26rem,55svh,var(--entry-menu-space,55svh)); overflow-y:auto; overscroll-behavior:contain; border:2px solid #000; background:#fff; color:#000; box-shadow:0 10px 24px #0002; font:400 1rem/1.4 var(--sans); letter-spacing:0; text-transform:none; text-align:left }
.entry-index-group-label { padding:12px 14px 8px; background:#f2f2f2; font-size:.75rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase }
.entry-index-item { display:block; width:100%; min-height:44px; padding:12px 14px; border:0; border-bottom:1px solid #0002; background:#fff; color:#000; font:inherit; text-align:left; white-space:normal; overflow-wrap:anywhere }
.entry-index-author,.entry-index-work { display:block }
.entry-index-author { font-weight:700 }
.entry-index-work { margin-top:3px }
.entry-index-item:hover,.entry-index-item:focus { background:#f9e9e3; outline:2px solid #000; outline-offset:-2px }
.entry-index:focus-within { outline:3px solid var(--slate); outline-offset:4px }

/* A loopy, hand-drawn vermilion arrow from “Just ask Arlequin.” toward the bust (Lindsey, 2 December). Decorative only. */
.arlequin-arrow { position:relative; display:inline-block; width:0; height:1em; vertical-align:baseline; pointer-events:none }
.arlequin-arrow svg { position:absolute; left:.3em; bottom:-.2em; width:clamp(280px,33vw,560px); height:auto; overflow:visible }
.arlequin-arrow path { fill:none; stroke:var(--accent); stroke-width:3.6; stroke-linecap:round; stroke-linejoin:round }
@media (prefers-reduced-motion:no-preference) {
  html:not(.motion-paused) .arlequin-arrow .arrow-line { stroke-dasharray:820; stroke-dashoffset:820; animation:arrow-draw 1.8s .6s ease-out forwards }
  html:not(.motion-paused) .arlequin-arrow .arrow-head { opacity:0; animation:arrow-head .3s 2.3s ease-out forwards }
}
@keyframes arrow-draw { to { stroke-dashoffset:0 } }
@keyframes arrow-head { to { opacity:1 } }
@media (max-width:520px) { .arlequin-arrow { display:none } }

/* Phrases that never split across lines (Lindsey, 2 December): her name and “Inclusive AI Lab blog post.”, marked .nowrap in the HTML.
   Welcome paragraphs avoid a lone last word. */
.collection-opening p { text-wrap:pretty }

/* Still bust (Lindsey, 2 December): the 1280-pixel three-quarter photograph, cropped in to hat, face and ruff. app.js centers it in the open
   space, keeps it clear of the opening sentence and of the caption, and lets the title invert where it crosses the hat. */
@media screen and (min-width:521px) {
  .hero-figure img.hero-animation { top:-13%; bottom:auto; height:140%; animation:none }
  .hero h1 { mix-blend-mode:difference }
  .arlequin-arrow svg { width:clamp(220px,25vw,420px) }
}
@media screen and (max-width:520px) {
  .hero-figure img.hero-animation { top:-3%; bottom:auto; height:88%; left:50%; right:auto; transform:translateX(-47.4%); animation:none }
}

/* Keep four collection tabs readable on narrow screens. */
@media(max-width:600px){.collection>.collection-nav{flex-wrap:wrap}.collection>.collection-nav a{min-height:44px}}
