/* ==========================================================================
   Horizons marketing site: shared stylesheet for all six pages.
   Iteration 2: v1's visual language (BRIEF.md section 12).
   Do not edit per page. Page-only rules go in a <style> block in that page.
   Blocks 1 to 12 are shared; block 13 is Home only.

   The language in one paragraph: a 760px book column inside 980px chrome;
   every block announced by a small tracked label; roman states and serif
   italic annotates; white, gray and black only, on a soft white page
   (the "sage" tokens are gray now); actions are text that
   ends in an arrow; specimens sit open between two pale hairlines; nothing
   bolder than 500; no rule darker than --gray-300.

   Closed type scale. Serif: 56 / 44 / 30 / 18 / 17 / 13.5 / 13 (wordmark 19).
   Sans: 16 / 15 / 14.5 / 14 / 12.5 / 11 (caps). Chrome links are 13 sans,
   as section 12 specifies. Use no other size.

   Blocks carry their own space below (as v1 does): eyebrow 28, hero title
   20, page title 20, section title 14, lede 28. A .label used as a sub-head
   carries 36px above and 10px below. A .spec, .pull, .anthem,
   .fieldnote, .lexicon and .action-row carry space above.

   CONTRACT CLASSES
     .col                  760px reading column, centred. All text.
     .col-wide             980px, same centre. Only a specimen that needs it.
     .section              84px above and below, hairline above (not on the
                           first section in <main>)
     .eyebrow > .marker    <p class="eyebrow"><span class="marker">§</span>Label</p>
     .label                small tracked sub-head inside a section
     .t-hero .t-page .t-title   serif titles: 56 / 44 / 30
     .t-lede               opening paragraph, sans 16
     .prose                body paragraphs, sans 15 (wraps <p> elements)
     .pull                 serif italic line with a sage rule at left
     .anthem               serif italic line under a hairline (the tagline)
     .fieldnote            <figure>: .label "Field note", <blockquote><p>,
       .fieldnote-by       then <figcaption class="fieldnote-by">
     .action > .arr        text link ending in an arrow
     .action-row           several actions on a line
     .text-button          quiet underlined <button> (the hours toggle)
     .spec                 open specimen between two hairlines
     .spec-head            one line: .spec-label left, .spec-sub right
     .spec-date            serif line under a head ("August 19 · Wednesday")
     .spec-caption         serif italic caption under a specimen
     .rows > li > .row     list rows: .check, then a div with .row-title
                           and .row-meta
     .elbow .concern .sep .prov .gap-note    the parts of a meta line:
     .hang                 the ↳ line, a row's last line; a wrap aligns after the arrow
                           <span class="elbow">↳</span><span class="concern">Company / Pipeline</span>
                           <span class="sep">·</span><span class="prov">from Aug 17</span>
     .statement            table of figures, 520px at most
       .num                right-aligned figure cell
       .statement-total    row: weight 500, rule above
       .statement-bottom   row: the bottom line, double rule below
     .cascade > .cascade-col > .cascade-head   adjacent horizons
     .lexicon-entry > .lexicon-term, .lexicon-def   term and definition
     .direction            "Where this is going": a .label, then a <ul>

   ALSO DEFINED (not in the contract table)
     .vh                   visually hidden, still read aloud
     .skip                 skip link
     .topbar, .topbar-inner, .wordmark, .topnav, .topmenu, .topmenu-panel,
     .topbar-signin        top bar; current page link takes aria-current="page"
     .site-footer, .footer-inner, .footer-wordmark, .footer-links,
     .footer-action        footer; the action is text with an .arr
     .text-link            underlined link inside a sentence (links inside
                           .prose, .t-lede and .spec-caption get it unasked)
     .t-meta               small quiet line, sans 12.5
     .lexicon              wrapper for a run of .lexicon-entry (rule above)
     .row-done             modifier on .row: completed (put these last)
     .is-over              the one red (#A32D2D, as in the app): only a stated
                           overdue or over-168 fact
     .indent-1 .indent-2   hierarchy by indentation only (rows, statement cells)
     .statement-quiet      row: a reference figure (Hours in a week)
     .statement-note       serif italic note inside a label cell
     .cascade-item, .cascade-obj, .cascade-note
                           one objective in a cascade column or a .slot
     .panels > .panels-tints, .panels-title-phone, .panel-title(.panel-centre),
       .band-heading, .band-title, .band-parent > .band-period,
       .slot > .slot-period, .slot-empty
                           three periods drawn as the app's Horizons page
                           (Home's three horizons; Features' Q3 months).
                           Language's three readings, which are not
                           periods, stay a ruled .cascade
     .measure, .measure-mine, .measure-flex, .measure-past, .measure-rule,
     .measure-figure, .measure-over, .measure-ticks, .measure-legend,
     .swatch, .swatch-mine, .swatch-handed, .swatch-flex
                           the week to scale, as the app's 168 bar (Home)
     .mt-s .mt-m .mt-l .mt-xl   extra space above: 16 / 32 / 48 / 64px
     .direction-title, .direction-list   label head and list inside .direction
     .pair                 label / value row: first child is the label
                           (120px, .label style), second the value (sans 14)
     .pair-value-serif     modifier on the value: serif 17
     .action-primary       modifier on .action: the one primary action
                           ("Request access →"): gray-900, with an underline and arrow
     .spec-note            roman caption (sans 12.5) for anything longer than
                           about twelve words; .spec-caption is for short ones
     .lexicon-sentence     modifier on .lexicon: terms that are sentences are
                           set roman (.lexicon-line does the same on one term)
     .cascade-title        serif name under a .cascade-head ("Year" / "2026")
   A .spec that directly holds a .statement is 520px wide as a whole, and a
   statement's <thead> is hidden (still read aloud) under a .spec-head: put
   the unit in the .spec-sub. The last .spec in a .col or .col-wide drops its
   bottom rule. .mt-* is declared last, so it works on every block.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
/* The serif is Libre Baskerville (Ryan, 11-25), kept with the site in fonts/ (OFL.txt beside it).
   Its capitals stand taller on its size than the old face's did, so it is drawn at 88% and
   every size in the scale below means what it meant. Regular is its lightest weight. */
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-display: swap; font-weight: 400 700; size-adjust: 88%;
  src: url('fonts/libre-baskerville-latin-wght-normal.woff2?v=d06b9053f9c4') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-display: swap; font-weight: 400 700; size-adjust: 88%;
  src: url('fonts/libre-baskerville-latin-ext-wght-normal.woff2?v=d06b9053f9c4') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Libre Baskerville'; font-style: italic; font-display: swap; font-weight: 400 700; size-adjust: 88%;
  src: url('fonts/libre-baskerville-latin-wght-italic.woff2?v=d06b9053f9c4') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Libre Baskerville'; font-style: italic; font-display: swap; font-weight: 400 700; size-adjust: 88%;
  src: url('fonts/libre-baskerville-latin-ext-wght-italic.woff2?v=d06b9053f9c4') format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --gray-50:  #FAFAF9;
  --gray-100: #F5F5F3;
  --gray-200: #EEEDEB;   /* hairlines */
  --gray-300: #E0DFDC;   /* the darkest rule allowed */
  --gray-400: #C4C1BB;
  --gray-500: #A39E96;
  --gray-600: #716C65;   /* the lightest readable text */
  --gray-700: #56524C;
  --gray-800: #3A3733;
  --gray-900: #1D1B18;
  /* The site carries no sage and no gold (Ryan, 11-20): the three "sage"
     tokens keep their roles (marker, primary action, concern, rules) and
     are drawn in gray. Color may come back in the app. */
  --sage:       var(--gray-700);
  --sage-light: var(--gray-600);
  --sage-dark:  var(--gray-900);
  --red: #A32D2D;    /* the one red, as in the app: hours past 168, and overdue */
  --page: #FAF9F6;   /* a soft white: the page, the top bar and the menu */

  --hairline: var(--gray-200);
  --hairline-strong: var(--gray-300);

  --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, system-ui, 'Segoe UI', sans-serif;

  --topbar-h: 56px;
  --footer-h: 52px;
  --content-max: 760px;
  --wide-max: 980px;
  --gutter: 32px;
}

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

html {
  scroll-padding-top: calc(var(--topbar-h) + 20px);
  scroll-padding-bottom: calc(var(--footer-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: var(--topbar-h) 0 var(--footer-h);
  background: var(--page);
  color: var(--gray-900);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dt, dd, figure, blockquote, table { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: 400; }
ul, ol { list-style: none; }
em, cite { font-family: var(--serif); font-style: italic; }
strong { font-weight: 500; color: var(--gray-900); }

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 2px;
}

.vh {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 300;
  padding: 10px 14px;
  background: var(--page);
  border: 1px solid var(--gray-300);
  font-size: 14px;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* 3. Top bar and small-screen menu ----------------------------------------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--page);
  border-bottom: 1px solid var(--hairline);
  z-index: 100;
}
.topbar-inner {
  max-width: var(--wide-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 32px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.005em;
  color: var(--gray-900);
}
.topnav {
  display: flex;
  justify-content: center;
  column-gap: 22px;
  font-size: 13px;
  color: var(--gray-600);
  white-space: nowrap;
}
.topnav a,
.topbar-signin {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.15s;
}
.topnav a:hover { color: var(--sage); }
.topnav a[aria-current="page"] {
  color: var(--sage-dark);
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}
.topbar-signin {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-900);
  white-space: nowrap;
}
.topbar-signin:hover { color: var(--sage-dark); }

.topmenu { display: none; }
.topmenu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  font-size: 13px;
  color: var(--gray-600);
  cursor: pointer;
  list-style: none;
}
.topmenu summary::-webkit-details-marker { display: none; }
.topmenu-panel {
  position: absolute;
  top: var(--topbar-h);
  left: 0; right: 0;
  background: var(--page);
  border-bottom: 1px solid var(--hairline-strong);
  padding: 4px 22px 12px;
}
.topmenu-panel a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--hairline);
  font-size: 15px;
  color: var(--gray-800);
}
.topmenu-panel li:last-child a { border-bottom: 0; }
.topmenu-panel a[aria-current="page"] { color: var(--sage-dark); }

/* 4. Footer (the only dark surface) ---------------------------------------- */
.site-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--footer-h);
  background: var(--gray-900);
  color: #FFFFFF;
  z-index: 100;
}
.site-footer :focus-visible { outline-color: #FFFFFF; }
.footer-inner {
  max-width: var(--wide-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
  font-size: 13px;
}
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 17px;
  color: #FFFFFF;
}
.footer-links {
  display: flex;
  justify-content: center;
  column-gap: 22px;
  color: #B8B5AF;
  white-space: nowrap;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.15s;
}
.footer-links a:hover { color: #FFFFFF; }
.footer-links a[aria-current="page"] {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--sage-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}
.footer-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
  color: #FFFFFF;
  white-space: nowrap;
  grid-column: 3;
  justify-self: end;
}

/* 5. Columns and sections -------------------------------------------------- */
.col,
.col-wide {
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.col { max-width: var(--content-max); }
.col-wide { max-width: var(--wide-max); }

.section {
  padding: 84px 0;
  border-top: 1px solid var(--hairline);
}
.section:first-child { border-top: 0; }


/* 6. Labels ---------------------------------------------------------------- */
.eyebrow,
.label,
.spec-label,
.cascade-head,
.statement thead th {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.eyebrow { letter-spacing: 0.18em; margin-bottom: 28px; }
.marker { color: var(--sage); margin-right: 12px; }
.label { margin: 36px 0 10px; }
.label:first-child,
.spec .label,
.spec-head .label,
.fieldnote .label,
.pair .label,
.direction .label { margin-top: 0; }

/* 7. Type ------------------------------------------------------------------ */
.t-hero,
.t-page,
.t-title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--gray-900);
  text-wrap: balance;
}
.t-hero { font-size: 56px; line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 20px; }
.t-page { font-size: 44px; line-height: 1.1; letter-spacing: -0.018em; margin-bottom: 20px; }
.t-title { font-size: 30px; line-height: 1.18; letter-spacing: -0.014em; margin-bottom: 14px; }

.t-lede {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--gray-700);
}
.t-lede:last-child { margin-bottom: 0; }
.prose {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
}
.prose p + p { margin-top: 18px; }
.t-meta {
  max-width: 640px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gray-600);
}

.pull {
  max-width: 600px;
  margin-top: 32px;
  padding-left: 20px;
  border-left: 2px solid var(--sage);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--gray-800);
}
.anthem {
  max-width: 520px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--gray-700);
}

.fieldnote {
  max-width: 640px;
  margin: 28px 0 36px;
  padding: 4px 0 4px 28px;
  border-left: 2px solid var(--sage);
}
.fieldnote .label { color: var(--sage); margin-bottom: 16px; }
.fieldnote blockquote p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--gray-800);
}
.fieldnote blockquote p + p { margin-top: 18px; }
.fieldnote:last-child { margin-bottom: 0; }
.fieldnote-by {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  color: var(--sage);
}

/* 8. Actions --------------------------------------------------------------- */
.action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-900);
  transition: color 0.15s;
}
.arr { margin-left: 6px; color: var(--gray-600); transition: color 0.15s; }
.action:hover { color: var(--sage-dark); }
.action:hover .arr,
.topbar-signin:hover .arr { color: var(--sage); }
.footer-action .arr { color: #FFFFFF; }
.action-primary {
  display: inline-block;
  min-height: 0;
  padding: 12px 0;
  line-height: 20px;
  color: var(--gray-900);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}
.action-primary .arr { display: inline-block; margin-left: 6px; color: var(--sage); text-decoration: none; }
.action-row .action:not(.action-primary) { font-weight: 400; color: var(--gray-700); }
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 28px;
  margin-top: 28px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-900);
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  cursor: pointer;
  transition: color 0.15s;
}
.text-button:hover { color: var(--sage-dark); }

.text-link,
.prose a,
.t-lede a,
.spec-caption a {
  color: var(--gray-900);
  text-decoration: underline;
  text-decoration-color: var(--gray-400);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
.text-link:hover,
.prose a:hover,
.t-lede a:hover,
.spec-caption a:hover { color: var(--sage-dark); text-decoration-color: var(--sage); }

/* 9. Specimen frame and list rows ------------------------------------------ */
.spec {
  margin-top: 32px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.spec + .spec { margin-top: 0; border-top: 0; }
/* A specimen that holds a statement is 520px as a whole: one right edge. */
.spec:has(> .statement) { max-width: 520px; }
/* The last specimen in a column does not stack its rule on the section's. */
.col > .spec:last-child,
.col-wide > .spec:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 20px;
  margin-bottom: 22px;
}
.spec-sub,
.spec-caption,
.statement-note {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gray-600);
  letter-spacing: 0;
}
.spec-sub { font-size: 13.5px; text-align: right; }
.spec-caption { max-width: 600px; margin-top: 18px; font-size: 13px; line-height: 1.55; }
.spec-note {
  max-width: 600px;
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--gray-600);
}
.spec-date {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--serif);
  font-size: 17px;
  color: var(--gray-900);
}

.rows > li { padding: 9px 0; }
.row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}
/* The app's checkbox (11-21): 16px, a 1px gray-600 border (5 to 1), radius 4,
   drawn in the 18px column it has always had. Centred on a row title's first
   line (21px). */
.check {
  width: 16px; height: 16px;
  margin: 2.5px 1px 0;
  border: 1px solid var(--gray-600);
  border-radius: 4px;
  position: relative;
}
.row-done .check { background: var(--sage); border-color: var(--sage); }
.row-done .check::after {
  content: '';
  position: absolute;
  left: 4.25px; top: 1.5px;
  width: 4px; height: 8px;
  border-right: 1.5px solid #FFFFFF;
  border-bottom: 1.5px solid #FFFFFF;
  transform: rotate(45deg);
}
.row-title {
  display: block;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--gray-900);
}
.row-done .row-title {
  color: var(--gray-600);
  text-decoration: line-through;
  text-decoration-color: var(--gray-400);
}
.row-meta {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gray-600);
  font-variant-numeric: tabular-nums;
}
.elbow { color: var(--gray-400); margin-right: 8px; }
/* What a row rolls up into hangs from its arrow: the ↳ sits in the margin,
   and a wrap starts where the text after the arrow starts. The ↳ line is a
   row's last line (Ryan, 11-20): its facts, counts and notes sit above it.
   Put .hang on the ↳ line; the arrow must start the line. */
.hang { margin-left: 18px; }
.hang .elbow { display: inline-block; width: 18px; margin-left: -18px; margin-right: 0; }
.statement .hang { display: block; }
.concern { color: var(--sage); font-weight: 400; }
.sep { margin: 0 8px; color: var(--gray-400); }
.prov,
.gap-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--sage);
}
.is-over { color: var(--red); }
.indent-1 { padding-left: 20px; }
.indent-2 { padding-left: 40px; }

/* 10. Statement, measure --------------------------------------------------- */
.statement {
  width: 100%;
  max-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.statement th,
.statement td {
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  font-weight: 400;
  vertical-align: baseline;
  color: var(--gray-900);
}
.statement thead th { padding: 0 0 12px; border-bottom-color: var(--hairline-strong); }
/* One label per specimen: under a specimen head the column heads are read
   aloud but not shown. */
.spec-head + .statement thead {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.spec-head + .statement tbody tr:first-child th,
.spec-head + .statement tbody tr:first-child td { border-top: 1px solid var(--hairline-strong); }
.statement .num { text-align: right; white-space: nowrap; padding-left: 16px; }
.statement .indent-1 { padding-left: 20px; }
.statement .indent-2 { padding-left: 40px; }
.statement-note { display: block; font-size: 13px; }
.statement .statement-total th,
.statement .statement-total td {
  border-top: 1px solid var(--hairline-strong);
  font-weight: 500;
}
.statement .statement-quiet th,
.statement .statement-quiet td { color: var(--gray-700); }
.statement .statement-bottom th,
.statement .statement-bottom td {
  border-bottom: 4px double var(--gray-300);
  font-weight: 500;
}
.statement .is-over th { color: var(--gray-900); }
.statement .is-over .num { color: var(--red); }

/* The week drawn to scale, as the app's Time Budget draws it (DESIGN.md,
   "The week, to scale"): hours committed by you in #56524C, hours returned
   by hand-off as a dashed outline, the other flex in #E0DFDC, a 1px
   gray-900 rule at 168 named above it, and the hours past 168 outlined
   in red. It is a quantity, not a rule, so it is darker than gray-300.
   Home's week is a team's, 340 hours across: the segments grow by their
   hours, and the 270 the team has sits at 270 / 340 = 79.4118%. Buffer's 20
   are flex, as in the app.
   Nothing is handed off that week, so the bar has no dashed segment; the
   legend still names it, as the app's does. The app's bar is 30px; across
   the site's 980px it is the heaviest mark on the page and the red outline
   is lost on its dark part, so the site draws it 12px.
   The top margin clears the "270" above the rule (24px) from the head. */
.measure { position: relative; display: flex; height: 12px; margin-top: 44px; }
/* Home's example is a team's week: 395 budgeted across (375 committed, Buffer's
   20 flex) against the 270 the team has, at 270 / 395. */
.measure-mine { flex: 375 0 0; background: var(--gray-700); }
.measure-flex { flex: 20 0 0; background: var(--gray-300); }
.measure-past,
.measure-rule { position: absolute; left: 68.3544%; }
.measure-past { top: 0; bottom: 0; right: 0; outline: 1px solid var(--red); outline-offset: -1px; }
.measure-rule { top: -6px; bottom: -6px; width: 1px; background: var(--gray-900); }
.measure-figure {
  position: absolute;
  bottom: 100%;
  left: 0;
  transform: translateX(-50%);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  color: var(--gray-900);
}
/* The hours over, in red beside the rule, as in the app. On a phone that
   would run past the column, so they end the row of ticks instead. */
.measure-over {
  position: absolute;
  bottom: calc(100% + 6px);
  left: calc(68.3544% + 20px);
  font-size: 12.5px;
  line-height: 1.5;
  white-space: nowrap;
}
/* Ticks every 60 hours: each takes 60 / 395 of the width. The last starts at
   360 and takes what is left. */
.measure-ticks {
  display: flex;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gray-600);
  font-variant-numeric: tabular-nums;
}
.measure-ticks > span { flex: 0 0 15.1899%; }
.measure-ticks > span:last-child { flex: 0 1 auto; }
.measure-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 20px;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gray-600);
  font-variant-numeric: tabular-nums;
}
.measure-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.swatch { flex: none; width: 10px; height: 10px; }
.swatch-mine { background: var(--gray-700); }
.swatch-handed { background: #FFFFFF; outline: 1px dashed var(--gray-600); outline-offset: -1px; }
.swatch-flex { background: var(--gray-300); }

/* 11. Cascade, lexicon, direction ------------------------------------------ */
.cascade {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cascade-col { padding: 0 20px; border-left: 1px solid var(--hairline); }
.cascade-col:first-child { padding-left: 0; border-left: 0; }
.cascade-col:last-child { padding-right: 0; }
.cascade-head { margin-bottom: 4px; }
.cascade-title { margin-bottom: 10px; font-family: var(--serif); font-size: 17px; line-height: 1.4; color: var(--gray-900); }
.cascade-item { padding: 7px 0; }
.cascade-obj { display: block; font-size: 14.5px; line-height: 1.45; color: var(--gray-900); }
.cascade-note {
  display: block;
  margin-top: 1px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gray-600);
  font-variant-numeric: tabular-nums;
}
/* Three horizons as the app's Horizons page draws them (Home). Panels told
   apart by tint behind one grid, with no rules between them: the app's
   gray-100, white and gray-50, except that gray-50 is lost on the site's
   soft white page, so both sides are gray-100. Titles are centred in the
   serif, the centre one in primary gray. Each concern is drawn once: a
   top-level concern is a heading, a sub-concern a label, and under the label
   one band of three slots, one per panel, so a row reads across. An empty
   slot is a dash. On a phone the periods stack under each label, named at
   the left. */
.panels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 20px 0 22px;
}
.panels-tints {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.panels-tints span { background: var(--gray-100); }
.panels-tints span:nth-child(2) { background: #FFFFFF; }
.panels > :not(.panels-tints) { position: relative; min-width: 0; padding: 0 24px; }
.panels .panels-title-phone { display: none; }
.panels .panel-title { text-align: center; padding-bottom: 4px; }
.panels .panel-title .cascade-title { margin-bottom: 0; color: var(--gray-600); }
.panels .panel-centre .cascade-title { color: var(--gray-900); }
.panels .band-heading {
  grid-column: 1 / -1;
  padding-top: 22px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  color: var(--gray-900);
}
.panels .band-title {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--gray-600);
}
/* Where the panels are one scale's periods (Features: Q3's months), the
   objective they roll up into opens the band, across the panels. */
.panels .band-parent {
  grid-column: 1 / -1;
  display: grid;
  /* The line keeps to the first panel's width: 34px for "Q3", then one
     panel less its two paddings. */
  grid-template-columns: 34px minmax(0, calc((100% + 48px) / 3 - 82px));
  align-items: baseline;
}
.band-period { font-size: 12.5px; line-height: 1.5; color: var(--gray-600); }
.slot-period {   /* read aloud; shown only when the periods stack */
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.slot-empty { padding: 7px 0; font-size: 14.5px; line-height: 1.45; color: var(--gray-600); }

.lexicon { margin-top: 24px; border-top: 1px solid var(--hairline); }
.lexicon-entry {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.lexicon-term {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  color: var(--sage-dark);
}
.lexicon-line,
.lexicon-sentence .lexicon-term { font-style: normal; color: var(--gray-900); }
.lexicon-def {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-700);
}
.lexicon-def p + p { margin-top: 8px; }

/* The ruled list under "All of it belongs in one tool" on Home. */
.direction { margin-top: 36px; max-width: none; }
.direction li {
  padding: 11px 0;
  border-top: 1px solid var(--hairline);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--gray-800);
}
.direction li:last-child { border-bottom: 1px solid var(--hairline); }

.direction-title {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.direction p { font-size: 15px; color: var(--gray-800); }
.direction-list { margin-top: 12px; }

/* Label and value rows. */
.pair {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  column-gap: 16px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-800);
}
.pair:first-child { border-top: 1px solid var(--hairline); }
.pair > :first-child {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin: 0;
}
.pair-value-serif {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  color: var(--gray-900);
}

/* 12. Small screens and reduced motion ------------------------------------- */
@media (max-width: 860px) {
  .topnav { display: none; }
  .topmenu { display: block; justify-self: end; }
  .footer-links { display: none; }
}

@media (max-width: 760px) {
  :root { --gutter: 22px; }

  .section { padding: 56px 0; }
  /* 33px, not 38: in the wider serif the anthem's two sentences keep a line each down to a 375px phone, as they did. */
  .t-hero { font-size: 33px; line-height: 1.08; }
  .t-page { font-size: 32px; }
  .t-title { font-size: 24px; }
  .fieldnote { padding-left: 18px; }
  .spec-sub { text-align: left; }

  .lexicon-entry { grid-template-columns: 1fr; row-gap: 6px; padding: 18px 0; }

  .cascade { display: block; }
  .cascade-col { padding: 18px 0 4px; border-left: 0; border-top: 1px solid var(--hairline); }
  .cascade-col:first-child { padding-top: 0; border-top: 0; }
  .panels { display: block; padding: 0; }
  .panels-tints { display: none; }
  .panels > :not(.panels-tints) { padding: 0; }
  .panels .band-heading { padding-top: 22px; }
  .panels .band-title { padding-top: 10px; }
  .panels .panel-title { display: none; }
  .panels .panels-title-phone { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.4; color: var(--gray-900); }
  .panels .band-heading:first-of-type { padding-top: 16px; }
  .panels .band-parent { grid-template-columns: 76px minmax(0, 1fr); }
  .panels .slot {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: baseline;
  }
  .panels .slot-period {
    position: static;
    width: auto; height: auto;
    overflow: visible;
    clip-path: none;
    font-size: 12.5px;
    color: var(--gray-600);
  }

  .measure-over { bottom: auto; left: auto; top: calc(100% + 8px); right: 0; }
  /* The hours over end the row of ticks, so the last tick gives them its place. */
  .measure-ticks > span:last-child { display: none; }
  .measure-legend { flex-direction: column; }

  .pair { grid-template-columns: 1fr; row-gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   13. HOME ONLY
   ========================================================================== */

/* Hero statement: the control sits beneath the table, inside the specimen. */
.hero-ask { margin-top: 22px; }
.hero-ask-line { font-size: 15px; color: var(--gray-800); }
.hero-ask-control { display: none; }
.js .hero-ask-control { display: block; }
.hero-status {
  min-height: 3em;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-700);
}
.when-on { display: none; }
.is-added .when-on { display: inline; }
.is-added .when-off { display: none; }
/* With the program added the week is 415 across: 395 committed by the team,
   Buffer's 20 flex, and 270 at 270 / 415 = 65.0602%; a tick is 60 / 415. */
.is-added .measure-mine { flex-grow: 395; }
.is-added .measure-past,
.is-added .measure-rule { left: 65.0602%; }
.is-added .measure-over { left: calc(65.0602% + 16px); }
.is-added .measure-ticks > span { flex-basis: 14.4578%; }

/* The same Wednesday, set twice. Each item is one row with two readings:
   side by side on wide screens, one under the other on small ones. */
.twin {
  margin-top: 32px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.twin .prov,
.twin .is-over,
.twin .seg,
.twin .concern { white-space: nowrap; }
.twin-head,
.twin-item,
.twin-foot,
.twin-reading {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.twin-cell { padding: 9px 24px 9px 0; }
.twin-cell + .twin-cell {
  padding: 9px 0 9px 24px;
  border-left: 1px solid var(--hairline);
}
.twin-head .twin-cell { padding-top: 0; padding-bottom: 14px; }
.twin-head .label { margin: 0 0 4px; }
.twin-words { font-size: 12.5px; line-height: 1.5; color: var(--gray-600); }
.twin-words-label {
  margin-right: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
}
.twin-foot .twin-cell {
  padding-top: 16px;
  padding-bottom: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--gray-700);
  font-variant-numeric: tabular-nums;
}
/* Which reading this is: read aloud always, shown only when stacked. */
.twin-label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.twin-reading .spec-note { padding-right: 24px; }
.twin-reading .spec-note + .spec-note { padding: 0 0 0 24px; }

@media (max-width: 760px) {
  .is-added .measure-over { left: auto; }   /* ends the ticks, as without the program */
  .twin-head,
  .twin-item,
  .twin-foot,
  .twin-reading { display: block; }
  .twin-cell,
  .twin-cell + .twin-cell { padding: 0; border-left: 0; }
  .twin-head .twin-cell { padding: 0 0 12px; }
  .twin-item { padding: 10px 0; }
  .twin-foot { padding-top: 14px; border-top: 1px solid var(--hairline); }
  .twin-foot .twin-cell { padding: 0; }
  .twin-foot .twin-cell + .twin-cell { padding-top: 8px; }

  /* The second reading drops its repeated checkbox and title. */
  .twin-cell + .twin-cell .check { visibility: hidden; height: 0; margin: 0; border: 0; }
  .twin-cell + .twin-cell .row-title { display: none; }
  .twin-label {
    display: block;
    margin-right: 0;
    position: static;
    width: auto; height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    font-family: var(--serif);
    font-style: italic;
    font-size: 13px;
    color: var(--gray-600);
  }
  .twin-item .row-meta { margin-top: 5px; }
  .twin-reading .spec-note,
  .twin-reading .spec-note + .spec-note { padding: 0; }
  .twin-reading .spec-note + .spec-note { margin-top: 10px; }
  .twin .prov,
  .twin .is-over,
  .twin .seg,
  .twin .concern { white-space: normal; }

}

/* ==========================================================================
   14. SPACING UTILITIES (last, so they win over a block's own margin)
   ========================================================================== */
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 48px; }
.mt-xl { margin-top: 64px; }
/* A title is followed closely; a lede or prose takes no modifier there. */
.t-hero + .t-lede,
.t-page + .t-lede,
.t-title + .t-lede,
.t-title + .prose { margin-top: 0; }
