@charset "UTF-8";

@font-face {
  font-family: 'Storyland Han Serif';
  src: url('../fonts/SourceHanSerifTW-VF.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: block;
}

:root {
  --sl-paper: #f7f3eb;
  --sl-paper-deep: #eee7db;
  --sl-ink: #262422;
  --sl-muted: #6d6861;
  --sl-rule: #302d29;
  --sl-rule-soft: #c8c0b5;
  --sl-accent: #78392f;
  --sl-green: #435d49;
  --sl-white: #fffdf8;
  --sl-wide: 1200px;
  --sl-content: 1100px;
  --sl-reading: 760px;
  --sl-image-ratio: 1 / 1;
  --sl-gutter: clamp(18px, 3.3vw, 40px);
  --sl-serif: 'Storyland Han Serif', serif;
  --sl-latin: Georgia, 'Times New Roman', serif;
  --sl-shadow: 4px 5px 0 rgba(38, 36, 34, .13);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-synthesis: none;
}

body {
  margin: 0;
  background-color: var(--sl-paper);
  background-image:
    linear-gradient(rgba(247, 243, 235, .68), rgba(247, 243, 235, .68)),
    url('https://storylandtw.com/wp-content/uploads/2025/04/未命名-500-x-500-像素-6.png');
  color: var(--sl-ink);
  font-family: var(--sl-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { color: inherit; font: inherit; }
button { border: 0; background: none; cursor: pointer; }

:focus-visible { outline: 2px solid var(--sl-accent); outline-offset: 3px; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 8px 12px; background: var(--sl-ink); color: var(--sl-white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; white-space: nowrap; }

.shell { width: min(var(--sl-content), calc(100% - (var(--sl-gutter) * 2))); margin-inline: auto; }
.shell--wide { width: min(var(--sl-wide), calc(100% - (var(--sl-gutter) * 2))); }

.site-header { position: relative; z-index: 20; padding-top: 10px; }

.edition-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 34px;
  padding: 5px 2px 8px;
  border-bottom: 1px solid var(--sl-rule);
  font-family: var(--sl-latin);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .115em;
}

.edition-bar span:last-child { text-align: right; }
.edition-bar__motto { color: var(--sl-muted); font-family: var(--sl-serif); font-size: 11px; font-weight: 500; letter-spacing: .035em; text-align: center; }

.masthead {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 170px;
  align-items: center;
  min-height: 122px;
  padding: 12px 0;
}

.brand-mark { display: flex; align-items: center; height: 82px; padding-right: 18px; border-right: 1px solid var(--sl-rule-soft); }
.brand-mark__image { width: 74px; height: 74px; overflow: hidden; }
.brand-mark__image img { width: 74px; height: 74px; object-fit: cover; filter: grayscale(1) brightness(1.9) contrast(2.4); mix-blend-mode: multiply; }
.brand-mark__copy { display: grid; gap: 1px; font-family: var(--sl-latin); font-size: 8px; letter-spacing: .16em; line-height: 1.25; }

.masthead__title { min-width: 0; padding-inline: 28px; text-align: center; }
.masthead__title > a { display: inline-block; font-family: var(--sl-serif); font-size: clamp(48px, 6vw, 72px); font-weight: 700; letter-spacing: .12em; line-height: 1; white-space: nowrap; }

.edition-date { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-left: 20px; border-left: 1px solid var(--sl-rule-soft); text-align: right; }
.edition-date span { font-family: var(--sl-latin); font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.edition-date__label { margin-bottom: 6px; color: var(--sl-accent); }
.edition-date strong { display: block; margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px solid var(--sl-rule); font-size: 14px; line-height: 1.5; white-space: nowrap; }

.icon-button { display: grid; place-items: center; width: 34px; height: 34px; }
.icon-button svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.nav-frame { position: relative; border-top: 4px double var(--sl-rule); border-bottom: 4px double var(--sl-rule); }
.mobile-nav-bar { display: none; }

.primary-nav { display: grid; grid-template-columns: minmax(0, 1fr) 78px; }
.primary-menu { display: flex; margin: 0; padding: 0; list-style: none; }
.primary-menu > .menu-item { flex: 1 1 0; }
.primary-menu__utility { margin: 0; padding: 0; border-left: 1px solid var(--sl-rule-soft); list-style: none; }
.menu-item { position: relative; min-width: 0; border-right: 1px solid var(--sl-rule-soft); }
.menu-item:last-child { border-right: 0; }
.menu-item__heading { display: flex; min-height: 54px; }
.menu-item__heading > a { display: flex; flex: 1; align-items: center; justify-content: center; min-width: 0; padding: 10px 5px; font-size: 16px; font-weight: 700; letter-spacing: .035em; text-align: center; white-space: nowrap; }
.menu-item__heading > button { display: grid; flex: 0 0 26px; place-items: center; padding: 0 8px 0 0; }
.menu-item__heading > button span { display: block; font-family: var(--sl-latin); font-size: 13px; transition: transform .18s ease; }
.nav-search { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 54px; padding: 8px; font-size: 14px; font-weight: 700; }
.nav-search svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.nav-search:hover, .nav-search:focus-visible { background: var(--sl-ink); color: var(--sl-white); }

.menu-item:hover > .menu-item__heading,
.menu-item:focus-within > .menu-item__heading,
.menu-item.is-open > .menu-item__heading { background: var(--sl-ink); color: var(--sl-white); }
.menu-item.is-open .menu-item__heading > button span { transform: rotate(180deg); }

.sub-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 20;
  display: none;
  width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 5px 8px 8px;
  border: 1px solid var(--sl-rule);
  border-top: 4px solid var(--sl-ink);
  background: var(--sl-paper);
  box-shadow: var(--sl-shadow);
  list-style: none;
}
.menu-item:hover > .sub-menu, .menu-item:focus-within > .sub-menu, .menu-item.is-open > .sub-menu { display: block; }
.sub-menu li { border-bottom: 1px dotted #8f887e; }
.sub-menu li:last-child { border-bottom: 0; }
.sub-menu a { display: block; padding: 12px 7px; font-size: 15px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; text-align: center; }
.sub-menu a:hover, .sub-menu a:focus-visible { background: var(--sl-paper-deep); color: var(--sl-accent); }
.header-search { position: absolute; top: calc(100% + 4px); right: 0; z-index: 25; width: min(460px, 100%); padding: 16px; border: 1px solid var(--sl-rule); background: var(--sl-paper); box-shadow: var(--sl-shadow); }
.header-search[hidden] { display: none; }
.search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.search-form label { min-width: 0; }
.search-field { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--sl-rule); border-radius: 0; background: var(--sl-white); }
.search-form button { min-height: 48px; padding: 0 20px; background: var(--sl-ink); color: var(--sl-paper); font-weight: 700; }

.section-label { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0 7px; border-bottom: 1px solid var(--sl-rule-soft); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.section-label span:first-child { color: var(--sl-accent); }
.section-label span:last-child { color: var(--sl-muted); font-family: var(--sl-latin); font-size: 9px; letter-spacing: .15em; }

.lead-layout { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(270px, .58fr); gap: clamp(28px, 5vw, 58px); margin-top: clamp(42px, 6vw, 72px); }
.lead-story { min-width: 0; }
.lead-story__image { margin-top: 18px; aspect-ratio: 16 / 9; }
.image-frame { display: block; overflow: hidden; border: 1px solid var(--sl-rule); background: var(--sl-paper-deep); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; transition: filter .25s ease, transform .4s ease; }
.image-frame:hover img { filter: grayscale(.72); transform: scale(1.012); }
.story-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 11px 0 8px; color: var(--sl-muted); font-family: var(--sl-latin); font-size: 10px; font-weight: 700; letter-spacing: .095em; }
.story-meta span:first-child { color: var(--sl-accent); font-family: var(--sl-serif); }
.lead-story h1 { max-width: 780px; margin: 0; font-size: clamp(38px, 5.5vw, 68px); font-weight: 900; letter-spacing: .02em; line-height: 1.21; }
.lead-story h1 a:hover { color: var(--sl-accent); }
.lead-story__dek { max-width: 720px; margin: 18px 0 0; color: #4f4b46; font-size: 16px; line-height: 1.88; text-align: justify; }
.lead-story__dek p { margin: 0; }
.lead-story__dek p + p { margin-top: 9px; }

.news-index { min-width: 0; }
.index-list { margin: 18px 0 0; padding: 0; list-style: none; }
.index-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px dotted #898278; }
.index-list__number { color: var(--sl-accent); font-family: var(--sl-latin); font-size: 26px; font-weight: 700; line-height: 1; }
.index-list p, .index-list h2 { margin: 0; }
.index-list p { color: var(--sl-muted); font-family: var(--sl-latin); font-size: 8px; font-weight: 700; letter-spacing: .11em; }
.index-list h2 { margin: 4px 0 2px; font-size: 16px; line-height: 1.45; }
.index-list h2 a:hover { color: var(--sl-accent); text-decoration: underline; text-underline-offset: 4px; }
.index-list div > span { color: var(--sl-muted); font-size: 11px; }

.visual-index { margin-top: 18px; }
.visual-index__feature { padding: 14px 0 15px; border-bottom: 1px dotted #898278; }
.visual-index__feature .image-frame { aspect-ratio: var(--sl-image-ratio); }
.visual-index p, .visual-index h2 { margin: 0; }
.visual-index p { margin-top: 8px; color: var(--sl-muted); font-family: var(--sl-latin); font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.visual-index p span { margin-right: 5px; color: var(--sl-accent); font-size: 13px; }
.visual-index h2 { margin-top: 3px; font-size: 18px; line-height: 1.45; }
.visual-index h2 a:hover { color: var(--sl-accent); text-decoration: underline; text-underline-offset: 4px; }
.visual-index__item { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 13px; align-items: center; padding: 12px 0; border-bottom: 1px dotted #898278; }
.visual-index__item .image-frame { aspect-ratio: var(--sl-image-ratio); }
.visual-index__item p { margin-top: 0; }
.visual-index__item h2 { font-size: 14px; }

.latest-section, .popular-section { margin-top: clamp(54px, 6vw, 76px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 14px 0 12px; border-top: 2px solid var(--sl-rule); }
.section-heading p, .section-heading h2 { margin: 0; }
.section-heading p { color: var(--sl-accent); font-family: var(--sl-latin); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.section-heading h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.25; }
.section-heading > a { padding-bottom: 3px; border-bottom: 1px solid var(--sl-rule); font-size: 12px; font-weight: 700; }

.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 4vw, 42px); margin-top: 24px; }
.story-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.8vw, 30px); }
.story-card { min-width: 0; }
.story-card__image { aspect-ratio: var(--sl-image-ratio); }
.story-card__category { margin: 12px 0 4px; color: var(--sl-accent); font-family: var(--sl-latin); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.story-card h3 { margin: 0; font-size: 21px; line-height: 1.48; }
.story-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.story-card__excerpt { margin: 8px 0 0; color: var(--sl-muted); font-size: 14px; line-height: 1.75; text-align: justify; }
.story-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; color: var(--sl-muted); font-family: var(--sl-latin); font-size: 9px; font-weight: 700; letter-spacing: .08em; }

.popular-layout { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: clamp(30px, 6vw, 70px); margin-top: 24px; }
.popular-feature { padding-top: 0; }
.popular-feature .image-frame { aspect-ratio: var(--sl-image-ratio); }
.popular-feature > p { margin: 10px 0 0; color: var(--sl-muted); font-size: 14px; line-height: 1.75; }
.popular-feature > p:first-of-type { color: var(--sl-accent); font-family: var(--sl-latin); font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.popular-feature h3 { margin: 4px 0 0; font-size: 27px; line-height: 1.45; }
.popular-list { border-top: 1px solid var(--sl-rule); }
.popular-list article { display: grid; grid-template-columns: 42px 104px minmax(0, 1fr); gap: 15px; align-items: center; padding: 13px 0; border-bottom: 1px dotted #898278; }
.popular-list__rank { color: var(--sl-accent); font-family: var(--sl-latin); font-size: 23px; font-weight: 700; }
.popular-list .image-frame { aspect-ratio: var(--sl-image-ratio); }
.popular-list p, .popular-list h3 { margin: 0; }
.popular-list p { color: var(--sl-muted); font-family: var(--sl-latin); font-size: 8px; font-weight: 700; letter-spacing: .11em; }
.popular-list h3 { margin-top: 4px; font-size: 17px; line-height: 1.48; }
.popular-list h3 a:hover, .popular-feature h3 a:hover { color: var(--sl-accent); text-decoration: underline; text-underline-offset: 4px; }

.reading-room { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: clamp(34px, 7vw, 80px); margin-top: clamp(70px, 8vw, 96px); padding-block: 44px; border-top: 2px solid var(--sl-rule); }
.reading-room__intro > p:first-child { margin: 0; color: var(--sl-accent); font-family: var(--sl-latin); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.reading-room__intro h2 { margin: 7px 0 14px; font-size: clamp(32px, 4vw, 48px); line-height: 1.35; }
.reading-room__intro > p:last-child { margin: 0; color: var(--sl-muted); font-size: 14px; }
.reading-room__links { border-top: 2px solid var(--sl-rule); }
.reading-room__links a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 15px 4px; border-bottom: 1px dotted #898278; }
.reading-room__links a:hover { padding-inline: 10px; background: rgba(120, 57, 47, .055); }
.reading-room__links span { color: var(--sl-accent); font-family: var(--sl-latin); font-weight: 700; }
.reading-room__links strong { font-size: 17px; }
.reading-room__links small { color: var(--sl-muted); font-size: 11px; }

.site-footer { margin-top: 120px; padding: 56px 0 72px; background: var(--sl-ink); color: var(--sl-paper); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(120px, .36fr) minmax(320px, 1fr); gap: clamp(30px, 5vw, 66px); }
.site-footer__eyebrow { margin: 0; color: #ccb7a8; font-family: var(--sl-latin); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.site-footer h2 { margin: 12px 0 20px; font-size: clamp(23px, 2.5vw, 34px); font-weight: 500; line-height: 1.5; }
.site-footer h2 strong { display: block; font-size: 1.16em; font-weight: 700; }
.site-footer h2 em { margin-left: 5px; color: #ccb7a8; font-family: var(--sl-latin); font-size: .52em; font-style: normal; letter-spacing: .06em; white-space: nowrap; }
.footer-welcome > p:not(.site-footer__eyebrow) { margin: 0 0 14px; color: #d6d0c7; font-size: 14px; line-height: 1.9; }
.footer-welcome .footer-welcome__closing { margin-top: 20px; color: var(--sl-paper); font-size: 16px; font-weight: 700; }
.site-footer nav { display: grid; align-content: start; }
.footer-menu { display: grid; margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin: 0; }
.site-footer nav a { padding: 7px 0; border-bottom: 1px dotted #77716b; font-size: 13px; }
.site-footer nav a:hover { color: #dbc1b0; }
.site-footer__note { margin: 0 0 14px; color: #c8c1b7; font-size: 13px; line-height: 1.85; }
.footer-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.footer-story-grid a { position: relative; display: block; aspect-ratio: var(--sl-image-ratio); overflow: hidden; background: #3b3733; }
.footer-story-grid img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.03); transition: filter .2s ease, transform .3s ease; }
.footer-story-grid a:hover img, .footer-story-grid a:focus-visible img { filter: saturate(1) contrast(1.05); transform: scale(1.04); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 14px; border-top: 1px solid #5c5751; color: #aaa39a; font-family: var(--sl-latin); font-size: 9px; letter-spacing: .1em; }

.prototype-switcher { position: fixed; right: 14px; bottom: 14px; z-index: 80; display: flex; align-items: center; gap: 3px; padding: 5px; border: 1px solid var(--sl-rule); background: rgba(247, 243, 235, .96); box-shadow: var(--sl-shadow); font-size: 10px; }
.prototype-switcher span { padding: 0 7px; color: var(--sl-muted); font-family: var(--sl-latin); font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.prototype-switcher a { padding: 5px 8px; }
.prototype-switcher a:hover, .prototype-switcher a[aria-current='page'] { background: var(--sl-ink); color: var(--sl-paper); }

/* Single story */
.article-hero { margin-top: 52px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--sl-muted); font-size: 11px; }
.breadcrumbs a:hover { color: var(--sl-accent); }
.article-intro-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr); gap: clamp(36px, 7vw, 86px); align-items: center; margin-top: 42px; }
.article-header { margin: 0; text-align: left; }
.article-kicker { margin: 0; color: var(--sl-accent); font-family: var(--sl-latin); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.article-header h1 { margin: 12px 0 20px; font-size: clamp(42px, 5.2vw, 66px); line-height: 1.24; }
.article-dek { max-width: 620px; margin: 0; color: var(--sl-muted); font-size: 17px; line-height: 1.85; }
.article-byline { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-family: var(--sl-latin); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.article-feature { aspect-ratio: var(--sl-image-ratio); margin: 0; overflow: visible; }
.article-feature, .article-story-row figure { border: 0; background: transparent; }
.article-feature img { border: 1px solid var(--sl-rule); }
.article-feature figcaption, .article-story-row figcaption { margin-top: 6px; color: var(--sl-muted); font-family: var(--sl-latin); font-size: 9px; letter-spacing: .08em; }
.article-body { width: min(920px, calc(100% - (var(--sl-gutter) * 2))); margin: 42px auto 0; font-size: 17px; line-height: 2.02; }
.article-prose { width: min(var(--sl-reading), 100%); }
.article-prose p, .article-story-row__text p { margin: 0 0 1.15em; }
.article-story-row { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: clamp(30px, 6vw, 62px); align-items: center; margin: 42px 0; }
.article-story-row__text { min-width: 0; }
.article-story-row figure { aspect-ratio: var(--sl-image-ratio); margin: 0; overflow: visible; }
.article-story-row figure img { border: 1px solid var(--sl-rule); }
.article-end { width: min(var(--sl-reading), calc(100% - (var(--sl-gutter) * 2))); margin: 58px auto 0; padding: 22px 0 8px; border-top: 1px solid var(--sl-rule); text-align: center; }
.article-end p { margin: 4px 0 0; }
.story-navigation { margin-top: 24px; padding-block: 18px; border-bottom: 1px solid var(--sl-rule); }
.story-navigation__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story-navigation__item { display: grid; align-content: center; min-height: 108px; padding: 12px 28px 14px 0; }
.story-navigation__item--next { padding-right: 0; padding-left: 28px; border-left: 1px solid var(--sl-rule-soft); text-align: right; }
.story-navigation__item span { color: var(--sl-accent); font-family: var(--sl-latin); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.story-navigation__item strong { margin-top: 7px; font-size: 18px; line-height: 1.55; }
.story-navigation__item:hover strong, .story-navigation__item:focus-visible strong { color: var(--sl-accent); text-decoration: underline; text-underline-offset: 4px; }
.article-related { margin-top: 64px; }
.article-related .section-heading { align-items: center; }
.article-related .story-card h3 { font-size: 18px; }
.article-related .story-card__excerpt { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.entry-content > p, .entry-content > h2, .entry-content > h3, .entry-content > ul, .entry-content > ol, .entry-content > blockquote { width: min(var(--sl-reading), 100%); }
.entry-content p { margin-top: 0; margin-bottom: 1.15em; }
.entry-content .wp-block-image img { width: 100%; aspect-ratio: var(--sl-image-ratio); object-fit: cover; }
.entry-content > .wp-block-columns { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); gap: clamp(30px, 6vw, 62px); align-items: center; margin-block: 42px; }
.entry-content > .wp-block-columns .wp-block-column { min-width: 0; }
.entry-content > .wp-block-columns .wp-block-image { margin: 0; }

/* Archive, pages and utility templates */
.archive-main, .page-main { margin-top: clamp(48px, 7vw, 86px); }
.archive-header, .page-header { padding: 18px 0 22px; border-top: 2px solid var(--sl-rule); }
.archive-header { display: block; }
.archive-header--has-cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); gap: clamp(38px, 7vw, 84px); align-items: center; }
.archive-header__copy > p, .page-header > p { margin: 0; color: var(--sl-accent); font-family: var(--sl-latin); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.archive-header h1, .page-header h1 { margin: 5px 0 0; font-size: clamp(38px, 5vw, 60px); }
.archive-description { max-width: 720px; margin-top: 10px; color: var(--sl-muted); font-size: 15px; line-height: 1.8; }
.archive-description > :first-child { margin-top: 0; }.archive-description > :last-child { margin-bottom: 0; }
.archive-header__count { display: inline-flex; align-items: baseline; gap: 7px; margin: 16px 0 0; padding: 6px 11px 6px 9px; background: var(--sl-paper-deep); }
.archive-header__count strong { color: var(--sl-accent); font-family: var(--sl-latin); font-size: 20px; line-height: 1; }
.archive-header__count span { color: var(--sl-muted); font-size: 11px; letter-spacing: .08em; }
.archive-header__cover { width: 100%; aspect-ratio: var(--sl-image-ratio); margin: 0; }
.archive-tools { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 5vw, 58px); margin-top: 24px; padding: 22px 24px; background: rgba(238, 231, 219, .72); }
.archive-tools p { margin: 0 0 9px; color: var(--sl-accent); font-family: var(--sl-latin); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.archive-tools .search-form { grid-template-columns: minmax(0, 1fr) 82px; }
.archive-tools .search-field, .archive-tools .search-form button { min-height: 44px; }
.archive-tools .search-form button { padding-inline: 14px; }
.archive-shelves__links { display: flex; flex-wrap: wrap; gap: 5px 18px; }
.archive-shelves__links a { padding: 7px 0 5px; color: #4f4b46; font-size: 13px; font-weight: 700; }
.archive-shelves__links a:hover, .archive-shelves__links a:focus-visible, .archive-shelves__links a[aria-current='page'] { color: var(--sl-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.story-grid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(24px, 4vw, 42px); margin-top: 42px; }
.navigation.pagination { margin-top: 56px; padding: 16px 0; border-top: 1px solid var(--sl-rule); }
.navigation.pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.navigation.pagination a, .navigation.pagination span { display: grid; min-width: 38px; min-height: 38px; place-items: center; padding: 5px 10px; font-family: var(--sl-latin); font-size: 12px; font-weight: 700; }
.navigation.pagination .current { background: var(--sl-ink); color: var(--sl-paper); }
.navigation.pagination a:hover, .navigation.pagination a:focus-visible { background: var(--sl-paper-deep); color: var(--sl-accent); }
.navigation.pagination .prev, .navigation.pagination .next { min-width: 88px; }
.page-content { width: min(920px, 100%); margin: 42px auto 0; }
.empty-state { display: grid; justify-items: center; gap: 8px; margin: 58px 0; padding: 42px 20px; background: rgba(238, 231, 219, .56); font-size: 18px; text-align: center; }
.empty-state span { color: var(--sl-accent); }.empty-state p { max-width: 620px; margin: 0; }
.not-found { min-height: 55vh; padding-block: 90px; text-align: center; }
.not-found__number { margin: 0; color: var(--sl-accent); font-family: var(--sl-latin); font-size: 72px; font-weight: 700; }
.not-found h1 { font-size: clamp(36px, 6vw, 64px); }
.button { display: inline-flex; margin-top: 20px; padding: 12px 20px; border: 1px solid var(--sl-rule); background: var(--sl-ink); color: var(--sl-paper); font-weight: 700; }
.story-image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--sl-muted); font-size: 34px; }

/* Design system */
.system-page { margin-top: 58px; }
.system-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; padding-bottom: 24px; border-bottom: 2px solid var(--sl-rule); }
.system-intro p { margin: 0; color: var(--sl-muted); }
.system-intro h1 { margin: 0; font-size: clamp(42px, 6vw, 72px); line-height: 1.15; }
.system-section { margin-top: 58px; }
.system-section > h2 { margin: 0 0 20px; padding-bottom: 8px; border-bottom: 1px solid var(--sl-rule); font-size: 26px; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.swatch { min-height: 120px; padding: 14px; border: 1px solid var(--sl-rule); display: flex; flex-direction: column; justify-content: space-between; font-family: var(--sl-latin); font-size: 10px; }
.swatch--ink { background: var(--sl-ink); color: var(--sl-paper); }.swatch--paper { background: var(--sl-paper); }.swatch--deep { background: var(--sl-paper-deep); }.swatch--accent { background: var(--sl-accent); color: white; }.swatch--green { background: var(--sl-green); color: white; }
.type-specimen { display: grid; gap: 18px; }
.type-specimen > * { margin: 0; }
.type-specimen h1 { font-size: 64px; line-height: 1.2; }.type-specimen h2 { font-size: 42px; }.type-specimen h3 { font-size: 26px; }.type-specimen p { max-width: 760px; }
.component-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.demo-button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--sl-rule); font-size: 13px; font-weight: 700; }
.demo-button--filled { background: var(--sl-ink); color: var(--sl-paper); }
.demo-button:hover { background: var(--sl-accent); border-color: var(--sl-accent); color: white; }
.image-ratio-rule { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 42px; align-items: center; }
.image-ratio-rule figure { margin: 0; }
.image-ratio-rule img { width: 100%; aspect-ratio: var(--sl-image-ratio); border: 1px solid var(--sl-rule); object-fit: cover; }
.image-ratio-rule figcaption { display: grid; gap: 3px; margin-top: 8px; font-size: 12px; }
.image-ratio-rule figcaption span, .image-ratio-rule > div { color: var(--sl-muted); }
.image-ratio-rule code { display: inline-block; margin-top: 12px; padding: 7px 10px; background: var(--sl-ink); color: var(--sl-paper); font-size: 12px; }

@media (max-width: 1080px) {
  .masthead { grid-template-columns: 100px minmax(0, 1fr) 150px; }
  .brand-mark__image, .brand-mark__image img { width: 64px; height: 64px; }
  .masthead__title { padding-inline: 18px; }.masthead__title > a { font-size: 54px; }
  .menu-item__heading > a { font-size: 15px; letter-spacing: 0; }
}

@media (max-width: 860px) {
  body.menu-open { overflow: hidden; }
  .site-header { padding-top: 8px; }
  .masthead { grid-template-columns: 86px minmax(0, 1fr) 86px; min-height: 104px; padding: 10px 0; }
  .masthead::after { content: ''; }
  .brand-mark { height: 72px; padding-right: 12px; }.brand-mark__image, .brand-mark__image img { width: 60px; height: 60px; }
  .masthead__title { padding-inline: 10px; }.masthead__title > a { gap: .07em; font-size: clamp(32px, 8vw, 50px); }
  .edition-date { display: none; }
  .mobile-nav-bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 9px; background: var(--sl-paper); font-family: var(--sl-latin); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
  .menu-toggle { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0; font-size: 12px; font-weight: 700; }
  .menu-toggle__icon { display: grid; gap: 4px; width: 20px; }.menu-toggle__icon i { display: block; height: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded='true'] .menu-toggle__icon i:first-child { transform: translateY(5px) rotate(45deg); }.menu-toggle[aria-expanded='true'] .menu-toggle__icon i:nth-child(2) { opacity: 0; }.menu-toggle[aria-expanded='true'] .menu-toggle__icon i:last-child { transform: translateY(-5px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 0; top: 0; z-index: -1; display: block; visibility: hidden; padding: 160px var(--sl-gutter) 40px; background: var(--sl-paper); opacity: 0; overflow-y: auto; transition: opacity .2s ease, visibility .2s ease; }
  .site-header.is-menu-open .primary-nav { z-index: 1; visibility: visible; opacity: 1; }
  .site-header.is-menu-open .masthead { position: relative; z-index: 2; }
  .primary-menu { display: block; border-top: 2px solid var(--sl-rule); }
  .primary-menu__utility { border-left: 0; }
  .menu-item { border-right: 0; border-bottom: 1px solid var(--sl-rule-soft); }
  .menu-item__heading { min-height: 52px; }
  .menu-item__heading > a { justify-content: flex-start; padding: 11px 8px; font-size: 18px; text-align: left; }
  .menu-item__heading > button { flex-basis: 52px; padding: 0; }
  .menu-item:hover > .menu-item__heading, .menu-item:focus-within > .menu-item__heading { background: transparent; color: inherit; }.menu-item.is-open > .menu-item__heading { background: var(--sl-ink); color: var(--sl-paper); }
  .sub-menu { position: static; display: none; width: 100%; padding: 5px 8px 8px 28px; border: 0; border-top: 1px solid var(--sl-rule-soft); box-shadow: none; }
  .menu-item:hover > .sub-menu, .menu-item:focus-within > .sub-menu { display: none; }.menu-item.is-open > .sub-menu { display: block; }
  .sub-menu a { padding: 12px 4px; font-size: 16px; text-align: left; }
  .nav-search { justify-content: flex-start; min-height: 52px; padding-inline: 8px; font-size: 18px; }
  .lead-layout { grid-template-columns: 1fr; }.news-index { margin-top: 24px; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .popular-layout { grid-template-columns: 1fr; }
  .reading-room { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: minmax(0, 1.15fr) minmax(120px, .45fr); }.footer-stories { grid-column: 1 / -1; }.footer-story-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .article-intro-layout, .article-story-row { grid-template-columns: 1fr; }
  .entry-content > .wp-block-columns { grid-template-columns: 1fr; }
  .article-feature { width: min(420px, 100%); }
  .article-story-row figure { width: min(420px, 100%); margin-left: auto; }
  .article-related .story-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-tools { grid-template-columns: 1fr; }
  .archive-header--has-cover { grid-template-columns: minmax(0, 1fr) minmax(190px, 240px); gap: 30px; }
  .swatches { grid-template-columns: 1fr 1fr; }.system-intro, .image-ratio-rule { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 560px) {
  .masthead { grid-template-columns: 64px minmax(0, 1fr) 64px; }.brand-mark { border-right: 0; }.brand-mark__image, .brand-mark__image img { width: 52px; height: 52px; }.masthead__title > a { font-size: 31px; }
  .lead-layout { margin-top: 34px; }.lead-story h1 { font-size: 38px; }.lead-story__dek { font-size: 15px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid--archive { grid-template-columns: 1fr; }
  .archive-header--has-cover { grid-template-columns: 1fr; }
  .archive-header__cover { width: min(320px, 100%); }
  .archive-tools { padding: 18px; }
  .archive-shelves__links { gap-inline: 15px; }
  .navigation.pagination ul.page-numbers { gap: 4px; }
  .navigation.pagination a, .navigation.pagination span { min-width: 34px; min-height: 36px; padding-inline: 8px; }
  .popular-list article { grid-template-columns: 34px 82px minmax(0, 1fr); gap: 11px; }
  .section-heading { align-items: flex-start; }.section-heading > a { margin-top: 8px; font-size: 10px; }
  .reading-room__links a { grid-template-columns: 34px minmax(0, 1fr); }.reading-room__links small { grid-column: 2; }
  .site-footer { margin-top: 90px; }.site-footer__grid { grid-template-columns: 1fr; }.footer-stories { grid-column: auto; }.site-footer__note { font-size: 16px; line-height: 1.9; }.footer-story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }.footer-welcome > p:not(.site-footer__eyebrow) { font-size: 15px; }.footer-welcome .footer-welcome__closing { font-size: 17px; }.site-footer__bottom { flex-direction: column; }
  .prototype-switcher { right: 7px; bottom: 7px; }.prototype-switcher span { display: none; }
  .article-hero { margin-top: 34px; }.article-intro-layout { margin-top: 28px; }.article-header h1 { font-size: 40px; }.article-dek { font-size: 16px; }.article-body { margin-top: 32px; font-size: 16px; }.article-story-row { margin-block: 32px; }
  .story-navigation__grid { grid-template-columns: 1fr; }
  .story-navigation__item { min-height: 0; padding: 14px 0 18px; }
  .story-navigation__item--next { padding: 18px 0 14px; border-top: 1px dotted #898278; border-left: 0; text-align: left; }
  .story-navigation__empty { display: none; }
  .article-related { margin-top: 50px; }
  .article-related .story-grid--four { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: 1fr; }.type-specimen h1 { font-size: 44px; }
}

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