/*
 * Hajar Labs site tokens (direction B, "the Reading room everywhere", adopted by Keith 2026-11-20).
 * One source for type, colour, space and the shared parts. Every public page loads this first:
 * publication pages via /publication/site-tokens.css, the Reading, Racing and My Story apps by import.
 * The locked essay page keeps its own --e-* copy in worker/publication-essay-styles.js (byte-identical
 * to the store's essay.css); the values here are the same and must stay so. See docs/brand/BRAND.md.
 */
@font-face{font-family:"Instrument Sans";font-style:normal;font-weight:400 700;font-stretch:75% 100%;font-display:swap;
  src:url("/assets/fonts/instrument-sans-latin-standard-normal.woff2") format("woff2");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:"Instrument Sans";font-style:normal;font-weight:400 700;font-stretch:75% 100%;font-display:swap;
  src:url("/assets/fonts/instrument-sans-latin-ext-standard-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Instrument Sans";font-style:italic;font-weight:400 700;font-stretch:75% 100%;font-display:swap;
  src:url("/assets/fonts/instrument-sans-latin-standard-italic.woff2") format("woff2");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:"Source Serif 4";font-style:normal;font-weight:200 900;font-display:swap;
  src:url("/assets/fonts/source-serif-4-latin-normal.woff2") format("woff2");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:"Source Serif 4";font-style:normal;font-weight:200 900;font-display:swap;
  src:url("/assets/fonts/source-serif-4-latin-ext-normal.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Serif 4";font-style:italic;font-weight:200 900;font-display:swap;
  src:url("/assets/fonts/source-serif-4-latin-italic.woff2") format("woff2");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}

:root{
  /* Type: two faces only. */
  --hl-ui:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --hl-read:"Source Serif 4",Georgia,"Times New Roman",serif;
  /* Six steps. Display and section use weight 650, tracking -0.025em / -0.015em. */
  --hl-display:clamp(38px,6vw,62px);
  --hl-section:clamp(26px,3.2vw,34px);
  --hl-card:clamp(17px,1.5vw,22px);
  --hl-dek:clamp(20px,2.4vw,24px);
  --hl-body:clamp(18.5px,1.6vw,20.5px);
  --hl-meta:14px;
  --hl-small:13px;           /* floor: nothing smaller */

  /* Colour, light. */
  --hl-paper:#faf8f2;        /* page ground */
  --hl-card-bg:#fff;         /* cards, panels */
  --hl-tint:#f0ebe1;         /* quiet bands */
  --hl-line:#e3dfd6;         /* hairlines */
  --hl-ink:#16181b;          /* titles */
  --hl-text:#24272b;         /* running text */
  --hl-muted:#62676d;        /* meta */
  --hl-accent:#d9480f;       /* the one orange */
  --hl-on-ink:#fff;

  /* Space: 4 px base. */
  --hl-1:4px;--hl-2:8px;--hl-3:12px;--hl-4:16px;--hl-6:24px;--hl-8:32px;--hl-12:48px;--hl-16:64px;--hl-24:96px;
  --hl-rhythm:clamp(48px,7vw,96px);   /* between page sections */
  --hl-gutter:max(5vw,20px);
  /* Widths. */
  --hl-w-text:760px;  /* essays, About, notes */
  --hl-w-head:880px;  /* page titles and intros */
  --hl-w-wide:1180px; /* grids, heroes, Home, Topics */
  /* Radii. No shadows: hairlines only. */
  --hl-r-hero:6px;--hl-r-img:10px;--hl-r-card:16px;--hl-r-pill:999px;
  --hl-touch:44px;
  --hl-fast:150ms;
}
html[data-theme=dark]{
  --hl-paper:#151618;--hl-card-bg:#232427;--hl-tint:#1d1e21;--hl-line:#34363a;
  --hl-ink:#f1efe9;--hl-text:#dcd9d2;--hl-muted:#a3a7ab;--hl-accent:#ff8a4c;--hl-on-ink:#151618;
}

/* ---- Shared parts (prefix hl-). Pages compose these and add as little as possible. ---- */
.hl *,.hl *::before,.hl *::after{box-sizing:border-box;min-width:0}
.hl{color:var(--hl-ink);font-family:var(--hl-ui);-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums}
.hl :where(a){color:inherit}
.hl-wrap{max-width:calc(var(--hl-w-wide) + 2*var(--hl-gutter));margin:0 auto;padding:0 var(--hl-gutter)}
.hl-wrap--head{max-width:calc(var(--hl-w-head) + 2*var(--hl-gutter))}
.hl-wrap--text{max-width:calc(var(--hl-w-text) + 2*var(--hl-gutter))}

/* Kicker: sentence case, accent, never tracked capitals. */
.hl-kicker{display:inline-block;font:600 var(--hl-meta)/1.2 var(--hl-ui);color:var(--hl-accent);text-decoration:none;margin:0}
/* Page head: kicker, title, dek. */
.hl-pagehead{padding:clamp(36px,6vw,72px) 0 clamp(24px,3vw,36px)}
.hl-title{font:650 var(--hl-display)/1.04 var(--hl-ui);letter-spacing:-.025em;margin:14px 0 18px;text-wrap:balance;color:var(--hl-ink)}
.hl-dek{font:400 var(--hl-dek)/1.45 var(--hl-read);color:var(--hl-muted);margin:0;max-width:40em;text-wrap:pretty}
/* Section head: heading with a "See all" text link. */
.hl-sectionhead{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 20px}
.hl-sectionhead h2{font:650 var(--hl-section)/1.1 var(--hl-ui);letter-spacing:-.015em;margin:0;color:var(--hl-ink)}
.hl-sectionhead p{font:400 18px/1.45 var(--hl-read);color:var(--hl-muted);margin:6px 0 0;max-width:36em}
/* Accent-underlined text link. */
.hl-link{font:600 15px/1.3 var(--hl-ui);color:var(--hl-ink);text-decoration:underline;text-decoration-color:var(--hl-accent);text-decoration-thickness:1.5px;text-underline-offset:4px;white-space:nowrap;transition:color var(--hl-fast)}
.hl-link:hover{color:var(--hl-accent)}
/* Essay card: lead, grid and row sizes. Images always 3:2. */
.hl-card{display:grid;gap:10px;align-content:start;text-decoration:none;color:inherit;font:15px/1.45 var(--hl-ui)}
.hl-card img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:var(--hl-r-img);background:var(--hl-tint)}
.hl-card b{display:block;font:600 var(--hl-card)/1.25 var(--hl-ui);letter-spacing:-.005em;color:var(--hl-ink);text-wrap:balance;transition:color var(--hl-fast)}
.hl-card p{margin:0;color:var(--hl-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hl-card time,.hl-meta{font:500 var(--hl-small)/1.3 var(--hl-ui);color:var(--hl-muted)}
.hl-card:hover b{color:var(--hl-accent)}
.hl-card--lead b{font-size:clamp(24px,2.6vw,32px);line-height:1.15;letter-spacing:-.015em}
.hl-card--lead p{font:400 19px/1.45 var(--hl-read);-webkit-line-clamp:3}
.hl-card--row{grid-template-columns:104px minmax(0,1fr);align-items:start;gap:14px}
.hl-card--row img{width:104px;height:104px;aspect-ratio:auto}
.hl-card--row b{font-size:17px}
/* Ledger row: date, title, topic. For Archive and long lists. */
.hl-ledger{list-style:none;margin:0;padding:0;border-top:1px solid var(--hl-line)}
.hl-ledger li{border-bottom:1px solid var(--hl-line)}
.hl-ledger a{display:grid;grid-template-columns:96px minmax(0,1fr) 200px;gap:20px;align-items:baseline;padding:16px 0;text-decoration:none;color:inherit;min-height:var(--hl-touch)}
.hl-ledger time{font:500 14px/1.4 var(--hl-ui);color:var(--hl-muted)}
.hl-ledger b{font:600 18px/1.35 var(--hl-ui);color:var(--hl-ink);transition:color var(--hl-fast)}
.hl-ledger span{font:500 14px/1.4 var(--hl-ui);color:var(--hl-muted);text-align:right}
.hl-ledger a:hover b{color:var(--hl-accent)}
@media (max-width:760px){.hl-ledger a{grid-template-columns:1fr;gap:4px;padding:14px 0}.hl-ledger span{text-align:left}}
/* Tag pill. */
.hl-pill{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border:1px solid var(--hl-line);border-radius:var(--hl-r-pill);font:500 14px/1 var(--hl-ui);color:var(--hl-ink);background:var(--hl-card-bg);text-decoration:none;white-space:nowrap;transition:border-color var(--hl-fast)}
.hl-pill:hover{border-color:var(--hl-ink)}
.hl-pill[aria-current],.hl-pill[aria-pressed=true]{background:var(--hl-ink);color:var(--hl-on-ink);border-color:var(--hl-ink)}
button.hl-pill{cursor:pointer;appearance:none}
/* Dark button. */
.hl-button{display:inline-flex;align-items:center;justify-content:center;min-height:var(--hl-touch);padding:0 18px;border:0;border-radius:10px;background:var(--hl-ink);color:var(--hl-on-ink);font:600 15px/1 var(--hl-ui);text-decoration:none;cursor:pointer}
/* Panel: hairline card. */
.hl-panel{border:1px solid var(--hl-line);border-radius:var(--hl-r-card);background:var(--hl-card-bg);padding:24px}
.hl-rule{border:0;border-top:1px solid var(--hl-line);margin:0}

/* ---- Listing pages: Essays, Topics, one topic (option A "Shelves", Keith 2026-11-20). ---- */
.hl-main{display:block;background:var(--hl-paper);padding-bottom:var(--hl-rhythm)}
.hl-pagehead{max-width:var(--hl-w-head)}
.hl-inline{color:inherit;text-decoration:underline;text-decoration-color:var(--hl-accent);text-decoration-thickness:1.5px;text-underline-offset:3px}
.hl-count{font:500 var(--hl-meta)/1.2 var(--hl-ui);color:var(--hl-muted);margin:16px 0 0}
.hl-ph{display:block;width:100%;aspect-ratio:3/2;border-radius:var(--hl-r-img);background:var(--hl-tint) url(/assets/switchback/hajar-labs-icon-dark.png) center/48px no-repeat}
.hl-card__text{display:grid;gap:6px}
.hl-card__meta{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.hl-card--row .hl-ph{width:104px;height:104px;aspect-ratio:auto}
/* Topic pills: wrap on desktop, one scrolling row on phones. */
.hl-pills{display:flex;gap:8px;flex-wrap:wrap;margin:0}
.hl-pills .hl-pill{flex:none}
.hl-pill__count{margin-left:6px;color:var(--hl-muted)}
.hl-pill[aria-current] .hl-pill__count,.hl-pill[aria-pressed=true] .hl-pill__count{color:inherit;opacity:.7}
@media (max-width:760px){.hl-pills{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(-1*var(--hl-gutter));padding:0 var(--hl-gutter) 4px;scrollbar-width:none}.hl-pills::-webkit-scrollbar{display:none}}
/* Shelf: a section head, one lead card and three rows beside it. */
.hl-shelf{padding-top:var(--hl-rhythm);scroll-margin-top:80px}
.hl-shelf+.hl-shelf{border-top:1px solid var(--hl-line);margin-top:var(--hl-rhythm);padding-top:clamp(36px,5vw,56px)}
.hl-shelf__grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(20px,3vw,40px)}
.hl-shelf__list{display:grid;gap:22px;align-content:start}
.hl-shelf__list .hl-card--row b{font-size:18px}
.hl-shelf__list .hl-card--row p{font-size:14.5px}
/* Ledger grouped by month. */
.hl-month{margin-top:clamp(36px,5vw,56px)}
.hl-month h2{font:650 22px/1.2 var(--hl-ui);letter-spacing:-.01em;margin:0 0 12px;color:var(--hl-ink)}
/* One topic: lead beside its text, then a three-column grid. */
.hl-leadrow{margin-top:40px}
.hl-leadrow .hl-card{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(20px,3vw,40px);align-items:center}
.hl-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 24px;margin-top:40px}
@media (max-width:860px){
  .hl-shelf__grid,.hl-leadrow .hl-card{grid-template-columns:1fr}
  .hl-grid3{grid-template-columns:1fr;gap:22px}
  .hl-grid3 .hl-card{grid-template-columns:104px minmax(0,1fr);align-items:start;gap:14px}
  .hl-grid3 .hl-card img,.hl-grid3 .hl-ph{width:104px;height:104px;aspect-ratio:auto}
  .hl-grid3 .hl-card b{font-size:17px}
}
@media (prefers-reduced-motion:reduce){.hl *{transition:none!important;scroll-behavior:auto!important}}

/* ---- Home, direction B final (Keith, 2026-11-20) ---- */
.hl-home{padding-bottom:0}
.hl-hero{position:relative;overflow:hidden;border-bottom:1px solid var(--hl-line)}
.hl-hero__text{position:relative;z-index:1;max-width:620px;padding:clamp(48px,7vw,96px) 0 clamp(36px,5vw,64px)}
.hl-hero__links{display:flex;flex-wrap:wrap;gap:16px 24px;align-items:center;margin:28px 0 0}
.hl-hero__art{position:absolute;right:-4%;bottom:-6%;width:66%;pointer-events:none}
.hl-drawing{display:block;width:100%;height:auto}
html[data-theme=dark] .hl-drawing--light,html:not([data-theme=dark]) .hl-drawing--dark{display:none}
.hl-home__first{padding:clamp(28px,4vw,56px) 0 0}
.hl-home__sec{padding-top:var(--hl-rhythm)}
.hl-lead{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:clamp(24px,3.5vw,48px);align-items:center}
.hl-lead__img img,.hl-lead__img .hl-ph{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:var(--hl-r-hero);background:var(--hl-tint)}
.hl-lead__title{font:650 clamp(30px,3.6vw,46px)/1.08 var(--hl-ui);letter-spacing:-.022em;margin:12px 0 14px;text-wrap:balance}
.hl-lead__title a{text-decoration:none;color:var(--hl-ink);transition:color var(--hl-fast)}.hl-lead__title a:hover{color:var(--hl-accent)}
.hl-lead .hl-dek{font-size:clamp(18px,1.7vw,21px)}
.hl-lead__meta{font:500 14px/1.3 var(--hl-ui);color:var(--hl-muted);margin:16px 0 18px}
.hl-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}
.hl-grid4 .hl-card b{font-size:18px}
.hl-topictiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--hl-line)}
.hl-topictile{display:grid;gap:8px;align-content:start;padding:20px 24px 22px 0;border-bottom:1px solid var(--hl-line);text-decoration:none;color:inherit;min-height:var(--hl-touch)}
.hl-topictile:not(:nth-child(3n+1)){padding-left:24px;border-left:1px solid var(--hl-line)}
.hl-topictile__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.hl-topictile__head b{font:650 20px/1.2 var(--hl-ui);letter-spacing:-.01em;color:var(--hl-ink);transition:color var(--hl-fast)}
.hl-topictile__head span{font:500 14px/1 var(--hl-ui);color:var(--hl-muted)}
.hl-topictile__latest{font:400 16px/1.4 var(--hl-read);color:var(--hl-muted)}
.hl-topictile:hover b{color:var(--hl-accent)}
.hl-approw{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hl-app{display:grid;grid-template-columns:56px minmax(0,1fr);gap:16px;align-items:center;padding:16px;border:1px solid var(--hl-line);border-radius:var(--hl-r-card);background:var(--hl-card-bg);text-decoration:none;color:inherit;transition:border-color var(--hl-fast)}
.hl-app img{width:56px;height:56px;border-radius:13px}
.hl-app b{display:block;font:600 17px/1.25 var(--hl-ui);color:var(--hl-ink)}.hl-app span span{font:400 15px/1.4 var(--hl-ui);color:var(--hl-muted)}
.hl-app:hover{border-color:var(--hl-ink)}
/* Story with the print stack: three tilted prints; the top one slides away every few seconds (theme.js). */
.hl-story{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:clamp(36px,6vw,88px);align-items:center;border-top:1px solid var(--hl-line);padding-top:clamp(36px,5vw,64px)}
.hl-story__text{max-width:36em}
.hl-story h2,.hl-subscribe h2{font:650 var(--hl-section)/1.1 var(--hl-ui);letter-spacing:-.015em;margin:10px 0 16px;color:var(--hl-ink)}
.hl-story p{font:400 19px/1.6 var(--hl-read);color:var(--hl-text);margin:0 0 14px}
.hl-story__links{display:flex;gap:24px;margin-top:18px!important}
.hl-prints{margin:0;width:100%;max-width:360px}
.hl-prints__deck{all:unset;display:block;position:relative;width:100%;aspect-ratio:1/1.14;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hl-prints__deck:focus-visible{outline:2px solid var(--hl-accent);outline-offset:8px;border-radius:4px}
.hl-print{position:absolute;inset:4% 6% 2% 4%;padding:9px 9px 0;background:#fbfaf7;border-radius:2px;display:flex;flex-direction:column;box-shadow:0 1px 1px rgba(20,20,20,.10),0 10px 22px rgba(20,20,20,.12);transition:transform .52s cubic-bezier(.2,.7,.2,1),opacity .52s ease}
.hl-print img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:1px;background:#e9e6df}
.hl-print__lip{display:block;padding:11px 2px 12px;font:500 12px/1 var(--hl-ui);letter-spacing:.02em;color:#6b6a66}
.hl-print:not([data-pos="0"]) .hl-print__lip{color:transparent}
.hl-print[data-pos="0"]{z-index:3;transform:rotate(-2.2deg)}
.hl-print[data-pos="1"]{z-index:2;transform:translate(14px,8px) rotate(3.4deg)}
.hl-print[data-pos="2"]{z-index:1;transform:translate(-8px,14px) rotate(-5.5deg);opacity:.9}
.hl-print[data-pos="rest"]{z-index:0;opacity:0;transform:translate(-8px,14px) rotate(-5.5deg);transition:none;visibility:hidden}
.hl-print[data-pos="out"]{z-index:4;opacity:0;transform:translate(-34%,-4%) rotate(-14deg)}
.hl-prints figcaption{margin-top:14px;font:500 13px/1.3 var(--hl-ui);color:var(--hl-muted);text-align:center}
html[data-theme=dark] .hl-print{background:#e8e5de;box-shadow:0 1px 1px rgba(0,0,0,.35),0 12px 26px rgba(0,0,0,.4)}
html[data-theme=dark] .hl-print img{filter:brightness(.94)}
@media (prefers-reduced-motion:reduce){.hl-print{transition:opacity .2s ease}.hl-print[data-pos="out"]{transform:rotate(-2.2deg)}}
/* Subscribe band */
.hl-subscribe{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:end;padding:clamp(28px,4vw,48px);background:var(--hl-tint);border-radius:var(--hl-r-card)}
.hl-subscribe p{font:400 18px/1.5 var(--hl-read);color:var(--hl-muted);margin:0}
.hl-subscribe__form{display:flex;flex-wrap:wrap;gap:10px}
.hl-subscribe__form input{flex:1;min-width:0;min-height:var(--hl-touch);padding:0 16px;border:1px solid var(--hl-line);border-radius:10px;background:var(--hl-card-bg);color:var(--hl-ink);font:400 16px var(--hl-ui)}
.hl-subscribe__form .hl-subscribe__status,.hl-subscribe__form .publication-subscribe__status{flex-basis:100%;font:500 15px/1.4 var(--hl-ui);color:var(--hl-muted)}
.hl-subscribe__form [data-subscribe-status]:empty{display:none}
.hl-subscribe__form .is-success{color:#2e6c49}.hl-subscribe__form .is-error{color:#a53127}
html[data-theme=dark] .hl-subscribe__form .is-success{color:#7fc79c}html[data-theme=dark] .hl-subscribe__form .is-error{color:#ff8f80}
/* Site footer */
.hl-foot{border-top:1px solid var(--hl-line);background:var(--hl-paper);margin-top:var(--hl-rhythm);padding:48px 0 28px;font-family:var(--hl-ui)}
.hl-foot__top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:48px}
.hl-foot__top p{font:400 16px/1.5 var(--hl-read);color:var(--hl-muted);margin:14px 0 0;max-width:22em}
.hl-foot__logo{display:inline-block}.hl-foot__lockup{display:block;width:140px;height:auto}
html[data-theme=dark] .hl-foot__lockup--light,html:not([data-theme=dark]) .hl-foot__lockup--dark{display:none}
.hl-foot__cols{display:grid;grid-template-columns:repeat(3,auto);gap:56px}
.hl-foot__cols div{display:grid;gap:10px;align-content:start}
.hl-foot__cols b{font:600 14px/1.2 var(--hl-ui);color:var(--hl-muted);margin-bottom:4px}
.hl-foot__cols a{font:500 16px/1.3 var(--hl-ui);color:var(--hl-ink);text-decoration:none;transition:color var(--hl-fast)}.hl-foot__cols a:hover{color:var(--hl-accent)}
.hl-foot__bottom{display:flex;justify-content:space-between;margin-top:44px;padding-top:20px;border-top:1px solid var(--hl-line);font:500 14px/1 var(--hl-ui);color:var(--hl-muted)}
.hl-foot__bottom a{color:inherit;text-decoration:none}.hl-foot__bottom a:hover{color:var(--hl-accent)}
@media (max-width:980px){.hl-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-approw{grid-template-columns:1fr}}
@media (max-width:760px){
 .hl-hero__art{position:relative;width:118%;right:auto;bottom:auto;margin:-8px -9% -4%}
 .hl-lead{grid-template-columns:1fr;gap:18px}
 .hl-grid4{grid-template-columns:1fr;gap:18px}
 .hl-grid4 .hl-card{grid-template-columns:104px minmax(0,1fr);gap:14px;align-items:start}.hl-grid4 .hl-card img,.hl-grid4 .hl-card .hl-ph{width:104px;height:104px;aspect-ratio:auto}.hl-grid4 .hl-card p{display:none}
 .hl-topictiles{grid-template-columns:1fr}.hl-topictile,.hl-topictile:not(:nth-child(3n+1)){padding:16px 0;border-left:0}
 .hl-story{grid-template-columns:1fr;gap:28px}.hl-prints{max-width:280px;margin:0 auto}
 .hl-subscribe{grid-template-columns:1fr;gap:18px}.hl-subscribe__form{flex-direction:column}
 .hl-foot__top{grid-template-columns:1fr}.hl-foot__cols{grid-template-columns:repeat(2,auto);gap:28px 48px}
}

/* ---- About (option A "Essay") and Contact, direction B (Keith, 2026-11-20) ---- */
.hl-about__head{padding-top:clamp(40px,6vw,88px)}
.hl-byline{display:flex;gap:12px;align-items:center;margin:26px 0 0;font:500 14px/1.4 var(--hl-ui);color:var(--hl-muted)}
.hl-byline img{width:44px;height:44px;border-radius:50%;object-fit:cover}.hl-byline b{color:var(--hl-ink)}
.hl-prose{padding-top:36px}
.hl-prose p{font:400 20px/1.65 var(--hl-read);color:var(--hl-text);margin:0 0 20px}
.hl-prose h2{font:650 26px/1.2 var(--hl-ui);letter-spacing:-.012em;color:var(--hl-ink);margin:48px 0 16px;text-wrap:balance}
.hl-prose .hl-prose__lead{font-size:25px;line-height:1.45;color:var(--hl-ink)}
.hl-prose .hl-close{font:600 22px/1.3 var(--hl-ui);color:var(--hl-ink);margin-top:28px}
.hl-pull{margin:44px 0;padding:6px 0 6px 24px;border-left:3px solid var(--hl-accent);font:500 italic clamp(26px,2.8vw,34px)/1.25 var(--hl-read);color:var(--hl-ink);text-wrap:balance}
.hl-questions{margin:0 0 22px;padding:0;list-style:none;border-top:1px solid var(--hl-line)}
.hl-questions li{position:relative;padding:12px 0 12px 22px;border-bottom:1px solid var(--hl-line);font:500 18px/1.45 var(--hl-ui);color:var(--hl-ink)}
.hl-questions li::before{content:"";position:absolute;left:0;top:22px;width:9px;height:2px;background:var(--hl-accent)}
.hl-topiclist{display:grid;grid-template-columns:1fr 1fr;margin:4px 0 22px;border-top:1px solid var(--hl-line)}
.hl-topiclist a{display:grid;gap:4px;align-content:start;padding:16px 16px 16px 0;border-bottom:1px solid var(--hl-line);text-decoration:none;color:inherit}
.hl-topiclist a:nth-child(even){padding-left:16px;border-left:1px solid var(--hl-line)}
.hl-topiclist b{font:650 18px/1.25 var(--hl-ui);color:var(--hl-ink);transition:color var(--hl-fast)}
.hl-topiclist span{font:400 15px/1.45 var(--hl-read);color:var(--hl-muted)}
.hl-topiclist i{font:500 13px/1 var(--hl-ui);font-style:normal;color:var(--hl-accent)}
.hl-topiclist a:hover b{color:var(--hl-accent)}
.hl-approw--stack{grid-template-columns:1fr;gap:10px;margin:0 0 20px}
.hl-about__sub{padding-top:var(--hl-rhythm)}
.hl-contactcard{display:grid;grid-template-columns:96px minmax(0,1fr);gap:24px;align-items:start;margin:56px 0 0;padding:28px;border:1px solid var(--hl-line);border-radius:var(--hl-r-card);background:var(--hl-card-bg)}
.hl-contactcard img{width:96px;height:96px;border-radius:50%;object-fit:cover}
.hl-contactcard h2{font:650 26px/1.15 var(--hl-ui);margin:8px 0 10px;color:var(--hl-ink)}
.hl-contactcard p{font:400 18px/1.5 var(--hl-read);color:var(--hl-text);margin:0}
.hl-contactcard__links{display:flex;flex-wrap:wrap;gap:14px 22px;align-items:center;margin-top:18px!important}
.hl-contactcard--page{grid-template-columns:88px minmax(0,1fr);gap:22px;margin-top:36px}
.hl-contactcard--page img{width:88px;height:88px}
.hl-contactcard__name{font:650 22px/1.2 var(--hl-ui);color:var(--hl-ink)}
.hl-contactcard--page p{margin-top:6px}
.hl-followlist{list-style:none;margin:36px 0 0;padding:0;border-top:1px solid var(--hl-line)}
.hl-followlist li{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--hl-line)}
.hl-followlist span{font:400 16px/1.4 var(--hl-read);color:var(--hl-muted)}
@media (max-width:760px){
 .hl-prose p{font-size:19px}.hl-prose .hl-prose__lead{font-size:22px}
 .hl-topiclist{grid-template-columns:1fr}.hl-topiclist a:nth-child(even){padding-left:0;border-left:0}
 .hl-contactcard,.hl-contactcard--page{grid-template-columns:1fr}
 .hl-followlist li{flex-direction:column;gap:4px}
}

/* ---- Apps, option A "Showcase" (Keith 2026-11-21): one band per app, words beside three of its own screens. ---- */
.hl-apps .hl-pagehead{padding-bottom:8px}
.hl-appband{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,72px);align-items:center;padding:var(--hl-rhythm) 0;border-top:1px solid var(--hl-line);scroll-margin-top:72px}
.hl-appband:first-of-type{border-top:0;padding-top:24px}
.hl-appband__id{display:flex;gap:18px;align-items:center}
.hl-appband__id h2{font:650 clamp(32px,3.6vw,44px)/1.05 var(--hl-ui);letter-spacing:-.02em;color:var(--hl-ink);margin:8px 0 0}
.hl-appicon{display:block;width:64px;height:64px;border-radius:15px;box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.hl-appicon--mark{border-radius:0;box-shadow:none;object-fit:contain}
.hl-status{display:inline-block;font:600 var(--hl-small)/1 var(--hl-ui);color:var(--hl-muted);padding:6px 10px;border:1px solid var(--hl-line);border-radius:var(--hl-r-pill)}
.hl-status.is-live{color:var(--hl-accent);border-color:color-mix(in srgb,var(--hl-accent) 40%,transparent)}
.hl-appband__line{font:600 21px/1.3 var(--hl-ui);letter-spacing:-.01em;color:var(--hl-ink);margin:16px 0 0;text-wrap:balance}
.hl-appband__desc,.hl-appband__story{font:400 18px/1.55 var(--hl-read);color:var(--hl-text);margin:10px 0 0;max-width:34em}
.hl-appband__why{font:600 14px/1.2 var(--hl-ui);color:var(--hl-muted);margin:22px 0 0;padding-top:16px;border-top:1px solid var(--hl-line)}
.hl-appband__story{margin-top:8px}
.hl-appband__note{font:500 14px/1.4 var(--hl-ui);color:var(--hl-muted);margin:10px 0 0}
.hl-appband__store{margin-top:24px;gap:6px}
.hl-screens{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hl-screens img{display:block;width:100%;height:auto;aspect-ratio:600/1300;object-fit:cover;border-radius:18px;background:var(--hl-tint);box-shadow:0 1px 2px rgba(0,0,0,.1),0 10px 24px rgba(0,0,0,.1)}
.hl-screens--soon{grid-template-columns:1fr;place-items:center;align-content:center;gap:14px;min-height:420px;background:var(--hl-tint);border-radius:var(--hl-r-card)}
.hl-screens--soon img{width:160px;aspect-ratio:1;border-radius:0;background:none;box-shadow:none;object-fit:contain}
.hl-screens--soon p{font:500 15px/1.3 var(--hl-ui);color:var(--hl-muted);margin:0}
.hl-appsclose{padding:var(--hl-rhythm) 0 0;border-top:1px solid var(--hl-line)}
.hl-appsclose h2{font:650 var(--hl-section)/1.1 var(--hl-ui);letter-spacing:-.015em;color:var(--hl-ink);margin:0}
.hl-appsclose p{font:400 19px/1.5 var(--hl-read);color:var(--hl-muted);margin:8px 0 0}
@media (max-width:900px){.hl-appband{grid-template-columns:1fr;align-items:start;gap:28px}}
@media (max-width:760px){
 .hl-screens{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 calc(-1*var(--hl-gutter));padding:4px var(--hl-gutter) 14px;scrollbar-width:none}
 .hl-screens::-webkit-scrollbar{display:none}
 .hl-screens img{flex:0 0 58%;scroll-snap-align:start;border-radius:14px}
 .hl-screens--soon{display:grid;min-height:240px;margin:0;padding:24px}
 .hl-screens--soon img{width:140px}
 .hl-appband__desc,.hl-appband__story{font-size:17px}
}

/* My Story, option B "Side rail" with the transit line (Keith, 2026-11-21). The page head, the journey as a metro
   line (stations = lived a month or more, small stops = visited), the audio, then chapters beside a sticky rail.
   theme.js builds the rail and the phone menu from the chapter headings. */
.hl-mystory{--hl-mystory-top:79px}
.hl-mystory__byline{font:500 15px/1.4 var(--hl-ui);color:var(--hl-muted);margin:20px 0 0}
.hl-journey{margin:8px 0 0}
.hl-journey__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px 48px;align-items:end;padding-bottom:16px;border-bottom:1px solid var(--hl-line)}
.hl-journey__head h2{font:650 var(--hl-section)/1.1 var(--hl-ui);letter-spacing:-.015em;color:var(--hl-ink);margin:0}
.hl-journey__head p{font:400 17px/1.5 var(--hl-read);color:var(--hl-muted);margin:0}
.hl-journey__panel{padding:8px 0 0}
.hl-journey__map{display:block;width:100%;height:auto;font-family:var(--hl-ui);overflow:visible}
.hl-journey__track{fill:none;stroke:var(--hl-accent);stroke-width:9;stroke-linecap:round;stroke-linejoin:round}
.hl-journey__station circle{fill:var(--hl-paper);stroke:var(--hl-ink);stroke-width:3.5}
.hl-journey__station.is-journey circle{stroke:var(--hl-accent);stroke-dasharray:3 3}
.hl-journey__station.is-now circle{fill:var(--hl-accent);stroke:var(--hl-accent)}
.hl-journey__name{font:650 15px var(--hl-ui);fill:var(--hl-ink)}
.hl-journey__years{font:500 13px var(--hl-ui);fill:var(--hl-muted);font-variant-numeric:tabular-nums}
.hl-journey__spur{fill:none;stroke:color-mix(in srgb,var(--hl-accent) 55%,transparent);stroke-width:2}
.hl-journey__stop{fill:var(--hl-paper);stroke:var(--hl-accent);stroke-width:1.5}
.hl-journey__stoplabel{font:500 11.5px var(--hl-ui);fill:var(--hl-muted)}
.hl-journey__list{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0;padding:0}
.hl-journey__key{display:flex;flex-wrap:wrap;gap:8px 24px;margin:4px 0 0;font:500 14px var(--hl-ui);color:var(--hl-muted)}
.hl-journey__key span{display:inline-flex;align-items:center;gap:8px}
.hl-journey__key i{display:inline-block;box-sizing:border-box;width:14px;height:14px;border-radius:50%;border:3px solid var(--hl-ink)}
.hl-journey__key i.is-journey{border:2px dashed var(--hl-accent)}
.hl-journey__key i.is-visit{width:8px;height:8px;border:1.5px solid var(--hl-accent)}
.hl-journey__key i.is-now{background:var(--hl-accent);border-color:var(--hl-accent)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hl-mystory__audio{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;align-items:center;margin:var(--hl-12) 0 0;padding:24px;border:1px solid var(--hl-line);border-radius:var(--hl-r-card);background:var(--hl-card-bg)}
.hl-mystory__audio h2{font:650 24px/1.2 var(--hl-ui);color:var(--hl-ink);margin:6px 0}
.hl-mystory__audio p{font:400 17px/1.5 var(--hl-read);color:var(--hl-muted);margin:0 0 12px}
.hl-mystory__player{display:block;border:0;border-radius:12px;min-height:152px}
.hl-mystory__progress{position:sticky;top:var(--hl-mystory-top);z-index:90;height:3px;margin-top:var(--hl-12);background:color-mix(in srgb,var(--hl-accent) 14%,transparent)}
.hl-mystory__progress span{display:block;width:0;height:100%;background:var(--hl-accent);transition:width .08s linear}
.hl-mystory__menu{display:none}
.hl-mystory__grid{display:grid;grid-template-columns:230px minmax(0,var(--hl-w-text));gap:clamp(32px,6vw,96px);justify-content:center}
.hl-mystory__rail{position:sticky;top:calc(var(--hl-mystory-top) + 32px);align-self:start;margin-top:56px;max-height:calc(100vh - var(--hl-mystory-top) - 56px);overflow:auto;scrollbar-width:none}
.hl-mystory__rail b{font:600 14px var(--hl-ui);color:var(--hl-muted)}
.hl-mystory__rail ol,.hl-mystory__menulist{list-style:none;margin:12px 0 0;padding:0;border-top:1px solid var(--hl-line)}
.hl-mystory__raillink,.hl-mystory__menulink{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;padding:8px 0;border-bottom:1px solid var(--hl-line);font:500 14.5px/1.3 var(--hl-ui);color:var(--hl-muted);text-decoration:none}
.hl-mystory__n{color:var(--hl-accent);font-variant-numeric:tabular-nums}
.hl-mystory__raillink:hover,.hl-mystory__menulink:hover{color:var(--hl-ink)}
.hl-mystory__raillink.is-active,.hl-mystory__menulink.is-active{color:var(--hl-ink);font-weight:650}
.hl-mystory__text{min-width:0}
.hl-mystory__text p{font:400 var(--hl-body)/1.65 var(--hl-read);color:var(--hl-text);margin:0 0 20px}
.hl-mystory__text h2{margin:var(--hl-rhythm) 0 24px;padding-top:var(--hl-rhythm);border-top:1px solid var(--hl-line);scroll-margin-top:calc(var(--hl-mystory-top) + 24px)}
.hl-mystory__text h2:first-child{margin-top:48px;padding-top:0;border-top:0}
.hl-mystory__eyebrow{display:block;font:600 14px var(--hl-ui);color:var(--hl-accent)}
.hl-mystory__title{display:block;font:650 clamp(30px,3.6vw,40px)/1.1 var(--hl-ui);letter-spacing:-.02em;color:var(--hl-ink);margin:10px 0 8px;text-wrap:balance}
.hl-mystory__minutes{display:block;font:500 14px var(--hl-ui);color:var(--hl-muted)}
.hl-mystory__text blockquote{margin:44px 0;padding:6px 0 6px 24px;border-left:3px solid var(--hl-accent);font:500 italic clamp(24px,2.6vw,32px)/1.28 var(--hl-read);color:var(--hl-ink);text-wrap:balance}
.hl-mystory__text figure{margin:36px 0}
.hl-mystory__text figure img{display:block;width:100%;height:auto;border-radius:var(--hl-r-img)}
.hl-mystory__text figcaption{font:400 15px/1.45 var(--hl-ui);color:var(--hl-muted);margin-top:10px}
@media (max-width:1100px){.hl-mystory{--hl-mystory-top:68px}}
@media (max-width:1000px){
 .hl-journey__head{grid-template-columns:1fr}
 .hl-journey__map{display:none}
 .hl-journey__key{display:none}
 .hl-journey__list{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal;list-style:none;margin:8px 0 0;padding:0 0 0 4px;columns:2;column-gap:40px}
 .hl-journey__list li{position:relative;display:grid;gap:2px;padding:10px 0 12px 36px;break-inside:avoid}
 .hl-journey__list li::before{content:"";position:absolute;left:8px;top:0;bottom:0;width:6px;background:var(--hl-accent)}
 .hl-journey__list li::after{content:"";position:absolute;left:2px;top:12px;box-sizing:border-box;width:18px;height:18px;border-radius:50%;background:var(--hl-paper);border:3px solid var(--hl-ink)}
 .hl-journey__list li.is-journey::after{border:2px dashed var(--hl-accent)}
 .hl-journey__list li.is-now::after{background:var(--hl-accent);border-color:var(--hl-accent)}
 .hl-journey__list b{font:650 17px/1.3 var(--hl-ui);color:var(--hl-ink)}
 .hl-journey__list em{font-style:normal;font-weight:500;color:var(--hl-muted)}
 .hl-journey__list span{font:500 14px var(--hl-ui);color:var(--hl-muted)}
 .hl-journey__list small{font:400 14px/1.4 var(--hl-ui);color:var(--hl-muted)}
 .hl-mystory__grid{grid-template-columns:minmax(0,var(--hl-w-text))}
 .hl-mystory__rail{display:none}
 .hl-mystory__menu{display:block;position:sticky;top:calc(var(--hl-mystory-top) + 3px);z-index:89;background:var(--hl-paper);border-bottom:1px solid var(--hl-line)}
 .hl-mystory__menubutton{display:flex;width:100%;max-width:calc(var(--hl-w-text) + 2*var(--hl-gutter));margin:0 auto;min-height:var(--hl-touch);padding:10px var(--hl-gutter);align-items:center;justify-content:space-between;gap:16px;border:0;background:none;color:var(--hl-ink);font:600 15px var(--hl-ui);cursor:pointer}
 .hl-mystory__menucurrent{display:flex;gap:8px;min-width:0;font-weight:500;color:var(--hl-muted);text-align:right}
 .hl-mystory__menucurrent .hl-mystory__t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .hl-mystory__menulist{display:none;max-width:calc(var(--hl-w-text) + 2*var(--hl-gutter));max-height:55vh;overflow:auto;margin:0 auto;padding:0 var(--hl-gutter) 12px;border-top:0}
 .hl-mystory__menu.is-open .hl-mystory__menulist{display:block}
 .hl-mystory__menulink{min-height:var(--hl-touch);align-items:center}
}
@media (max-width:760px){
 .hl-journey__list{columns:1}
 .hl-mystory__audio{grid-template-columns:1fr;padding:18px}
 .hl-mystory__text p{font-size:19px}
}

/* Search, option B "Rows", and Not found, option B "A way on" (Keith, 2026-11-21). One search box for both. */
.hl-searchbox{display:flex;gap:10px;max-width:720px;margin:0}
.hl-searchbox input{flex:1;min-height:52px;padding:0 18px;border:1px solid var(--hl-line);border-radius:12px;background:var(--hl-card-bg);color:var(--hl-ink);font:400 19px/1.2 var(--hl-read);-webkit-appearance:none;appearance:none}
.hl-searchbox input::placeholder{color:var(--hl-muted);opacity:1}
.hl-searchbox input:focus-visible{outline:2px solid var(--hl-accent);outline-offset:1px}
.hl-searchbox .hl-button{min-height:52px;padding:0 22px}
.hl-search__count{font:500 15px/1.4 var(--hl-ui);color:var(--hl-muted);margin:26px 0 14px}
.hl-search__results{display:grid;border-top:1px solid var(--hl-line)}
.hl-search__results .hl-card--row{grid-template-columns:150px minmax(0,1fr);gap:22px;padding:20px 0;border-bottom:1px solid var(--hl-line)}
.hl-search__results .hl-card--row img,.hl-search__results .hl-card--row .hl-ph{width:150px;height:100px;aspect-ratio:3/2}
.hl-search__results .hl-card--row b{font-size:21px}
.hl-search__results .hl-card p{font:400 17px/1.5 var(--hl-read)}
.hl-search .pagination{display:flex;gap:22px;justify-content:flex-start;align-items:center;margin:28px 0 0;font:500 15px/1.3 var(--hl-ui);color:var(--hl-muted)}
.hl-search .pagination a{color:var(--hl-ink);text-decoration:underline;text-decoration-color:var(--hl-accent);text-underline-offset:4px}
.hl-notfound__links{display:flex;flex-wrap:wrap;gap:14px 22px;align-items:center;margin:18px 0 0}
.hl-notfound__links .hl-link{min-height:var(--hl-touch);display:inline-flex;align-items:center}
.hl-notfound__latest{margin-top:var(--hl-rhythm)}
.hl-notfound__latest .hl-grid3{margin-top:0}
@media (max-width:760px){
 .hl-searchbox .hl-button{padding:0 16px}
 .hl-search__results .hl-card--row{grid-template-columns:96px minmax(0,1fr);gap:14px}
 .hl-search__results .hl-card--row img,.hl-search__results .hl-card--row .hl-ph{width:96px;height:64px}
 .hl-search__results .hl-card--row b{font-size:18px}
 .hl-search__results .hl-card p{display:none}
 .hl-search .hl-pills{flex-wrap:wrap;overflow:visible;margin:0;padding:0}
}
