/* Instrument Sans, latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Sans, latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Newsreader, latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/newsreader-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Newsreader, latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/newsreader-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The page is a light box: the scans sit dark on a cool, lit panel. In dark mode it is the reading room. */
:root {
  --box: #eaf1f5;
  --panel: #f6f9fb;
  --ink: #142530;
  --muted: #4e6472;
  --base: #2f6690; /* the blue tint of X-ray film */
  --on-base: #fff;
  --rule: #c9d7df;
  --film: #000;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --box: #0f161b; --panel: #141d23; --ink: #dce7ed; --muted: #8fa3ae; --base: #7fb2d9; --on-base: #0f161b; --rule: #24333c; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--box);
  color: var(--ink);
  font: 400 1.0625rem/1.6 'Instrument Sans', system-ui, sans-serif;
}
a { color: var(--base); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--base); outline-offset: 3px; border-radius: 2px; }
h1, h2 { font-family: 'Newsreader', Georgia, serif; font-weight: 500; font-optical-sizing: auto; letter-spacing: -.015em; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.5rem); line-height: 1.1; margin: 0 0 1.5rem; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; margin: 0 0 .5rem; }
p { margin: 0; }
.muted { color: var(--muted); }

.top, main, .foot { max-width: 72rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }

/* Header: the mark, the sections, the languages. */
.top { display: flex; align-items: center; gap: 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.mark { font: 500 1.625rem/1 'Newsreader', Georgia, serif; letter-spacing: -.01em; color: var(--ink); text-decoration: none; margin-right: auto; } /* the name as the mark, in the page's serif */
.top nav { display: flex; gap: 1.25rem; font-size: .9375rem; }
.top nav a { color: var(--muted); text-decoration: none; padding: .25rem 0; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
.langs { gap: .75rem !important; }
.langs a[aria-current] { text-decoration: underline; text-decoration-color: var(--base); text-underline-offset: .35em; }
.sections { display: none !important; }

/* First screen: who, what, how to reach her; the CT series beside it. On a phone the scan comes first. */
.hero { display: grid; gap: 1.75rem; padding: .5rem 0 3.5rem; grid-template-areas: "scan" "text"; }
.hero-text { grid-area: text; }
h1 { margin: 0 0 1rem; font-size: clamp(2.75rem, 7vw, 4.75rem); line-height: 1; letter-spacing: -.02em; }
.role { color: var(--muted); font-size: 1.1875rem; line-height: 1.4; margin-bottom: 1.5rem; }
.lead { font-size: 1.1875rem; line-height: 1.5; max-width: 34ch; margin-bottom: 2rem; }
.act { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; color: var(--muted); font-size: .9375rem; }
.button {
  display: inline-block; padding: .8rem 1.4rem; border-radius: 4px;
  background: var(--base); color: var(--on-base); font-size: 1rem; font-weight: 600; text-decoration: none;
}
.button:hover { filter: brightness(1.08); }

figure { margin: 0; }
.series { grid-area: scan; margin: 0 -1rem; }
.scan { position: relative; }
.series img { display: block; width: 100%; height: auto; aspect-ratio: 1; background: var(--film); cursor: pointer; }
#play {
  position: absolute; right: .6rem; bottom: .6rem;
  width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; padding: 0;
  display: grid; place-items: center;
  background: rgb(0 0 0 / .55); color: #fff; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35);
}
#play svg { fill: currentColor; }
#play[data-state="playing"] .i-play, #play[data-state="paused"] .i-pause { display: none; }
figcaption { color: var(--muted); font-size: .875rem; margin-top: .5rem; }
.series figcaption { padding: 0 1rem; }

/* The sections below: one hairline above each, generous space. */
.band { border-top: 1px solid var(--rule); padding: 3rem 0; }
.cols { display: grid; gap: 2rem; }
.col p { color: var(--muted); }
.areas { display: grid; gap: 2rem; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: .7rem 0; border-bottom: 1px solid var(--rule); font-size: 1.125rem; }
.films { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.films img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--film); border-radius: 3px; }
.intro { font-size: 1.25rem; line-height: 1.55; max-width: 52ch; }
.articles { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.articles a { font-family: 'Newsreader', Georgia, serif; font-size: 1.5rem; line-height: 1.25; }
.articles time { display: block; color: var(--muted); font-size: .875rem; margin: .35rem 0; }
.articles p { color: var(--muted); max-width: 60ch; }
.contact p { margin-bottom: .75rem; }
.email { font-family: 'Newsreader', Georgia, serif; font-size: clamp(1.5rem, 4.5vw, 2.25rem); line-height: 1.2; overflow-wrap: anywhere; }

/* An article: one readable column. */
.article { max-width: 42rem; padding: 1.5rem 0 4rem; }
.article h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); line-height: 1.08; }
.back { font-size: .9375rem; margin-bottom: 2rem; }
.byline { color: var(--muted); font-size: .9375rem; margin-bottom: 2.5rem; }
.prose { font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.75rem; margin: 2em 0 0; }
.prose h3 { margin: 1.6em 0 0; }
.prose img { max-width: 100%; height: auto; border-radius: 3px; }
.prose ul, .prose ol { padding-left: 1.25rem; }

.foot::before { content: ''; display: block; border-top: 1px solid var(--rule); margin-bottom: 1.5rem; } /* the rule as wide as the text */
.foot { padding-bottom: 2.5rem; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.foot strong { color: var(--ink); font-weight: 600; }
.ids { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }

@media (min-width: 40rem) {
  .sections { display: flex !important; }
  .cols { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .col { border-top: 2px solid var(--base); padding-top: 1rem; }
}

@media (min-width: 56rem) {
  .top, main, .foot { padding-left: 2rem; padding-right: 2rem; }
  .top { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    grid-template-areas: "text scan";
    align-items: center; column-gap: 4rem;
    min-height: min(44rem, calc(100vh - 5.5rem)); padding: 1rem 0 4rem;
  }
  .series { margin: 0; }
  .series img { border-radius: 3px; }
  .series figcaption { padding: 0; }
  .band { padding: 4.5rem 0; }
  .band > h2 { margin-bottom: 2rem; }
  .areas { grid-template-columns: 1.1fr .9fr; column-gap: 4rem; align-items: center; }
}
