/* alexandreroussas.com, static, no external dependency, no JavaScript. V6, dark editorial. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/IBMPlexSans-Light.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/IBMPlexSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/IBMPlexSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/IBMPlexMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/Montserrat-Light.woff2") format("woff2"); }

:root {
  --bg: #0f0f10;
  --ink: #ece6dc;      /* titles, strong text */
  --text: #aab4be;     /* running text */
  --meta: #9aa3ad;     /* labels, footer */
  --rule: #2a2f36;     /* hairlines */
  --line: rgba(236, 230, 220, .42); /* pill outline */
  --accent: #8fc1e0;   /* the one touch of blue */
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --display: "Montserrat", "IBM Plex Sans", Arial, sans-serif;
  --caps: var(--sans); /* small spaced capitals (labels, nav, pills). Plex Mono is kept for numbers and dates */
  --gutter: clamp(24px, 8vw, 168px);
  --gap: clamp(24px, 2.75vw, 48px);
  --chapter: clamp(128px, 12vw, 208px); /* vertical rhythm between chapters */
  --bleed: 1.08;       /* giant word: 108 % of the viewport, 4 % cut on each side */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(236, 230, 220, .3); text-decoration-thickness: 1px; text-underline-offset: 5px; transition: text-decoration-color .15s ease, color .15s ease, background-color .15s ease; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip:focus { left: 16px; top: 12px; background: var(--ink); color: var(--bg); padding: 8px 12px; z-index: 10; }

.wrap { padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* Header */
/* wordmark and nav share one baseline; the line itself stays centred in the bar */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: baseline; align-content: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.wordmark {
  font-family: var(--display);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  font-kerning: none;
  color: var(--ink);
}
.wordmark .kn { letter-spacing: .19em; }
.nav { display: flex; gap: 40px; margin: 0; padding: 0; list-style: none; }
.nav a { font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--meta); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* Giant word: wide thin capitals that run past both edges of the screen */
.giant {
  --w: 4.89;           /* word width in em at letter-spacing 0, measured in Montserrat Light */
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 300;
  font-size: calc(var(--bleed) * 100vw / var(--w));
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink);
  font-kerning: normal;
}
.giant > span { flex: none; display: block; }
.giant.w-contact { --w: 4.82; }
.giant.w-writing { --w: 4.55; --bleed: 1.02; } /* the G must keep its bar */
.giant.w-notfound { --w: 6.35; --bleed: 1.03; }

/* Home: PURE CORE. The P keeps its stem on the left edge (a P without its stem reads as a D),
   the E runs off the right edge. Measured in Montserrat Light: PURE CORE 6.07 em,
   0.13 em trimmed on the left, 0.27 em past the right edge, so 5.67 em visible. */
.giant-pc { justify-content: flex-start; font-size: calc(100vw / 9.6); letter-spacing: .42em; }
/* 22/10: lower and wider at Alexandre's request. With .42em tracking the word runs about 9.9 em, so the E still runs off the right edge. */
.giant-pc .gw { flex: none; display: block; margin-left: -.13em; white-space: nowrap; }
.giant-pc .gw > span { display: inline; }

/* Hero: photo with the quote laid over its empty side */
.hero { padding-bottom: var(--chapter); }
.hero .giant { margin-top: 8px; }
.stage { margin-top: clamp(64px, 6vw, 112px); align-items: center; }
.photo { grid-column: 1 / 5; grid-row: 1; margin: 0; }
.photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #262627; }
.pull { grid-column: 6 / 13; grid-row: 1; align-self: center; position: relative; margin: 0; }
.pull p {
  margin: 0;
  font-weight: 300;
  font-size: clamp(30px, 3vw, 54px);
  line-height: 1.38;
  letter-spacing: -.012em;
  color: var(--ink);
  text-wrap: balance;
}
.pull p > span { display: block; text-wrap: balance; }

/* Hand-drawn pencil loop around one or two words (two on the page at most).
   The #pencil filter (inline SVG at the top of the page) roughens the stroke like graphite. */
.circled { position: relative; display: inline-block; white-space: nowrap; }
.pull .circled { margin-left: .09em; }
.scribble {
  position: absolute;
  left: -4.6%;
  top: -26%;
  width: 109.6%;
  height: 152%;
  overflow: visible;
  pointer-events: none;
  color: rgba(236, 230, 220, .8);
  transform: rotate(-1.2deg);
  filter: url(#pencil);
}
.scribble path { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.bio-name .scribble { left: -12%; top: -32%; width: 126%; height: 164%; transform: rotate(1.5deg); }

/* Wide screens: the quote starts level with the microphone, about a quarter down the photo
   (padding in % of the quote column's width: photo height is about 1.24 times that width). */
@media (min-width: 861px) {
  .pull { align-self: center; padding-top: 0; }
  /* the two sentences keep one line each, as in V5; the right gutter absorbs the few extra pixels */
  .pull p > span { white-space: nowrap; }
}

/* Pure Core mark under the second bio */
.bio-logo { display: inline-block; align-self: flex-start; margin-top: 40px; text-decoration: none; line-height: 0; }
.bio-logo img { width: 92px; height: auto; }

/* Two bios under the photo, arrow hanging in the margin */
.duo { margin-top: clamp(120px, 11vw, 184px); row-gap: 72px; align-items: start; }
.bio { position: relative; padding-left: 48px; display: flex; flex-direction: column; align-items: flex-start; }
.bio > * { max-width: 100%; }
.bio-a { grid-column: 1 / 6; }
.bio-b { grid-column: 7 / 12; }
.bio .arrow { position: absolute; left: 0; top: .62em; width: 24px; height: 16px; color: var(--ink); }
.bio-name {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -.005em;
  color: var(--ink);
}
.bio-name.is-accent { color: var(--accent); }
.bio-a .arrow, .bio-b .arrow { top: 8px; }
.role {
  margin: 12px 0 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--meta);
}
.bio p.copy { margin: 32px 0 0; max-width: 31em; line-height: 1.75; color: var(--text); text-wrap: pretty; }
.bio p.copy + p.copy { margin-top: 20px; }
.based { margin: 32px 0 0; font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--meta); }

/* Pill buttons */
.pills { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.bio p.copy, .bio .based { align-self: stretch; }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 40px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--caps);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.pill:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

/* Chapters */
.chapter { padding: var(--chapter) 0; border-top: 1px solid var(--rule); }
.label {
  margin: 0;
  font-family: var(--caps);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--meta);
}
/* chapter number: Plex Mono, the one place a numeral leads a label */
.label .no { display: inline-block; min-width: 3.4em; font-family: var(--mono); letter-spacing: .12em; color: var(--ink); }
.chapter .label { grid-column: 1 / 4; padding-top: 18px; }
.chapter .body { grid-column: 4 / 11; }
.h-display {
  margin: 0 0 64px;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(32px, 3.9vw, 60px);
  line-height: 1.06;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
  font-kerning: normal;
  text-wrap: balance;
}
.body p { margin: 0 0 1.35em; max-width: 33em; line-height: 1.75; }
.body p:last-child { margin-bottom: 0; }

/* Facts: one hero number, three quiet lines */
.facts { margin: clamp(104px, 10vw, 168px) 0 0; padding: 0; align-items: end; }
.facts > div { grid-column: 8 / 13; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.facts > div:first-child { border-top: 1px solid var(--rule); }
.facts dt { font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--meta); padding-top: 3px; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }
.facts > div.hero-fact { grid-column: 1 / 7; grid-row: 1 / span 3; display: flex; flex-direction: column-reverse; justify-content: flex-start; gap: 20px; padding: 0 0 23px; border: 0; }
.hero-fact dd { font-family: var(--display); font-weight: 300; font-size: clamp(88px, 14.5vw, 248px); line-height: .84; letter-spacing: -.01em; color: var(--ink); font-kerning: normal; }
.hero-fact .num { display: block; margin-left: -.06em; white-space: nowrap; word-spacing: -.16em; }
.hero-fact .unit { font-size: .3em; letter-spacing: .06em; margin-left: .08em; }
.hero-fact dt { padding: 0; }

/* Event photo strip (markup commented out in index.html until the photos arrive). 2 or 3 photos. */
.strip { padding: 0 0 112px; }
.strip-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.strip-photo { margin: 0; }
.strip-photo img { width: 100%; height: auto; background: #1c1c1d; }
.strip-photo:nth-child(1) { grid-column: 1 / 6; }
.strip-photo:nth-child(2) { grid-column: 6 / 9; }
.strip-photo:nth-child(3) { grid-column: 9 / 13; }
.strip-photo:first-child:nth-last-child(2) { grid-column: 1 / 8; }
.strip-photo:first-child:nth-last-child(2) + .strip-photo { grid-column: 8 / 13; }
.strip-photo figcaption { margin-top: 12px; font-family: var(--caps); font-size: 11.5px; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--meta); }

/* On the record: the newest take in the large slot, the others in the right-hand column */
.record .body .h-display { margin-bottom: 0; }
.takes { list-style: none; margin: clamp(80px, 7vw, 120px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 88px; align-items: start; }
.take { position: relative; grid-column: 9 / 13; }
.take:first-child { grid-column: 1 / 8; }
.take:first-child:nth-last-child(3) { grid-row: 1 / span 2; }
/* bottom edge of this photo level with the large one, so the two texts start on the same line */
.take:nth-child(2) { margin-top: 54%; }
.take-photo { margin: 0; overflow: hidden; background: #1c1c1d; }
.take-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .9s cubic-bezier(.2, .6, .2, 1); }
.take-text { padding-top: 32px; }
.take-meta { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; color: var(--meta); }
.take-title { margin: 12px 0 0; font-weight: 300; font-size: clamp(21px, 1.75vw, 25px); line-height: 1.28; letter-spacing: -.004em; color: var(--ink); text-wrap: balance; }
.take:first-child .take-title { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.18; max-width: 18em; }
.take-title a { color: inherit; text-decoration: none; }
.take-title a::after { content: ""; position: absolute; inset: 0; }
.take-title a:focus-visible { outline: none; }
.take:focus-within { outline: 2px solid var(--accent); outline-offset: 10px; }
.take-hook { margin: 18px 0 0; max-width: 32em; font-size: 16.5px; line-height: 1.7; color: var(--text); text-wrap: pretty; }
.take:first-child .take-hook { font-size: 18px; }
.take-more { display: inline-flex; align-items: center; gap: 12px; margin: 26px 0 0; font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.take-more .arrow { width: 22px; height: 15px; transition: transform .3s ease; }
.take:hover .take-photo img { transform: scale(1.025); }
.take:hover .take-title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(236, 230, 220, .5); }
.take:hover .take-more .arrow { transform: translateX(4px); }
.record .body { grid-column: 4 / 10; }
.record-all { grid-column: 11 / 13; justify-self: end; align-self: center; margin: 0; }

/* Statement: one sentence, set like PURE CORE, on a full-bleed photo.
   The sentence is written once, in index.html. */
.statement { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: max(600px, min(100vh, 64vw)); background: #0b0b0c; }
.statement-photo { position: absolute; inset: 0; z-index: -2; margin: 0; }
.statement-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 12, 13, .5); }
.statement-text {
  margin: 0;
  padding: 120px 0 clamp(40px, 5.5vw, 88px) var(--gutter);
  font-family: var(--display);
  font-weight: 300;
  font-size: calc((100vw - var(--gutter)) / 7.6);
  line-height: .96;
  letter-spacing: 0;
  word-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  font-kerning: normal;
  text-wrap: balance;
  /* a word too long for the screen is hyphenated rather than cut off by the edge */
  min-width: 0;
  hyphens: auto;
  overflow-wrap: break-word;
}
.statement + .chapter { border-top: 0; }

/* Respiration: one full-bleed photograph between the bios and the first chapter, nothing written on it */
.band { margin: 0; background: #1c1c1d; }
.band img { display: block; width: 100%; height: clamp(200px, 21vw, 400px); object-fit: cover; object-position: center 58%; }
.band + .chapter { border-top: 0; }

/* The path, step by step: the step's name in the label column, its first sentence in ink */
.steps { margin: 0; padding-top: 0; padding-bottom: 0; list-style: none; }
.step { margin-top: clamp(52px, 4.6vw, 76px); }
.step:first-child { margin-top: 0; }
.step-tag { grid-column: 1 / 4; margin: 0; padding-top: 7px; font-family: var(--caps); font-size: 12px; line-height: 1.6; letter-spacing: .2em; text-transform: uppercase; color: var(--meta); }
.step-text { grid-column: 4 / 11; margin: 0; max-width: 33em; line-height: 1.75; text-wrap: pretty; }
.step-text .in { color: var(--ink); }

/* One line from the writing, set large between two chapters */
.quote { padding: clamp(112px, 10vw, 176px) 0; border-top: 1px solid var(--rule); }
.quote figure { margin: 0; }
.quote blockquote { grid-column: 4 / 13; margin: 0; }
.quote blockquote p {
  margin: 0;
  font-weight: 300;
  font-size: clamp(30px, 3.9vw, 62px);
  line-height: 1.17;
  letter-spacing: -.016em;
  color: var(--ink);
  text-wrap: balance;
}
.quote .hang { margin-left: -.44em; }
.quote figcaption { grid-column: 4 / 13; margin-top: 44px; font-family: var(--caps); font-size: 12px; line-height: 1.6; letter-spacing: .2em; text-transform: uppercase; color: var(--meta); }
.quote figcaption a { color: var(--ink); text-decoration-color: rgba(236, 230, 220, .35); text-underline-offset: 6px; }
.quote figcaption a:hover { text-decoration-color: var(--ink); }

/* Contact block on the home page */
.reach .body { grid-column: 4 / 13; }
.reach .body p { font-weight: 300; font-size: clamp(21px, 2vw, 32px); line-height: 1.45; color: var(--text); max-width: 32em; text-wrap: balance; }

/* Inner pages */
.page { padding: 0 0 128px; }
.page .giant { margin-top: 8px; }
.page-body { margin-top: 80px; }
.page-main { grid-column: 4 / 11; }
.page .page-main .lead {
  margin: 0 0 28px;
  font-weight: 300;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.page .lead + .body, .page .body { margin-top: 28px; }
.page .body:first-child { margin-top: 0; }
.page .body p { color: var(--text); }
.page-main > .label { margin-bottom: 22px; }

.contact-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.contact-list li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.contact-list .k { font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--meta); }
.contact-list a { position: relative; display: inline-block; padding-left: 40px; font-weight: 300; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; overflow-wrap: anywhere; }
.contact-list a .arrow { position: absolute; left: 0; top: .45em; width: 22px; height: 15px; color: var(--ink); }
.contact-list a.is-accent { color: var(--accent); text-decoration-color: rgba(143, 193, 224, .45); }
.contact-list a.is-accent:hover { text-decoration-color: var(--accent); }
.note { margin: 36px 0 0; font-size: 16px; color: var(--text); }

.posts { list-style: none; margin: 48px 0 0; padding: 0; border-bottom: 1px solid var(--rule); }
.posts:empty { display: none; }
.posts li { border-top: 1px solid var(--rule); }
.post { display: block; padding: 28px 0 32px; text-decoration: none; }
.post-meta, .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; color: var(--meta); }
.dot { color: var(--meta); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--caps); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.post-title { display: block; margin-top: 14px; font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; color: var(--ink); text-wrap: balance; }
.post-excerpt { display: block; margin-top: 10px; max-width: 36em; font-size: 16px; line-height: 1.6; color: var(--text); }
.post:hover .post-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* Article */
.article { padding: 48px 0 120px; }
.article-head { grid-column: 4 / 12; }
.prose, .article-foot { grid-column: 4 / 10; }
.back { display: inline-flex; align-items: center; gap: 12px; font-family: var(--caps); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--meta); text-decoration: none; }
.back .arrow { width: 22px; height: 15px; flex: none; }
.back:hover { color: var(--ink); }
.article-meta { margin: 64px 0 0; }
.article-title {
  margin: 22px 0 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.06;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
  font-kerning: normal;
  text-wrap: balance;
}
.article-lead { margin: 32px 0 0; max-width: 30em; font-weight: 300; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.prose { margin-top: 72px; font-size: 19px; line-height: 1.75; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.2em; max-width: 36em; text-wrap: pretty; }
.prose h2 { margin: 2.2em 0 .7em; font-weight: 300; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.3; color: var(--ink); text-wrap: balance; }
.prose blockquote { margin: 1.9em 0; padding-left: 28px; border-left: 1px solid var(--accent); }
.prose blockquote p { margin: 0; font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.4; color: var(--ink); }
.prose ul { margin: 0 0 1.2em; padding-left: 1.1em; max-width: 36em; }
.prose li { margin: 0 0 .4em; padding-left: .3em; }
.prose li::marker { color: var(--meta); }
.article-foot { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--rule); }
.sources { grid-column: 4 / 10; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule); }
.sources .label { margin: 0 0 14px; }
.sources ol { margin: 0; padding-left: 1.3em; font-size: 14px; line-height: 1.6; color: var(--meta); }
.sources li { margin: 0 0 10px; padding-left: .3em; }
.sources li::marker { font-family: var(--mono); font-size: 12px; color: var(--meta); }
.sources a { color: var(--text); text-decoration-color: rgba(170, 180, 190, .35); overflow-wrap: anywhere; }
.sources a:hover { color: var(--ink); }
.sources + .article-foot { margin-top: 40px; padding-top: 0; border-top: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 44px 0 56px; font-size: 14px; color: var(--meta); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .copy { margin: 0; font-size: 13px; letter-spacing: .04em; }
.site-footer ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }

@media (min-width: 1181px) {
  body { font-size: 19px; }
}

/* Small laptop: the three fact lines take one more column so none of them wraps */
@media (max-width: 1360px) {
  .facts > div { grid-column: 7 / 13; grid-template-columns: 128px minmax(0, 1fr); }
  .facts > div.hero-fact { grid-column: 1 / 7; }
}

/* Laptop */
@media (max-width: 1180px) {
  :root { --gap: 24px; }
  .photo { grid-column: 1 / 5; }
  .pull { grid-column: 6 / 13; }
  .bio-a { grid-column: 1 / 7; }
  .bio-b { grid-column: 7 / 13; }
  .chapter .body, .page-main { grid-column: 3 / 12; }
  .chapter .label { grid-column: 1 / 3; }
  .article-head { grid-column: 3 / 13; }
  .prose, .article-foot, .sources { grid-column: 3 / 11; }
  .take:first-child { grid-column: 1 / 8; }
  .take { grid-column: 8 / 13; }
  .take:nth-child(2) { margin-top: 28%; }
  .record .body { grid-column: 3 / 10; }
  .record-all { grid-column: 10 / 13; }
  .step-tag { grid-column: 1 / 3; }
  .step-text { grid-column: 3 / 12; }
  .quote blockquote, .quote figcaption { grid-column: 3 / 13; }
}

/* Tablet and phone: one column */
@media (max-width: 860px) {
  :root { --gap: 16px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .stage { margin-top: 40px; }
  .photo { max-width: 360px; }
  .photo img { aspect-ratio: 4 / 5; }
  .pull { margin-top: 36px; }
  .pull p { font-size: clamp(26px, 6.8vw, 36px); line-height: 1.5; }
  .facts > div.hero-fact { order: -1; }
  .duo { margin-top: 64px; row-gap: 56px; }
  .chapter { padding: 72px 0; }
  .chapter .label { padding-top: 0; margin-bottom: 18px; }
  .facts { margin-top: 56px; }
  .facts > div.hero-fact { margin-bottom: 36px; }
  .page-body { margin-top: 48px; }
  .takes { margin-top: 48px; row-gap: 56px; grid-template-columns: minmax(0, 1fr); }
  .take, .take:first-child { grid-column: 1 / -1; grid-row: auto; }
  .take:nth-child(2) { margin-top: 0; }
  .take-photo img { aspect-ratio: 3 / 2; }
  .record-all { justify-self: start; margin-top: 28px; }
  .strip { padding-bottom: 72px; }
  .strip-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 4px; scrollbar-width: none; }
  .strip-row::after { content: ""; flex: 0 0 1px; }
  .strip-row::-webkit-scrollbar { display: none; }
  /* phones: one swipeable film strip, every photo at the same height */
  .strip-row { align-items: flex-start; }
  .strip-photo { flex: 0 0 auto; scroll-snap-align: start; }
  .strip-photo img { width: auto; height: min(64vw, 380px); max-width: 84vw; object-fit: cover; }
  .steps .step-tag { margin-bottom: 10px; padding-top: 0; }
  .step { margin-top: 44px; }
  .quote { padding: 88px 0; }
  .quote blockquote p { font-size: clamp(26px, 6.6vw, 40px); line-height: 1.24; }
  .quote .hang { margin-left: -.42em; }
  .quote figcaption { margin-top: 28px; }
  .statement { min-height: max(560px, 125vw); }
  .statement-text { font-size: calc((100vw - 2 * var(--gutter)) / 5.3); padding-right: 0; }
}

/* Phone */
@media (max-width: 560px) {
  :root { --gutter: 24px; --bleed: 1.04; }
  body { font-size: 16px; }
  .site-header .wrap { min-height: 64px; }
  .wordmark { font-size: 11px; letter-spacing: .2em; }
  .wordmark .kn { letter-spacing: .13em; }
  .nav { gap: 18px; }
  .nav a { font-size: 11px; letter-spacing: .14em; }
  .hero { padding-bottom: 80px; }
  /* PURE over CORE. CORE 2.91 em wide: 0.13 em trimmed left, 0.244 em past the right edge. */
  .giant-pc { font-size: calc(100vw / 2.536); line-height: .86; padding-top: .04em; letter-spacing: 0; }
  .giant-pc .gw > span { display: block; }
  .stage { margin-top: 28px; }
  .bio { padding-left: 36px; }
  .bio .arrow { width: 20px; height: 14px; }
  .bio-name { font-size: 24px; }
  .bio-a .arrow, .bio-b .arrow { top: 8px; }
  .role { font-size: 11.5px; letter-spacing: .18em; }
  .h-display { margin-bottom: 28px; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .hero-fact dd { font-size: 30vw; }
  .quote .hang { margin-left: 0; }
  .contact-list li { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .contact-list a { font-size: 19px; padding-left: 32px; }
  .contact-list a .arrow { width: 19px; height: 13px; }
  .page { padding-bottom: 88px; }
  .article { padding: 32px 0 88px; }
  .article-meta { margin-top: 40px; }
  .prose { margin-top: 48px; font-size: 17px; line-height: 1.72; }
  .prose blockquote { padding-left: 20px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer ul { gap: 10px 16px; flex-wrap: wrap; font-size: 13px; }
  .takes { margin-top: 40px; }
  .take-text { padding-top: 20px; }
  .take:first-child .take-hook { font-size: 16px; }
}

/* Motion: the pencil loop draws itself once; takes and statement rise into place as they scroll in.
   Nothing moves for visitors who ask for reduced motion, and browsers without scroll timelines show everything static. */
@media (prefers-reduced-motion: no-preference) {
  /* pathLength is 1, but a non-scaling stroke measures longer on screen: 2.2 keeps the whole loop inside one dash */
  .pull .scribble path { stroke-dasharray: 2.2; stroke-dashoffset: 2.2; animation: draw 2.4s cubic-bezier(.3, .2, .2, 1) .45s forwards; }
  @supports (animation-timeline: view()) {
    .take, .statement-text { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .statement-photo img { animation: settle linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
