/* Generated client builds replace the tokens below. */
:root {
  --brand-primary: #16151a;
  --brand-accent: #c8322a;
  --brand-surface: #f7f5f2;
  --brand-ink: #29262d;
  --display-font: "Inter Tight", Georgia, serif;
  --body-font: "Inter", system-ui, sans-serif;
  --white: #fff;
  --muted: color-mix(in srgb, var(--brand-ink) 68%, var(--brand-surface));
  --line: color-mix(in srgb, var(--brand-ink) 18%, transparent);
  --accent-ink: #ffffff;
  --content: 72rem;
  --measure: 70ch;
  --radius: 1rem;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--brand-surface);
  color: var(--brand-ink);
  font-family: var(--body-font);
  font-size: 1.7rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, textarea, select { font: inherit; }
::selection { background: var(--brand-accent); color: var(--accent-ink); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  padding: .8rem 1.2rem;
  background: var(--brand-primary);
  color: var(--white);
  border-radius: .4rem;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: .3rem solid var(--brand-accent); outline-offset: .35rem; }

.site-shell { min-height: 100vh; overflow: clip; }
.site-main { min-height: 68vh; }
.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--brand-surface) 94%, transparent);
}
.site-header__inner,
.site-footer__inner {
  width: min(calc(100% - 4rem), var(--content));
  margin-inline: auto;
}
.site-header__inner {
  min-height: 8.4rem;
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto minmax(15rem, 1fr);
  align-items: center;
  gap: 2.4rem;
}
.brand-mark { display: inline-flex; align-items: center; width: fit-content; text-decoration: none; }
.brand-mark__image { max-width: 19rem; max-height: 5.4rem; object-fit: contain; object-position: left center; }
.brand-mark__text {
  font-family: var(--display-font);
  font-size: clamp(2rem, 2.5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
}
.site-nav ul { display: flex; align-items: center; gap: 2.8rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { font-size: 1.45rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover { color: var(--brand-accent); }
.site-header__actions { justify-self: end; }
.mobile-nav { display: none; justify-self: end; }
.mobile-nav summary { cursor: pointer; font-weight: 800; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav__panel {
  position: absolute;
  right: 2rem;
  top: 7rem;
  width: min(30rem, calc(100vw - 4rem));
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--brand-surface);
  box-shadow: 0 1.8rem 4rem color-mix(in srgb, var(--brand-ink) 16%, transparent);
}
.mobile-nav__panel ul { margin: 0 0 1.6rem; padding: 0; list-style: none; }
.mobile-nav__panel li + li { margin-top: 1rem; }
.mobile-nav__panel a:not(.button) { display: block; text-decoration: none; font-weight: 700; }

.button {
  display: inline-flex;
  min-height: 4.6rem;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: .6rem;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out), background-color .22s var(--ease-out);
}
.button:hover { transform: translateY(-2px); }
.button--primary {
  background: var(--brand-accent);
  color: var(--accent-ink);
  box-shadow: 0 .8rem 2rem color-mix(in srgb, var(--brand-accent) 28%, transparent);
}
.button--primary:hover { box-shadow: 0 1.2rem 2.8rem color-mix(in srgb, var(--brand-accent) 36%, transparent); }
.text-link { color: var(--brand-primary); font-weight: 800; }
.text-link span { display: inline-block; transition: transform .22s var(--ease-out); }
.text-link:hover span { transform: translateX(.35rem); }

.feed-shell {
  width: min(calc(100% - 4rem), var(--content));
  margin-inline: auto;
  padding: clamp(6rem, 9vw, 11rem) 0 clamp(8rem, 12vw, 15rem);
}
.feed-intro { max-width: 86rem; margin-bottom: clamp(4rem, 7vw, 8rem); }
.feed-intro h1,
.collection-header h1,
.article-header h1,
.error-shell h1 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(4.8rem, 8vw, 9.2rem);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.feed-intro p { max-width: 62ch; margin: 2.4rem 0 0; color: var(--muted); font-size: 1.9rem; }
.story-feed { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3.2rem 2.4rem; }
.lead-story {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(30rem, .65fr);
  min-height: 52rem;
  margin-bottom: 3.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--white);
  box-shadow: 0 2rem 5rem color-mix(in srgb, var(--brand-ink) 10%, transparent);
}
.lead-story--no-image { grid-template-columns: 1fr; min-height: 44rem; }
.lead-story__media { min-height: 38rem; overflow: hidden; background: color-mix(in srgb, var(--brand-primary) 8%, var(--brand-surface)); }
.lead-story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.lead-story:hover .lead-story__media img { transform: scale(1.025); }
.lead-story__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 5vw, 6rem); }
.lead-story__content h2 { margin: 1.4rem 0 1.8rem; font-family: var(--display-font); font-size: clamp(3.8rem, 5vw, 6.8rem); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.lead-story__content h2 a,
.story-card h2 a { text-decoration: none; }
.lead-story__content > p { margin: 0 0 2rem; color: var(--muted); }
.story-tag { width: fit-content; color: var(--brand-primary); font-size: 1.25rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.story-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-bottom: 2.4rem; color: var(--muted); font-size: 1.35rem; }
.story-meta > * + *::before { content: "·"; margin-right: 1.4rem; }
.story-card { grid-column: span 4; display: flex; min-width: 0; flex-direction: column; }
.story-card__media { display: block; aspect-ratio: 16 / 10; margin-bottom: 2.2rem; overflow: hidden; border-radius: var(--radius); background: color-mix(in srgb, var(--brand-primary) 8%, var(--brand-surface)); }
.story-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.story-card:hover .story-card__media img { transform: scale(1.03); }
.story-card h2 { margin: 1rem 0 1.2rem; font-family: var(--display-font); font-size: clamp(2.7rem, 3vw, 3.8rem); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.story-card__excerpt { margin: 0 0 1.8rem; color: var(--muted); font-size: 1.55rem; }
.story-card .story-meta { margin-top: auto; margin-bottom: 0; }
.story-card--no-image { padding-top: 2rem; border-top: .5rem solid var(--brand-accent); }
.empty-state { grid-column: 1 / -1; max-width: 72rem; padding: clamp(4rem, 7vw, 8rem); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); background: var(--white); }
.empty-state h1, .empty-state h2 { margin: 0 0 1.4rem; font-family: var(--display-font); font-size: clamp(3.8rem, 6vw, 6rem); line-height: 1; letter-spacing: -.03em; }
.empty-state p { margin: 0 0 2.4rem; color: var(--muted); }

.collection-header { padding: clamp(7rem, 12vw, 14rem) max(2rem, calc((100vw - var(--content)) / 2)); background: var(--brand-primary); color: var(--white); }
.collection-header > p { max-width: 65ch; margin: 2rem 0 0; color: color-mix(in srgb, var(--white) 78%, var(--brand-primary)); }
.collection-header .collection-count { margin: 0 0 2rem; font-size: 1.25rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.collection-header--author { text-align: center; }
.collection-header--author > p { margin-inline: auto; }
.author-avatar { width: 10rem; height: 10rem; margin: 0 auto 3rem; border: .4rem solid color-mix(in srgb, var(--white) 75%, transparent); border-radius: 50%; object-fit: cover; }
.feed-shell--collection { padding-top: clamp(5rem, 8vw, 9rem); }

.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; margin-top: 7rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.pagination__newer { justify-self: start; }
.pagination__older { justify-self: end; }
.pagination__status { color: var(--muted); font-size: 1.35rem; }

.article-shell { padding-bottom: clamp(8rem, 12vw, 15rem); }
.article { width: 100%; }
.article-header { width: min(calc(100% - 4rem), 96rem); margin: 0 auto; padding: clamp(7rem, 11vw, 14rem) 0 clamp(4rem, 7vw, 8rem); text-align: center; }
.article-header h1 { font-size: clamp(4.8rem, 8vw, 9.6rem); }
.article-deck { max-width: 66ch; margin: 2.8rem auto 0; color: var(--muted); font-size: clamp(1.9rem, 2.5vw, 2.4rem); line-height: 1.5; }
.story-meta--article { justify-content: center; margin: 2.6rem 0 0; }
.story-meta--article a { text-decoration: none; }
.article-hero { width: min(calc(100% - 4rem), 130rem); margin: 0 auto clamp(5rem, 8vw, 9rem); }
.article-hero img { width: 100%; max-height: 78rem; border-radius: calc(var(--radius) * 1.5); object-fit: cover; }
.article-hero figcaption { margin-top: 1rem; color: var(--muted); font-size: 1.3rem; text-align: center; }
.gh-content { width: min(calc(100% - 4rem), var(--measure)); margin-inline: auto; }
.gh-content > * { min-width: 0; }
.gh-content > * + * { margin-top: 2.4rem; }
.gh-content h2, .gh-content h3, .gh-content h4 { margin-top: 5.2rem; margin-bottom: 1.4rem; font-family: var(--display-font); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.gh-content h2 { font-size: clamp(3.4rem, 5vw, 5.2rem); }
.gh-content h3 { font-size: clamp(2.8rem, 4vw, 3.8rem); }
.gh-content p, .gh-content li { color: color-mix(in srgb, var(--brand-ink) 88%, var(--brand-surface)); }
.gh-content a { color: var(--brand-primary); font-weight: 700; }
.gh-content blockquote { margin-inline: 0; padding: 1.8rem 0 1.8rem 2.4rem; border-left: .2rem solid var(--brand-accent); font-family: var(--display-font); font-size: clamp(2.6rem, 4vw, 4rem); line-height: 1.25; }
.gh-content hr { margin-block: 6rem; border: 0; border-top: 1px solid var(--line); }
.gh-content pre { overflow-x: auto; padding: 2rem; border-radius: .8rem; background: var(--brand-ink); color: var(--brand-surface); font-size: 1.4rem; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 1.5rem; }
.gh-content th, .gh-content td { padding: 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.gh-content :is(.kg-image-card, .kg-gallery-card, .kg-video-card, .kg-audio-card, .kg-file-card, .kg-embed-card, .kg-bookmark-card) { width: min(112rem, calc(100vw - 4rem)); margin-left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-wide { width: min(112rem, calc(100vw - 4rem)); }
.gh-content .kg-width-full { width: 100vw; }
.kg-image-card img { margin-inline: auto; border-radius: var(--radius); }
.kg-gallery-container { display: flex; flex-direction: column; gap: .8rem; }
.kg-gallery-row { display: flex; gap: .8rem; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.kg-callout-card { padding: 2.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--brand-accent) 10%, var(--white)); }
.kg-button-card .kg-btn { display: inline-flex; padding: 1rem 1.8rem; border-radius: .6rem; background: var(--brand-accent); color: var(--accent-ink); text-decoration: none; }
.kg-bookmark-card a { display: grid; grid-template-columns: 1fr 22rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: inherit; text-decoration: none; }
.kg-bookmark-content { padding: 2.2rem; }
.kg-bookmark-title { font-family: var(--display-font); font-size: 2.2rem; font-weight: 700; line-height: 1.15; }
.kg-bookmark-description { margin-top: .8rem; color: var(--muted); font-size: 1.4rem; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.article-cta { width: min(calc(100% - 4rem), 82rem); margin: clamp(6rem, 10vw, 11rem) auto 0; padding: clamp(3rem, 5vw, 5rem); border-radius: calc(var(--radius) * 1.25); background: var(--brand-primary); color: var(--white); text-align: center; }
.article-cta p { margin: 0 0 2rem; font-family: var(--display-font); font-size: clamp(2.8rem, 4vw, 4.4rem); line-height: 1.12; }
.related-stories { width: min(calc(100% - 4rem), var(--content)); margin: clamp(8rem, 12vw, 14rem) auto 0; padding-top: 4rem; border-top: 1px solid var(--line); }
.related-stories > h2 { margin: 0 0 3rem; font-family: var(--display-font); font-size: clamp(3.6rem, 5vw, 5.6rem); letter-spacing: -.03em; }

.error-shell { width: min(calc(100% - 4rem), 86rem); margin-inline: auto; padding: clamp(8rem, 16vw, 19rem) 0; text-align: center; }
.error-code { margin: 0 0 1.8rem; color: var(--brand-accent); font-size: 1.4rem; font-weight: 900; letter-spacing: .16em; }
.error-shell > p:not(.error-code) { max-width: 55ch; margin: 2rem auto 0; color: var(--muted); }
.error-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; margin-top: 3rem; }

.site-footer { padding: clamp(6rem, 9vw, 10rem) 0 3rem; background: var(--brand-primary); color: var(--white); }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 5rem 8rem; }
.site-footer .brand-mark__image { filter: brightness(0) invert(1); }
.site-footer__tagline { max-width: 52ch; margin: 2rem 0 0; color: color-mix(in srgb, var(--white) 76%, var(--brand-primary)); }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.site-footer nav a { color: color-mix(in srgb, var(--white) 80%, var(--brand-primary)); font-size: 1.4rem; text-decoration: none; }
.site-footer nav a:hover { color: var(--white); }
.site-footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 2rem; padding-top: 2.4rem; border-top: 1px solid color-mix(in srgb, var(--white) 20%, transparent); color: color-mix(in srgb, var(--white) 70%, var(--brand-primary)); font-size: 1.3rem; }
.site-footer__bottom a { color: inherit; }

@media (max-width: 900px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .site-nav, .site-header__actions { display: none; }
  .mobile-nav { display: block; }
  .lead-story { grid-template-columns: 1fr; }
  .lead-story__media { aspect-ratio: 16 / 9; min-height: 0; }
  .story-card { grid-column: span 6; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__bottom { grid-column: auto; }
}

@media (max-width: 640px) {
  body { font-size: 1.6rem; }
  .site-header__inner, .site-footer__inner, .feed-shell { width: min(calc(100% - 3rem), var(--content)); }
  .site-header__inner { min-height: 7.2rem; }
  .brand-mark__image { max-width: 15rem; max-height: 4.4rem; }
  .story-feed { gap: 4rem; }
  .lead-story { min-height: 0; margin-bottom: 1rem; }
  .lead-story__content { padding: 2.6rem; }
  .story-card { grid-column: 1 / -1; }
  .story-card__media { margin-bottom: 1.8rem; }
  .pagination { grid-template-columns: 1fr 1fr; }
  .pagination__status { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .pagination__newer, .pagination__older { grid-row: 2; }
  .kg-bookmark-card a { grid-template-columns: 1fr; }
  .kg-bookmark-thumbnail { aspect-ratio: 16 / 9; }
  .site-footer__bottom { flex-direction: column; }
}

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