:root {
  color-scheme: light;
  --paper: #f8f4e9;
  --cream: #fffdf7;
  --sage: #e9ede4;
  --deep: #233d31;
  --ink: #243129;
  --muted: #56635a;
  --terra: #8c412f;
  --line: #d7d8ca;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
figure, p, ul, ol { margin: 0; }
h1, h2, h3 { color: var(--deep); font-family: var(--serif); font-weight: 400; line-height: 1.13; margin: 0; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.85rem); letter-spacing: -.045em; }
h3 { font-size: 1.47rem; letter-spacing: -.025em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--terra); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(100% - 4.5rem, 76rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 10; padding: .65rem 1rem; background: var(--cream); transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: var(--cream); }
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; color: var(--deep); text-decoration: none; font-size: .92rem; letter-spacing: -.02em; }
.brand strong { font-weight: 650; }
.brand img { border-radius: 9px; }
.nav, .header-actions { display: flex; align-items: center; gap: clamp(.9rem, 2.2vw, 2rem); }
.nav { font-size: .91rem; font-weight: 540; }
.nav > a { display: flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.nav > a:hover { text-decoration: underline; }
.language { display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: .84rem; font-weight: 700; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; }
.category-menu { position: relative; }
.category-menu summary { display: flex; min-height: 44px; gap: .45rem; align-items: center; list-style: none; cursor: pointer; }
.category-menu summary:hover { color: var(--terra); }
.category-menu summary::-webkit-details-marker { display: none; }
.chevron { width: .44rem; height: .44rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg) translateY(-2px); }
.category-menu[open] .chevron { transform: rotate(225deg) translate(-1px, -1px); }
.dropdown { width: 19rem; position: absolute; top: calc(100% + .35rem); inset-inline-end: -.8rem; z-index: 5; max-height: min(70vh, 33rem); overflow-y: auto; background: var(--cream); border: 1px solid var(--line); border-radius: .85rem; padding: .65rem; box-shadow: 0 .9rem 2rem #26382b1c; }
.dropdown ul { padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; }
.dropdown a { display: flex; min-height: 44px; align-items: center; padding: .3rem .5rem; border-radius: .4rem; text-decoration: none; overflow-wrap: anywhere; }
.dropdown a:hover { background: var(--sage); }
.dropdown-index { border-bottom: 1px solid var(--line); border-radius: 0 !important; margin-bottom: .35rem; color: var(--deep); font-weight: 700; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .63rem 1.1rem; border: 1px solid transparent; border-radius: .45rem; font-size: .91rem; font-weight: 650; text-align: center; text-decoration: none; line-height: 1.34; }
.button-primary { background: var(--deep); border-color: var(--deep); color: var(--cream); }
.button-primary:hover { background: #355742; border-color: #355742; color: var(--cream); }
.button-secondary { background: var(--cream); border-color: #acb5a5; color: var(--deep); }
.button-secondary:hover { background: #f0eee4; border-color: var(--deep); color: var(--deep); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 4.75rem); padding-block: clamp(2.35rem, 5vw, 4.8rem); }
.hero-copy { padding-block: .65rem; }
.hero h1 { font-size: clamp(2.95rem, 6.4vw, 6.1rem); letter-spacing: -.077em; line-height: .98; }
.hero-line { font: italic clamp(1.35rem, 2.84vw, 2.5rem)/1.13 var(--serif); color: var(--terra); margin-top: .95rem; letter-spacing: -.035em; }
.hero-intro { max-width: 34rem; margin-block: 1.35rem 1.55rem; color: var(--muted); }
.hero-image { aspect-ratio: 4/3; background: var(--sage); border-radius: 1rem; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.category-wrap { border-block: 1px solid var(--line); background: var(--sage); }
.category-section { padding-block: 2rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: .8rem 1.4rem; margin-bottom: 1.3rem; }
.section-head p, .subhead > p { color: var(--muted); margin-top: .5rem; }
.text-link { font-weight: 650; color: var(--deep); font-size: .9rem; display: inline-flex; min-height: 44px; align-items: center; }
.category-buttons { display: flex; flex-wrap: wrap; padding: 0; list-style: none; gap: .55rem; }
.category-buttons a { display: inline-flex; min-height: 44px; align-items: center; padding: .44rem .87rem; border: 1px solid #b8c0b2; border-radius: 2rem; text-decoration: none; background: var(--cream); font-size: .9rem; font-weight: 560; }
.category-buttons a:hover { border-color: var(--deep); background: var(--deep); color: var(--cream); }
.editorial-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 1.2rem clamp(1.5rem, 6vw, 6rem); padding-block: clamp(2.4rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.editorial-note h2 { max-width: 16ch; }
.editorial-note p { color: var(--muted); max-width: 65ch; }
.readings { padding-block: clamp(2.2rem, 5vw, 4rem); }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.article-card { background: var(--cream); border: 1px solid var(--line); border-radius: .85rem; overflow: hidden; }
.card-image { display: block; aspect-ratio: 1.72; overflow: hidden; background: var(--sage); }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-copy { padding: 1rem 1.05rem 1.3rem; }
.tag { display: inline-flex; min-height: 28px; align-items: center; padding: .12rem .55rem; border-radius: 2rem; background: var(--sage); color: var(--deep); font-size: .805rem; font-weight: 650; text-decoration: none; }
.tag:hover { background: #dbe5d7; }
.card-copy h3 { margin-block: .6rem .5rem; }
.card-copy h3 a { text-decoration: none; }
.card-copy h3 a:hover { text-decoration: underline; }
.card-copy p, .topic-list p, .category-index p { color: var(--muted); line-height: 1.55; }
.quick-section { background: var(--sage); border-top: 1px solid var(--line); padding-block: clamp(2rem, 4vw, 3.6rem); }
.topic-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; list-style: none; padding: 0; }
.topic-list li { border-top: 1px solid var(--line); padding: 1.05rem 0; }
.topic-list a { display: inline-block; color: var(--deep); font-weight: 690; }
.topic-list a:hover { color: var(--terra); }
.topic-list p { margin-top: .3rem; }
.site-footer { padding-block: 2rem; border-top: 1px solid var(--line); background: var(--cream); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; }
.footer-inner p { font-size: .9rem; margin-top: .45rem; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.25rem; font-size: .92rem; }
.footer-inner nav a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 550; }
.subhead { padding-block: 1.6rem 2.3rem; border-bottom: 1px solid var(--line); }
.subhead h1, .story h1 { overflow-wrap: anywhere; font-size: clamp(2.35rem, 5.3vw, 4.2rem); letter-spacing: -.065em; max-width: 23ch; }
.subhead > p, .story-header p { max-width: 65ch; line-height: 1.58; }
.subhead > .button { margin-top: 1.2rem; }
.breadcrumb { margin-bottom: 1.1rem; font-size: .88rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem .55rem; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: '/'; margin-inline-end: .55rem; color: #68746b; }
.collection { padding-block: 2rem 3.5rem; }
.category-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.category-index article { background: var(--cream); border: 1px solid var(--line); border-radius: .7rem; padding: 1.3rem; }
.category-index h2 { font-size: 1.8rem; overflow-wrap: anywhere; }
.category-index h2 a { text-decoration: none; }
.category-index p { margin-top: .6rem; }
.category-index .actions { gap: 1rem; }
.category-detail section { margin-top: 2.25rem; }
.category-detail h2 { margin-bottom: 1rem; }
.search-box { max-width: 37rem; margin-bottom: 1.65rem; }
.search-box label { display: block; color: var(--deep); font-weight: 680; margin-bottom: .35rem; }
.search-box input { appearance: none; width: 100%; min-height: 48px; border-radius: .45rem; border: 1px solid #9ca898; background: var(--cream); color: var(--ink); padding: .55rem .8rem; font: inherit; }
.search-box p { margin-top: .65rem; }
.story { padding-block: 1.6rem 3.6rem; }
.story-header { padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.story-header.with-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); align-items: center; gap: 1rem 3rem; }
.story-header h1 { margin-block: .65rem .9rem; }
.story-header p { color: var(--muted); font-size: 1.1rem; }
.story-header figure { border-radius: .75rem; overflow: hidden; background: var(--sage); aspect-ratio: 1.4; }
.story-header img { width: 100%; height: 100%; object-fit: cover; }
.story-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .47fr); align-items: start; gap: 2.1rem clamp(2rem, 7vw, 6rem); padding-top: 1.8rem; }
.prose { max-width: 72ch; }
.prose section + section { margin-top: 1.85rem; }
.prose h2, .story-sidebar h2 { font-size: 1.75rem; }
.prose p { margin-top: .55rem; }
.prose ul { padding-left: 1.3rem; margin-top: .6rem; }
.prose li + li { margin-top: .3rem; }
.story-sidebar { background: var(--sage); border: 1px solid var(--line); border-radius: .7rem; padding: 1.2rem; }
.story-sidebar ul { list-style: none; padding: .55rem 0 .9rem; }
.story-sidebar li { border-bottom: 1px solid var(--line); }
.story-sidebar li a { display: inline-flex; min-height: 44px; align-items: center; padding: .45rem 0; }
@media (max-width: 950px) {
  .header-shop { display: none; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .5rem; row-gap: 0; padding-top: .55rem; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .nav { grid-row: 2; grid-column: 1 / -1; gap: 1.08rem; flex-wrap: wrap; }
  .category-menu { position: static; }
  .dropdown { inset-inline-start: 0; inset-inline-end: auto; width: min(19rem, 100%); }
  .hero { grid-template-columns: 1fr; gap: 1.1rem; padding-block: 1.6rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.48rem, 9.8vw, 4.85rem); }
  .hero-intro { margin-block: .85rem 1.07rem; }
  .hero-image { aspect-ratio: 1.5; }
  .editorial-note { grid-template-columns: 1fr; }
  .editorial-note h2 { max-width: 100%; }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .story-header.with-image, .story-layout { grid-template-columns: 1fr; }
  .story-header figure { max-width: 32rem; }
}
@media (max-width: 460px) {
  .nav { gap: .75rem; font-size: .88rem; }
  .article-grid, .topic-list, .category-index { grid-template-columns: minmax(0, 1fr); }
}
