/* ============================================================================
   The Fournier look: Source Serif 4 in two voices (roman says, true small
   capitals point), one left edge and one right edge, year dividers as the only
   hairlines. Loaded after my_css.css and scoped under html[data-look], which
   also outranks it; colours are in fournier-colours.css.
   ============================================================================ */

/* True small capitals and old-style figures (see libs/fonts/README.md). */
@font-face { font-family:"Fournier Figures"; font-style:normal; font-weight:400 700; font-display:swap; unicode-range:U+30-39; src: url(../fonts/source-serif-4-figures.woff) format("woff"); }
@font-face { font-family:"Fournier Figures"; font-style:italic; font-weight:400 700; font-display:swap; unicode-range:U+30-39; src: url(../fonts/source-serif-4-figures-italic.woff) format("woff"); }
@font-face { font-family:"Fournier SC"; font-style:normal; font-weight:400 700; font-display:swap; src: url(../fonts/source-serif-4-smallcaps.woff) format("woff"); }

/* ============================================================================
   f-final: Fournier, flush left. One left edge, the banner's, for every
   heading, title, sentence and row; one right-hand column, ending on the
   banner's right edge, for what answers them: dates, terms, a role, the
   filter.
   Few lines, one kind per job: an ink rule closes the header (the contact
   links stand at its head) and one opens the footer; a hairline, with its
   year at its head, divides Publications. Nothing else is ruled: sections
   are parted by white space and a 24px heading.
   Publications are specimen B: bold title, authors, and a venue line closed
   after a faint dot by its links, Abstract, PDF, Slides, one ink each
   (--abstract-ink, --pdf-ink, --slides-ink).
   Miscellaneous, the Academic Tree and the Comics list are styled in
   final-misc.css, not here.
   ============================================================================ */

/* ================ Tokens ================ */
html[data-look="f-final"] {
  /* Copper, at the old link blue's exact lightness: 5.0:1 on white. */
  --accent: #B4521F;
  --link: var(--accent);
  --pdf-ink: var(--accent);
  --slides-ink: var(--accent);
  /* The word that opens in place; palettes give it a tone of its own. */
  --abstract-ink: var(--text-soft);
  /* Two rules: ink opens and closes the page; the hairline belongs to the
     publication years alone. */
  --rule: #1b1b1b;
  --filet: var(--hairline-strong);
  --serif: "Fournier Figures", "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sc: "Fournier SC", "Source Serif 4", "Source Serif Pro", Georgia, serif;
}

html[data-look="f-final"][data-theme="dark"] {
  --accent: #D97D4E;  /* 6.0:1 on the dark ground */
  --link: var(--accent);
  --pdf-ink: var(--accent);
  --slides-ink: var(--accent);
  --rule: #d7d9dd;
}


/* ================ Base ================
   16px on a 24px line; every vertical space below is a multiple of 6. */
html[data-look="f-final"] body {
  font-family: var(--serif);
  font-size: 1.6em;
  line-height: 1.5;
  font-optical-sizing: auto;
}

/* The pointing voice: true small capitals at the text's own size, so a label
   shares the x-height and stroke of the line it sits on. */
html[data-look="f-final"] .navbar-link,
html[data-look="f-final"] .contact-row,
html[data-look="f-final"] .date-label,
html[data-look="f-final"] .news-toggle-text,
html[data-look="f-final"] .pub-filter .pf-trigger,
html[data-look="f-final"] .pf-pop .toggle-option,
html[data-look="f-final"] .abstract-toggle,
html[data-look="f-final"] .pdf-badge,
html[data-look="f-final"] .slides-badge,
html[data-look="f-final"] .pub-badge,
html[data-look="f-final"] .about-goals strong,
html[data-look="f-final"] .tb .k,
html[data-look="f-final"] .essay-byline {
  font-family: var(--sc);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

html[data-look="f-final"] .banner-img,
html[data-look="f-final"] .area-image,
html[data-look="f-final"] .comic img { border-radius: 2px; }


/* ================ Header ================
   Banner, name, then the contact links at the head of the page's ink rule. */
html[data-look="f-final"] .header {
  padding-bottom: 0;
  border-bottom: 0;
}

/* Measured: 36px from banner to cap line, 24 from the name's baseline to the
   small caps. */
html[data-look="f-final"] .letterhead { padding-top: 22.75px; }

html[data-look="f-final"] .letterhead h1 {
  margin: 0 0 3.25px;
  font-size: 4.4rem;
  font-weight: 350;
  font-variation-settings: "opsz" 60;
  letter-spacing: -0.012em;
  line-height: 1.1;
  color: var(--text-strong);
  /* the E's side bearing, so its stem stands on the banner's edge */
  text-indent: -0.0375em;
}

@media (min-width: 550px) {
  html[data-look="f-final"] .letterhead h1 { font-size: 6rem; }
}

html[data-look="f-final"] .contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  line-height: 1.5;
  color: var(--accent);
  text-indent: -0.75px;
}

html[data-look="f-final"] .contact-row a { text-underline-offset: 3px; }
html[data-look="f-final"] .contact-row a:hover { color: var(--accent); }
html[data-look="f-final"] .contact-sep { margin: 0 7px; }

/* Narrow: the links fill the line, so the rule takes the next one. */
html[data-look="f-final"] .contact-row::after {
  content: '';
  flex: 0 0 100%;
  height: 1px;
  margin-top: 23px;
  background: var(--rule);
}

/* The rule runs from the last link to the banner's right edge, at the
   small capitals' mid-height. */
@media (min-width: 550px) {
  html[data-look="f-final"] .contact-row { flex-wrap: nowrap; }

  html[data-look="f-final"] .contact-row::after {
    flex: 1 1 0;
    align-self: flex-start;
    min-width: 24px;
    /* whole pixels from the line's top, so the rule is never drawn across
       two rows of pixels: 13 puts it on the capitals' middle (measured) */
    margin: 13px 0 0 14px;
  }
}


/* ================ Navbar ================
   No line under the bar while the page is at rest: it is white on white, and
   the banner starts the page. The hairline appears once the page has
   scrolled under it, which is when it has something to divide. */
@media (min-width: 750px) {
  html[data-look="f-final"] .navbar { border-bottom-color: transparent; }
  html[data-look="f-final"] .has-docked-nav .navbar { border-bottom-color: var(--hairline); }

  html[data-look="f-final"] .navbar-link {
    letter-spacing: 0.08em;
    color: var(--text);
  }
  html[data-look="f-final"] .navbar-link::after { height: 1px; }
  html[data-look="f-final"] .navbar-list { margin-right: -2px; }
}


/* ================ Sections ================
   No rule: a section is parted from the one above by white space, and named
   by a light 24px heading on the left edge. */
html[data-look="f-final"] .docs-section { padding-top: 48px; }
html[data-look="f-final"] .navbar + .docs-section { padding-top: 24px; }

html[data-look="f-final"] .docs-section > h4,
html[data-look="f-final"] .section-header-row {
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: 0;
}

html[data-look="f-final"] .docs-section > h4,
html[data-look="f-final"] .section-header-row > h4 {
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-strong);
  text-indent: -0.75px;
}

/* Every section's first line starts 12px under its heading's line. */
html[data-look="f-final"] .item-list,
html[data-look="f-final"] .teach-school { padding-top: 0; }


/* ================ Page width ================
   The page keeps its full 1000px until the window itself runs short, giving
   up margin before it gives up content, so the composition a wide screen sees
   holds down to a window of about 1100px. */
@media (min-width: 550px) {
  html[data-look="f-final"] .container { width: min(1000px, calc(100% - 112px)); }
}


/* ================ About ================
   The bio on the left, read straight down and ending in its three goals; one
   research area at a time on the right. The two halves share one grid: the
   drawing stands exactly as tall as the paragraphs, and its caption's three
   lines sit on the baselines of the three goals. The grid, not a measured
   height, makes that so, and it holds if the text changes. */
html[data-look="f-final"] .about-prose p { margin-bottom: 12px; text-wrap: pretty; }

/* A linked name is never split across two lines. */
html[data-look="f-final"] .about-prose a { white-space: nowrap; }

/* The goals are sentences in the flow of the bio, set solid one under
   another, each opening on its key word in the title voice (roman, 600,
   strong ink). One too long for its line turns over a step in. */
html[data-look="f-final"] .about-goals li {
  padding-left: 24px;
  text-indent: -24px;
  margin-bottom: 0;
  line-height: 24px;
  text-wrap: pretty;
}

html[data-look="f-final"] .about-goals li::before { content: none; }

html[data-look="f-final"] .about-goals strong {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-strong);
}

/* Every drawing sits in one frame, on its left edge, so the caption below
   never moves as the areas roll. The caption is set on the text's 24px line. */
html[data-look="f-final"] .ar-stage {
  aspect-ratio: 174 / 100;
  margin-bottom: 14px;
}

html[data-look="f-final"] .ar-stage .area-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
}

html[data-look="f-final"] .ar-arrow { top: 50%; }

html[data-look="f-final"] .area-name { line-height: 24px; }

@media (min-width: 900px) {
  html[data-look="f-final"] .duo {
    grid-template-columns: minmax(0, 604fr) minmax(0, 352fr);
    column-gap: 44px;
    --art-top: 4.75px;
    --art-bottom: 15.25px;
  }

  /* The bio and the figure lend their children to the grid. */
  html[data-look="f-final"] .duo > .about-prose,
  html[data-look="f-final"] .duo > .area-rotator { display: contents; }

  html[data-look="f-final"] .about-prose > * { grid-column: 1; }
  html[data-look="f-final"] .about-prose > .about-goals { grid-row: 99; }

  html[data-look="f-final"] .area-rotator > .ar-stage {
    grid-column: 2;
    grid-row: 1 / 99;
    align-self: stretch;
    margin-bottom: 0;
    aspect-ratio: auto;
  }

  html[data-look="f-final"] .area-rotator > .ar-captions {
    grid-column: 2;
    grid-row: 99;
    align-self: start;
  }

  /* The drawing's ink runs from the first line's capitals to the last
     paragraph's baseline (measured: the frame is inset to those two lines). */
  html[data-look="f-final"] .ar-stage .area-image {
    inset: var(--art-top) 0 var(--art-bottom) -2.3px;
    width: calc(100% + 2.3px);
    height: calc(100% - var(--art-top) - var(--art-bottom));
  }
  html[data-look="f-final"] .ar-arrow { top: calc(50% + (var(--art-top) - var(--art-bottom)) / 2); }
}

@media (max-width: 899px) {
  html[data-look="f-final"] .duo > .area-rotator { max-width: 420px; }
}

html[data-look="f-final"] .area-keywords {
  /* 1px down: the smaller italic's baseline otherwise rides a pixel high */
  position: relative;
  top: 1px;
  margin-top: 0;
  font-style: italic;
  font-size: 14px;
  line-height: 24px;
}

/* Keywords run on with commas, so a wrapped line never ends on a stray dot. */
html[data-look="f-final"] .area-keywords .area-kw-sep {
  margin: 0;
  font-size: 0;
  /* a zero-size box would otherwise hang 12px under the baseline and push the
     next line down */
  line-height: 0;
  color: inherit;
}

html[data-look="f-final"] .area-keywords .area-kw-sep::before {
  content: ', ';
  font-size: 14px;
}


/* ================ News and Teaching ================
   Flush left, no marker: a sentence or a course on the left edge, its date
   on the same baseline in the right-hand column. A term shared by
   consecutive courses prints once. */
html[data-look="f-final"] .item-list > li { margin-bottom: 12px; }
html[data-look="f-final"] .item-list > li:last-child { margin-bottom: 0; }

html[data-look="f-final"] .news-list > li,
html[data-look="f-final"] .teach-list > .teach-item { padding-left: 0; }

html[data-look="f-final"] .news-list > li::before,
html[data-look="f-final"] .teach-list > .teach-item::before { content: none; }

html[data-look="f-final"] .news-text { text-wrap: pretty; }

html[data-look="f-final"] .teach-inst { margin-bottom: 12px; }
html[data-look="f-final"] .ti-role,
html[data-look="f-final"] .teach-meta { font-size: 14px; }
html[data-look="f-final"] .course-link { font-size: 14px; }

/* A course without a description has nothing to open. */
html[data-look="f-final"] .teach-item:not(:has(.pub-abstract)) .teach-head { cursor: auto; }
html[data-look="f-final"] .teach-item:not(:has(.pub-abstract)) .teach-head::after { content: none; }

/* An open course: the description on the left edge at the abstracts'
   measure, and its number under its term in the right-hand column. */
html[data-look="f-final"] .teach-item > .pub-abstract {
  font-size: 15px;
  line-height: 24px;
}

@media (min-width: 550px) {
  html[data-look="f-final"] .teach-item > .pub-abstract > div {
    position: relative;
    padding-right: max(120px, 100% - 40em);
  }

  html[data-look="f-final"] .teach-meta {
    position: absolute;
    right: 0;
    top: -1px;  /* measured: puts its baseline on the 15px text's */
    margin: 0;
    font-family: var(--sc);
    font-size: 16px;
    letter-spacing: 0.06em;
    line-height: 24px;
    color: var(--text-soft);
  }

  html[data-look="f-final"] .teach-meta .pub-venue { font-style: normal; }
}


/* ================ The right-hand column ================
   One column from the News heading to the footer. A month or a season is set
   right in a slot as wide as the widest (MAR 36.0px, SUMMER 70.1px), 6px
   before its year, so every year starts on one x and ends on one x. Small
   capitals trail their tracking after the last letter; each margin below
   takes that back, so the last glyph's INK, not its box, stands on the
   banner's right edge (measured at 4x: a 6 on it, a 5 a quarter pixel short).
   Tabular figures are asked for, but the embedded small-cap subset has none:
   its figures differ by at most 0.25px across 2024-2026, and the request
   takes effect when the full font is self-hosted. */
html[data-look="f-final"] .date-label,
html[data-look="f-final"] .teach-meta { font-variant-numeric: tabular-nums; }

@media (min-width: 550px) {
  html[data-look="f-final"] .nw-m { flex-basis: 37px; }
  html[data-look="f-final"] .tw-s { flex-basis: 71px; }

  html[data-look="f-final"] .news-when,
  html[data-look="f-final"] .teach-when,
  html[data-look="f-final"] .titleblock > .tb:last-child .k { margin-right: -1.5px; }

  html[data-look="f-final"] .teach-meta { right: -1.5px; }
  html[data-look="f-final"] .ti-role { margin-right: 0.5px; }
}


/* ================ Publications ================
   Specimen B. A year is a figure at the head of a hairline; each paper under
   it is a bold title, its authors, and a venue line closed by its links. */
html[data-look="f-final"] .pub-list { margin-top: 0; }

html[data-look="f-final"] .pub {
  display: block;
  gap: 0;
  padding: 0 0 24px;
  border-left: 0;
}

/* a paper the filter has put away */
html[data-look="f-final"] .pub[hidden] { display: none; }

html[data-look="f-final"] .pub.ends-year { padding-bottom: 0; }
html[data-look="f-final"] .pub.starts-year { margin-top: 36px; }
html[data-look="f-final"] .pub-list .pub.starts-year:first-child { margin-top: 0; }

/* ---- The year on its rule ---- */
html[data-look="f-final"] .pub-year {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  height: 24px;
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 24px;
  color: var(--text-soft);
  /* the 2's side bearing: its ink on the titles' x */
  text-indent: -0.5px;
}

html[data-look="f-final"] .pub-year.is-repeat { display: none; }

html[data-look="f-final"] .pub-year::after {
  content: '';
  flex: 1 1 0;
  height: 1px;
  /* 14 whole pixels down: the middle of the old-style figures' x-height
     (measured), and never across two rows of pixels */
  margin: 14px 0 0 14px;
  background: var(--filet);
}

/* ---- The entry ---- */
html[data-look="f-final"] .pub-body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  /* venue, 7.6px, dot, 7.6px, first link: the venue/award spacing (measured) */
  column-gap: 18px;
}

html[data-look="f-final"] .pub-head,
html[data-look="f-final"] .pub-head-main { display: contents; }

html[data-look="f-final"] .pub-title {
  order: 1;
  flex: 0 0 100%;
  margin-right: 0;
  line-height: 24px;
  text-wrap: balance;
}

html[data-look="f-final"] .pub-authors { order: 2; flex: 0 0 100%; margin-top: 0; }

html[data-look="f-final"] .pub-meta {
  order: 3;
  flex: 0 1 auto;
  min-width: 0;
  margin-top: 0;
  font-size: 14px;
  line-height: 24px;
}

/* The abstract takes the full line (so it cannot sit beside the links) and
   keeps its measure inside. */
html[data-look="f-final"] .pub .pub-abstract {
  order: 5;
  flex: 0 0 100%;
  font-size: 15px;
  line-height: 24px;
}

html[data-look="f-final"] .pub .pub-abstract > div { max-width: 40em; }

html[data-look="f-final"] .pub.open .pub-abstract { margin-top: 6px; }

/* The venue/award dot, re-centred for this face: 7.6px of white either side
   between the italic venue and the award (it stood 8.5 / 6.75). */
html[data-look="f-final"] .pub-sep { margin: 0 6.1px 0 5.9px; }

/* ---- The links: Abstract, PDF, Slides, each in its own ink ----
   In the markup's order: what is always there before what is optional, what
   opens in place before what leaves. They close the venue line after its
   faint middle dot, and drop under it together when the line is full. */
html[data-look="f-final"] .pub-badges,
html[data-look="f-final"] .pub-badges.own-line {
  order: 4;
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  white-space: nowrap;
  /* Room for Abstract's caret (9 + 6px), given back while it is open: the
     group keeps one width, so opening can never push it onto a new line. */
  padding-right: 15px;
  transition: padding 0.25s ease;
}

html[data-look="f-final"] .pub.open .pub-badges { padding-right: 0; }

/* The venue line's own dot (.pub-sep), standing in the gap before the links,
   ink-centred between the venue and the first link (measured). It hangs to
   the left of the group, so when the links start a line of their own it
   falls outside the entry and is clipped away. */
html[data-look="f-final"] .pub-badges::before,
html[data-look="f-final"] .pub-badges.own-line::before {
  content: '\00B7';
  position: absolute;
  right: 100%;
  top: 0;
  margin: 0 6.6px 0 0;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 24px;
  color: var(--text-faint);
}

html[data-look="f-final"] .pub-body { clip-path: inset(-12px -12px -12px -3px); }

html[data-look="f-final"] .abstract-toggle,
html[data-look="f-final"] .pdf-badge,
html[data-look="f-final"] .slides-badge,
html[data-look="f-final"] .pub-badge {
  margin: -6px -4px;
  font-size: 15px;
  line-height: 24px;
  text-underline-offset: 3px;
}

html[data-look="f-final"] .pub-badges > :first-child { margin-left: -4px; }

html[data-look="f-final"] .pub-badge,
html[data-look="f-final"] .pub-badge:hover { color: var(--slides-ink); }
html[data-look="f-final"] .abstract-toggle { color: var(--abstract-ink); }

html[data-look="f-final"] .abstract-toggle::after,
html[data-look="f-final"] .abstract-toggle:hover::after { background: var(--abstract-ink); }

html[data-look="f-final"] .abstract-toggle:focus-visible {
  outline: 2px solid var(--text-strong);
  outline-offset: -2px;
  border-radius: 3px;
  text-decoration-color: currentColor;
}

@media (prefers-reduced-motion: reduce) {
  html[data-look="f-final"] .pub-badges { transition: none; }
}

/* ---- Filter panel ----
   A white panel with one block of slate in it: the block rests on the view in
   force and glides to the row under the pointer (index.html). By night the
   two tones change places. Every view is listed, even one with no paper yet. */
html[data-look="f-final"] .pub-filter {
  --p-bg: #FFFFFF;
  --p-ink: #19120F;
  --p-soft: #5C5450;
  --p-rule: #E6E3E0;
  --p-edge: #DEDCDC;
  --p-mark: #B4521F;
  --p-shadow: 0 14px 34px rgba(25, 18, 15, 0.10), 0 2px 6px rgba(25, 18, 15, 0.06);
  --p-sel: #171923;
  --p-sel-ink: #F9FAFF;
  --p-sel-mark: #D97D4E;
}

html[data-look="f-final"][data-theme="dark"] .pub-filter {
  --p-bg: #20232F;
  --p-ink: #F9FAFF;
  --p-soft: #AAACB2;
  --p-rule: rgba(255, 255, 255, 0.12);
  --p-edge: #3E4049;
  --p-mark: #D97D4E;
  --p-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  --p-sel: #F1EEE8;
  --p-sel-ink: #19120F;
  --p-sel-mark: #B4521F;
}

html[data-look="f-final"] .pf-pop {
  top: calc(100% + 8px);
  min-width: 252px;
  padding: 8px;
  border: 0;
  border-radius: 4px;
  background: var(--p-bg);
  box-shadow: var(--p-shadow), 0 0 0 1px var(--p-edge);
}

html[data-look="f-final"] .pf-glide {
  position: absolute;
  z-index: 0;
  border-radius: 2px;
  background: var(--p-sel);
  transition: top 0.22s cubic-bezier(0.22, 1, 0.36, 1), height 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              left 0.22s cubic-bezier(0.22, 1, 0.36, 1), width 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-look="f-final"] .pf-pop .toggle-option {
  z-index: 1;
  padding: 7px 16px 7px 22px;
  border-radius: 2px;
  line-height: 24px;
  white-space: nowrap;
  color: var(--p-soft);
}

html[data-look="f-final"] .pf-pop .toggle-option:hover { background: none; color: var(--p-ink); }
html[data-look="f-final"] .pf-pop .toggle-option.active { font-weight: 400; color: var(--p-ink); }
html[data-look="f-final"] .pf-pop .toggle-option.active::before { left: 10px; height: 14px; margin-top: -7px; background: var(--p-mark); }
html[data-look="f-final"] .pf-pop .toggle-option:focus-visible { outline-color: var(--p-ink); }

/* the row the block is on */
html[data-look="f-final"] .pf-pop .toggle-option.is-on,
html[data-look="f-final"] .pf-pop .toggle-option.is-on:hover { color: var(--p-sel-ink); }
html[data-look="f-final"] .pf-pop .toggle-option.is-on.active::before { background: var(--p-sel-mark); }
html[data-look="f-final"] .pf-pop .toggle-option.is-on:focus-visible { outline-color: var(--p-sel-ink); }

html[data-look="f-final"] .pf-rule { margin: 6px 16px 6px 22px; background: var(--p-rule); }

@media (hover: none) {
  html[data-look="f-final"] .pf-pop .toggle-option { padding-top: 9px; padding-bottom: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-look="f-final"] .pf-glide { transition: none; }
}

/* A view with no paper yet. */
html[data-look="f-final"] .pub-empty {
  margin: 0;
  font-style: italic;
  color: var(--text-muted);
}


/* ================ Essays ================
   On the same left edge: the title is not centred, and the text keeps its
   60rem measure from the banner's edge. */
html[data-look="f-final"] .essay-header {
  max-width: 60rem;
  margin: 0 0 36px;
  padding-top: 12px;
  text-align: left;
}

html[data-look="f-final"] .essay-title {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text-strong);
  margin-bottom: 12px;
  text-indent: -1px;
  text-wrap: balance;
}

html[data-look="f-final"] .essay-dek { font-size: 1.7rem; margin-bottom: 12px; }
html[data-look="f-final"] .essay-byline { color: var(--text-soft); text-indent: -0.75px; }

html[data-look="f-final"] .essay-body {
  max-width: 60rem;
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.65;
}

html[data-look="f-final"] .essay-body p {
  margin-bottom: 0;
  -webkit-hyphens: auto;
          hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
}

html[data-look="f-final"] .essay-body p + p { text-indent: 1.5em; }

html[data-look="f-final"] .essay-body p.commandment,
html[data-look="f-final"] .essay-body p.commandment + p {
  text-indent: 0;
}

html[data-look="f-final"] .essay-body p.commandment {
  font-size: 1.8rem;
  margin: 1.65em 0;
  text-align: left;
  text-wrap: balance;
}

html[data-look="f-final"] .essay-body h4 { font-size: 1.7rem; margin: 1.65em 0 0.4em; }
html[data-look="f-final"] .essay-body h4 + p { text-indent: 0; }
html[data-look="f-final"] .essay-footer { max-width: 60rem; margin-left: 0; }
/* The comic figure, on any page: no frame (one line fewer), an italic caption. */
html[data-look="f-final"] .comic img { border: 0; }
html[data-look="f-final"] .comic figcaption { font-size: 1.4rem; font-style: italic; }


/* ================ Footer ================ */
html[data-look="f-final"] .footer { margin-top: 72px; }

html[data-look="f-final"] .titleblock {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

html[data-look="f-final"] .tb .k {
  line-height: 24px;
  color: var(--text-muted);
  margin-bottom: 0;
  text-indent: -0.75px;
}

html[data-look="f-final"] .tb .v {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 21px;
}


/* Miscellaneous: one line. The heading on the left edge, and on the right edge
   the names of the pages it leads to, in the pointing voice (small capitals)
   and in copper, like every other way out of the page. Same grammar as the
   Publications heading and its filter word. */
html[data-look="f-final"] .misc-line { margin-bottom: 0; }

html[data-look="f-final"] .misc-links {
  margin: 0;
  font-family: var(--sc);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  line-height: 30px;
  color: var(--accent);
  white-space: nowrap;
}

html[data-look="f-final"] .misc-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
/* The last glyph's tracking and bearing would hold its ink short of the right
   edge; -1.5px is the measured value the date column uses. */
html[data-look="f-final"] .misc-link:last-child { margin-right: -1.5px; }
html[data-look="f-final"] .misc-sep { color: var(--text-faint); margin: 0 7px; }

@media (hover: hover) {
  html[data-look="f-final"] .misc-link:hover { text-decoration-color: currentColor; }
}
