/* strata public site. Visual design ported from the banshan theme (banshan.css).
   Content never depends on JavaScript; site.js only adds the scrolled header and parallax.
   Rendered text (.st-prose) lives in prose.css; the article page adds article.css.
   Fonts and the palette (--st-accent, --st-brand, --st-brand-2, --st-brand-fg, --st-focus)
   are injected by base.html from the appearance.

   Every colour in this file is a token below (D088): rules only use var(), and color-mix()
   of tokens for translucent layers. studio/scripts/check-public-colors.ts (in `pnpm lint`)
   fails on a literal outside these two blocks and checks the contrast of the text tokens.
   Vertical spacing is in steps of 16px; inside a list row the half step 8px. */

:root {
  --st-paper: #f8f8f5;
  --st-ink: #242e2c;
  --st-muted: #6a726e;
  --st-meta: #65716a;
  --st-line: #dee2dc;
  --st-banner: 0px;
  --st-header: 88px;
  /* Text levels in a list row: title in ink, the excerpt one step lighter, meta below that. */
  --st-ink-soft: #46514d;
  --st-surface: #ffffff;
  --st-selection: #dbe7dc;
  --st-selection-ink: #172c22;
  --st-header-bg: color-mix(in srgb, var(--st-paper) 90%, transparent);
  --st-preview-bg: color-mix(in srgb, var(--st-ink) 94%, transparent);
  /* Over the scene pictures: text, its quieter second line, the fallback behind a picture
     that has not loaded, and the shade laid over pictures so the text stays readable. */
  --st-on-photo: #f8faf6;
  --st-on-photo-soft: #d6dfd6;
  --st-photo-bg: #3e5148;
  --st-shade: #0f1f1a;
  --st-credit-bg: color-mix(in srgb, var(--st-shade) 86%, transparent);
  /* Annotation colours on the shelf's paper page (D093): the annotations' own, the same as
     the studio reader's (studio/src/components/library/highlight-colors.ts), not the theme's.
     The light tone lies over the page, the solid one marks comments and quotes. */
  --st-hl-yellow: rgb(250 204 21 / 28%);
  --st-hl-green: rgb(74 222 128 / 25%);
  --st-hl-blue: rgb(96 165 250 / 25%);
  --st-hl-pink: rgb(244 114 182 / 25%);
  --st-hl-yellow-solid: #e3b622;
  --st-hl-green-solid: #4fb878;
  --st-hl-blue-solid: #5b95dd;
  --st-hl-pink-solid: #dc6aa3;
  /* Behind an opened picture (the article's lightbox, D095). */
  --st-lightbox-bg: color-mix(in srgb, var(--st-shade) 96%, transparent);
  /* Topic pills (D095): the studio's ten tag hues for paper (D073, globals.css), each mixed
     into a background (its hue at 14% over the paper, opaque, so it reads the same over a
     picture) and a text colour (66% hue, 34% ink). check-public-colors keeps them AA. */
  --tag-sage: #5c8a6a;
  --tag-teal: #3d8580;
  --tag-sky: #4a7fae;
  --tag-indigo: #5c68aa;
  --tag-violet: #8264a6;
  --tag-rose: #b25a7c;
  --tag-clay: #b2613f;
  --tag-amber: #a87a1f;
  --tag-olive: #7b7f30;
  --tag-stone: #7d756a;
  --tag-tint: 14%;
  --tag-sage-bg: color-mix(in srgb, var(--tag-sage) var(--tag-tint), var(--st-paper));
  --tag-sage-fg: color-mix(in srgb, var(--tag-sage) 66%, var(--st-ink));
  --tag-teal-bg: color-mix(in srgb, var(--tag-teal) var(--tag-tint), var(--st-paper));
  --tag-teal-fg: color-mix(in srgb, var(--tag-teal) 66%, var(--st-ink));
  --tag-sky-bg: color-mix(in srgb, var(--tag-sky) var(--tag-tint), var(--st-paper));
  --tag-sky-fg: color-mix(in srgb, var(--tag-sky) 66%, var(--st-ink));
  --tag-indigo-bg: color-mix(in srgb, var(--tag-indigo) var(--tag-tint), var(--st-paper));
  --tag-indigo-fg: color-mix(in srgb, var(--tag-indigo) 66%, var(--st-ink));
  --tag-violet-bg: color-mix(in srgb, var(--tag-violet) var(--tag-tint), var(--st-paper));
  --tag-violet-fg: color-mix(in srgb, var(--tag-violet) 66%, var(--st-ink));
  --tag-rose-bg: color-mix(in srgb, var(--tag-rose) var(--tag-tint), var(--st-paper));
  --tag-rose-fg: color-mix(in srgb, var(--tag-rose) 66%, var(--st-ink));
  --tag-clay-bg: color-mix(in srgb, var(--tag-clay) var(--tag-tint), var(--st-paper));
  --tag-clay-fg: color-mix(in srgb, var(--tag-clay) 66%, var(--st-ink));
  --tag-amber-bg: color-mix(in srgb, var(--tag-amber) var(--tag-tint), var(--st-paper));
  --tag-amber-fg: color-mix(in srgb, var(--tag-amber) 66%, var(--st-ink));
  --tag-olive-bg: color-mix(in srgb, var(--tag-olive) var(--tag-tint), var(--st-paper));
  --tag-olive-fg: color-mix(in srgb, var(--tag-olive) 66%, var(--st-ink));
  --tag-stone-bg: color-mix(in srgb, var(--tag-stone) var(--tag-tint), var(--st-paper));
  --tag-stone-fg: color-mix(in srgb, var(--tag-stone) 66%, var(--st-ink));
  --st-serif: 'Strata Display', 'Noto Serif CJK SC', 'Source Han Serif SC', 'Songti SC', serif;
  /* Titles (pages, articles, list rows) in the serif at 600: 'Strata Title Serif' is Noto Serif
     SC SemiBold served as unicode-range slices (css/title-serif.css), so every platform gets the
     same face. Not 'Strata Display': that subset only covers the site title and poems, at 400. */
  --st-title-serif:
    'Strata Title Serif', 'Noto Serif CJK SC', 'Source Han Serif SC', 'Songti SC', serif;
  --st-sans:
    Inter, -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Noto Sans CJK SC', 'Microsoft YaHei',
    sans-serif;
  --st-mono:
    'JetBrains Mono', Menlo, Consolas, Monaco, 'Liberation Mono', 'Lucida Console', monospace;
}

/* Palette fallbacks for pages rendered without an appearance. :where() keeps them at zero
   specificity, so the values base.html injects from the published appearance always win,
   whatever order the rules load in. */
:where(:root) {
  --st-accent: #48665a;
  --st-brand: #355f50;
  --st-brand-2: #8a907e;
  --st-brand-fg: #ffffff;
  --st-focus: #65816e;
}

/* ---------------------------------------------------------------- base */

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--st-header) + var(--st-banner) + 12px);
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--st-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--st-ink);
  background: var(--st-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input,
button,
textarea,
select {
  font: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-family: var(--st-sans);
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-decoration: none;
}
/* Hover changes a colour or shows an underline, never moves anything (D088). On paper a link
   turns to the accent colour; over a picture it is underlined (.st-on-photo-links below). */
a:hover {
  color: var(--st-accent);
}
.st-prose a:hover {
  color: var(--st-ink);
}
:is(a, summary, button):focus-visible {
  outline: 2px solid var(--st-focus);
  outline-offset: 4px;
  border-radius: 2px;
}
::selection {
  background: var(--st-selection);
  color: var(--st-selection-ink);
}
/* Short pages still put the footer at the bottom of the window. */
body > main {
  flex: 1 0 auto;
}
.st-wrap {
  width: min(1100px, calc(100% - 112px));
  margin-inline: auto;
}
.st-skip {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 1000;
  padding: 12px 20px;
  color: var(--st-ink);
  background: var(--st-surface);
  transform: translateY(-150%);
}
.st-skip:focus {
  transform: none;
}
.st-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* Controls that need JavaScript (discussion forms and buttons) stay hidden without it. */
html:not(.st-js) .st-js-only {
  display: none !important;
}

/* ---------------------------------------------------------------- preview banner */

.st-previewing {
  --st-banner: 36px;
}
.st-preview {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: var(--st-banner);
  padding: 0 16px;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--st-paper);
  background: var(--st-preview-bg);
}
.st-preview a {
  padding-block: 2px;
  border-bottom: 1px solid currentColor;
}
.st-preview a:hover {
  color: inherit;
}
.st-preview a:focus-visible {
  outline-color: var(--st-paper);
}

/* ---------------------------------------------------------------- header */

.st-header {
  position: sticky;
  top: var(--st-banner);
  z-index: 80;
  height: var(--st-header);
  background: var(--st-header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--st-line);
  transition:
    background 0.45s,
    color 0.45s,
    border-color 0.45s;
}
.st-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  height: 100%;
  max-width: 1600px;
  margin: auto;
  padding: 0 56px;
}
.st-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  font-family: var(--st-serif);
  font-size: 25px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.st-wordmark:hover {
  color: inherit;
}
.st-nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
  letter-spacing: 0.08em;
}
/* One underline for every row of section links: the header, the footer and the shelf's
   reading states. Each link is 44px tall to tap; the line is 1px, 4px above its bottom edge.
   The current page keeps it, hover shows it. */
:is(.st-nav, .st-footer-nav, .st-shelf-filters) > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
:is(.st-nav, .st-footer-nav, .st-shelf-filters) > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.2s;
}
:is(.st-nav, .st-footer-nav) > a:hover {
  color: inherit;
}
:is(.st-nav, .st-footer-nav, .st-shelf-filters) > a:is(:hover, [aria-current='page'])::after {
  opacity: 1;
}
/* The right end of the header: the search link (D094), then the account pill. */
.st-header-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.st-search-link {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s;
}
.st-search-link::before {
  content: '';
  position: absolute;
  inset: -2px;
}
.st-search-link:hover,
.st-search-link[aria-current='page'] {
  color: inherit;
  background: color-mix(in srgb, currentColor 10%, transparent);
}
.st-account {
  position: relative;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border: 1px solid currentColor;
  border-radius: 100px;
  transition:
    color 0.2s,
    background-color 0.2s;
}
/* The pill stays 39px tall; its tap area is 47px. */
.st-account::before {
  content: '';
  position: absolute;
  inset: -4px 0;
}
.st-account-label {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14em;
}
.st-account-arrow {
  margin-left: 20px;
}

/* Pages that open with a full-bleed picture: the header floats over it until scrolled. */
.st-overlay .st-header {
  margin-bottom: calc(var(--st-header) * -1);
}
.st-overlay .st-header:not(.is-scrolled) {
  color: var(--st-on-photo);
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Without JavaScript nothing marks the header as scrolled; let it scroll away with the
   picture instead of floating light text over paper. */
html:not(.st-js) .st-overlay .st-header {
  position: absolute;
  top: var(--st-banner);
  left: 0;
  right: 0;
  margin-bottom: 0;
}
/* Over a picture: links keep their colour and are underlined on hover; the focus ring is the
   picture's text colour. */
.st-overlay .st-header:not(.is-scrolled) a:focus-visible,
.st-on-dark :is(a, summary):focus-visible,
.st-footer :is(a, summary):focus-visible {
  outline-color: var(--st-on-photo);
}
.st-on-dark a:hover,
.st-footer a:hover {
  color: inherit;
}
.st-footer-note a:hover,
.st-scroll:hover > span:first-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.st-on-dark .st-filter a {
  color: var(--st-on-photo-soft);
}
.st-on-dark .st-filter a:hover {
  color: var(--st-on-photo);
}
.st-overlay .st-header:not(.is-scrolled) .st-account:hover {
  color: inherit;
  background: color-mix(in srgb, var(--st-on-photo) 14%, transparent);
}

/* ---------------------------------------------------------------- scene pictures */

.st-scene {
  object-fit: cover;
  object-position: var(--st-focus, 50% 50%);
}

/* "摄影与许可": a quiet label in the corner of a picture; opens upward. */
.st-credit {
  position: absolute;
  right: 56px;
  bottom: 14px;
  z-index: 5;
  font-family: var(--st-sans);
  font-size: 0.8125rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--st-on-photo) 88%, transparent);
  text-shadow: 0 1px 12px color-mix(in srgb, var(--st-shade) 45%, transparent);
}
/* 44px to tap; the negative margin keeps the label where it was. */
.st-credit summary {
  display: block;
  margin-block: -6px;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.st-credit summary::-webkit-details-marker {
  display: none;
}
.st-credit summary:hover,
.st-credit[open] summary {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.st-credit-body {
  position: absolute;
  right: 0;
  bottom: calc(100% + 4px);
  width: max-content;
  max-width: min(340px, calc(100vw - 48px));
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-shadow: none;
  color: var(--st-on-photo);
  background: var(--st-credit-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 6px;
}
.st-credit-body div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}
.st-credit-body div + div {
  margin-top: 4px;
}
.st-credit-body dt {
  color: var(--st-on-photo-soft);
}
.st-credit-body dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.st-credit-body a {
  position: relative;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------------- home: cover */

.st-hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 480px;
  overflow: hidden;
  color: var(--st-on-photo);
  background: var(--st-photo-bg);
}
.st-previewing .st-hero {
  height: calc(100dvh - var(--st-banner));
}
.st-hero-media {
  position: absolute;
  inset: -4%;
  transform: translateY(var(--hero-offset, 0px));
}
.st-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  animation: st-push 18s ease-out both;
}
/* The shade keeps the header and the cover text readable over a bright sky (D088): a band
   under the header, a soft pool behind the title and its line (.st-hero-copy::before) and a
   light edge at the bottom for "往下读" and the credit. */
.st-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--st-shade) 52%, transparent),
      transparent 224px,
      transparent 62%,
      color-mix(in srgb, var(--st-shade) 26%, transparent)
    ),
    linear-gradient(
      90deg,
      transparent 38%,
      color-mix(in srgb, var(--st-shade) 16%, transparent) 75%,
      color-mix(in srgb, var(--st-shade) 24%, transparent)
    );
}
.st-hero-copy {
  position: absolute;
  top: 50%;
  right: 9%;
  max-width: 80%;
  transform: translateY(-50%);
  text-shadow: 0 2px 28px color-mix(in srgb, var(--st-shade) 33%, transparent);
}
.st-hero-copy::before {
  content: '';
  position: absolute;
  inset: -160% -75% -300%;
  z-index: -1;
  background: radial-gradient(
    closest-side,
    color-mix(in srgb, var(--st-shade) 56%, transparent) 18%,
    color-mix(in srgb, var(--st-shade) 44%, transparent) 36%,
    color-mix(in srgb, var(--st-shade) 24%, transparent) 60%,
    color-mix(in srgb, var(--st-shade) 8%, transparent) 82%,
    transparent
  );
  pointer-events: none;
}
.st-hero-copy h1 {
  margin: 0 -0.19em 0 0;
  font-family: var(--st-serif);
  font-size: clamp(64px, 6.6vw, 108px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.19em;
  overflow-wrap: anywhere;
  animation: st-reveal 1.6s 0.15s both;
}
.st-hero-copy p {
  position: absolute;
  top: 100%;
  left: -38px;
  width: max-content;
  max-width: 82vw;
  margin: 25px 0 0;
  font-family: var(--st-serif);
  font-size: clamp(16px, 1.4vw, 23px);
  letter-spacing: 0.19em;
  overflow-wrap: anywhere;
  animation: st-reveal 1.6s 0.55s both;
}
.st-scroll {
  position: absolute;
  bottom: 40px;
  left: 56px;
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
}
.st-scroll span:last-child {
  font-size: 24px;
  line-height: 1;
}
.st-hero .st-credit {
  right: 56px;
  bottom: 38px;
}

/* Hero alignment from the appearance; right is the banshan default above. */
.st-site[data-align='left'] .st-hero-copy {
  left: 9%;
  right: auto;
}
.st-site[data-align='left'] .st-hero-copy p {
  left: 0;
}
.st-site[data-align='center'] .st-hero-copy {
  left: 50%;
  right: auto;
  width: max-content;
  max-width: 82%;
  text-align: center;
  transform: translate(-50%, -50%);
}
.st-site[data-align='center'] .st-hero-copy h1 {
  margin: 0 -0.19em 0 0;
}
.st-site[data-align='center'] .st-hero-copy p {
  left: 0;
  width: 100%;
}

/* ---------------------------------------------------------------- lists */

/* Every list (home, blog, shelf, author) uses the same row: 32px above and below, the title in
   ink (24/32), then one line of meta (14/24, never wraps: the longest part is cut short) and
   an optional excerpt one step lighter (16/28, at most three lines). */
.st-selected {
  padding-block: 96px 64px;
}
.st-selected,
.st-shelf-card,
.st-journal-content,
.st-journal-intro,
.st-index {
  max-width: 960px;
}
.st-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}
.st-section-heading h2,
.st-group-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: var(--st-muted);
}
.st-group-title {
  margin-bottom: 16px;
}
.st-text-link {
  position: relative;
  padding-block: 4px;
  font-size: 0.875rem;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s;
}
.st-text-link span {
  margin-left: 16px;
}
/* Small links get a 44px tall tap area, centred on the text, without changing the layout. */
.st-text-link::before,
.st-pagination a::before,
.st-tag::before,
.st-shelf-links a::before,
.st-shelf-reader a::before,
.st-shelf-post a::before,
.st-filter a::before,
.st-group-title a::before,
.st-shelf-card-list a::before,
.st-credit-body a::before,
.st-scroll::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -4px;
  left: -4px;
  height: 44px;
  translate: 0 -50%;
}
.st-post-row {
  position: relative;
  padding: 32px 0;
  border-top: 1px solid var(--st-line);
}
.st-post-row:last-child {
  border-bottom: 1px solid var(--st-line);
}
.st-post-title {
  margin: 0 48px 0 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.st-post-title a {
  transition: color 0.2s;
}
/* The title link covers the whole row, so the row is one click and one tab stop. Its focus
   ring sits inside the hairlines and a little wider than the text. */
.st-post-title a::after {
  content: '';
  position: absolute;
  inset: 4px -12px;
  border-radius: 6px;
}
.st-post-title a:focus-visible {
  outline: none;
}
.st-post-title a:focus-visible::after {
  outline: 2px solid var(--st-focus);
}
.st-post-row:hover .st-post-title a,
.st-post-row:focus-within .st-post-title a {
  color: var(--st-accent);
}
.st-post-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  margin-top: 8px;
  font-size: 13px;
  line-height: 24px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--st-meta);
}
.st-post-meta > * {
  flex: none;
}
/* In a list the meta stays on one line: the names give way, the venue and state stay. */
:is(.st-post-row, .st-shelf-card-list) .st-post-meta {
  overflow: hidden;
}
.st-post-meta > :is(.st-post-author, .st-shelf-authors, .st-shelf-source) {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-post-meta > .st-shelf-source {
  flex-shrink: 0;
}
.st-post-meta time {
  font-variant-numeric: tabular-nums;
}
.st-post-pin {
  letter-spacing: 0.08em;
  color: var(--st-accent);
}
.st-post-summary,
.st-shelf-excerpt {
  display: -webkit-box;
  margin: 8px 48px 0 0;
  overflow: hidden;
  font-size: 1rem;
  line-height: 28px;
  color: var(--st-ink-soft);
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.st-row-arrow {
  position: absolute;
  top: 38px;
  right: 2px;
  font-size: 20px;
  line-height: 1;
  color: var(--st-meta);
  pointer-events: none;
  transition: color 0.2s;
}
.st-post-row:is(:hover, :focus-within) .st-row-arrow,
.st-shelf-card-head:is(:hover, :focus-visible) .st-row-arrow {
  color: var(--st-accent);
}
.st-empty {
  padding: 64px 0;
  color: var(--st-muted);
  border-top: 1px solid var(--st-line);
}

/* Home: the shelf under the selection, its latest papers beside the way in (D078). */
.st-shelf-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 0 48px;
  padding-bottom: 96px;
}
.st-shelf-card-head {
  position: relative;
  display: block;
  padding: 32px 48px 32px 0;
  border-top: 1px solid var(--st-line);
}
.st-shelf-card-head:hover {
  color: inherit;
}
.st-entry-title {
  display: block;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: 0;
  transition: color 0.2s;
}
.st-entry-text {
  display: block;
  margin: 8px 0 0;
  font-size: 0.9375rem;
  line-height: 26px;
  color: var(--st-muted);
}
.st-shelf-card-head:hover .st-entry-title {
  color: var(--st-accent);
}
.st-shelf-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--st-line);
}
.st-shelf-card-list li {
  display: grid;
  padding: 16px 0;
  border-bottom: 1px solid var(--st-line);
}
.st-shelf-card-list a {
  position: relative;
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}
.st-shelf-card-list .st-post-meta {
  gap: 8px;
  margin-top: 0;
  font-size: 0.8125rem;
}

/* ---------------------------------------------------------------- blog header */

.st-journal-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: clamp(336px, 42vh, 432px);
  padding-block: 48px;
  overflow: hidden;
  isolation: isolate;
  color: var(--st-on-photo);
  background: var(--st-photo-bg);
}
.st-journal-landscape {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.st-journal-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--st-shade) 70%, transparent),
    color-mix(in srgb, var(--st-shade) 54%, transparent) 20%,
    color-mix(in srgb, var(--st-shade) 26%, transparent) 40%,
    color-mix(in srgb, var(--st-shade) 38%, transparent) 60%,
    color-mix(in srgb, var(--st-shade) 64%, transparent)
  );
}
.st-journal-intro h1 {
  margin: 0 0 16px;
  font-size: 44px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: 0.01em;
}
.st-journal-intro p {
  margin: 0;
  font-size: 17px;
  line-height: 30px;
  letter-spacing: 0.03em;
}
.st-journal-content {
  padding-block: 64px 96px;
}
.st-pagination {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 48px;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--st-muted);
}
.st-pagination a {
  position: relative;
  border-bottom: 1px solid currentColor;
}

/* ---------------------------------------------------------------- index pages */

.st-index {
  min-height: 65vh;
  padding-top: 96px;
  padding-bottom: 128px;
}
.st-page-heading {
  margin-bottom: 64px;
}
.st-page-heading h1 {
  margin: 0 0 16px;
  font-size: 44px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: 0.01em;
}
.st-page-heading p {
  font-size: 17px;
  line-height: 30px;
  color: var(--st-muted);
}
.st-page-heading .st-text-link {
  display: inline-block;
  margin-top: 32px;
}
.st-page-scene {
  position: relative;
  height: clamp(200px, 28vh, 340px);
  overflow: hidden;
  background: var(--st-photo-bg);
}
.st-page-scene > img {
  width: 100%;
  height: 100%;
}
.st-page-scene + .st-index {
  padding-top: 64px;
}
.st-author-bio {
  max-width: 40em;
  white-space: pre-line;
}
.st-page-heading .st-author-count,
.st-page-heading .st-series-meta {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 24px;
  color: var(--st-meta);
}
/* The series page's author (D106), written like an article's byline. */
.st-series-meta a:hover {
  opacity: 1;
  color: var(--st-accent);
}
.st-series-avatar {
  margin: -3px 8px 0 0;
  vertical-align: middle;
}
.st-author-avatar {
  display: block;
  margin-bottom: 24px;
}
/* One row of single-colour icons; each link is a 44px target, the row starts flush with the
   text (the first icon's padding hangs into the margin). */
.st-author-links {
  display: flex;
  flex-wrap: wrap;
  margin: 8px 0 0 -12px;
  padding: 0;
  list-style: none;
}
.st-author-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--st-ink-soft);
  border-radius: 50%;
}
.st-author-links a:hover {
  color: var(--st-accent);
}
.st-link-icon {
  display: block;
}

/* ---------------------------------------------------------------- avatars (D092) */

/* partials/avatar.html: a photo, or with fallback="initial" the first character. */
.st-avatar {
  display: inline-block;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--st-line);
}
.st-avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--st-avatar-size, 32px);
  height: var(--st-avatar-size, 32px);
  font-size: calc(var(--st-avatar-size, 32px) * 0.43);
  line-height: 1;
  color: var(--st-meta);
}
.st-group-title a {
  position: relative;
}

/* ---------------------------------------------------------------- topic pills (D095)
   partials/topic_pill.html. A line of pills sits above a row's covering title link. */

.st-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 12px 0 0;
}
.st-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 24px;
  padding: 0 10px;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--tag-fg);
  background: var(--tag-bg);
  border-radius: 999px;
  transition: box-shadow 0.2s;
}
.st-tag > span {
  min-width: 0;
  max-width: 16em;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Hover keeps the colours (and so the contrast): a hairline of the pill's own hue. */
a.st-tag:hover {
  color: var(--tag-fg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tag-fg) 45%, transparent);
}
a.st-tag:focus-visible {
  outline-offset: 2px;
  border-radius: 999px;
}
.st-tags__more {
  font-size: 0.8125rem;
  line-height: 24px;
  color: var(--st-meta);
  font-variant-numeric: tabular-nums;
}
.st-tags__wide {
  display: contents;
}
.st-tags__more.st-tags__wide {
  display: inline;
}
.st-tags__narrow {
  display: none;
}
[data-tag-color='sage'] {
  --tag-bg: var(--tag-sage-bg);
  --tag-fg: var(--tag-sage-fg);
}
[data-tag-color='teal'] {
  --tag-bg: var(--tag-teal-bg);
  --tag-fg: var(--tag-teal-fg);
}
[data-tag-color='sky'] {
  --tag-bg: var(--tag-sky-bg);
  --tag-fg: var(--tag-sky-fg);
}
[data-tag-color='indigo'] {
  --tag-bg: var(--tag-indigo-bg);
  --tag-fg: var(--tag-indigo-fg);
}
[data-tag-color='violet'] {
  --tag-bg: var(--tag-violet-bg);
  --tag-fg: var(--tag-violet-fg);
}
[data-tag-color='rose'] {
  --tag-bg: var(--tag-rose-bg);
  --tag-fg: var(--tag-rose-fg);
}
[data-tag-color='clay'] {
  --tag-bg: var(--tag-clay-bg);
  --tag-fg: var(--tag-clay-fg);
}
[data-tag-color='amber'] {
  --tag-bg: var(--tag-amber-bg);
  --tag-fg: var(--tag-amber-fg);
}
[data-tag-color='olive'] {
  --tag-bg: var(--tag-olive-bg);
  --tag-fg: var(--tag-olive-fg);
}
[data-tag-color='stone'] {
  --tag-bg: var(--tag-stone-bg);
  --tag-fg: var(--tag-stone-fg);
}

/* ---------------------------------------------------------------- search (D094) */

/* The box is the page's heading: a list title's size on one hairline in ink. */
.st-search-form {
  position: relative;
  margin-bottom: 64px;
}
.st-search-icon {
  position: absolute;
  top: 50%;
  left: 0;
  color: var(--st-meta);
  translate: 0 -50%;
  pointer-events: none;
}
.st-search-input {
  width: 100%;
  min-height: 56px;
  padding: 8px 0 8px 40px;
  font-size: 24px;
  line-height: 32px;
  color: var(--st-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--st-ink);
  border-radius: 0;
  appearance: none;
}
.st-search-input:focus {
  outline: none;
}
.st-search-input:focus-visible {
  border-bottom-color: var(--st-focus);
  box-shadow: 0 1px 0 var(--st-focus);
}
/* No results, a query too long, too many searches: one quiet line under the box. */
.st-search-note {
  color: var(--st-muted);
}
.st-search-group + .st-search-group {
  margin-top: 64px;
}
.st-search-more {
  display: inline-block;
  margin-top: 24px;
}
.st-search mark {
  color: inherit;
  background: color-mix(in srgb, var(--st-accent) 16%, transparent);
  border-radius: 2px;
}

/* ---------------------------------------------------------------- shelf (D078) */

/* A tag filter's name and the way out, on the blog's dark header and on the shelf. */
.st-filter {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  margin: 0;
}
.st-filter-name {
  font-weight: 500;
}
.st-filter a {
  position: relative;
  font-size: 0.875rem;
  border-bottom: 1px solid currentColor;
}
.st-shelf-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 28px;
  margin: -32px 0 16px;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: var(--st-meta);
}
.st-shelf-filters > a {
  transition: color 0.2s;
}
.st-shelf-filters > a:is(:hover, [aria-current='page']) {
  color: var(--st-ink);
}
.st-shelf-filters .st-filter {
  margin-left: auto;
  color: var(--st-ink);
}
/* A row's last line (D093): who read it, the latest update, the tags. */
.st-shelf-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 16px;
  margin: 8px 48px 0 0;
  font-size: 0.8125rem;
  line-height: 24px;
  color: var(--st-meta);
}
.st-shelf-foot time {
  font-variant-numeric: tabular-nums;
}
.st-shelf-readers .st-shelf-reader-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--st-ink-soft);
}
.st-shelf-foot .st-shelf-readers {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}
.st-shelf-foot .st-tags {
  margin: 0;
}
.st-shelf-heading h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}
.st-shelf-heading .st-shelf-byline {
  margin: 0;
  font-size: 1rem;
  line-height: 28px;
  color: var(--st-ink);
}
.st-shelf-links {
  flex-wrap: wrap;
  gap: 0 24px;
  white-space: normal;
}
.st-shelf-links a {
  position: relative;
  border-bottom: 1px solid var(--st-line);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.st-shelf-links a:hover {
  border-color: currentColor;
}
.st-shelf-heading .st-tags {
  margin-top: 16px;
}
.st-shelf-note {
  padding: 32px 0;
  border-top: 1px solid var(--st-line);
}
.st-shelf-note:last-child {
  border-bottom: 1px solid var(--st-line);
}
.st-shelf-note .st-post-meta {
  margin-top: 0;
}
.st-shelf-reader a {
  position: relative;
  color: var(--st-ink);
  border-bottom: 1px solid var(--st-line);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.st-shelf-reader a:hover {
  color: var(--st-accent);
  border-color: currentColor;
}
.st-shelf-note-text {
  max-width: 40em;
  margin: 8px 0 0;
  font-size: 1rem;
  line-height: 28px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.st-shelf-post {
  margin: 16px 0 0;
  font-size: 0.9375rem;
  line-height: 24px;
}
.st-shelf-post a {
  position: relative;
  border-bottom: 1px solid var(--st-line);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.st-shelf-post a:hover {
  border-color: currentColor;
}
.st-shelf-post span {
  margin-left: 8px;
}
.st-author-series,
.st-author-shelf {
  margin-top: 64px;
}

/* ---------------------------------------------------------------- about */

.st-about {
  padding-bottom: 96px;
}
.st-about-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 42vh;
  min-height: 336px;
  max-height: 496px;
  padding-block: 64px;
  overflow: hidden;
  isolation: isolate;
  color: var(--st-on-photo);
  background: var(--st-photo-bg);
}
.st-about-landscape {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.st-about-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--st-shade) 4%, transparent),
    color-mix(in srgb, var(--st-shade) 56%, transparent)
  );
}
.st-about-header h1 {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: 0.01em;
}
.st-about-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  column-gap: 72px;
  padding-top: 80px;
}
.st-about-poem {
  margin: 0;
  font-family: var(--st-serif);
  font-size: 23px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}
.st-about-copy {
  min-width: 0;
}
.st-about-copy .st-prose {
  font-size: 16px;
}
.st-about-colophon {
  margin-top: clamp(48px, 6vw, 96px);
  padding-top: 16px;
  font-size: 0.8125rem;
  line-height: 24px;
  color: var(--st-muted);
  border-top: 1px solid var(--st-line);
}
.st-about-copy > .st-about-colophon:first-child {
  margin-top: 0;
}
.st-about-colophon p {
  margin: 0 0 8px;
}

/* ---------------------------------------------------------------- footer */

/* Two rows over the picture: the site's own line and the way around (blog, shelf, about) on
   top, then the year and the picture's credit under a hairline. Left column is about the
   site, right column is links; everything sits on the header's 56px margins. */
.st-footer {
  position: relative;
  padding: 96px 56px 32px;
  overflow: hidden;
  isolation: isolate;
  color: var(--st-on-photo);
  background: var(--st-photo-bg);
}
.st-footer-landscape {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.st-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--st-shade) 16%, transparent),
    color-mix(in srgb, var(--st-shade) 56%, transparent) 45%,
    color-mix(in srgb, var(--st-shade) 80%, transparent)
  );
}
.st-footer-top,
.st-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  max-width: 1488px;
  margin: auto;
}
.st-footer-top {
  flex-wrap: wrap;
}
.st-footer-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.st-footer-note {
  flex: 0 1 40em;
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--st-on-photo-soft);
  overflow-wrap: anywhere;
}
.st-footer-bottom {
  margin-top: 16px;
  padding-top: 16px;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--st-on-photo-soft);
  border-top: 1px solid color-mix(in srgb, var(--st-on-photo) 22%, transparent);
}
.st-footer .st-credit {
  position: relative;
  right: auto;
  bottom: auto;
  font-size: inherit;
  letter-spacing: 0.06em;
  color: inherit;
  text-shadow: none;
}

/* ---------------------------------------------------------------- motion */

@keyframes st-push {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1);
  }
}
@keyframes st-reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------------------------------------------------------------- titles: serif */

/* With serif headings (the default), page, article and list titles and the article's section
   headings are in the title serif; with sans headings they stay in the sans (D091). */
.st-site:not([data-heading='sans'])
  :is(
    .st-journal-intro h1,
    .st-about-header h1,
    .st-page-heading h1,
    .st-shelf-heading h1,
    .st-article-title,
    .st-post-title,
    .st-entry-title,
    .st-shelf-card-list a,
    .st-related__title,
    .st-article-prose > h2,
    .st-article-prose > h3
  ) {
  font-family: var(--st-title-serif);
}

/* ---------------------------------------------------------------- headings: sans */

.st-site[data-heading='sans']
  :is(
    .st-wordmark,
    .st-hero-copy h1,
    .st-hero-copy p,
    .st-journal-intro h1,
    .st-about-header h1,
    .st-about-poem,
    .st-page-heading h1
  ) {
  font-family: var(--st-sans);
  letter-spacing: 0.04em;
}
.st-site[data-heading='sans'] .st-hero-copy h1 {
  margin-right: -0.04em;
}

/* ---------------------------------------------------------------- tablet and phone */

@media (max-width: 800px) {
  :root {
    --st-header: 76px;
  }
  .st-wrap {
    width: calc(100% - 48px);
  }
  .st-header-inner {
    gap: 16px;
    padding: 0 24px;
  }
  .st-wordmark {
    font-size: 22px;
  }
  .st-nav {
    gap: 24px;
  }
  .st-hero-copy h1 {
    font-size: 70px;
  }
  .st-hero-copy p {
    left: -18px;
    font-size: 17px;
    letter-spacing: 0.08em;
  }
  .st-scroll {
    bottom: 32px;
    left: 24px;
  }
  .st-credit {
    right: 24px;
  }
  .st-hero .st-credit {
    right: 24px;
    bottom: 28px;
  }
  .st-selected {
    padding-block: 64px 48px;
  }
  .st-shelf-card {
    padding-bottom: 80px;
  }
  .st-post-title {
    font-size: 22px;
  }
  .st-footer {
    padding: 80px 24px 24px;
  }
  .st-journal-header {
    height: 336px;
    padding-block: 40px;
  }
  .st-journal-content {
    padding-block: 48px 80px;
  }
  .st-index {
    padding-top: 64px;
  }
  .st-page-scene + .st-index {
    padding-top: 48px;
  }
  .st-about {
    padding-bottom: 80px;
  }
  .st-about-header {
    height: 36vh;
    min-height: 288px;
    padding-block: 40px;
  }
  .st-about-body {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
  }
}

@media (max-width: 640px) {
  .st-scene {
    object-position: var(--st-focus-mobile, var(--st-focus, 50% 50%));
  }
  .st-credit {
    right: 16px;
  }
  .st-shelf-card {
    grid-template-columns: 1fr;
  }
  .st-shelf-card-head {
    padding: 32px 40px 16px 0;
  }
  .st-shelf-card-list {
    border-top: 0;
  }
  .st-shelf-filters {
    margin-top: -16px;
    gap: 0 24px;
  }
  .st-shelf-filters .st-filter {
    margin-left: 0;
  }
  .st-shelf-heading h1 {
    font-size: 28px;
    line-height: 40px;
  }
  .st-shelf-abstract {
    margin-top: -16px;
  }
  /* Running text is 16px on a phone. */
  .st-journal-intro p,
  .st-entry-text,
  .st-shelf-abstract,
  .st-shelf-post {
    font-size: 1rem;
    line-height: 28px;
  }
  /* keep header text clear of the credit label */
  .st-journal-header,
  .st-about-header {
    padding-bottom: 48px;
  }
  .st-footer-nav {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  /* A list row shows two pills on a phone, the rest as "+N". */
  .st-tags .st-tags__wide {
    display: none;
  }
  .st-tags .st-tags__narrow {
    display: inline;
  }
  /* One row still: the name, the three sections centred between, the account pill. Every
     link is 44px tall to tap (see the shared nav rule). */
  .st-header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    padding: 0 20px;
  }
  .st-wordmark {
    font-size: 20px;
    letter-spacing: 0.1em;
  }
  .st-nav {
    justify-content: center;
    gap: 16px;
  }
  .st-header-end {
    gap: 4px;
  }
  .st-search-link {
    width: 36px;
    height: 36px;
  }
  .st-search-link::before {
    inset: -4px;
  }
  .st-account {
    padding: 7px 12px;
    font-size: 0.8125rem;
  }
  .st-account::before {
    inset: -6px 0;
  }
  .st-account-label {
    max-width: 5em;
  }
  .st-account-arrow {
    display: none;
  }
  .st-hero-media {
    inset: 0;
    transform: none;
  }
  .st-hero-media img {
    animation: none;
  }
  .st-hero-shade {
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--st-shade) 52%, transparent),
      transparent 224px,
      color-mix(in srgb, var(--st-shade) 10%, transparent) 50%,
      color-mix(in srgb, var(--st-shade) 35%, transparent)
    );
  }
  .st-hero-copy {
    max-width: 90%;
  }
  .st-hero-copy h1 {
    font-size: clamp(45px, 13.5vw, 65px);
    letter-spacing: 0.15em;
    margin-right: -0.15em;
  }
  .st-hero-copy p {
    left: -8px;
    margin-top: 16px;
    font-size: 14px;
    letter-spacing: 0.06em;
  }
  .st-entry-title {
    font-size: 20px;
  }
  .st-text-link {
    font-size: 0.8125rem;
  }
  .st-text-link span {
    margin-left: 12px;
  }
  .st-post-title {
    margin-right: 32px;
    font-size: 20px;
  }
  .st-post-meta {
    gap: 8px;
  }
  .st-row-arrow {
    font-size: 18px;
  }
  .st-post-summary,
  .st-shelf-excerpt {
    margin-right: 32px;
  }
  .st-page-heading {
    margin-bottom: 48px;
  }
  .st-page-heading h1 {
    font-size: 36px;
    line-height: 48px;
  }
  .st-search-input {
    font-size: 20px;
  }
  .st-search-form {
    margin-bottom: 48px;
  }
  .st-about-poem {
    font-size: 20px;
  }
}

/* With the search link (D094) the row is full from about 400px down: tighter gaps, and a
   reader's name in the pill is cut sooner, so the sections never run under the pill. */
@media (max-width: 400px) {
  .st-header-inner {
    gap: 8px;
    padding: 0 16px;
  }
  .st-nav {
    gap: 12px;
  }
  .st-header-end {
    gap: 2px;
  }
  .st-search-link {
    width: 32px;
  }
  .st-search-link::before {
    inset: -4px -2px;
  }
  .st-account-label {
    max-width: 3em;
  }
}

/* Narrower than 360px the sections move to a second row under the name and the pill. */
@media (max-width: 359px) {
  :root {
    --st-header: 108px;
  }
  .st-header-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: 60px 44px;
    align-content: center;
    row-gap: 0;
  }
  .st-header-end {
    grid-area: 1 / 2;
  }
  .st-nav {
    grid-area: 2 / 1 / 3 / -1;
    justify-content: flex-start;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .st-hero-media {
    transform: none;
  }
}
