/* =========================================================
   Daniel Anderson: site stylesheet
   Direction: "screening room / gallery archive"
   Warm paper for reading, dark projection rooms for media,
   amber projector light as the accent.
   ========================================================= */

/* ---------- 1. Settings: change colors and fonts here ---------- */
:root {
  /* Colors */
  --paper:          #f6f2ea;  /* main light background */
  --paper-deep:     #ece5d8;  /* panels on light pages */
  --ink:            #1d1b18;  /* main text on light */
  --ink-soft:       #4f4a43;  /* secondary text on light */
  --screen:         #141311;  /* dark "screening room" background */
  --screen-raise:   #221f1b;  /* image placeholders on dark */
  --on-screen:      #efe9de;  /* text on dark */
  --on-screen-soft: #b9b0a2;  /* secondary text on dark */
  --amber:          #e8a93a;  /* accent on dark backgrounds */
  --amber-ink:      #774600;  /* accent on light backgrounds */
  --line:           #d6cdbd;  /* hairlines on light */

  /* Fonts (no downloads: these are already on most computers) */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-label: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Sizes */
  --page-width: 72rem;
  --reading-width: 40rem;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --section-space: clamp(2.25rem, 4.5vw, 3.75rem);
  --side: max(var(--gap), calc((100% - var(--page-width)) / 2));
  --radius: 4px;
}

/* == GENERATED: icons and washes (made by build_css.py; edit the sources, not this block) == */
:root {
  --blue: 79 125 179;  --blue-ink: #264f7c;
  --teal: 63 143 134;  --teal-ink: #1a5852;
  --rose: 192 95 107;  --rose-ink: #842f3e;
  --ochre: 212 154 53;  --ochre-ink: #774600;
  --violet: 123 106 166;  --violet-ink: #4c3d7b;
  --sage: 122 154 106;  --sage-ink: #3b5831;
  --blot-1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='black' stop-opacity='0.8'/%3E%3Cstop offset='0.5' stop-color='black' stop-opacity='0.6'/%3E%3Cstop offset='0.8' stop-color='black' stop-opacity='0.24'/%3E%3Cstop offset='1' stop-color='black' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cfilter id='w' x='-30%25' y='-30%25' width='160%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.024' numOctaves='3' seed='5'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='42' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23w)'%3E%3Cellipse cx='100' cy='100' rx='70' ry='58' transform='rotate(-12 100 100)' fill='url(%23g)' opacity='1.0'/%3E%3Cellipse cx='82' cy='112' rx='40' ry='32' transform='rotate(20 82 112)' fill='url(%23g)' opacity='0.55'/%3E%3Cellipse cx='122' cy='86' rx='30' ry='24' transform='rotate(0 122 86)' fill='url(%23g)' opacity='0.4'/%3E%3C/g%3E%3C/svg%3E");
  --blot-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='black' stop-opacity='0.8'/%3E%3Cstop offset='0.5' stop-color='black' stop-opacity='0.6'/%3E%3Cstop offset='0.8' stop-color='black' stop-opacity='0.24'/%3E%3Cstop offset='1' stop-color='black' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cfilter id='w' x='-30%25' y='-30%25' width='160%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.024' numOctaves='3' seed='13'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='42' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23w)'%3E%3Cellipse cx='100' cy='98' rx='66' ry='62' transform='rotate(25 100 98)' fill='url(%23g)' opacity='1.0'/%3E%3Cellipse cx='118' cy='84' rx='38' ry='28' transform='rotate(-10 118 84)' fill='url(%23g)' opacity='0.55'/%3E%3Cellipse cx='80' cy='118' rx='26' ry='22' transform='rotate(0 80 118)' fill='url(%23g)' opacity='0.35'/%3E%3C/g%3E%3C/svg%3E");
  --blot-3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='black' stop-opacity='0.8'/%3E%3Cstop offset='0.5' stop-color='black' stop-opacity='0.6'/%3E%3Cstop offset='0.8' stop-color='black' stop-opacity='0.24'/%3E%3Cstop offset='1' stop-color='black' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cfilter id='w' x='-30%25' y='-30%25' width='160%25' height='160%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.024' numOctaves='3' seed='29'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='42' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23w)'%3E%3Cellipse cx='98' cy='102' rx='74' ry='54' transform='rotate(5 98 102)' fill='url(%23g)' opacity='1.0'/%3E%3Cellipse cx='76' cy='92' rx='34' ry='30' transform='rotate(0 76 92)' fill='url(%23g)' opacity='0.5'/%3E%3Cellipse cx='126' cy='118' rx='28' ry='22' transform='rotate(30 126 118)' fill='url(%23g)' opacity='0.35'/%3E%3C/g%3E%3C/svg%3E");
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cfilter id='b' x='-5%25' y='-40%25' width='110%25' height='180%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.35' numOctaves='2' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='14' xChannelSelector='R' yChannelSelector='G'/%3E%3C/filter%3E%3Cg filter='url(%23b)'%3E%3Crect x='6' y='9' width='388' height='22' rx='6' fill='black' fill-opacity='0.75'/%3E%3Crect x='20' y='13' width='300' height='9' rx='4' fill='black' fill-opacity='0.35'/%3E%3C/g%3E%3C/svg%3E");
  --wash: var(--ochre); --wash-ink: var(--ochre-ink);
  --wash-img: var(--wash-img-ochre); --wash-img-strong: var(--wash-img-strong-ochre);
  --wash-img-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='3' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='0.9'/%3E%3C/filter%3E%3Cg filter='url(%23w)' opacity='0.32'%3E%3Cellipse cx='100' cy='100' rx='74' ry='62' transform='rotate(-12 100 100)' fill='rgb(79,125,179)' fill-opacity='0.55' stroke='rgb(79,125,179)' stroke-opacity='0.3' stroke-width='5'/%3E%3Cellipse cx='88' cy='108' rx='44' ry='36' transform='rotate(20 88 108)' fill='rgb(79,125,179)' fill-opacity='0.3' stroke='rgb(79,125,179)' stroke-opacity='0.3' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
  --wash-img-strong-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='3' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='0.9'/%3E%3C/filter%3E%3Cg filter='url(%23w)' opacity='0.6'%3E%3Cellipse cx='100' cy='98' rx='70' ry='66' transform='rotate(25 100 98)' fill='rgb(79,125,179)' fill-opacity='0.55' stroke='rgb(79,125,179)' stroke-opacity='0.3' stroke-width='5'/%3E%3Cellipse cx='114' cy='90' rx='40' ry='30' transform='rotate(-10 114 90)' fill='rgb(79,125,179)' fill-opacity='0.3' stroke='rgb(79,125,179)' stroke-opacity='0.3' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
  --wash-img-teal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='3' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='0.9'/%3E%3C/filter%3E%3Cg filter='url(%23w)' opacity='0.32'%3E%3Cellipse cx='100' cy='100' rx='74' ry='62' transform='rotate(-12 100 100)' fill='rgb(63,143,134)' fill-opacity='0.55' stroke='rgb(63,143,134)' stroke-opacity='0.3' stroke-width='5'/%3E%3Cellipse cx='88' cy='108' rx='44' ry='36' transform='rotate(20 88 108)' fill='rgb(63,143,134)' fill-opacity='0.3' stroke='rgb(63,143,134)' stroke-opacity='0.3' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
  --wash-img-strong-teal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='3' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='0.9'/%3E%3C/filter%3E%3Cg filter='url(%23w)' opacity='0.6'%3E%3Cellipse cx='100' cy='98' rx='70' ry='66' transform='rotate(25 100 98)' fill='rgb(63,143,134)' fill-opacity='0.55' stroke='rgb(63,143,134)' stroke-opacity='0.3' stroke-width='5'/%3E%3Cellipse cx='114' cy='90' rx='40' ry='30' transform='rotate(-10 114 90)' fill='rgb(63,143,134)' fill-opacity='0.3' stroke='rgb(63,143,134)' stroke-opacity='0.3' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
  --wash-img-rose: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='3' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='0.9'/%3E%3C/filter%3E%3Cg filter='url(%23w)' opacity='0.32'%3E%3Cellipse cx='100' cy='100' rx='74' ry='62' transform='rotate(-12 100 100)' fill='rgb(192,95,107)' fill-opacity='0.55' stroke='rgb(192,95,107)' stroke-opacity='0.3' stroke-width='5'/%3E%3Cellipse cx='88' cy='108' rx='44' ry='36' transform='rotate(20 88 108)' fill='rgb(192,95,107)' fill-opacity='0.3' stroke='rgb(192,95,107)' stroke-opacity='0.3' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
  --wash-img-strong-rose: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='3' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='0.9'/%3E%3C/filter%3E%3Cg filter='url(%23w)' opacity='0.6'%3E%3Cellipse cx='100' cy='98' rx='70' ry='66' transform='rotate(25 100 98)' fill='rgb(192,95,107)' fill-opacity='0.55' stroke='rgb(192,95,107)' stroke-opacity='0.3' stroke-width='5'/%3E%3Cellipse cx='114' cy='90' rx='40' ry='30' transform='rotate(-10 114 90)' fill='rgb(192,95,107)' fill-opacity='0.3' stroke='rgb(192,95,107)' stroke-opacity='0.3' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
  --wash-img-ochre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='3' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='0.9'/%3E%3C/filter%3E%3Cg filter='url(%23w)' opacity='0.32'%3E%3Cellipse cx='100' cy='100' rx='74' ry='62' transform='rotate(-12 100 100)' fill='rgb(212,154,53)' fill-opacity='0.55' stroke='rgb(212,154,53)' stroke-opacity='0.3' stroke-width='5'/%3E%3Cellipse cx='88' cy='108' rx='44' ry='36' transform='rotate(20 88 108)' fill='rgb(212,154,53)' fill-opacity='0.3' stroke='rgb(212,154,53)' stroke-opacity='0.3' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
  --wash-img-strong-ochre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='3' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='0.9'/%3E%3C/filter%3E%3Cg filter='url(%23w)' opacity='0.6'%3E%3Cellipse cx='100' cy='98' rx='70' ry='66' transform='rotate(25 100 98)' fill='rgb(212,154,53)' fill-opacity='0.55' stroke='rgb(212,154,53)' stroke-opacity='0.3' stroke-width='5'/%3E%3Cellipse cx='114' cy='90' rx='40' ry='30' transform='rotate(-10 114 90)' fill='rgb(212,154,53)' fill-opacity='0.3' stroke='rgb(212,154,53)' stroke-opacity='0.3' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
  --wash-img-violet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='3' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='0.9'/%3E%3C/filter%3E%3Cg filter='url(%23w)' opacity='0.32'%3E%3Cellipse cx='100' cy='100' rx='74' ry='62' transform='rotate(-12 100 100)' fill='rgb(123,106,166)' fill-opacity='0.55' stroke='rgb(123,106,166)' stroke-opacity='0.3' stroke-width='5'/%3E%3Cellipse cx='88' cy='108' rx='44' ry='36' transform='rotate(20 88 108)' fill='rgb(123,106,166)' fill-opacity='0.3' stroke='rgb(123,106,166)' stroke-opacity='0.3' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
  --wash-img-strong-violet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='3' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='0.9'/%3E%3C/filter%3E%3Cg filter='url(%23w)' opacity='0.6'%3E%3Cellipse cx='100' cy='98' rx='70' ry='66' transform='rotate(25 100 98)' fill='rgb(123,106,166)' fill-opacity='0.55' stroke='rgb(123,106,166)' stroke-opacity='0.3' stroke-width='5'/%3E%3Cellipse cx='114' cy='90' rx='40' ry='30' transform='rotate(-10 114 90)' fill='rgb(123,106,166)' fill-opacity='0.3' stroke='rgb(123,106,166)' stroke-opacity='0.3' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
  --wash-img-sage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='3' seed='3'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='0.9'/%3E%3C/filter%3E%3Cg filter='url(%23w)' opacity='0.32'%3E%3Cellipse cx='100' cy='100' rx='74' ry='62' transform='rotate(-12 100 100)' fill='rgb(122,154,106)' fill-opacity='0.55' stroke='rgb(122,154,106)' stroke-opacity='0.3' stroke-width='5'/%3E%3Cellipse cx='88' cy='108' rx='44' ry='36' transform='rotate(20 88 108)' fill='rgb(122,154,106)' fill-opacity='0.3' stroke='rgb(122,154,106)' stroke-opacity='0.3' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
  --wash-img-strong-sage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='w' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.032' numOctaves='3' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='34' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeGaussianBlur stdDeviation='0.9'/%3E%3C/filter%3E%3Cg filter='url(%23w)' opacity='0.6'%3E%3Cellipse cx='100' cy='98' rx='70' ry='66' transform='rotate(25 100 98)' fill='rgb(122,154,106)' fill-opacity='0.55' stroke='rgb(122,154,106)' stroke-opacity='0.3' stroke-width='5'/%3E%3Cellipse cx='114' cy='90' rx='40' ry='30' transform='rotate(-10 114 90)' fill='rgb(122,154,106)' fill-opacity='0.3' stroke='rgb(122,154,106)' stroke-opacity='0.3' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E");
}
.wash-blue { --wash: var(--blue); --wash-ink: var(--blue-ink); --wash-img: var(--wash-img-blue); --wash-img-strong: var(--wash-img-strong-blue); }
.wash-teal { --wash: var(--teal); --wash-ink: var(--teal-ink); --wash-img: var(--wash-img-teal); --wash-img-strong: var(--wash-img-strong-teal); }
.wash-rose { --wash: var(--rose); --wash-ink: var(--rose-ink); --wash-img: var(--wash-img-rose); --wash-img-strong: var(--wash-img-strong-rose); }
.wash-ochre { --wash: var(--ochre); --wash-ink: var(--ochre-ink); --wash-img: var(--wash-img-ochre); --wash-img-strong: var(--wash-img-strong-ochre); }
.wash-violet { --wash: var(--violet); --wash-ink: var(--violet-ink); --wash-img: var(--wash-img-violet); --wash-img-strong: var(--wash-img-strong-violet); }
.wash-sage { --wash: var(--sage); --wash-ink: var(--sage-ink); --wash-img: var(--wash-img-sage); --wash-img-strong: var(--wash-img-strong-sage); }
.icon-quill-wave { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 22 C5.5 15.5 8.5 15.5 11.5 22 C14.5 28.5 17.5 28.5 20.5 22' fill='none' stroke='black'/%3E%3Cpath d='M20.5 22 C21.5 14 24.5 8 29.5 3 C28 10 25.5 16 20.5 22 Z' fill='none' stroke='black'/%3E%3Cpath d='M20.5 22 L26 10' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-book-network { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 25 L3 13 C7.5 12 11.5 12.5 16 15 C20.5 12.5 24.5 12 29 13 L29 25 C24.5 24 20.5 24.5 16 27 C11.5 24.5 7.5 24 3 25 Z' fill='none' stroke='black'/%3E%3Cpath d='M16 15 L16 27' fill='none' stroke='black'/%3E%3Ccircle cx='8' cy='6.5' r='1.9' fill='none' stroke='black'/%3E%3Ccircle cx='16' cy='3.5' r='1.9' fill='none' stroke='black'/%3E%3Ccircle cx='24' cy='6.5' r='1.9' fill='none' stroke='black'/%3E%3Cpath d='M9.8 5.8 L14.2 4.2' fill='none' stroke='black'/%3E%3Cpath d='M17.8 4.2 L22.2 5.8' fill='none' stroke='black'/%3E%3Cpath d='M16 5.4 L16 11.5' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-tuning-fork { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 3.5 L13 14 C13 18.5 19 18.5 19 14 L19 3.5' fill='none' stroke='black'/%3E%3Cpath d='M16 17.6 L16 29' fill='none' stroke='black'/%3E%3Cpath d='M9 7 C7.3 9 7.3 12.5 9 14.5' fill='none' stroke='black'/%3E%3Cpath d='M5.8 4.8 C2.8 8.5 2.8 13 5.8 16.7' fill='none' stroke='black'/%3E%3Cpath d='M23 7 C24.7 9 24.7 12.5 23 14.5' fill='none' stroke='black'/%3E%3Cpath d='M26.2 4.8 C29.2 8.5 29.2 13 26.2 16.7' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-film { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7 L28 7 L28 25 L4 25 Z' fill='none' stroke='black'/%3E%3Cpath d='M4 11 L28 11' fill='none' stroke='black'/%3E%3Cpath d='M4 21 L28 21' fill='none' stroke='black'/%3E%3Cpath d='M7 9 L8.5 9' fill='none' stroke='black'/%3E%3Cpath d='M12 9 L13.5 9' fill='none' stroke='black'/%3E%3Cpath d='M18.5 9 L20 9' fill='none' stroke='black'/%3E%3Cpath d='M23.5 9 L25 9' fill='none' stroke='black'/%3E%3Cpath d='M7 23 L8.5 23' fill='none' stroke='black'/%3E%3Cpath d='M12 23 L13.5 23' fill='none' stroke='black'/%3E%3Cpath d='M18.5 23 L20 23' fill='none' stroke='black'/%3E%3Cpath d='M23.5 23 L25 23' fill='none' stroke='black'/%3E%3Cpath d='M14 13 L19 16 L14 19 Z' fill='black' stroke='black'/%3E%3C/svg%3E"); }
.icon-reel { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='15' r='11.5' fill='none' stroke='black'/%3E%3Ccircle cx='16' cy='15' r='2' fill='none' stroke='black'/%3E%3Ccircle cx='16.0' cy='8.4' r='2.4' fill='none' stroke='black'/%3E%3Ccircle cx='22.28' cy='12.96' r='2.4' fill='none' stroke='black'/%3E%3Ccircle cx='19.88' cy='20.34' r='2.4' fill='none' stroke='black'/%3E%3Ccircle cx='12.12' cy='20.34' r='2.4' fill='none' stroke='black'/%3E%3Ccircle cx='9.72' cy='12.96' r='2.4' fill='none' stroke='black'/%3E%3Cpath d='M16 26.5 L29 26.5 L29 30' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-wave { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='13' x2='4' y2='19' fill='none' stroke='black'/%3E%3Cline x1='8' y1='9' x2='8' y2='23' fill='none' stroke='black'/%3E%3Cline x1='12' y1='5' x2='12' y2='27' fill='none' stroke='black'/%3E%3Cline x1='16' y1='11' x2='16' y2='21' fill='none' stroke='black'/%3E%3Cline x1='20' y1='7' x2='20' y2='25' fill='none' stroke='black'/%3E%3Cline x1='24' y1='12' x2='24' y2='20' fill='none' stroke='black'/%3E%3Cline x1='28' y1='14.5' x2='28' y2='17.5' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-notes { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='9.5' cy='24.5' rx='3.6' ry='2.7' fill='black' stroke='black'/%3E%3Cellipse cx='22.5' cy='21.5' rx='3.6' ry='2.7' fill='black' stroke='black'/%3E%3Cpath d='M13 24 L13 8.5' fill='none' stroke='black'/%3E%3Cpath d='M26 21 L26 5.5' fill='none' stroke='black'/%3E%3Cpath d='M13 8.5 L26 5.5 L26 9 L13 12 Z' fill='black' stroke='black'/%3E%3C/svg%3E"); }
.icon-baton { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 25 L21.5 10.5' fill='none' stroke='black'/%3E%3Cpath d='M3 27.5 L5.5 25 L8 27.5 L5.5 30 Z' fill='black' stroke='black'/%3E%3Cpath d='M22 6.2 C25 5.6 27.2 7.4 27.4 10.6' fill='none' stroke='black'/%3E%3Cpath d='M19.5 3.2 C25.2 2 29.8 5.6 29.6 11.8' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-brush { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 13 L28.5 3.5' fill='none' stroke='black'/%3E%3Cpath d='M14.5 15.5 L17.5 12.5 L20.5 15.5 L17.5 18.5 Z' fill='none' stroke='black'/%3E%3Cpath d='M14.5 15.5 C11 18 8.5 22 4.5 26.5 C9.5 25 14 22 17.5 18.5' fill='none' stroke='black'/%3E%3Cpath d='M4 30 C10 28.5 18 29.8 28 28.3' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-nib { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 29.5 L8.5 16.5 C8.5 11.5 12 7.5 16 3.5 C20 7.5 23.5 11.5 23.5 16.5 Z' fill='none' stroke='black'/%3E%3Cpath d='M16 29.5 L16 17.8' fill='none' stroke='black'/%3E%3Ccircle cx='16' cy='15.5' r='1.9' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-page { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5 L20 3.5 L26 9.5 L26 28.5 L7 28.5 Z' fill='none' stroke='black'/%3E%3Cpath d='M20 3.5 L20 9.5 L26 9.5' fill='none' stroke='black'/%3E%3Cpath d='M11 15 L22 15' fill='none' stroke='black'/%3E%3Cpath d='M11 19 L22 19' fill='none' stroke='black'/%3E%3Cpath d='M11 23 L17.5 23' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-venn { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='16' r='8.5' fill='none' stroke='black'/%3E%3Ccircle cx='20' cy='16' r='8.5' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-spiral { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.20 16.00 L17.28 16.18 L17.34 16.37 L17.36 16.59 L17.35 16.82 L17.30 17.05 L17.21 17.29 L17.08 17.52 L16.90 17.73 L16.69 17.93 L16.45 18.09 L16.16 18.23 L15.85 18.33 L15.52 18.38 L15.17 18.38 L14.81 18.33 L14.46 18.22 L14.10 18.06 L13.77 17.85 L13.46 17.58 L13.18 17.25 L12.95 16.89 L12.76 16.48 L12.63 16.04 L12.57 15.57 L12.57 15.08 L12.64 14.59 L12.78 14.09 L12.99 13.62 L13.28 13.16 L13.63 12.74 L14.05 12.37 L14.53 12.05 L15.06 11.80 L15.63 11.61 L16.24 11.51 L16.86 11.49 L17.49 11.56 L18.12 11.72 L18.74 11.97 L19.32 12.31 L19.87 12.73 L20.35 13.24 L20.77 13.81 L21.12 14.46 L21.37 15.15 L21.53 15.88 L21.59 16.65 L21.54 17.42 L21.38 18.20 L21.12 18.95 L20.74 19.68 L20.27 20.36 L19.69 20.97 L19.03 21.51 L18.29 21.96 L17.48 22.30 L16.62 22.54 L15.72 22.66 L14.80 22.65 L13.88 22.51 L12.98 22.25 L12.11 21.86 L11.28 21.35 L10.53 20.72 L9.86 19.99 L9.29 19.16 L8.83 18.25 L8.50 17.27 L8.31 16.24 L8.25 15.19 L8.34 14.12 L8.58 13.06 L8.97 12.04 L9.49 11.06 L10.16 10.16 L10.95 9.34 L11.85 8.64 L12.85 8.06 L13.94 7.61 L15.09 7.31 L16.28 7.18 L17.49 7.20 L18.70 7.40 L19.88 7.76 L21.01 8.28 L22.08 8.96 L23.05 9.79 L23.90 10.75 L24.63 11.83 L25.20 13.01 L25.61 14.27 L25.85 15.59 L25.91 16.94 L25.79 18.30 L25.47 19.64 L24.97 20.93 L24.30 22.16 L23.45 23.30 L22.45 24.31 L21.31 25.19 L20.05 25.92 L18.69 26.47 L17.25 26.83 L15.77 26.99 L14.27 26.95 L12.77 26.70 L11.31 26.25 L9.91 25.60 L8.60 24.76 L7.41 23.73 L6.36 22.55 L5.48 21.22 L4.78 19.78 L4.28 18.24 L3.99 16.63 L3.92 14.99 L4.08 13.33 L4.46 11.71 L5.07 10.14 L5.89 8.65' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-pulse { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 17 L9.5 17 L12 11 L15.5 25 L18.5 6 L21.5 17 L29.5 17' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-wheel { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='16' r='12.5' fill='none' stroke='black'/%3E%3Ccircle cx='16' cy='16' r='10.5' fill='none' stroke='black'/%3E%3Ccircle cx='16' cy='16' r='2.2' fill='none' stroke='black'/%3E%3Cline x1='18.2' y1='16.0' x2='26.17' y2='18.6' fill='none' stroke='black'/%3E%3Cline x1='17.56' y1='17.56' x2='21.36' y2='25.03' fill='none' stroke='black'/%3E%3Cline x1='16.0' y1='18.2' x2='13.4' y2='26.17' fill='none' stroke='black'/%3E%3Cline x1='14.44' y1='17.56' x2='6.97' y2='21.36' fill='none' stroke='black'/%3E%3Cline x1='13.8' y1='16.0' x2='5.83' y2='13.4' fill='none' stroke='black'/%3E%3Cline x1='14.44' y1='14.44' x2='10.64' y2='6.97' fill='none' stroke='black'/%3E%3Cline x1='16.0' y1='13.8' x2='18.6' y2='5.83' fill='none' stroke='black'/%3E%3Cline x1='17.56' y1='14.44' x2='25.03' y2='10.64' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-leaf { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 27 C5 14 13 5 28 4 C28 18 20 27 7 27 Z' fill='none' stroke='black'/%3E%3Cpath d='M5 27 C10 21 15 16 21 11' fill='none' stroke='black'/%3E%3Cpath d='M12 20 L12 15' fill='none' stroke='black'/%3E%3Cpath d='M16.5 15.5 L16.5 10.5' fill='none' stroke='black'/%3E%3Cpath d='M12 20 L17.5 20.5' fill='none' stroke='black'/%3E%3Cpath d='M16.5 15.5 L22 16' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-mic { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5 C12 2 20 2 20 5 L20 15 C20 18 12 18 12 15 Z' fill='none' stroke='black'/%3E%3Cpath d='M7.5 13 C7.5 24 24.5 24 24.5 13' fill='none' stroke='black'/%3E%3Cpath d='M16 21.5 L16 28.5' fill='none' stroke='black'/%3E%3Cpath d='M11 28.5 L21 28.5' fill='none' stroke='black'/%3E%3Cpath d='M12 8.5 L15 8.5' fill='none' stroke='black'/%3E%3Cpath d='M12 12 L15 12' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-book { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 5.5 C6 4 7 3 8.5 3 L26 3 L26 25 L8.5 25 C7 25 6 26 6 27.5 Z' fill='none' stroke='black'/%3E%3Cpath d='M6 27.5 C6 29 7 29.5 8.5 29.5 L26 29.5 L26 25' fill='none' stroke='black'/%3E%3Cpath d='M11 3 L11 25' fill='none' stroke='black'/%3E%3Cpath d='M15 9 L22 9' fill='none' stroke='black'/%3E%3Cpath d='M15 12.5 L20 12.5' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-bridge { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 23 L29.5 23' fill='none' stroke='black'/%3E%3Cpath d='M4 23 C9 12 23 12 28 23' fill='none' stroke='black'/%3E%3Cpath d='M10 15.8 L10 23' fill='none' stroke='black'/%3E%3Cpath d='M16 14 L16 23' fill='none' stroke='black'/%3E%3Cpath d='M22 15.8 L22 23' fill='none' stroke='black'/%3E%3Cpath d='M5 27 C9 25.5 12 28.5 16 27 C20 25.5 23 28.5 27 27' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 29 C9 20 7 16 7 12 C7 7 11 3 16 3 C21 3 25 7 25 12 C25 16 23 20 16 29 Z' fill='none' stroke='black'/%3E%3Ccircle cx='16' cy='12' r='3.4' fill='none' stroke='black'/%3E%3C/svg%3E"); }
.icon-screen { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6 L29 6 L29 26 L3 26 Z' fill='none' stroke='black'/%3E%3Cpath d='M3 11 L29 11' fill='none' stroke='black'/%3E%3Ccircle cx='6.5' cy='8.5' r='0.8' fill='black' stroke='black'/%3E%3Ccircle cx='9.5' cy='8.5' r='0.8' fill='black' stroke='black'/%3E%3Ccircle cx='12.5' cy='8.5' r='0.8' fill='black' stroke='black'/%3E%3Cpath d='M7 16 L17 16' fill='none' stroke='black'/%3E%3Cpath d='M7 20 L14 20' fill='none' stroke='black'/%3E%3Cpath d='M20 15 L25 15 L25 22 L20 22 Z' fill='none' stroke='black'/%3E%3C/svg%3E"); }
/* == END GENERATED == */

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
}

img, iframe, video, audio { max-width: 100%; }
img { display: block; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 1.6rem + 3.5vw, 4.5rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem); }

p { margin: 0 0 1em; }

a { color: var(--amber-ink); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--amber);
  color: var(--screen);
  padding: 0.6rem 1rem;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Every top-level section gets the same comfortable frame */
main > section { padding: var(--section-space) var(--side); }

/* Two plain (paper) sections in a row: share the space and draw a thin line
   between them, instead of stacking two full gaps */
main > section:where(:not(.dark, .featured-videos, .vintage, .book, .video-grid, .history, .alt, .page-intro, .band, .post-header))
  + section:where(:not(.dark, .featured-videos, .vintage, .book, .video-grid, .history, .alt, .page-intro, .band, .post-header)) {
  padding-top: calc(var(--section-space) * 0.75);
  background-image: linear-gradient(var(--line), var(--line));
  background-repeat: no-repeat;
  background-position: top center;
  background-size: calc(100% - 2 * var(--side)) 1px;
}

/* Text for screen readers only (e.g. "Learn more about Trainsplaining") */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Small "film label" text: years, tags, roles, captions */
.tags, .year, .role, .meta, figcaption, .label {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.7em 1.4em;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.button:hover { background: var(--ink); color: var(--paper); }

/* ---------- 3. Header, menu, footer ---------- */
.site-header {
  /* Round 2: washed-out screen-composing image (like the Creative and Videos
     headers) under a dark veil so the menu stays easy to read */
  background:
    linear-gradient(90deg, rgb(20 19 17 / 0.9), rgb(20 19 17 / 0.84) 45%, rgb(20 19 17 / 0.86)),
    url("files/vs-header-dark.jpg") center 30% / cover no-repeat,
    var(--screen);
  color: var(--on-screen);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1rem var(--side);
  position: relative;
  z-index: 5;
}
.site-name { margin: 0; font-family: var(--font-display); font-size: 1.35rem; }
.site-name a { color: var(--on-screen); text-decoration: none; }

.site-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}
.site-header nav a {
  color: var(--on-screen-soft);
  text-decoration: none;
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover { color: var(--on-screen); }
.site-header nav a[aria-current] { color: var(--amber); border-bottom-color: var(--amber); }

/* The header only stays pinned to the top on screens with room for it.
   On phones, short windows, or when zoomed in, it scrolls away so it never
   covers what you're reading. The menu wraps onto extra lines when needed
   (no hidden sideways scrolling). */
@media (min-width: 40rem) and (min-height: 36rem) {
  .site-header { position: sticky; top: 0; }
  html { scroll-padding-top: 6rem; }  /* links to #anchors land below the header */
}
@media (max-width: 39.99rem) {
  .site-header nav { width: 100%; }
}

.site-footer {
  background: var(--screen);
  color: var(--on-screen-soft);
  padding: 3rem var(--side);
  font-size: 0.9rem;
}
.site-footer h2 {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-screen-soft);
}
.site-footer ul { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer a { color: var(--on-screen); }

/* ---------- 4. Dark "screening rooms" ---------- */
/* Add class="dark" to any section to make it a screening room */
.dark, .featured-videos, .vintage, .book, .video-grid {
  background: var(--screen);
  color: var(--on-screen);
  position: relative;
}
:is(.dark, .featured-videos, .vintage, .book, .video-grid) a { color: var(--on-screen); }
:is(.dark, .featured-videos, .vintage, .book, .video-grid) :is(.tags, .year, .meta, figcaption) { color: var(--on-screen-soft); }
:is(.dark, .featured-videos, .vintage, .book, .video-grid) .button { color: var(--amber); }
:is(.dark, .featured-videos, .vintage, .book, .video-grid) .button:hover { background: var(--amber); color: var(--screen); }

/* Filmstrip sprocket holes along the top and bottom of video rooms */
.featured-videos::before, .featured-videos::after,
.vintage::before, .vintage::after,
.video-grid::before, .video-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(239, 233, 222, 0.18) 14px 28px);
}
.featured-videos::before, .vintage::before, .video-grid::before { top: 12px; }
.featured-videos::after, .vintage::after, .video-grid::after { bottom: 12px; }

/* ---------- 5. Card grids (videos, creative, blog, leadership) ---------- */
/* Clean rows, whatever the number of items.
   The grid counts its own items and picks a layout so rows come out full:
   - phones: one column
   - medium screens: two columns; with an odd number of items, the first
     one runs full width as a "feature"
   - wide screens: four columns when the count divides by 4 (8, 12, 32…),
     otherwise three; when three would leave a short last row, the first
     two or four items become half-width "features" (5 = 2+3, 7 = 2+2+3…)
   You never need to change this when adding items. Older browsers get a
   simple version with any short last row centered. */
.cards {
  --cols: 1;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.cards > li {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  min-width: 0;
  display: flex;
  flex-direction: column;
}
@media (min-width: 36rem) and (max-width: 55.99rem) {
  .cards { --cols: 2; }
  .cards:has(> li:nth-child(odd):last-child) > li:first-child { flex-basis: 100%; }
}
@media (min-width: 56rem) {
  .cards { --cols: 3; }
  .cards:has(> li:nth-child(3n+2):last-child) > li:nth-child(-n+2),
  .cards:has(> li:nth-child(3n+4):last-child) > li:nth-child(-n+4) {
    flex-basis: calc((100% - var(--gap)) / 2);
  }
  .cards:has(> li:nth-child(4n):last-child) { --cols: 4; }
  .cards:has(> li:nth-child(4n):last-child) > li:nth-child(n) {
    flex-basis: calc((100% - 3 * var(--gap)) / 4);
  }
}
.cards h3 { margin: 0.8rem 0 0.3rem; }
.cards h3 a { text-decoration: none; color: inherit; }
.cards h3 a:hover { text-decoration: underline; }
.cards img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--screen-raise);
  transition: transform 0.3s, filter 0.3s;
}
.cards a:hover img { transform: scale(1.02); }

/* Dark rooms: thumbnails start slightly dim and light up on hover, like a projector */
:is(.featured-videos, .vintage, .video-grid) .cards img { filter: saturate(0.85) brightness(0.85); }
:is(.featured-videos, .vintage, .video-grid) .cards a:is(:hover, :focus-visible) img { filter: none; }

/* Creative pieces: square, like gallery prints */
.creative .cards img { aspect-ratio: 1; }
.creative .cards > li { background: var(--paper-deep); padding: 0.75rem 0.75rem 1rem; border-radius: var(--radius); }

/* Leadership: logos sit on white tiles, not cropped */
.leadership .cards img { object-fit: contain; background: #fff; padding: 1rem; border: 1px solid var(--line); }
.leadership .role { margin: 0 0 0.5rem; color: var(--amber-ink); }

/* Blog cards */
.blog .cards > li { border-top: 3px solid var(--ink); padding-top: 1rem; }
.blog .cards img { margin-bottom: 0.8rem; }
.blog .tags { margin: 0; color: var(--amber-ink); }

.more { margin: 1.5rem 0 0; text-align: right; }
.more a { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; }
.more a { text-decoration: none; }
.more a:hover { text-decoration: underline; }
.more .icon { margin-right: 0.4em; }

/* ---------- 6. Video: play buttons and players ---------- */
/* A link with class="play" shows a play symbol over its picture.
   With JavaScript on, clicking swaps in the player (see site.js).
   Without it, the link simply opens the video on Vimeo or YouTube. */
a.play { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
a.play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.6rem;
  height: 3.6rem;
  margin: -1.8rem 0 0 -1.8rem;
  border-radius: 50%;
  background: rgba(20, 19, 17, 0.72);
  box-shadow: 0 0 0 2px rgba(239, 233, 222, 0.85);
  transition: background 0.2s, transform 0.2s;
}
a.play::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  margin: -0.65rem 0 0 -0.35rem;
  border-style: solid;
  border-width: 0.65rem 0 0.65rem 1.1rem;
  border-color: transparent transparent transparent var(--on-screen);
}
a.play:is(:hover, :focus-visible)::after { background: var(--amber); transform: scale(1.08); }
a.play:is(:hover, :focus-visible)::before { border-left-color: var(--screen); }

/* Players keep a 16:9 shape at any screen width */
.video-figure { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-source { display: inline-block; margin-top: 0.5rem; }

/* ---------- 7. Home page sections ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: calc(var(--gap) * 2);
  align-items: center;
}
.intro h1 { margin-bottom: 0.4em; }
.intro .play img { width: 100%; aspect-ratio: 10 / 9; object-fit: cover; }
.intro .video-frame { aspect-ratio: 10 / 9; }

/* Three areas: three across on wide screens, stacked otherwise (never 2 + 1) */
.areas {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
@media (min-width: 48rem) { .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
main > .areas { padding-top: 0; background-image: none; }
.areas article { border-top: 3px solid var(--amber-ink); padding-top: 1.25rem; }
.areas h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }
.areas h2 a { color: var(--ink); text-decoration: none; }

.history { background: var(--paper-deep); }
.history > :is(h2, p, details, .cv) { max-width: var(--reading-width); }
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-bottom: 2rem;
}
@media (min-width: 36rem) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery figure { margin: 0; background: #fff; padding: 0.6rem 0.6rem 0.9rem; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery figcaption { margin-top: 0.6rem; }

details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 1rem 0; font-family: var(--font-display); font-size: 1.25rem; }
summary:hover, details[open] summary { color: var(--amber-ink); }

.cv { margin-top: 2rem; padding: 1.5rem; border: 2px solid var(--ink); border-radius: var(--radius); }
.cv h2 { font-size: 1.5rem; }

.book {
  background: var(--screen) url("files/vs-header-dark.jpg") center / cover no-repeat;
  text-align: center;
}
.book > * { max-width: 46rem; margin-left: auto; margin-right: auto; }
.book img { margin: 1.5rem auto; }

.vintage {
  background-color: #1a1713;
  background-image: linear-gradient(rgba(26, 23, 19, 0.88), rgba(26, 23, 19, 0.88)), url("files/vintagevideobg");
  background-size: cover;
}
.vintage h2 { color: var(--amber); }
.vintage .vintage-figure { max-width: 14rem; float: right; margin: 0 0 1rem 2rem; }
.vintage .cards { clear: both; }
.vintage .cards img { filter: sepia(0.35) saturate(0.8) brightness(0.9); }

/* ---------- 8. Inner pages (Alt-Scholarship and others) ---------- */
/* Page header with a picture behind it. Each page picks its picture
   with a hero-… class (list below); the page color glows through on the right. */
.page-intro {
  background: var(--screen) var(--hero, url("files/blueguitar1920-680.jpg")) center / cover no-repeat;
  color: var(--on-screen);
  position: relative;
}
.hero-blue-guitar { --hero: url("files/blueguitar1920-680.jpg"); }
.hero-library     { --hero: url("files/gbb-uploads/bg-1.jpg"); }
.hero-wellness    { --hero: url("files/readingwellnessbg.jpg"); }
.hero-videos      { --hero: url("files/vidoeheadergrey.jpg"); }
.hero-creative    { --hero: url("files/creativeheader300high.jpg"); }
.hero-sswc        { --hero: url("files/sswcheader.jpg"); }
.hero-ai          { --hero: url("files/Evolution%20of%20technology%20and%20creativity.png"); }

/* Light header: the picture shows on the right, fading into the paper,
   for pictures that are pale or full of detail (charts, word clouds) */
.page-intro.light {
  background: var(--paper) var(--hero) right center / auto 100% no-repeat;
  color: var(--ink);
}
.page-intro.light::before {
  background:
    radial-gradient(ellipse 45% 90% at 100% 50%, rgb(var(--wash) / 0.18), transparent 70%),
    linear-gradient(90deg, var(--paper) 0%, var(--paper) 38%, rgb(246 242 234 / 0.82) 62%, rgb(246 242 234 / 0.35) 100%);
}
@media (max-width: 48rem) {
  .page-intro.light { background-size: cover; }
  .page-intro.light::before { background: rgb(246 242 234 / 0.9); }
}

/* Header extras: a breadcrumb trail above the title, a subheading below it */
.breadcrumb { font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.25rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.page-intro .breadcrumb a { color: inherit; }
.page-intro h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); margin-top: 1.5rem; }

/* Picture bands: a dark section with its own picture behind the words */
.band {
  background: var(--screen) var(--band) center / cover no-repeat;
  color: var(--on-screen);
  position: relative;
  text-align: center;
}
.band::before { content: ""; position: absolute; inset: 0; background: rgb(20 19 17 / 0.82); }
.band > * { position: relative; max-width: 46rem; margin-left: auto; margin-right: auto; }
.band a { color: var(--on-screen); }
.band .button { color: var(--amber); }
.band .button:hover { background: var(--amber); color: var(--screen); }
.band-casting  { --band: url("files/castingdark.jpg"); }
.band-wellness { --band: url("files/readingwellnessbggrey.jpg"); }
.band-continuum  { --band: url("files/continuum.png"); }
.band-continuum2 { --band: url("files/continuum2.jpg"); }
.band-visuals    { --band: url("files/visuals.jpg"); }
.band-sswc-quote { --band: url("files/directions.jpg"); }
.band-layers   { --band: url("files/figure9.jpg"); }
.band .lead { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.55; }
.page-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 19, 17, 0.92), rgba(20, 19, 17, 0.55));
}
.page-intro > * { position: relative; max-width: 44rem; }
.page-intro p { font-size: 1.15em; }

/* Numbered steps, e.g. "What is it?" */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
/* Four steps: 4 across, or 2 + 2, never 3 + 1 */
@media (min-width: 36rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 1rem; position: relative; }
.steps .badge { --badge-size: 4.25rem; margin: 0.9rem 0 1.1rem 1.1rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0.9rem;
  right: 0;
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--wash-ink);
}

/* Feature: media on one side, words on the other */
.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--gap) * 2);
  align-items: center;
}
.feature.alt { background: var(--paper-deep); }
.feature img { border-radius: var(--radius); width: 100%; }

/* ---------- Lyrics and poems ----------
   class="lyric" marks any poem or song text. It reads like a liner-notes
   sheet: one narrow column, top to bottom, set in the book typeface with
   room between stanzas. No scroll box, no columns, so it zooms, reflows
   and reads aloud like ordinary text.
   class="refrain" on a stanza indents it and marks it with an amber rule.
   Use <blockquote class="lyric"> when quoting someone else's poem. */
.lyric {
  margin: 0;
  max-width: 30rem;
  padding: 1.75rem 2rem 1.25rem;
  background: #fff;
  color: var(--ink);
  border-top: 4px solid var(--wash-ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  position: relative;
  font-family: var(--font-display);
  font-size: 1.12em;
  line-height: 1.6;
}
.lyric h3 { font-size: 1.6rem; margin-bottom: 1.25rem; }
.lyric .byline {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lyric p { margin: 0 0 1.25em; }
.feature .lyric { margin-bottom: 1.5rem; }
.lyric .refrain {
  margin-left: 1.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--wash-ink);
  font-style: italic;
}

/* Remix: notes on the left stay in view while the lyric scrolls past
   with the page (wide screens only) */
.remix {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--gap) * 2);
  align-items: start;
}
@media (min-width: 52rem) {
  .remix { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); }
}
@media (min-width: 52rem) and (min-height: 36rem) {
  .remix-notes { position: sticky; top: 6rem; }
}

/* ---------- 9. Color washes and icons ----------
   A small watercolor palette (blue, teal, rose, ochre, violet, sage).
   Put class="wash-blue" (or teal, rose…) on a page's <body>, a section or
   a card, and everything inside picks up that color. Each site area has
   its own color:
     Alt-Scholarship = blue   Digital Humanities = teal   Teaching = rose
     Creative = violet        Blog = ochre                Wellness = sage
   Everything here is decoration: text never depends on it, screen
   readers skip it, and browsers that can't draw it simply leave it out. */

/* Soft wash in a corner of a light section */
.wash-corner {
  background-image: var(--wash-img);
  background-repeat: no-repeat;
  background-size: min(38rem, 75%) auto;
  background-position: right -8rem bottom -10rem;
}
.wash-corner-left {
  background-image: var(--wash-img);
  background-repeat: no-repeat;
  background-size: min(34rem, 70%) auto;
  background-position: left -9rem bottom -9rem;
}

/* Home intro: the portrait sits on a painted mat.
   The stronger wash is only used where it stays clear of the text;
   on narrow screens (text below the portrait) it switches to the soft one. */
.intro.wash-portrait {
  background-image: var(--wash-img);
  background-repeat: no-repeat;
  background-size: min(28rem, 95%) auto;
  background-position: left -3rem top 0;
}
@media (min-width: 48.01rem) {
  .intro.wash-portrait {
    background-image: var(--wash-img-strong);
    background-size: min(30rem, 44%) auto;
    background-position: calc(var(--side) - 3.5rem) 50%;
  }
}

/* Remix: the lyric sheet lies on a wash */
.remix {
  background-image: var(--wash-img);
  background-repeat: no-repeat;
  background-size: min(44rem, 90%) auto;
  background-position: right -6rem top 1rem;
}

/* Dark rooms: a colored stage light in one corner */
.featured-videos, .video-grid, .feature.dark {
  background-image: radial-gradient(ellipse 55% 75% at 0% 0%, rgb(var(--wash) / 0.22), transparent 70%);
}

/* Inner-page header: the page color glows through on the right */
.page-intro::before {
  background: linear-gradient(90deg, rgba(20, 19, 17, 0.92) 0%, rgba(20, 19, 17, 0.7) 55%, rgb(var(--wash) / 0.3) 100%);
}

/* Section colors that use the wash ink */
.areas article { border-top-color: var(--wash-ink); }
.leadership .role, .blog .tags { color: var(--wash-ink); }
.blog .cards > li { border-top-color: var(--wash-ink); }
.creative .cards > li { background: linear-gradient(160deg, rgb(var(--wash) / 0.16), var(--paper-deep) 55%); }

/* Icons and badges.
   Small icon:  <span class="icon icon-film" aria-hidden="true"></span>
   Badge (icon on a watercolor blot):  <span class="badge icon-film" aria-hidden="true"></span>
   Icon names are listed on _patterns.html. */
.icon, .badge { display: none; }
@supports ((mask-image: none) or (-webkit-mask-image: none)) {
  .icon {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.22em;
    background: currentColor;
    -webkit-mask: var(--i) center / contain no-repeat;
    mask: var(--i) center / contain no-repeat;
  }
  .badge {
    display: inline-block;
    position: relative;
    width: var(--badge-size, 4.5rem);
    height: var(--badge-size, 4.5rem);
    flex: none;
    vertical-align: middle;
    color: var(--ink);
  }
  .badge::before, .badge::after { content: ""; position: absolute; }
  .badge::before {
    inset: -38%;
    background: rgb(var(--wash) / 0.62);
    -webkit-mask: var(--blot, var(--blot-1)) center / contain no-repeat;
    mask: var(--blot, var(--blot-1)) center / contain no-repeat;
    transform: rotate(var(--tilt, 0deg));
    transition: transform 0.35s;
  }
  .badge::after {
    inset: 12%;
    background: currentColor;
    -webkit-mask: var(--i) center / contain no-repeat;
    mask: var(--i) center / contain no-repeat;
  }
  /* Vary the blot shape so a row of badges doesn't look stamped */
  :nth-child(3n+2) > .badge { --blot: var(--blot-2); --tilt: 40deg; }
  :nth-child(3n) > .badge { --blot: var(--blot-3); --tilt: -25deg; }

  /* Badges inside headings */
  h2 > .badge { --badge-size: 1.5em; margin: 0 0.5em 0 0.15em; vertical-align: -0.35em; }

  /* Where a section already has its own color or design (a background
     wash, a dark screening room, a picture), badges drop their splotch
     and show just the icon, so washes never stack on top of each other. */
  :is(.wash-corner, .wash-corner-left, .wash-portrait, .remix, .post-header, .page-intro.light,
      .dark, .featured-videos, .vintage, .book, .video-grid, .band, .page-intro) .badge::before { display: none; }
  :is(.wash-corner, .wash-corner-left, .wash-portrait, .remix, .post-header, .page-intro.light) .badge { color: var(--wash-ink); }
  :is(.dark, .featured-videos, .vintage, .book, .video-grid, .band, .page-intro:not(.light)) .badge { color: var(--amber); }
  :is(.wash-corner, .wash-corner-left, .remix, .post-header, .dark, .featured-videos, .vintage, .book, .video-grid, .band, .page-intro) h2 > .badge {
    --badge-size: 1.25em;
    margin-right: 0.35em;
    vertical-align: -0.2em;
  }
  :is(.wash-corner, .wash-corner-left, .remix, .post-header, .dark, .featured-videos, .vintage, .book, .video-grid, .band, .page-intro) .badge::after { inset: 4%; }

  /* Lyric sheets: a brushstroke band across the top and a faint note mark */
  .lyric { border-top: 0; }
  .lyric::before {
    content: "";
    position: absolute;
    left: -0.4rem;
    right: -0.4rem;
    top: -0.55rem;
    height: 1.1rem;
    background: rgb(var(--wash) / 0.85);
    -webkit-mask: var(--brush) center / 100% 100% no-repeat;
    mask: var(--brush) center / 100% 100% no-repeat;
  }
  article.lyric::after {
    content: "";
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 1.9rem;
    height: 1.9rem;
    background: rgb(var(--wash) / 0.55);
    -webkit-mask: var(--i, none) center / contain no-repeat;
    mask: var(--i, none) center / contain no-repeat;
  }
}

/* The three areas on the home page: the whole card is one link */
.areas article { position: relative; }
.areas .badge { --badge-size: 5rem; margin: 1rem 0 1.25rem 1.25rem; }
.areas h2 a::after { content: ""; position: absolute; inset: 0; }
.areas article:hover h2 a { text-decoration: underline; }
.areas article:hover .badge::before { transform: rotate(var(--tilt, 0deg)) scale(1.08); }
.areas article:focus-within { outline: 3px solid var(--amber); outline-offset: 6px; }
.areas h2 a:focus-visible { outline: none; }

/* Windows high-contrast mode: show icons in the system text color, hide washes */
@media (forced-colors: active) {
  .icon, .badge::after { forced-color-adjust: none; background: CanvasText; }
  .badge::before, .lyric::before, .lyric::after { display: none; }
  .wash-corner, .wash-corner-left, .intro.wash-portrait, .remix { background-image: none; }
}

/* ---------- 10. Audio ---------- */
.audio {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--screen);
  color: var(--on-screen);
  border-radius: var(--radius);
  border-left: 6px solid var(--amber);
  max-width: var(--reading-width);
}
.audio figcaption { color: var(--amber); margin-bottom: 0.75rem; }
.audio audio { width: 100%; display: block; }
.audio p { margin: 0.75rem 0 0; font-size: 0.85rem; }
.audio a { color: var(--on-screen); }

/* ---------- 11. Long reading pages (blog posts, creative pieces) ---------- */
/* Post header: title and details on the left, picture on a wash on the right */
.post-header {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: calc(var(--gap) * 2);
  align-items: center;
  background-image: var(--wash-img);
  background-repeat: no-repeat;
  background-size: min(36rem, 60%) auto;
  background-position: right -4rem center;
}
.post-header h1 { font-size: clamp(2.2rem, 1.6rem + 2.8vw, 3.8rem); }
.post-header .lead { font-family: var(--font-display); font-size: 1.25em; line-height: 1.5; }
.post-header figure { margin: 0; }
.post-header img { width: 100%; border-radius: var(--radius); box-shadow: 0 2px 10px rgb(0 0 0 / 0.15); transform: rotate(1.2deg); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; align-items: center; margin: 0 0 1rem; }
.post-meta .tags { color: var(--wash-ink); }

.article { max-width: var(--reading-width); margin: 0 auto; }
.article > p:first-child::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.4em;
  line-height: 0.9;
  margin: 0.08em 0.12em 0 0;
  color: var(--wash-ink);
}
.article figure { margin: 2rem 0; }
.article figcaption { margin-top: 0.5rem; }
.article blockquote {
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--wash-ink);
  font-family: var(--font-display);
  font-size: 1.2em;
}
/* Wide figure: a video or picture that breaks out of the text column */
@media (min-width: 60rem) {
  .article .wide { margin-left: -6rem; margin-right: -6rem; }
}

/* Tag list at the end of a post */
.tag-list { list-style: none; padding: 0; margin: 2.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-list li {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgb(var(--wash) / 0.2);
  color: var(--ink);
}

/* Tiles: a row of 1, 2 or 4 equal panels (workshops, programs) */
.tiles {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
@media (min-width: 36rem) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .tiles:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .tiles:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tiles > li { background: #fff; padding: 1.25rem 1.25rem 1rem; border-top: 4px solid var(--wash-ink); border-radius: var(--radius); box-shadow: 0 1px 3px rgb(0 0 0 / 0.08); }
.tiles .badge { --badge-size: 3.25rem; margin: 0.4rem 0 0.9rem 0.6rem; }
.tiles h3 { margin-bottom: 0.3rem; }
.tiles .desc { font-family: var(--font-display); font-style: italic; color: var(--ink-soft); }
.tiles ul { margin: 0; padding-left: 1.1rem; font-size: 0.95em; }
.tiles li li { margin-bottom: 0.3rem; }

/* Shelf: book covers stand on a ledge */
.shelf .cards img { aspect-ratio: 3 / 4; object-fit: contain; background: transparent; filter: drop-shadow(0 4px 6px rgb(0 0 0 / 0.18)); }
.shelf .cards > li { border-bottom: 6px solid var(--line); padding-bottom: 0.75rem; }
.shelf .cards > li > a:first-child { display: block; padding: 0 12%; }

/* ---- NOTES (v6) ----
   Each note card and note page takes the colour of its topic:
   Education = rose, Alt-Scholarship = blue, Music = violet (AI = teal later).
   The topic is always written out too, so colour is never the only clue. */
.blog .cards > li[class*="wash-"] .tags { color: var(--wash-ink); }
.notes .cards h2 { font-size: 1.3rem; margin: 0.8rem 0 0.3rem; }
.notes .cards h2 a { text-decoration: none; color: inherit; }
.notes .cards h2 a:hover { text-decoration: underline; }

/* Notes page header: a painter's palette of the topic colours */
.notes-header {
  padding-block: 2.5rem 2rem;
  background-image: var(--wash-img-strong-rose), var(--wash-img-blue), var(--wash-img-strong-violet), var(--wash-img-ochre);
  background-repeat: no-repeat;
  background-size: 15rem auto, 22rem auto, 12rem auto, 26rem auto;
  background-position: right 15rem top -4rem, right 3rem top -1rem, right 24rem bottom -5rem, right -7rem bottom -9rem;
}
.notes-header h1 { margin-bottom: 0.25rem; }
.legend {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.legend li { color: var(--wash-ink); display: flex; align-items: center; gap: 0.45rem; }
@media (max-width: 48rem) {
  .notes-header { background-size: 9rem auto, 13rem auto, 7rem auto, 15rem auto;
    background-position: right 6rem top -3rem, right -1rem top -1rem, right 9rem bottom -3rem, right -6rem bottom -6rem; }
}

/* Inside a note */
.post-header:not(:has(figure)) { grid-template-columns: minmax(0, 1fr); }
.article::after { content: ""; display: table; clear: both; }
.article figure img { width: 100%; border-radius: var(--radius); }
@media (min-width: 36rem) {
  .article figure.aside { float: right; width: min(45%, 17.5rem); margin: 0.3rem 0 1rem 1.5rem; }
  .article figure.aside img { transform: rotate(-1.5deg); box-shadow: 0 2px 10px rgb(0 0 0 / 0.15); }
}
.article blockquote.lyric { margin: 2rem 0; padding: 1.75rem 2rem 1.25rem; border-left: 0; font-size: 1.05em; }
.article blockquote.lyric p { margin-bottom: 0.75rem; }
.tag-list, .pager { clear: both; }
.article .note { font-style: italic; }

/* Newer / older links at the foot of a note */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.pager a { color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.1em; line-height: 1.35; }
.pager a:hover { text-decoration: underline; }
.pager .label { display: block; margin-bottom: 0.2rem; font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wash-ink); }
.pager .older { grid-column: 2; text-align: right; }
@media (max-width: 36rem) {
  .pager { grid-template-columns: 1fr; }
  .pager .older { grid-column: auto; text-align: left; }
}

/* ---- VIDEO ARCHIVE (videos.html) ----
   One dark screening room. Videos are grouped into "reels" by year, newest
   first. Focus buttons (shown only when site.js runs) narrow the list;
   without the script every video is simply listed. */
.archive-tools { display: grid; gap: 1rem; margin-bottom: 1rem; }
.filters ul, .year-index ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filters .label { margin: 0 0 0.6rem; font-size: 0.78rem; color: var(--on-screen-soft); }
.filters button {
  font: inherit; font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem; min-height: 2.5rem;
  border: 1px solid rgb(255 255 255 / 0.35); border-radius: 999px;
  background: transparent; color: var(--on-screen); cursor: pointer;
}
.filters button .count { opacity: 0.7; margin-left: 0.2rem; }
.filters button:hover { border-color: var(--amber); }
.filters button[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--screen); }
.filters button[aria-pressed="true"] .count { opacity: 0.85; }
.year-index { font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.06em; }
.year-index ul { gap: 0.25rem 0.9rem; }
.year-index a { color: var(--on-screen-soft); text-decoration: none; padding: 0.3rem 0; display: inline-block; }
.year-index a:hover { color: var(--amber); text-decoration: underline; }
.archive-status { margin: 0; font-size: 0.9rem; color: var(--on-screen-soft); min-height: 1.4em; }

/* A reel: the year is written on the reel's label like a film-can tag */
.reel { padding-top: 2rem; scroll-margin-top: 6rem; }
.reel h2 { display: flex; align-items: baseline; gap: 1rem; margin: 0; font-size: 1rem; }
.reel h2::after { content: ""; flex: 1; height: 1px; background: rgb(255 255 255 / 0.18); align-self: center; }
.reel-year {
  font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1;
  color: var(--amber);
}
.reel-count { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-screen-soft); font-weight: 400; }
.archive .cards { margin-top: 1rem; }
.archive .cards h3 { font-size: 1.15rem; margin-top: 0.4rem; }
.archive .kind { margin: 0.7rem 0 0; font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
.archive .cards p:not(.kind, .meta) { font-size: 0.92rem; color: var(--on-screen-soft); margin: 0.4rem 0 0; }
.archive .cards > li { scroll-margin-top: 6rem; border-radius: var(--radius); }
/* Arriving from another page's link (videos.html#title): that video glows */
.archive .cards > li:target { outline: 2px solid var(--amber); outline-offset: 6px; }
.archive .cards > li:target img { filter: none; }

/* Song parts inside a lyric sheet (Bridge, Outro) */
.lyric .part { display: block; font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wash-ink); margin-bottom: 0.2rem; font-style: normal; }
.remix-notes .video-figure { margin: 1.5rem 0 0; }
.remix-notes .video-figure img { width: 100%; border-radius: var(--radius); }

/* ---- CREATIVE (v9) ----
   Creative page and the poem / lyric / prose pages. Violet is the
   creative colour. */

/* "Words, words, words": a table of contents in three columns */
.contents h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); font-style: italic; }
.contents-cols { display: grid; grid-template-columns: 1fr; gap: calc(var(--gap) * 1.5); margin-top: 1.5rem; }
@media (min-width: 48rem) { .contents-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.contents-col h3 { display: flex; align-items: center; gap: 0.2rem; font-size: 1.35rem; margin: 0 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--wash-ink); }
.contents-col h3 .badge { --badge-size: 2.6rem; margin: 0.2rem 0.6rem 0.2rem 0.3rem; }
.contents-col .count { margin-left: auto; font-family: var(--font-label); font-size: 0.75rem; color: var(--ink-soft); }
.contents-col ol { list-style: none; margin: 0; padding: 0; }
.contents-col li { border-bottom: 1px solid var(--line); }
.contents-col li a { display: flex; align-items: center; gap: 0.9rem; padding: 0.55rem 0; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.3; }
.contents-col li a:hover span { text-decoration: underline; }
.contents-col img { width: 3rem; height: 3rem; flex: none; object-fit: cover; border-radius: 50%; filter: saturate(0.7); transition: filter 0.3s; }
.contents-col li a:hover img { filter: none; }
.contents-col .also { display: block; margin: -0.45rem 0 0.5rem 3.9rem; font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wash-ink); }

/* A piece's page: small facts under the title (Inspired by, Composed at…) */
.piece-info { margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.piece-info div { display: flex; gap: 0.4rem; align-items: baseline; }
.piece-info dt { font-family: var(--font-label); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wash-ink); }
.piece-info dd { margin: 0; font-family: var(--font-display); font-style: italic; }
.piece-header img { transform: rotate(-1.5deg); }

/* Poem or lyric with no video: the sheet sits in the middle of the page */
.sheet-only .lyric { margin: 0 auto; }
.lyric h2 { font-size: 1.6rem; margin-bottom: 1.25rem; }

/* Prose pieces */
.prose-piece .subtitle { font-family: var(--font-display); font-style: italic; font-size: 1.25em; color: var(--wash-ink); }
.prose-piece .dateline { font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.prose-piece .dateline::first-letter { float: none; font-size: inherit; margin: 0; color: inherit; }
.article blockquote.verse { font-size: 1.05em; border-left-color: var(--wash-ink); }
.article blockquote.verse p { margin: 0 0 0.9rem; }
.article blockquote:not(.verse, .lyric) { font-family: var(--font-body); font-size: 1em; color: var(--ink-soft); }
.scene-break { border: 0; height: 1.5rem; margin: 2rem auto; width: 6rem; background: var(--brush) center / 100% 40% no-repeat; opacity: 0.35; }
.track { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; font-family: var(--font-label); font-size: 0.82rem; letter-spacing: 0.04em; color: var(--wash-ink); }
.track .icon { flex: none; }
.or { text-align: center; font-family: var(--font-label); letter-spacing: 0.3em; color: var(--wash-ink); margin: 2rem 0; }
.signature { text-align: right; }
.works-cited { list-style: none; padding: 0; font-size: 0.92em; }
.works-cited li { padding-left: 2rem; text-indent: -2rem; margin-bottom: 0.5rem; }
.slow-cards { margin: 1.5rem 0; }
.piece-pager, .piece-more { max-width: var(--reading-width); margin-left: auto; margin-right: auto; }
.piece-pager { margin-top: 0; }

/* ---- AI & DH (v10) ---- teal is the AI & DH colour */

/* Prosumer feature: the summary sits on a soft teal sheet */
.prosumer .timeline-note { background: rgb(255 255 255 / 0.75); border-left: 4px solid var(--wash-ink); padding: 1.25rem 1.5rem; border-radius: var(--radius); font-family: var(--font-display); font-size: 1.08em; line-height: 1.6; }
.prosumer .timeline-note p { margin: 0; }

/* Digital Innovation Lab: text with a 2 x 2 set of program links, picture beside */
.dil { display: grid; grid-template-columns: 1fr; gap: calc(var(--gap) * 2); align-items: center; }
@media (min-width: 56rem) { .dil { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.dil figure { margin: 0; }
.dil figure img { width: 100%; border-radius: var(--radius); box-shadow: 0 2px 10px rgb(0 0 0 / 0.15); }
.link-tiles { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 30rem) { .link-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.link-tiles a { display: flex; align-items: center; gap: 0.25rem; padding: 0.6rem 0.9rem 0.6rem 0.4rem; background: #fff; border-radius: var(--radius); box-shadow: 0 1px 3px rgb(0 0 0 / 0.08); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.1rem; min-height: 3.5rem; }
.link-tiles a:hover span { text-decoration: underline; }
.link-tiles .badge { --badge-size: 2.6rem; margin: 0.2rem 0.6rem 0.2rem 0.4rem; flex: none; }

/* Vertical (phone-shaped) videos in a row. Also planned for the Wellness
   video lessons. Four across on wide screens, two on phones; the page
   scrolls, the strip never does. */
.vertical-strip { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); max-width: 56rem; }
@media (min-width: 48rem) { .vertical-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vertical-strip img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: calc(var(--radius) * 2); filter: saturate(0.85) brightness(0.85); transition: filter 0.3s; }
.vertical-strip a:is(:hover, :focus-visible) img { filter: none; }
.vertical-strip .video-frame { aspect-ratio: 9 / 16; }

/* Versions of an article: a key, then each draft as an openable manuscript */
.versions > :is(h2, p, .revision-key) { max-width: var(--reading-width); }
.revision-key { margin: 1.5rem 0; padding: 1rem 1.25rem; border: 1px dashed var(--wash-ink); border-radius: var(--radius); background: rgb(255 255 255 / 0.6); }
.revision-key p { margin: 0; }
.revision-key .label { display: block; margin-bottom: 0.3rem; color: var(--wash-ink); }
.manuscript { max-width: 46rem; margin: 1rem 0; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 0.1); }
.manuscript summary { cursor: pointer; padding: 1rem 1.25rem; font-family: var(--font-display); font-size: 1.2rem; list-style-position: outside; margin-left: 1.25rem; }
.manuscript summary .label { display: block; color: var(--wash-ink); font-size: 0.72rem; }
.manuscript summary:focus-visible { outline: 3px solid var(--wash-ink); outline-offset: 2px; }
.manuscript-page { padding: 0.5rem 2rem 2rem; font-family: "Times New Roman", Times, serif; font-size: 1.05rem; line-height: 1.7; border-top: 1px solid var(--line); background-image: linear-gradient(90deg, transparent 1.25rem, rgb(var(--wash) / 0.35) 1.25rem, rgb(var(--wash) / 0.35) calc(1.25rem + 1px), transparent calc(1.25rem + 1px)); }
.manuscript-page figure { margin: 1.5rem 0; }
.manuscript-page figure img { width: 100%; border: 1px solid var(--line); }
.manuscript-page figcaption { font-family: var(--font-label); font-size: 0.8rem; margin-top: 0.4rem; }
.manuscript-page blockquote { margin: 1rem 0 1rem 1.5rem; padding-left: 1rem; border-left: 2px solid var(--line); }
.timecode, .draft-head { font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--wash-ink); margin: 1.75rem 0 0.4rem; }
.timecode::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.5rem; border-radius: 50%; background: var(--wash-ink); }

/* Tracked changes. The visible marks are struck-through and underlined
   colour; hidden words tell screen readers where each change starts/ends. */
del { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: #9b2c2c; text-decoration-thickness: 2px; }
ins { color: var(--wash-ink, #1a5852); text-decoration: underline; text-decoration-color: rgb(var(--wash, 63 143 134) / 0.8); text-decoration-thickness: 2px; text-underline-offset: 0.15em; background: rgb(var(--wash, 63 143 134) / 0.1); }
del::before, del::after, ins::before, ins::after {
  clip-path: inset(100%); clip: rect(1px, 1px, 1px, 1px); height: 1px; width: 1px; overflow: hidden; position: absolute; white-space: nowrap;
}
del::before { content: " [deletion] "; }
del::after { content: " [end deletion] "; }
ins::before { content: " [insertion] "; }
ins::after { content: " [end insertion] "; }
@media (forced-colors: active) { del { text-decoration-color: CanvasText; } ins { text-decoration-color: Highlight; } }

/* Draft notice at the top of a long article; the drop cap moves to the next paragraph */
.article > p.draft-notice { font-size: 0.95em; font-style: italic; padding: 0.9rem 1.1rem; border-left: 3px solid var(--wash-ink); background: rgb(var(--wash) / 0.08); }
.article > p.draft-notice:first-child::first-letter { float: none; font: inherit; margin: 0; color: inherit; }
.article > p.draft-notice + p::first-letter { float: left; font-family: var(--font-display); font-size: 3.4em; line-height: 0.9; margin: 0.08em 0.12em 0 0; color: var(--wash-ink); }

/* ---- WELLNESS LESSONS (v11) ----
   Self-hosted phone-shaped videos, three to a row (one series per row).
   Videos that are not tall are letterboxed, never cropped. */
@media (min-width: 40rem) { .vertical-strip.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 44rem; } }
.lessons .lesson-set { margin-top: 2rem; }
.lessons .lesson-set h3 { font-size: 1.2rem; color: var(--on-screen); display: flex; align-items: center; gap: 0.75rem; }
.lessons .lesson-set h3::after { content: ""; flex: 1; height: 1px; background: rgb(255 255 255 / 0.18); max-width: 30rem; }
.vertical-strip figure { margin: 0; }
.vertical-strip video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #000; border-radius: calc(var(--radius) * 2); }
.vertical-strip figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: var(--on-screen-soft); }
.lessons > .button, .lessons > p:last-child { margin-top: 2rem; }

/* ---- CONTACT (v12) ----
   A single note card on the paper, with a soft wash behind it. */
.contact-card {
  min-height: 55vh;
  display: grid;
  place-items: center;
  background-image: var(--wash-img-strong), var(--wash-img-blue);
  background-repeat: no-repeat;
  background-size: min(34rem, 80%) auto, min(22rem, 55%) auto;
  background-position: right 8% center, left 10% bottom 10%;
}
.contact-card .letter {
  max-width: 36rem;
  padding: 2.5rem 2.5rem 2rem;
  background: #fff;
  border-top: 4px solid var(--wash-ink);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgb(0 0 0 / 0.1);
  transform: rotate(-0.6deg);
}
.contact-card .badge { --badge-size: 3.5rem; margin: 0 0 1rem 0.5rem; }
.contact-card h1 { margin-bottom: 0.75rem; }
.contact-card .lead { font-family: var(--font-display); font-size: 1.25em; line-height: 1.55; }
.contact-card .email { margin: 1.5rem 0 0; font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
.contact-card .email a { color: var(--wash-ink); text-decoration-thickness: 2px; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
@media (max-width: 36rem) { .contact-card .letter { padding: 1.75rem 1.5rem; transform: none; } }
@media (prefers-reduced-motion: reduce) { .contact-card .letter { transform: none; } }

/* ---- SSWC (v13): a conference talk laid out like a programme ---- */
.page-intro .eyebrow { font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin: 0 0 0.75rem; }
.byline-block { font-family: var(--font-label); font-size: 0.9rem !important; line-height: 1.7; letter-spacing: 0.03em; margin-top: 1.25rem; }
.page-intro .byline-block a { color: inherit; }

/* Epigraphs: a quotation with its source underneath */
.epigraph { margin: 0; }
.epigraph blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem); line-height: 1.45; color: var(--wash-ink); }
.epigraph blockquote p { margin: 0; }
.epigraph figcaption { margin-top: 0.75rem; font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.05em; }
.epigraph-feature h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.8rem); }
.wide-quote { max-width: 44rem; margin: 2.5rem auto; text-align: center; }

/* Student voices: quotes on picture bands */
.student-voice figure { margin: 0 auto; max-width: 46rem; }
.student-voice blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.6; }
.student-voice blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: 0.6; color: var(--amber); margin-bottom: 0.5rem; }
.student-voice figcaption { margin-top: 1rem; font-family: var(--font-label); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-screen-soft); }

/* Chapter titles between parts of the talk */
.chapter { padding-block: 2.5rem 0.5rem !important; text-align: center; }
.chapter h2 { display: inline-block; font-style: italic; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); margin: 0; padding: 0 1.5rem 0.6rem; background: var(--brush) center bottom / 100% 0.6rem no-repeat; }

/* Columns */
.three-up, .two-up { display: grid; grid-template-columns: 1fr; gap: calc(var(--gap) * 1.5); margin-top: 1.5rem; align-items: start; }
@media (min-width: 48rem) { .two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 56rem) { .three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.three-up figure, .two-up figure { margin: 0; }
.three-up img, .two-up img { width: 100%; border-radius: var(--radius); }
.three-up h3, .two-up h4 { margin-top: 0; }
.video-figure h4, .video-figure p { margin: 0.6rem 0 0; }
.adaptation figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: var(--on-screen-soft); }
.playlists .lead { font-family: var(--font-display); font-size: 1.2em; line-height: 1.55; }

/* Audio essays: three players side by side, never scrolling boxes */
.audio-row { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--gap); }
@media (min-width: 56rem) { .audio-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.audio-row iframe { display: block; width: 100%; height: 166px; border: 0; border-radius: var(--radius); background: var(--paper-deep); }
.audio-row .note { margin: 0.4rem 0 0; }
.thumb-link { display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 0.5rem; color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; }
.thumb-link img { width: 5rem; height: 5rem; object-fit: cover; border-radius: var(--radius); flex: none; }

/* Visuals: three collages like prints on a wall */
.triptych { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: calc(var(--gap) * 1.5); }
@media (min-width: 48rem) { .triptych { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.triptych figure { margin: 0; background: #fff; padding: 0.75rem 0.75rem 0.5rem; box-shadow: 0 2px 8px rgb(0 0 0 / 0.12); }
.triptych li:nth-child(1) figure { transform: rotate(-1.2deg); }
.triptych li:nth-child(3) figure { transform: rotate(1deg); }
.triptych img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.triptych figcaption { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; margin-top: 0.4rem; }
.center { text-align: center; }

/* Fair use factors: numbered, readable, no scroll box */
.factors { counter-reset: factor; list-style: none; padding: 0; margin: 1rem 0; }
.factors li { counter-increment: factor; position: relative; padding: 0 0 1rem 2.75rem; }
.factors li::before { content: counter(factor); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: rgb(var(--wash) / 0.18); color: var(--wash-ink); font-family: var(--font-display); font-weight: 700; }
.fair-use h4 { font-size: 1.3rem; margin-top: 0; }

/* Risks and rewards */
.risks blockquote { margin: 0.5rem 0 1rem; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; line-height: 1.55; }
.mini-videos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.mini-videos li { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; }
.mini-videos img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.risks .cover-link img { width: 100%; max-width: 14rem; display: block; margin: 0.5rem auto 0; box-shadow: 0 4px 10px rgb(0 0 0 / 0.18); }
@media (prefers-reduced-motion: reduce) { .triptych figure { transform: none !important; } }

/* ---- ROUND 2 (2026-11-10) ---- */

/* Site name is the way home now that the menu has no "Daniel Anderson" item */
.site-name a[aria-current="page"] { color: var(--amber); }
.site-name a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Footer: Contact sits here instead of in the menu */
.site-footer { display: grid; gap: 1.5rem 3rem; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .site-footer { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.footer-contact p { margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: baseline; }
.footer-contact-link { font-family: var(--font-display); font-size: 1.35rem; color: var(--amber) !important; }
.footer-contact-link[aria-current] { text-decoration: none; }
.site-footer .license { grid-column: 1 / -1; margin: 0; }
.site-footer ul { margin-bottom: 0; }

/* Alt-scholarship: Moonmoth video rides alongside the lyric (sticky notes column) */
.remix-notes .moonmoth-video { margin: 1.5rem 0 0; }
.remix-notes .moonmoth-video img { width: 100%; border-radius: var(--radius); }
.remix-notes .moonmoth-video figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: var(--ink-soft); }

/* Title cards: videos without a thumbnail yet show their title on a coloured card */
.title-card {
  display: grid; place-content: center; justify-items: center; gap: 0.6rem;
  aspect-ratio: 16 / 9; padding: 1rem 1.25rem; text-align: center; text-decoration: none;
  border-radius: var(--radius); color: var(--on-screen);
  background:
    radial-gradient(ellipse at 30% 20%, rgb(var(--wash, 212 154 53) / 0.45), transparent 65%),
    linear-gradient(160deg, #2a2620, #141311);
  border: 1px solid rgb(255 255 255 / 0.12);
}
.title-card .tc-title { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; }
.title-card .icon { font-size: 1.6rem; color: var(--amber); }
.title-card:hover, .title-card:focus-visible { border-color: var(--amber); }
li[data-tags~="wellness"] .title-card { --wash: var(--sage); }
li[data-tags~="ai"] .title-card { --wash: var(--teal); }
.article .title-card { max-width: 32rem; }

/* ---- Curated Instagram section (Wellness page) ----
   A profile strip, the three pinned posts that read as one mural
   ("I Am / Up / and Open"), then feed tiles. Tall 3:4 tiles like the
   Instagram profile grid, with hairline gaps so the mural joins up. */
.insta { max-width: 46rem; margin: 2rem auto 0; background: #0d0c0b; border-radius: calc(var(--radius) * 3); padding: 1rem 1rem 1.25rem; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08); }
.insta-head { display: flex; align-items: center; gap: 0.9rem; padding: 0.25rem 0.25rem 1rem; }
.insta-avatar { width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; object-position: 30% 45%; box-shadow: 0 0 0 2px #0d0c0b, 0 0 0 4px var(--amber); flex: none; }
.insta-name { margin: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.insta-name .handle { font-weight: 600; color: var(--on-screen); }
.insta-name .label { font-size: 0.68rem; color: var(--on-screen-soft); }
.insta-head .button { padding: 0.35rem 1rem; }
.insta-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.insta-grid + .insta-grid { margin-top: 3px; }
.insta-grid > li { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #000; }
.insta-grid a.play, .insta-grid a.play img { display: block; width: 100%; height: 100%; }
.insta-grid a.play img { object-fit: cover; transition: filter 0.3s, transform 0.4s; }
.insta-grid a.play:is(:hover, :focus-visible) img { filter: brightness(1.08); }
.insta-grid a.play:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.insta-grid .video-figure, .insta-grid .video-frame { height: 100%; aspect-ratio: auto; margin: 0; border-radius: 0; }
.insta-grid .video-figure .video-source { position: absolute; left: 0.4rem; bottom: 0.4rem; font-size: 0.7rem; background: rgb(0 0 0 / 0.7); padding: 0.15rem 0.4rem; border-radius: 3px; }
/* pinned marker, as on an Instagram profile */
.pin { position: absolute; top: 0.5rem; right: 0.5rem; width: 1.1rem; height: 1.1rem; pointer-events: none;
  background: #fff; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.6));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 3l6 6-3 1-4 4 1 5-2 2-4-4-5 5-1-1 5-5-4-4 2-2 5 1 4-4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 3l6 6-3 1-4 4 1 5-2 2-4-4-5 5-1-1 5-5-4-4 2-2 5 1 4-4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.mural-captions { list-style: none; margin: 0.6rem 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; font-size: 0.82rem; line-height: 1.4; color: var(--on-screen-soft); }
.mural-captions .word { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--on-screen); }
/* feed tiles: text posts in the wellness colours */
.lessons .text-tile { display: flex !important; flex-direction: column; justify-content: space-between; padding: 1rem; text-decoration: none; color: var(--ink);
  background: radial-gradient(ellipse at 20% 15%, rgb(255 255 255 / 0.55), transparent 60%), rgb(var(--wash) / 0.55), #f6f2ea; }
.text-tile .tile-text { font-family: var(--font-display); font-size: clamp(0.85rem, 0.7rem + 0.6vw, 1.15rem); line-height: 1.3; }
.tile-play { align-self: flex-end; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); position: relative; }
.tile-play::after { content: ""; position: absolute; left: 0.75rem; top: 0.55rem; border-left: 0.65rem solid var(--paper); border-top: 0.45rem solid transparent; border-bottom: 0.45rem solid transparent; }
.text-tile:hover .tile-play, .text-tile:focus-visible .tile-play { background: var(--wash-ink); }
.text-tile:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.lessons .lesson-set.longer { max-width: 46rem; }
.wide-tile { aspect-ratio: 16 / 9; max-width: 32rem; border-radius: var(--radius); }
.wide-tile .tile-text { font-size: 1.4rem; }
@media (max-width: 30rem) {
  .insta { padding: 0.6rem; }
  .mural-captions { grid-template-columns: 1fr; }
  .text-tile { padding: 0.55rem; }
  .tile-play { width: 1.5rem; height: 1.5rem; }
  .tile-play::after { left: 0.55rem; top: 0.38rem; border-left-width: 0.5rem; border-top-width: 0.37rem; border-bottom-width: 0.37rem; }
}

/* ROUND 2b: match the Instagram screenshot (light profile page, white
   hairlines between tiles, rounded row corners, white pins, Posts tab) */
.insta { background: #fff; color: #262626; box-shadow: 0 6px 30px rgb(0 0 0 / 0.45); }
.insta-avatar { border: 2px solid #fff; box-shadow: 0 0 0 2px #d62976; }
.insta-name .handle { color: #262626; }
.insta-name .label { color: #6b6b6b; font-size: 0.75rem; }
.insta-head .button { background: #0064e0; border-color: #0064e0; color: #fff; text-transform: none; letter-spacing: 0; font-weight: 600; border-radius: 8px; }
.insta-head .button:hover { background: #00489f; border-color: #00489f; color: #fff; }
.insta-tabs { display: flex; justify-content: center; border-top: 1px solid #dbdbdb; margin: 0 -1rem 0.6rem; }
.insta-tabs .current { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1.5rem 0.55rem; border-bottom: 2px solid #262626; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #262626; }
.grid-icon { width: 0.85rem; height: 0.85rem; background:
  linear-gradient(90deg, transparent 30%, #fff 30%, #fff 36%, transparent 36%, transparent 64%, #fff 64%, #fff 70%, transparent 70%),
  linear-gradient(0deg, transparent 30%, #fff 30%, #fff 36%, transparent 36%, transparent 64%, #fff 64%, #fff 70%, transparent 70%),
  #262626; border-radius: 2px; }
.insta-grid { gap: 2px; }
.insta-grid + .insta-grid { margin-top: 2px; }
.insta-grid > li { background: #efefef; }
.insta-grid.mural, .insta-grid.feed { border-radius: 8px; overflow: hidden; }
.insta-grid a.play:focus-visible { outline-color: #0064e0; }
.pin { top: 0.55rem; right: 0.55rem; width: 1.2rem; height: 1.2rem; }
.mural-captions { color: #6b6b6b; }
.mural-captions .word { color: #262626; }
@media (max-width: 30rem) { .insta-tabs { margin: 0 -0.6rem 0.5rem; } }

/* Draft notes brought back for review */
.draft-banner { margin: 1rem 0 0; padding: 0.75rem 1rem; border: 1px dashed var(--wash-ink); border-radius: var(--radius); background: rgb(255 255 255 / 0.7); font-size: 0.95rem; }
.draft-banner .label { display: inline-block; margin-right: 0.5rem; color: var(--wash-ink); }
.draft-list { padding-left: 1.2rem; }
.draft-list li { margin-bottom: 1.25rem; }
.draft-list .video-figure { margin-top: 0.6rem; }

/* Small print notes */
.note { font-size: 0.9em; color: var(--ink-soft); }
.dark .note, .band .note { color: var(--on-screen-soft); }

/* Swatch grid (used on the _patterns page only) */
.pattern-grid { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: var(--gap); }
.pattern-grid li { padding: 1rem; background-color: #fff; border-radius: var(--radius); background-size: 140% auto; background-position: right -4rem bottom -4rem; }
.pattern-grid p { margin: 0.75rem 0 0; font-size: 0.85rem; }

/* Code samples (used on the _patterns page) */
pre {
  overflow-x: auto;
  margin: 1.5rem 0 0;
  padding: 1rem;
  background: rgba(127, 127, 127, 0.12);
  border-radius: var(--radius);
  font-family: var(--font-label);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ---------- 12. Small screens ---------- */
@media (max-width: 48rem) {
  .intro, .feature, .post-header { grid-template-columns: 1fr; }
  .post-header img { transform: none; }
  .intro .play, .intro .video-figure { max-width: 22rem; }
  .vintage .vintage-figure { float: none; margin: 0 0 1.5rem; }
  .lyric { padding: 1.25rem 1.25rem 0.75rem; }
  .lyric .refrain { margin-left: 0.5rem; }
}

/* ---------- 13. Respect "reduce motion" settings ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- 14. Printing ---------- */
@media print {
  .site-header nav, .site-footer nav, .skip-link { display: none; }
  :is(.dark, .featured-videos, .vintage, .book, .video-grid, .page-intro, .band) { background: none !important; color: #000; }
  .band::before, .post-header { background: none !important; }
  .wash-corner, .wash-corner-left, .intro.wash-portrait, .remix { background-image: none !important; }
  .badge::before, .page-intro::before { display: none; }
}

/* Round 2c (2026-11-10): Revise It centered; Instagram feed tiles use photo thumbnails */
.lessons .lesson-set.centered { text-align: center; }
.lessons .lesson-set.centered h3 { justify-content: center; }
.lessons .lesson-set.centered h3::before { content: ""; flex: 1; height: 1px; background: rgb(255 255 255 / 0.18); max-width: 30rem; }
.lessons .lesson-set.centered .vertical-strip { margin-inline: auto; }
.insta-grid.feed a.play img { object-position: 50% 40%; }
