:root {
  color-scheme: light;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: #202120;
  background: #fdfdfd;
  --width: 77.5rem;
  --muted: #575a59;
  --line: #dedfdf;
  --accent: #9e4a20;
  --gold: #edcc88;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #1a676f; outline-offset: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .85rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--width); width: calc(100% - 3rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 4; padding: .5rem 1rem; background: white; transform: translateY(-120%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 3; background: #22a3b5; color: #142527; }
.comments, .comment-list li, #main { scroll-margin-top: 10rem; }
.header-inner { min-height: 9.5rem; display: flex; align-items: center; gap: 2rem; justify-content: space-between; padding-block: .75rem; }
.brand { width: min(66%, 46rem); }
.site-header nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 3rem); }
.site-header nav a { padding-block: .35rem; text-decoration: none; font-weight: 650; }
.site-header nav a[aria-current], .site-header nav a:hover { color: #161a17; text-decoration: underline; text-decoration-color: #ffe07e; text-decoration-thickness: .2rem; }
.intro { background: #f0f0f0; padding-block: clamp(3.5rem, 7vw, 8rem); }
.intro h1 { margin: 0; margin-inline: clamp(0rem, 9vw, 11rem) 0; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--muted); }
.latest { padding-block: clamp(3rem, 7vw, 7rem) 4.5rem; }
.section-title { text-align: center; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 3rem; }
.section-title::after { content: ""; display: block; height: 2px; width: 5.5rem; margin: 1.5rem auto 0; background: #e67853; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 1.8rem; }
.card-image { display: block; margin-bottom: .9rem; }
.card-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card h2 { font-size: 1.15rem; margin: .2rem 0; }
.post-card h2 a, .footer-columns li a { text-decoration: none; }
.post-card h2 a:hover, .footer-columns li a:hover { text-decoration: underline; }
.post-card p:last-child { color: var(--muted); overflow-wrap: anywhere; }
.meta { color: #484a49; font-size: .875rem; margin: 0 0 .6rem; }
.meta a { text-decoration: none; }
.meta a:hover { text-decoration: underline; }
.blog-band, .button { display: inline-block; background: var(--gold); color: #362706; font: inherit; font-weight: 700; text-decoration: none; border: 1px solid #d5b471; border-radius: 2px; padding: .6rem 1.15rem; cursor: pointer; }
.blog-band:hover, .button:hover { background: #e3bd65; color: #362706; }
.blog-band { display: block; text-align: center; border-radius: 0; text-transform: uppercase; letter-spacing: .04em; }
.features { display: grid; gap: 1.25rem; margin-block: clamp(3rem, 6vw, 6rem); }
.feature { position: relative; isolation: isolate; display: flex; align-items: end; min-height: clamp(18rem, 42vw, 38rem); background: #374347; color: #fff; overflow: hidden; }
.feature img, .feature::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature img { object-fit: cover; z-index: -2; }
.feature::after { content: ""; background: linear-gradient(20deg, rgb(0 0 0 / 78%), rgb(0 0 0 / 17%)); z-index: -1; }
.feature-text { padding: clamp(1.5rem, 6vw, 5rem); max-width: 53rem; }
.feature-text h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.feature-text p:not(.eyebrow) { max-width: 46rem; }
.eyebrow { text-transform: uppercase; font-size: .875rem; font-weight: 700; letter-spacing: .16em; }
.listing { padding-block: 3rem 5rem; }
.listing > h1, .article-header h1, .prose > h1 { font-size: clamp(2rem, 4vw, 3rem); }
.listing > h1 { margin-bottom: 2rem; }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: 3rem; }
.pagination a { padding: .4rem .85rem; border: 1px solid var(--line); }
.pagination a[aria-current] { background: var(--gold); font-weight: 700; }
.article-wrap { max-width: 57rem; padding-block: 2.5rem 5rem; }
.article-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .65rem; margin-bottom: 2rem; font-size: .9rem; }
.article-nav div { display: flex; flex-wrap: wrap; gap: 1rem; }
.article-image { max-height: 34rem; width: auto; margin: 1.4rem 0 1.8rem; object-fit: contain; }
.prose { overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.65em; }
.prose blockquote { border-left: .25rem solid var(--gold); padding-left: 1rem; margin: 1rem 0; color: var(--muted); }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-bottom: 1rem; }
.prose td, .prose th { padding: .45rem; border: 1px solid var(--line); }
.prose iframe { max-width: 100%; border: 0; }
.prose video, .prose audio { max-width: 100%; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.tag-list a { display: inline-block; padding: .14rem .55rem; background: #f0f0f0; font-size: .9rem; }
.comments, .related { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2rem; }
.comment-list, .comment-replies { margin: 0; padding: 0; list-style: none; }
.comment-list li { border-bottom: 1px solid var(--line); padding: .85rem 0; }
.comment-replies { border-left: 2px solid var(--line); padding-inline-start: 1rem; }
.comment-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-byline { margin-bottom: .25rem; }
.comment-byline time { color: var(--muted); font-size: .875rem; }
.comment-form { margin-top: 2rem; }
.comment-form label, .search-form label { display: block; font-weight: 650; margin-bottom: .25rem; }
.comment-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
input, textarea, button { font: inherit; }
input, textarea { width: 100%; border: 1px solid #8b8e8e; padding: .55rem .7rem; border-radius: 2px; color: inherit; background: white; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: not-allowed; }
.comment-status { margin-top: 1rem; }
.comment-challenge { margin-bottom: .8rem; }
.related-strip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.related-strip > * { scroll-snap-align: start; }
.carousel-controls { margin-top: .8rem; }
.carousel-controls button { padding: .3rem .75rem; background: #fff; border: 1px solid var(--line); }
.site-footer { border-top: .45rem solid #f0f0f0; font-size: .95rem; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 3.5rem; }
.footer-columns h2 { font-size: 1.12rem; }
.footer-columns ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.footer-columns li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.footer-end { border-top: 1px solid var(--line); padding-block: 1.5rem; color: var(--muted); }
.search-controls { display: flex; }
.search-controls button { background: #222; color: white; border: 1px solid #222; padding: .45rem .8rem; }
.search-results { padding-left: 1.3rem; }
.search-results li { margin-bottom: 1.3rem; }
.search-results a { font-weight: 700; }
#search-status { margin-top: 1rem; }
@media (max-width: 54rem) {
  .header-inner { min-height: 6.5rem; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-strip { grid-auto-columns: calc((100% - 1rem) / 2); }
}
@media (max-width: 38rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.7rem; gap: .6rem; }
  .brand { width: min(64%, 20rem); }
  .post-grid, .footer-columns, .comment-fields { grid-template-columns: minmax(0, 1fr); }
  .footer-columns { gap: 1.5rem; }
  .related-strip { grid-auto-columns: 84%; }
  .comments, .comment-list li, #main { scroll-margin-top: 5rem; }
}
