/*
 * 映像手帖 / ribenmv123.cn
 * Original editorial layout. No external UI libraries or font CDNs.
 * Layout progression: base -> site header -> hero -> sections -> inner pages -> mobile.
 */
:root {
  --paper: #f5f1e9;
  --paper-light: #fcfaf5;
  --ink: #242c2c;
  --muted: #6d7572;
  --red: #b53d32;
  --red-dark: #8c322d;
  --hairline: #dcd7cc;
  --sage: #778a7e;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--red);
}
button, input {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}
p, h1, h2, h3, blockquote {
  margin-top: 0;
}
p {
  line-height: 1.92;
}
.container {
  width: min(var(--container), calc(100% - 56px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  padding: 12px;
  z-index: 300;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 10px;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

/* Header and primary navigation */
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--hairline);
  background: var(--paper-light);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 91px;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 24px;
  border-radius: 50% 50% 4px 50%;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 5px;
}
.brand-name strong {
  font-family: Georgia, "Noto Serif CJK SC", "SimSun", serif;
  letter-spacing: .16em;
  font-size: 23px;
}
.brand-name small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
  font-weight: 700;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.5vw, 26px);
}
.site-nav a {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
  padding: 15px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--red);
  border-color: var(--red);
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 11px 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

/* Eyebrows and section headings */
.eyebrow, .section-kicker {
  display: inline-block;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
  line-height: 1.7;
}
.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--red);
  border-radius: 50%;
}
.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 31px;
}
.section-top h2 {
  margin: 12px 0 0;
  font-family: Georgia, "Noto Serif CJK SC", "SimSun", serif;
  font-size: clamp(27px, 3vw, 37px);
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.35;
}
.section-top h2 em {
  display: inline-block;
  margin-left: 12px;
  color: #a8a8a0;
  font: italic 17px Georgia, serif;
}
.section-more, .section-count {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.section-more span {
  color: var(--red);
  font-size: 18px;
  margin-left: 7px;
}

/* Hero: editorial asymmetry */
.hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
  padding-block: 69px 78px;
}
.hero-copy {
  position: relative;
}
.hero h1 {
  margin: 24px 0 18px;
  font-family: Georgia, "Noto Serif CJK SC", "SimSun", serif;
  font-size: clamp(39px, 4.5vw, 60px);
  line-height: 1.36;
  letter-spacing: .02em;
  font-weight: 700;
}
.hero h1 span {
  display: block;
  color: var(--red);
}
.hero-english {
  color: #9faaa3;
  font: italic 17px/1.6 Georgia, serif;
  letter-spacing: .14em;
}
.hero-description {
  margin: 22px 0 29px;
  color: #5b6662;
  font-size: 14px;
  max-width: 540px;
}
.hero-vertical {
  position: absolute;
  writing-mode: vertical-rl;
  right: -22px;
  top: 5px;
  color: #a8a89c;
  font-size: 10px;
  letter-spacing: .35em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.primary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 11px 21px;
  background: var(--red);
  color: white;
  font-size: 13px;
  font-weight: 650;
  transition: background .2s;
}
.primary-button:hover {
  color: white;
  background: var(--red-dark);
}
.primary-button span {
  font-size: 18px;
}
.quiet-button {
  font-size: 12px;
  border-bottom: 1px solid var(--ink);
  padding: 9px 0;
}
.quiet-button span {
  color: var(--red);
}
.hero-index {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 11px;
}
.hero-index strong {
  color: var(--ink);
  font: 28px Georgia, serif;
}
.hero-index i {
  width: 27px;
  height: 1px;
  background: var(--hairline);
  margin-inline: 12px;
}
.hero-art {
  position: relative;
  margin-left: 8px;
}
.hero-art > img {
  width: 100%;
  height: 492px;
  object-fit: cover;
  border-radius: 240px 240px 4px 4px;
  box-shadow: 24px 26px 0 #e4e0d7;
}
.hero-art-note {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: rgba(26, 34, 33, .78);
  backdrop-filter: blur(8px);
  color: white;
  border-radius: 0 0 4px 4px;
}
.hero-art-note span {
  letter-spacing: .14em;
  font-size: 9px;
}
.hero-art-note strong {
  font-size: 12px;
  font-weight: 500;
}
.corner-stamp {
  position: absolute;
  top: 10%;
  left: -26px;
  width: 54px;
  height: 54px;
  background: var(--red);
  color: white;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 15px/1.1 Georgia, serif;
  text-align: center;
}
.ribbon {
  background: var(--ink);
  color: #e3e4de;
  font: 10px Georgia, serif;
  letter-spacing: .18em;
}
.ribbon .container {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.ribbon span {
  color: #d48a7b;
}

/* Home editorial modules */
.intro-strip {
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: 50px;
  padding-block: 83px 86px;
  border-bottom: 1px solid var(--hairline);
}
.intro-label {
  color: var(--red);
  font: 12px Georgia, serif;
  letter-spacing: .12em;
}
.intro-label span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font: 13px sans-serif;
}
.intro-strip h2 {
  font-family: Georgia, "SimSun", serif;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.45;
  margin-bottom: 19px;
}
.intro-strip p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  max-width: 770px;
}
.featured-section {
  padding: 86px 0 98px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.story-card {
  min-width: 0;
}
.story-cover {
  display: block;
  overflow: hidden;
  background: #dedbd2;
}
.story-cover img {
  width: 100%;
  aspect-ratio: 1.19/1;
  object-fit: cover;
  transition: transform .5s;
}
.story-cover:hover img {
  transform: scale(1.045);
}
.story-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .035em;
}
.story-meta span:first-child {
  color: var(--red);
  font-weight: 750;
}
.story-card h3 {
  margin: 16px 0 9px;
  font-family: Georgia, "SimSun", serif;
  font-size: 20px;
  line-height: 1.48;
}
.story-card p {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.95;
}
.text-link {
  color: var(--red);
  font-size: 11px;
  font-weight: 750;
}
.text-link span {
  font-size: 16px;
}
.category-section {
  padding-bottom: 99px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.category-tile {
  position: relative;
  min-width: 0;
  height: 265px;
  overflow: hidden;
  background: #3f4645;
  color: white;
}
.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.38),transparent 46%,rgba(0,0,0,.67));
  pointer-events: none;
}
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.category-tile:hover {
  color: white;
}
.category-tile:hover img {
  transform: scale(1.07);
}
.category-number {
  position: absolute;
  z-index: 1;
  left: 19px;
  top: 20px;
  font: 10px Georgia, serif;
  letter-spacing: .15em;
}
.category-tile > div {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
}
.category-tile strong {
  font-family: Georgia, "SimSun", serif;
  font-size: 25px;
}
.category-tile div span {
  font-size: 11px;
  opacity: .85;
}
.quote-section {
  background: #e7e6df;
}
.quote-inner {
  text-align: center;
  padding: 65px 0 61px;
}
.quote-mark {
  color: var(--red);
  font: 78px/.7 Georgia, serif;
}
.quote-inner blockquote {
  font-family: Georgia, "SimSun", serif;
  font-size: clamp(19px, 2.5vw, 29px);
  line-height: 1.9;
  margin: 19px 0;
}
.quote-inner p {
  color: #848a83;
  font: 10px Georgia, serif;
  letter-spacing: .2em;
  margin: 0;
}
.latest-section {
  padding-block: 88px 100px;
}
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 24px;
}
.resource-panel {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  min-height: 345px;
  margin-bottom: 110px;
  background: #25312f;
  color: white;
}
.resource-art {
  min-height: 345px;
  overflow: hidden;
}
.resource-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.resource-copy {
  padding: clamp(34px, 5vw, 64px);
  align-self: center;
}
.resource-copy .section-kicker {
  color: #ecada3;
}
.resource-copy h2 {
  font-family: Georgia,"SimSun",serif;
  font-size: clamp(25px, 2.7vw, 36px);
  line-height: 1.45;
  margin: 14px 0;
}
.resource-copy p {
  color: #c9d2ce;
  font-size: 13px;
}

/* Category listing */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  color: #8a8d85;
  font-size: 12px;
  padding: 31px 0 39px;
}
.breadcrumbs a {
  color: #515956;
}
.category-hero-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 55px;
  align-items: center;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--hairline);
}
.category-hero-grid h1 {
  font-family: Georgia,"SimSun",serif;
  font-size: clamp(42px, 5vw, 65px);
  margin: 14px 0 20px;
}
.category-lead {
  max-width: 510px;
  color: var(--muted);
  font-size: 15px;
}
.category-hero-grid > img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 170px 170px 3px 3px;
}
.collection-counter {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
}
.collection-counter b {
  color: var(--red);
  font: 43px Georgia,serif;
}
.collection-counter span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.listing-section {
  padding-block: 72px 100px;
}
.topic-note {
  border-top: 1px solid var(--hairline);
  margin-top: 80px;
  padding-top: 36px;
}
.topic-note h2 {
  font: 26px Georgia,"SimSun",serif;
}
.topic-note p {
  max-width: 780px;
  color: var(--muted);
  font-size: 14px;
}

/* Article page and reading UI */
.article-shell {
  max-width: 1040px;
}
.article-header {
  max-width: 850px;
  margin: 8px auto 43px;
  text-align: center;
}
.article-header h1 {
  margin: 18px auto 20px;
  font-family: Georgia,"SimSun",serif;
  font-size: clamp(31px, 4vw, 49px);
  line-height: 1.43;
}
.article-deck {
  max-width: 760px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 15px;
}
.article-byline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 23px;
  margin-top: 26px;
  color: #81877e;
  font-size: 11px;
}
.article-figure {
  margin: 0 auto 45px;
}
.article-figure img {
  width: 100%;
  max-height: 510px;
  object-fit: cover;
  object-position: center 38%;
}
.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  gap: 75px;
  align-items: start;
}
.article-content {
  min-width: 0;
}
.article-introduction {
  color: #404d47;
  font-size: 16px;
  line-height: 2.14;
}
.article-toc {
  margin: 32px 0 45px;
  padding: 24px 28px;
  background: #ece9e0;
}
.article-toc strong {
  color: var(--red);
  font: bold 11px Georgia,serif;
  letter-spacing: .12em;
}
.article-toc ol {
  padding-left: 22px;
  margin: 17px 0 0;
  font-size: 13px;
  line-height: 2.3;
}
.article-toc a {
  border-bottom: 1px solid var(--hairline);
}
.article-part {
  margin: 0 0 39px;
  scroll-margin-top: 32px;
}
.article-part h2 {
  border-left: 4px solid var(--red);
  padding-left: 15px;
  font-family: Georgia,"SimSun",serif;
  font-size: 24px;
  line-height: 1.5;
}
.article-part p {
  color: #48534f;
  font-size: 15px;
  line-height: 2.1;
  text-align: justify;
}
.article-disclaimer {
  margin: 35px 0 10px;
  padding: 16px 20px;
  border-left: 2px solid #bcaea4;
  background: #ebe8df;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.article-sidebar {
  position: sticky;
  top: 24px;
}
.sidebar-box {
  border-top: 3px solid var(--ink);
  margin-bottom: 27px;
  padding: 20px 0 4px;
}
.sidebar-box h2 {
  font-family: Georgia,"SimSun",serif;
  font-size: 20px;
  margin: 12px 0;
}
.sidebar-box p, .sidebar-box a {
  font-size: 12px;
  line-height: 2;
}
.sidebar-box p {
  color: var(--muted);
}
.sidebar-box > a {
  color: var(--red);
}
.sidebar-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sidebar-box li {
  padding: 7px 0;
  border-bottom: 1px solid var(--hairline);
}
.related-section {
  margin: 80px 0 120px;
  padding-top: 44px;
  border-top: 1px solid var(--hairline);
}

/* About page */
.simple-page {
  max-width: 880px;
  padding-bottom: 110px;
}
.simple-page h1 {
  margin: 11px 0 13px;
  font: 52px Georgia,"SimSun",serif;
}
.simple-page h2 {
  margin-top: 43px;
  font: 26px Georgia,"SimSun",serif;
}
.simple-page p {
  color: #52605a;
  font-size: 15px;
}
.simple-lead {
  font-size: 19px !important;
}

/* Footer */
.site-footer {
  background: #232e2c;
  color: #dbe1dc;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 50px;
  padding: 60px 0 45px;
}
.footer-brand {
  font: 27px Georgia,"SimSun",serif;
  color: white;
}
.footer-brand span {
  font: 9px Georgia,serif;
  letter-spacing: .14em;
  color: #aeb9b4;
}
.footer-grid p {
  max-width: 590px;
  margin: 14px 0 0;
  font-size: 12px;
  color: #aeb9b4;
}
.footer-links {
  display: flex;
  justify-content: flex-end;
  align-items: start;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  font-size: 12px;
}
.footer-links a:hover {
  color: #f3bcb2;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #45514b;
  padding: 19px 0 26px;
  color: #aeb9b4;
  font-size: 11px;
}

/* Tablet and mobile: explicit geometry, no horizontal overflow */
@media (max-width: 1110px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 13px;
  }
  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }
  .hero {
    gap: 40px;
  }
  .hero-vertical {
    display: none;
  }
}
@media (max-width: 820px) {
  .container {
    width: min(var(--container), calc(100% - 36px));
  }
  .header-inner {
    min-height: 75px;
    flex-wrap: nowrap;
  }
  .brand-name strong {
    font-size: 20px;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: auto;
    background: var(--paper-light);
    padding: 8px 18px 18px;
    box-shadow: 0 16px 22px rgba(0,0,0,.12);
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 12px;
  }
  .site-nav.is-open {
    display: grid;
  }
  .site-nav a {
    padding: 13px 8px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 46px 56px;
  }
  .hero h1 {
    max-width: 640px;
  }
  .hero-art {
    max-width: 600px;
    width: calc(100% - 26px);
    margin-inline: auto;
  }
  .hero-art > img {
    height: min(70vw, 470px);
  }
  .intro-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 60px;
  }
  .featured-grid, .latest-grid, .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-hero-grid {
    grid-template-columns: 1fr 290px;
    gap: 28px;
  }
  .category-hero-grid > img {
    height: 300px;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .resource-panel {
    grid-template-columns: .8fr 1.2fr;
  }
}
@media (max-width: 560px) {
  .container {
    width: calc(100% - 30px);
  }
  .hero {
    gap: 40px;
    padding-top: 36px;
  }
  .hero h1 {
    font-size: clamp(32px, 9vw, 44px);
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-art > img {
    height: 355px;
    border-radius: 190px 190px 4px 4px;
    box-shadow: 13px 15px 0 #e4e0d7;
  }
  .hero-art-note {
    padding: 13px 12px;
  }
  .hero-art-note span {
    font-size: 8px;
  }
  .hero-art-note strong {
    font-size: 10px;
  }
  .ribbon .container {
    line-height: 2;
    font-size: 9px;
  }
  .section-top {
    align-items: start;
    flex-direction: column;
    gap: 9px;
  }
  .section-top h2 em {
    display: block;
    margin: 4px 0 0;
    font-size: 15px;
  }
  .featured-section, .latest-section {
    padding-block: 62px;
  }
  .featured-grid, .latest-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 33px;
  }
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .category-tile {
    height: 205px;
  }
  .category-tile strong {
    font-size: 19px;
  }
  .category-tile > div {
    display: block;
    left: 13px;
    right: 8px;
    bottom: 12px;
  }
  .category-tile > div span {
    display: block;
    margin-top: 4px;
  }
  .category-number {
    left: 13px;
    top: 13px;
    font-size: 8px;
  }
  .category-section {
    padding-bottom: 62px;
  }
  .quote-inner {
    padding-block: 47px;
  }
  .quote-inner blockquote {
    font-size: 18px;
  }
  .resource-panel {
    grid-template-columns: 1fr;
    margin-bottom: 70px;
  }
  .resource-art {
    min-height: 230px;
    max-height: 245px;
  }
  .resource-copy {
    padding: 30px 24px 36px;
  }
  .category-hero-grid {
    grid-template-columns: 1fr;
  }
  .category-hero-grid > img {
    width: 100%;
    height: 280px;
  }
  .category-hero-grid h1 {
    font-size: 45px;
  }
  .breadcrumbs {
    padding: 23px 0 30px;
  }
  .article-header {
    margin-bottom: 28px;
  }
  .article-header h1 {
    font-size: 30px;
  }
  .article-deck {
    font-size: 13px;
  }
  .article-figure {
    margin-bottom: 25px;
  }
  .article-figure img {
    max-height: 380px;
  }
  .article-content p {
    font-size: 14px;
  }
  .article-part h2 {
    font-size: 22px;
  }
  .article-toc {
    padding: 18px;
  }
  .article-sidebar {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .related-section {
    margin-block: 45px 70px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 43px;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .simple-page h1 {
    font-size: 39px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Final responsive layout guards: avoid clipped text and horizontal scrolling. */
html { overflow-x: clip; }
main, section, article, .header-inner, .hero-copy, .hero-art { min-width: 0; }
:where(h1, h2, h3, p, a) { overflow-wrap: anywhere; }
:where(a, button):focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.story-cover img, .category-tile img { object-position: center; }
@media (min-width: 821px) and (max-width: 1110px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .88fr); }
  .hero h1 { font-size: clamp(35px, 4.1vw, 48px); }
  .hero-art > img { height: 430px; }
  .site-nav a { white-space: nowrap; }
}
@media (max-width: 820px) {
  .site-header { position: relative; z-index: 10; }
  .header-inner { position: relative; }
  .hero { min-height: 0; }
  .ribbon .container { flex-wrap: wrap; }
  .article-sidebar { min-width: 0; }
}
@media (max-width: 560px) {
  .hero-art { width: calc(100% - 18px); }
  .hero-art > img { height: min(91vw, 355px); }
  .corner-stamp { left: -12px; }
  .brand-name small { font-size: 8px; letter-spacing: .06em; }
  .hero-index { flex-wrap: wrap; }
  .category-tile { min-height: 205px; height: auto; aspect-ratio: 1.1 / 1; }
  .category-tile img { position: absolute; inset: 0; }
  .category-tile > div { padding-top: 20px; }
  .footer-links { gap: 13px 20px; }
}
