/* Layout: a museum. A white foyer for the person and the writing, and one
   ultramarine gallery room where the work hangs beside its wall labels. */
:root {
  --wall: #F4F4F1;
  --ink: #16171C;
  --ink-2: #44474F;
  --ink-3: #62656F;
  --rule: #D7D8DD;
  --room: #1F2A80;
  --room-ink: #F3F0E8;
  --room-ink-2: #C2C6E2;
  --room-rule: #3A46A0;
  --canvas: #ECE8DE;
  --canvas-2: #DCD6C8;
  --plate-ink: #1A1B22;
  --plate-faint: #C5BEAE;
  --plate-accent: #2B3EB0;
  --frame: #A18852;
  --placeholder: #E7E6E1;
  --accent: #2B3EB0;
  --accent-hover: #22329A;
  --accent-ink: #FFFFFF;
  --serif: "EB Garamond", "Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --wide: 76rem;
  --measure: 36rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --wall: #111217;
    --ink: #ECECEF;
    --ink-2: #C3C5CD;
    --ink-3: #9A9DA8;
    --rule: #2B2D36;
    --room: #18216A;
    --room-ink: #F3F0E8;
    --room-ink-2: #B6BCE0;
    --room-rule: #2F3A88;
    --canvas: #E6E1D5;
    --canvas-2: #D3CCBC;
    --plate-ink: #1A1B22;
    --plate-faint: #BDB5A3;
    --plate-accent: #2B3EB0;
    --frame: #B49A61;
    --placeholder: #1E2028;
    --accent: #A3B2FF;
    --accent-hover: #BCC7FF;
    --accent-ink: #0D1130;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --wall: #111217;
  --ink: #ECECEF;
  --ink-2: #C3C5CD;
  --ink-3: #9A9DA8;
  --rule: #2B2D36;
  --room: #18216A;
  --room-ink: #F3F0E8;
  --room-ink-2: #B6BCE0;
  --room-rule: #2F3A88;
  --canvas: #E6E1D5;
  --canvas-2: #D3CCBC;
  --plate-ink: #1A1B22;
  --plate-faint: #BDB5A3;
  --plate-accent: #2B3EB0;
  --frame: #B49A61;
  --placeholder: #1E2028;
  --accent: #A3B2FF;
  --accent-hover: #BCC7FF;
  --accent-ink: #0D1130;
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.55;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  font-variant-numeric: oldstyle-nums proportional-nums;
}
@media (min-width: 48rem) { body { font-size: 1.25rem; } }
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--wall);
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.room :focus-visible { outline-color: var(--room-ink); }

.wrap {
  max-width: var(--wide);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 48rem) {
  .wrap {
    padding-left: max(40px, env(safe-area-inset-left, 0px));
    padding-right: max(40px, env(safe-area-inset-right, 0px));
  }
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--sans);
  font-size: 0.9375rem;
  padding: 10px 14px;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* Utility type */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.sans { font-family: var(--sans); }
.kicker {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.prose > * + * { margin-top: 1em; }
.prose { max-width: var(--measure); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7em 1.1em;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); border-color: var(--ink); color: var(--wall); }
.btn-small { min-height: 38px; padding: 0.5em 0.85em; font-size: 0.875rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.text-link {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: var(--wall);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 10px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1;
  text-decoration: none;
  margin-right: auto;
}
.site-nav { font-family: var(--sans); font-size: 0.9375rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.nav-wide { display: none; }
.nav-narrow { border-bottom: 1px solid var(--rule); }
.nav-narrow .wrap { padding-block: 2px 12px; }
@media (min-width: 48rem) {
  .site-header .wrap { padding-block: 18px; gap: 28px; }
  .wordmark { font-size: 1.4375rem; }
  .nav-wide { display: block; }
  .nav-narrow { display: none; }
}

/* Sections */
.section { padding-block: 44px; }
@media (min-width: 48rem) { .section { padding-block: 88px; } }
.section + .section { border-top: 1px solid var(--rule); }
.room + .section, .section + .room { border-top: 0; }
.section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
}
.section-head { display: grid; gap: 8px; margin-bottom: 32px; max-width: 44rem; }
.section-head .section-note { font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-3); }
@media (min-width: 48rem) { .section-head { margin-bottom: 48px; } }

/* Hero */
.hero { padding-block: 20px 48px; }
.hero .wrap { display: grid; gap: 24px; }
.hero-portrait { order: -1; }
.hello { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.125rem, 1.3rem + 3.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin-top: 10px;
}
.lede {
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink-2);
  margin-top: 14px;
  max-width: 32rem;
}
.status { font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-2); margin-top: 18px; }
.hero .actions { margin-top: 16px; }
.alumni { font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-3); margin-top: 22px; }
.alumni b { font-weight: 600; color: var(--ink-2); }
.upwork-line { font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-2); margin-top: 14px; }
@media (min-width: 60rem) {
  .hero { padding-block: 40px 96px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); column-gap: 72px; align-items: end; }
  .hero-portrait { order: 0; }
  .lede { font-size: 1.4375rem; }
}

/* Photos and placeholders */
.photo { margin: 0; }
.photo .frame {
  position: relative;
  aspect-ratio: var(--ar, 4 / 5);
  max-width: 100%;
  overflow: hidden;
  background: var(--placeholder);
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.photo figcaption { margin-top: 10px; font-family: var(--sans); font-size: 0.8125rem; line-height: 1.4; color: var(--ink-2); }
.photo figcaption b { font-weight: 600; color: var(--ink); display: block; }
.hero-portrait .frame { --ar: 5 / 4; }
@media (min-width: 60rem) { .hero-portrait .frame { --ar: 4 / 5; } }

/* The gallery room */
.room { background: var(--room); color: var(--room-ink); }
.room .section-title { color: var(--room-ink); }
.room .section-head .section-note { color: var(--room-ink-2); }
.room a { color: var(--room-ink); }
.room .btn-quiet { color: var(--room-ink); border-color: var(--room-ink); }
.room .btn-quiet:hover { background: var(--room-ink); color: var(--room); }

.works { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.work { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: start; }
.plate {
  display: block;
  aspect-ratio: var(--ar, 4 / 5);
  max-width: 100%;
  background: var(--canvas);
  outline: 1px solid var(--frame);
  outline-offset: 4px;
  margin: 5px;
}
.plate svg { width: 100%; height: 100%; }
a.plate:hover { outline-width: 2px; }
.plate .pf { fill: var(--plate-faint); }
.plate .pc2 { fill: var(--canvas-2); }
.plate .pk { fill: var(--plate-ink); }
.plate .pa { fill: var(--plate-accent); }
.plate .ps, .plate .ps2, .plate .psf, .plate .psa, .plate .pl, .plate .plc {
  stroke: var(--plate-ink);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.plate .ps, .plate .ps2, .plate .pl { fill: none; }
.plate .ps2 { stroke-width: 2.5; }
.plate .psf { fill: var(--canvas-2); }
.plate .psa { fill: var(--plate-accent); }
.plate .plc { stroke: var(--canvas); fill: none; }
.label { font-family: var(--sans); font-size: 0.9375rem; line-height: 1.45; color: var(--room-ink-2); min-width: 0; }
.label .label-org { font-size: 1rem; font-weight: 600; color: var(--room-ink); }
.org-link { text-decoration: none; }
.org-link:hover { text-decoration: underline; }
.label .label-org .yrs { font-weight: 400; color: var(--room-ink-2); }
.label .label-role { font-size: 0.8125rem; color: var(--room-ink-2); }
.label .label-title { font-family: var(--serif); font-style: italic; font-size: 1.125rem; line-height: 1.35; color: var(--room-ink); margin-top: 6px; }
.label dl { margin: 10px 0 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 6px; }
.label dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--room-ink-2); padding-top: 0.2em; }
.label dd { margin: 0; color: var(--room-ink); }
.label .label-more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 0.875rem; }
.tenure { margin-top: 40px; max-width: 40rem; font-size: 1.1875rem; color: var(--room-ink); }
.tenure + .text-link, .room .text-link { display: inline-block; margin-top: 12px; }
@media (max-width: 39.99rem) {
  .work { grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; row-gap: 2px; }
  .work .label { display: contents; }
  .work .plate { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .work .label-org, .work .label-role, .work .label-title { grid-column: 2; }
  .work .label-title { margin-top: 2px; }
  .work .label dl, .work .label-more { grid-column: 1 / -1; }
  .work .label dl { margin-top: 12px; }
  .work .label-more { display: none; }
  .work .org-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
  .tenure { font-size: 1.0625rem; margin-top: 26px; }
}
@media (min-width: 40rem) {
  .work { grid-template-columns: 168px minmax(0, 1fr); gap: 28px; }
}
@media (min-width: 60rem) {
  .works { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 72px; row-gap: 80px; align-items: center; }
  .work { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 30px; align-items: end; }
  .label .label-org { font-size: 1.0625rem; }
  .label .label-title { font-size: 1.25rem; }
}

/* Beliefs */
.beliefs { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.belief b { display: block; font-weight: 600; font-size: 1.3125rem; line-height: 1.3; margin-bottom: 6px; }
@media (min-width: 48rem) {
  .beliefs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; row-gap: 48px; }
}

/* Quotes */
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote figcaption { margin-top: 12px; font-family: var(--sans); font-size: 0.875rem; line-height: 1.45; color: var(--ink-3); }
.quote figcaption b { color: var(--ink); font-weight: 600; }
.quote-lead blockquote p {
  text-wrap: balance;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.625rem, 1.2rem + 1.7vw, 2.5rem);
  line-height: 1.22;
  max-width: 34rem;
}
.quote-lead .q-lead { font-style: normal; }
.quote-pair { display: grid; gap: 32px; margin-top: 40px; }
.quote-pair .quote blockquote p { font-size: 1.1875rem; line-height: 1.5; }
@media (min-width: 48rem) {
  .quote-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; margin-top: 56px; }
}

/* Off the clock */
.offclock { display: grid; gap: 24px; }
.offclock .section-title { margin-bottom: 18px; }
.offclock-line { font-size: 1.375rem; line-height: 1.35; max-width: 28rem; }
.offclock-line a { display: inline-block; margin-top: 10px; }
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 60rem) {
  .offclock { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 72px; align-items: end; }
  .photo-row { gap: 24px; }
}

/* Ways to work together */
.ways { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); max-width: 46rem; }
.ways li { border-bottom: 1px solid var(--rule); }
.ways a { display: block; padding-block: 14px; font-size: 1.1875rem; line-height: 1.4; text-decoration-color: var(--rule); }
.ways a:hover { text-decoration-color: currentColor; }
.ways + .actions { margin-top: 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding-block: 40px 48px; font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-2); }
.site-footer .wrap { display: grid; gap: 22px; }
.now { max-width: 40rem; font-family: var(--serif); font-size: 1.125rem; color: var(--ink); }
.now .kicker { display: block; margin-bottom: 4px; }
.footer-links, .footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a, .footer-links a { color: var(--ink-2); }
.footer-small { font-size: 0.8125rem; color: var(--ink-3); }
.email-text { user-select: all; }

/* Page heads (inner pages) */
.page-head { padding-block: 28px 40px; }
.page-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.page-head .page-lede { margin-top: 16px; max-width: 38rem; font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 48rem) { .page-head { padding-block: 56px 64px; } }
.crumb { font-family: var(--sans); font-size: 0.875rem; color: var(--ink-3); margin-bottom: 14px; }
.crumb a { color: var(--ink-3); }
.room .crumb, .room .crumb a { color: var(--room-ink-2); }

/* Case pages */
.case-hang { display: grid; gap: 28px; align-items: end; }
.case-hang .plate { width: min(100%, 22rem); }
@media (max-width: 39.99rem) { .case-hang .plate { width: 62%; justify-self: center; } .case-hang { gap: 22px; } }
.case-label .label-org { font-size: 1.125rem; }
.case-label h1 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); line-height: 1.15; color: var(--room-ink); margin-top: 8px; }
.case-label dl { margin-top: 16px; }
@media (min-width: 60rem) {
  .case-hang { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 72px; }
  .case-hang .plate { width: 100%; max-width: 26rem; justify-self: start; }
}
.story { display: grid; gap: 40px; max-width: var(--measure); }
.story h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.625rem; line-height: 1.2; margin-bottom: 10px; }
.story section > p + p { margin-top: 0.9em; }
.story .quote { padding-top: 8px; }
.story .quote blockquote p { font-style: italic; font-size: 1.3125rem; line-height: 1.45; }
.next-up { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-family: var(--sans); font-size: 0.9375rem; }

/* Work page */
.xp { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 0.9375rem; }
.xp li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.xp .xp-org { font-weight: 600; color: var(--ink); }
.xp .xp-role { color: var(--ink-2); }
.xp .xp-dates { color: var(--ink-3); font-variant-numeric: tabular-nums lining-nums; }
@media (min-width: 48rem) {
  .xp li { grid-template-columns: 11.5rem minmax(0, 15rem) minmax(0, 1fr); column-gap: 24px; align-items: baseline; }
}
.practice-note { font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-2); margin-bottom: 18px; max-width: 44rem; }
.cols-2 { display: grid; gap: 40px; }
@media (min-width: 48rem) { .cols-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; } }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-2); }
.plain-list b { color: var(--ink); font-weight: 600; }
.sub-title { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }

/* About */
.about-grid { display: grid; gap: 48px; }
.salon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.salon .tall .frame { --ar: 4 / 5; }
.salon .square .frame { --ar: 1 / 1; }
.salon .wide { grid-column: span 2; }
.salon .wide .frame { --ar: 3 / 2; }
@media (min-width: 60rem) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); column-gap: 72px; align-items: start; }
  .salon { gap: 22px; }
}

.about-next { font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-2); padding-top: 8px; }

/* Working with me */
.manual { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; max-width: var(--measure); }
.manual b { display: block; font-weight: 600; font-size: 1.3125rem; line-height: 1.3; margin-bottom: 4px; }

/* Work with me */
.doors { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.door { padding-block: 28px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; }
.door h2 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
.door p { max-width: 36rem; }
.door .actions { margin-top: auto; padding-top: 6px; }
@media (min-width: 60rem) {
  .doors { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; }
  .door:nth-child(odd) { padding-right: 8px; }
}
.quote-trio { display: grid; gap: 32px; }
.quote-trio .quote blockquote p { font-size: 1.1875rem; line-height: 1.5; }
@media (min-width: 60rem) { .quote-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; } .quote-trio.quote-solo { grid-template-columns: minmax(0, 1fr); } }
.quote-solo .quote blockquote p { font-size: 1.5rem; max-width: 34rem; }
.proof { display: grid; gap: 12px; }
.proof-stat { font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-2); }
.proof-stat b { color: var(--ink); }

/* Notes */
.note-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); max-width: 46rem; }
.note-list li { padding-block: 22px; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; }
.note-list a { font-size: 1.5rem; line-height: 1.25; font-weight: 500; text-decoration: none; }
.note-list a:hover { text-decoration: underline; }
.note-date { font-family: var(--sans); font-size: 0.8125rem; color: var(--ink-3); }
.article { max-width: var(--measure); }
.article h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.625rem; margin: 1.6em 0 0.5em; }
.article p + p { margin-top: 0.9em; }
.sources { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 0.875rem; color: var(--ink-2); max-width: var(--measure); }
.sources ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.sources a { word-break: break-word; }
.article ol, .article ul { margin: 0.9em 0 0; padding-left: 1.3em; }
.article li + li { margin-top: 0.55em; }
.article h2 + p, .article p + ol, .article p + ul { margin-top: 0.6em; }
.article ol + p, .article ul + p, .article figure + p, .article .note-hint + p { margin-top: 0.9em; }
.note-figure { margin: 28px 0; max-width: 30rem; }
.note-figure a, .note-slides a { display: block; }
.note-figure img, .note-slides img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 6px; }
.note-figure figcaption, .note-hint { margin-top: 8px; font-family: var(--sans); font-size: 0.8125rem; color: var(--ink-3); }
.note-slides { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.article .note-slides { padding: 0; margin: 24px 0 0; }
.article .note-slides li + li { margin-top: 0; }
.note-origin { margin-top: 1.6em; padding-top: 14px; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-2); }
.note-list li.has-thumb { grid-template-columns: minmax(0, 1fr) 120px; column-gap: 32px; align-items: start; }
.note-text { display: grid; gap: 6px; }
.note-thumb { display: block; }
.note-thumb img { display: block; width: 120px; height: 150px; object-fit: cover; object-position: top; border: 1px solid var(--rule); border-radius: 4px; }
@media (max-width: 560px) {
  .note-slides { grid-template-columns: 1fr; }
  .note-list li.has-thumb { grid-template-columns: minmax(0, 1fr) 84px; column-gap: 18px; }
  .note-thumb img { width: 84px; height: 105px; }
}

/* Placeholders: content still owed. Delete the class when the real text goes in. */

/* 404 */
.lost { padding-block: 72px 96px; }
.lost h1 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.1; }
.lost p { margin-top: 14px; max-width: 32rem; }

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

/* Phone rhythm: keep Home within five phone screens */
@media (max-width: 39.99rem) {
  .section { padding-block: 32px; }
  .section-head { margin-bottom: 22px; }
  .works { gap: 26px; }
  .beliefs { gap: 22px; }
  .belief { font-size: 1.0625rem; line-height: 1.5; }
  .belief b { font-size: 1.1875rem; margin-bottom: 4px; }
  .quote-lead blockquote p { font-size: 1.5rem; }
  .quote-pair { margin-top: 28px; gap: 24px; }
  .quote-pair .quote blockquote p { font-size: 1.0625rem; }
  .quote figcaption { margin-top: 8px; }
  .hero { padding-bottom: 36px; }
  .hero-portrait .frame { --ar: 4 / 3; }
  .photo-row .frame { --ar: 1 / 1; }
  .photo figcaption { margin-top: 6px; }
  .offclock { gap: 18px; }
  .offclock-line { font-size: 1.1875rem; }
  .site-footer { padding-block: 32px 28px; }
  .site-footer .wrap { gap: 16px; }
}

/* Fix pass B */
.org-name { white-space: nowrap; }
.hero-portrait img { object-position: 50% 22%; }
.photo-row img { object-position: 50% 25%; }
.beliefs-more { display: inline-block; margin-top: 28px; }
.ways-line { max-width: 40rem; font-size: 1.1875rem; line-height: 1.5; }
.ways-line + .actions { margin-top: 18px; }
.salon .frame, .salon .tall .frame, .salon .square .frame, .salon .wide .frame { --ar: 4 / 5; }
.salon .wide { grid-column: auto; }
a.email-text { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
@media (max-width: 39.99rem) {
  .ways-line { font-size: 1.0625rem; }
  .beliefs-more { margin-top: 16px; }
}
.belief b, .page-head h1, .section-head h2 { text-wrap: balance; }
.belief, .prose p, .label-title, .tenure, .ways-line, .door p { text-wrap: pretty; }
@media (min-width: 60rem) {
  .works .plate { aspect-ratio: 4 / 5; }
}

/* Record: growth, AI and leadership proof on the Work page */
.record-grid { display: grid; gap: 32px; }
.record-block p { margin-top: 10px; line-height: 1.55; text-wrap: pretty; }
.record-block p + p { margin-top: 12px; }
@media (min-width: 60rem) {
  .record-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
}

/* Launch build without photos yet: single-column layouts */
.hero.no-portrait .wrap { grid-template-columns: minmax(0, 1fr); }
.hero.no-portrait .hero-text { max-width: 44rem; }
.offclock.no-photos { grid-template-columns: minmax(0, 1fr); }
.offclock.no-photos .offclock-line { max-width: 40rem; }
.about-grid.no-photos { grid-template-columns: minmax(0, 1fr); }
.about-grid.no-photos .prose, .about-grid.no-photos .manual { max-width: var(--measure); }

/* Work page: compact gallery on desktop, so eight pieces do not run eight screens */
@media (min-width: 60rem) {
  .works-compact { column-gap: 56px; row-gap: 48px; align-items: start; }
  .works-compact .work { grid-template-columns: 168px minmax(0, 1fr); gap: 28px; align-items: start; }
  .works-compact .plate { aspect-ratio: var(--ar, 4 / 5); }
}
.door-proof { font-family: var(--sans); font-size: 0.875rem; }
.door-proof a { color: var(--ink-2); }
@media print {
  .site-header, .nav-narrow, .footer-nav, .skip, .next-up, .actions { display: none !important; }
  body { background: #fff; color: #000; }
  .room { background: #fff; color: #000; }
  .room a, .room .label, .label .label-org, .label dd, .label dt, .tenure, .section-title { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .photo .frame { display: none; }
}
/* Photos stay hidden until a real image is confirmed; a blank file never shows. */
.photo:not(.is-ready) { display: none; }
.photo-row:not(.has-photo), .salon:not(.has-photo) { display: none; }
/* Home header: the roles and teaching Mayank is open to */
.open-to { margin-top: 20px; font-family: var(--sans); font-size: 0.9375rem; color: var(--ink-2); }
.open-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.open-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.open-list a { color: var(--ink); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.open-where { margin-top: 6px; color: var(--ink-3); }
