:root {
  color-scheme: light;
  --paper: #fbf7ed;
  --ink: #233d37;
  --text: #3f4640;
  --muted: #626657;
  --clay: #933e28;
  --line: #dfd6c5;
  --serif: Fraunces, Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  scroll-padding-top: 5.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
.journal-page main { max-width: none; padding: 0; margin-top: 16px; color: var(--text); font: 1rem/1.55 var(--sans); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
main img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: absolute; left: 1rem; top: 1rem; z-index: 1101; background: var(--paper); padding: .75rem 1rem; }
main :is(h1, h2, h3) { margin: 0; font: 600 2rem/1.12 var(--serif); color: var(--ink); letter-spacing: -.035em; }
main p { margin: 0; }
.content-width { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.25rem; color: #fff9ec; background: var(--ink); border: 1px solid var(--ink); border-radius: 4px; text-decoration: none; font-weight: 700; font-size: .94rem; line-height: 1.25; }
.button:hover { background: #30594f; border-color: #30594f; }
.hero { width: min(1440px, calc(100% - 80px)); min-height: clamp(460px, 41.5vw, 600px); margin-inline: auto; position: relative; display: flex; align-items: center; isolation: isolate; overflow: hidden; border-radius: 26px; background: #efd0aa; border-bottom: 1px solid #d4ab83; }
.hero-art { position: absolute; z-index: -2; right: 0; bottom: 0; height: 100%; width: auto; max-width: none; object-fit: contain; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #edcda7 0%, #efd0aa 15%, #efd0aadb 23%, #efd0aa68 32%, #efd0aa00 43%); }
.hero-copy { width: min(46%, 580px); padding-block: 3rem; margin-left: max(40px, calc((100% - 1120px) / 2)); }
.eyebrow { color: var(--clay); font: 700 .83rem/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: .62rem; color: #783a27; margin-bottom: 1.2rem; }
.eyebrow-line { width: 29px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(3.25rem, 5.55vw, 5.15rem); line-height: .98; letter-spacing: -.064em; }
.hero h1 em { font-weight: 500; }
.hero-intro { max-width: 340px; margin-top: 1.4rem; font-size: 1.08rem; color: #363b31; }
.hero-button { margin-top: 1.55rem; }

.journal { padding-block: 4rem 0; }
.journal-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.journal-heading h2, .related h2 { font-size: clamp(2.35rem, 4.3vw, 3.6rem); }
.search { position: relative; display: block; }
.search input { min-height: 46px; width: min(248px, 100%); border: 1px solid #b8b4a5; border-radius: 4px; padding: .55rem 1rem .55rem 2.45rem; background: #fffcf6; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search-icon { position: absolute; inset: 16px auto auto 15px; width: 13px; height: 13px; border: 1.6px solid var(--ink); border-radius: 50%; pointer-events: none; }
.search-icon::after { position: absolute; bottom: -4px; right: -4px; width: 6px; height: 1.6px; content: ""; transform: rotate(48deg); background: var(--ink); }
.journal-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; }
.journal-filters button { padding: .5rem .95rem; min-height: 42px; border: 1px solid #cec5b4; border-radius: 100px; background: transparent; color: var(--ink); font-size: .93rem; font-weight: 600; }
.journal-filters button:hover { background: #eee8db; }
.journal-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.stories-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; margin-top: 1.65rem; }
.story { display: grid; grid-template-columns: 39% 1fr; background: #fffaf1; border: 1px solid var(--line); min-width: 0; overflow: hidden; border-radius: 16px; text-decoration: none; }
.story:is(:hover, :focus-visible) h3 { color: var(--clay); text-decoration: underline; text-underline-offset: .15em; }
.story-art { display: block; position: relative; min-height: 225px; background: #e4c3a1; overflow: hidden; }
.story-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; transition: transform .25s ease; }
.story:is(:hover, :focus-visible) .story-art img { transform: scale(1.04); }
.story-copy { display: flex; flex-direction: column; align-items: start; gap: .8rem; padding: clamp(1.25rem, 2.2vw, 2rem); }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .8rem; color: var(--muted); font-size: .84rem; }
.story-meta .eyebrow { font-size: .76rem; }
.story-meta span + span::before { content: "·"; padding-right: .6rem; }
.story h3 { font-size: clamp(1.45rem, 2.15vw, 2.15rem); }
.featured-story { grid-column: 1 / -1; grid-template-columns: 49% 1fr; }
.featured-story .story-art { min-height: 320px; }
.featured-story .story-copy { padding: clamp(2rem, 4.2vw, 3.35rem); justify-content: center; }
.featured-story h3 { font-size: clamp(2rem, 3.55vw, 3.25rem); }
.is-filtered { grid-template-columns: 1fr; }
.is-filtered .story { grid-column: 1 / -1; grid-template-columns: 38% 1fr; }
.is-filtered .story-art { min-height: 245px; }
.no-results { margin-top: 1.5rem; padding: 2rem; background: #f6efe1; border: 1px solid var(--line); }
.no-results .button { margin-top: .8rem; }

.help { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-block: 4rem; padding: clamp(1.5rem, 3.5vw, 2.75rem); background: #e7eae0; border: 1px solid #d6ddcf; border-radius: 5px; }
.help h2 { margin-bottom: .4rem; }
.help .button { flex-shrink: 0; }
.journal-page .article-main { padding-block: 2.5rem 4rem; }
.back-link { color: var(--ink); font-weight: 700; text-underline-offset: .28em; }
.article-heading { text-align: center; max-width: 760px; margin: 2.4rem auto 2rem; }
.article-heading .eyebrow { text-underline-offset: .28em; }
.article-heading h1 { font-size: clamp(2.5rem, 5.9vw, 5rem); margin-block: .65rem 1rem; }
.article-heading p { max-width: 580px; margin-inline: auto; font-size: 1.16rem; }
.article-art { width: 100%; aspect-ratio: 2.7; height: auto; object-fit: cover; object-position: center; border-radius: 26px; }
.article-body { max-width: 690px; margin: 2.5rem auto 0; font-size: 1.1rem; line-height: 1.7; }
.article-body section { margin-bottom: 1.8rem; }
.article-body section h2 { font-size: clamp(1.5rem, 3.3vw, 2rem); margin-bottom: .65rem; }
.related { border-top: 1px solid var(--line); padding-top: 2rem; margin-top: 3rem; }

@media (max-width: 950px) {
  .hero { min-height: 460px; }
  .hero-art { right: -65px; }
  .hero::after { background: linear-gradient(90deg, #efd0aa 7%, #efd0aaed 21%, #efd0aa92 33%, #efd0aa00 50%); }
  .story:not(.featured-story) { grid-template-columns: 1fr; }
  .story:not(.featured-story) .story-art { min-height: 190px; }
}
@media (max-width: 800px) {
  .content-width, .hero { width: calc(100% - 36px); }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero::after { display: none; }
  .hero-copy { order: -1; margin: 0; width: 100%; padding: 2.5rem 1.35rem 1.35rem; text-align: center; }
  .hero .eyebrow { justify-content: center; margin-bottom: .85rem; }
  .hero h1 { font-size: clamp(2.7rem, 9vw, 4rem); }
  .hero-intro { margin-inline: auto; margin-top: 1rem; }
  .hero-button { margin-top: 1rem; }
  .hero-art { position: static; width: 100%; height: auto; aspect-ratio: 1.8; object-fit: cover; object-position: right; }
  .journal { padding-top: 2.6rem; }
  .journal-heading { align-items: start; flex-direction: column; }
  .search, .search input { width: 100%; }
  .featured-story, .is-filtered .story { grid-template-columns: 1fr; }
  .featured-story .story-art { min-height: 240px; }
  .featured-story .story-copy { padding: 1.55rem; }
  .stories-grid { gap: 1rem; }
  .help { margin-block: 2.55rem; align-items: flex-start; flex-direction: column; }
  .article-art { aspect-ratio: 1.6; }
}
@media (max-width: 460px) {
  .stories-grid { grid-template-columns: 1fr; }
  .story:not(.featured-story) .story-art { min-height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
