:root {
  --paper: #f8f8f5;
  --ink: #1d2430;
  --muted: #6f7580;
  --line: #d9ddd8;
  --blue: #1e4f89;
  --blue-dark: #153a67;
  --green: #4d786d;
  --coral: #d76650;
  --white: #ffffff;
  --card: #eef1ed;
  --shadow: 0 18px 50px rgba(27, 39, 48, 0.09);
  --serif: "Iowan Old Style", "Songti SC", "STSong", Georgia, serif;
  --sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

.skip-link { position: fixed; left: 16px; top: -56px; z-index: 30; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip-link:focus { top: 16px; }
.site-shell { max-width: 1440px; margin: 0 auto; padding: 0 42px; }
.site-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: baseline; gap: 7px; font-weight: 800; letter-spacing: 2px; font-size: 14px; }
.wordmark em { color: var(--coral); font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: 0; }
.site-nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.site-nav a { padding: 8px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav .active { color: var(--ink); border-color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-button, .menu-button { border: 1px solid var(--line); background: transparent; color: var(--ink); min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.icon-button { width: 40px; padding: 0; }
.menu-button { padding: 0 13px; font-size: 13px; }
.icon-button:hover, .menu-button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.icon-button svg, .menu-button svg, .text-link svg, .search-field svg { width: 17px; height: 17px; stroke-width: 1.8; }
.mobile-nav { border-bottom: 1px solid var(--line); padding: 16px 0; display: grid; gap: 14px; font-size: 14px; }

.masthead { padding: clamp(70px, 10vw, 158px) 0 72px; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--green); font-size: 11px; letter-spacing: 1.6px; font-weight: 750; text-transform: uppercase; margin: 0 0 17px; }
.masthead-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.55fr); gap: 54px; align-items: end; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; }
h1 { max-width: 850px; font: 500 clamp(43px, 6.1vw, 86px)/0.98 var(--serif); margin-bottom: 0; }
.intro { border-left: 3px solid var(--coral); padding-left: 18px; color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 7px; }

.feature-story { display: grid; grid-template-columns: 1.1fr 0.9fr; margin: 70px 0 120px; min-height: 510px; background: var(--blue); color: var(--white); }
.feature-image { margin: 0; min-height: 100%; overflow: hidden; }
.feature-image img { filter: saturate(0.8) contrast(1.02); transition: transform 0.65s ease; }
.feature-story:hover .feature-image img { transform: scale(1.04); }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(32px, 5vw, 76px); }
.feature-copy .eyebrow { color: #b5dccf; }
.feature-copy h2 { font: 500 clamp(32px, 3.7vw, 54px)/1.04 var(--serif); max-width: 590px; margin-bottom: 25px; }
.feature-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.79); max-width: 480px; line-height: 1.82; font-size: 15px; }
.text-link { appearance: none; border: 0; background: transparent; padding: 0 0 5px; color: inherit; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; border-bottom: 1px solid currentColor; }
.feature-copy .text-link { margin-top: 15px; }
.feature-meta { margin-top: auto; display: flex; gap: 18px; padding-top: 44px; color: rgba(255,255,255,.62); font-size: 12px; }
.feature-meta span + span { border-left: 1px solid rgba(255,255,255,.35); padding-left: 18px; }

.latest-section { padding-bottom: 118px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.section-heading h2, .notes-label h2, .about-copy h2 { font: 500 48px/1 var(--serif); margin: 0; }
.search-field { width: 250px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); padding: 8px 0; color: var(--muted); }
.search-field input { border: 0; outline: 0; min-width: 0; width: 100%; color: var(--ink); background: transparent; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 25px; }
.filter { border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 8px 13px; font-size: 13px; }
.filter:hover, .filter.active { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.post-card { position: relative; padding: 27px 26px 30px 0; min-height: 374px; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.post-card:nth-child(3n) { padding-right: 0; border-right: 0; }
.post-card:not(:nth-child(3n + 1)) { padding-left: 27px; }
.post-image { height: 166px; overflow: hidden; margin-bottom: 20px; background: var(--card); }
.post-image img { transition: transform .55s ease; }
.post-card:hover .post-image img { transform: scale(1.05); }
.post-card .post-category { color: var(--green); font-size: 11px; letter-spacing: 1.2px; font-weight: 700; margin: 0 0 10px; }
.post-card h3 { margin: 0 0 11px; font: 500 27px/1.2 var(--serif); }
.post-card h3 button { color: inherit; text-align: left; font: inherit; padding: 0; background: transparent; border: 0; }
.post-card h3 button:hover { color: var(--blue); }
.post-card .summary { color: var(--muted); margin: 0; line-height: 1.65; font-size: 14px; }
.post-card footer { display: flex; justify-content: space-between; margin-top: auto; padding-top: 21px; color: var(--muted); font-size: 12px; }
.empty-state { color: var(--muted); padding: 38px 0; }

.notes-section { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 50px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 82px 0; }
.notes-list { border-top: 1px solid var(--line); }
.notes-list article { display: grid; grid-template-columns: 80px 1fr; gap: 22px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.notes-list article:last-child { border-bottom: 0; }
.notes-list time { color: var(--coral); font-size: 13px; font-weight: 800; }
.notes-list p { margin: 0; font: 500 22px/1.45 var(--serif); }

.about-section { display: grid; grid-template-columns: 1.1fr .85fr 1fr; gap: 0; padding: 119px 0; }
.about-copy { padding: 20px 58px 20px 0; }
.about-copy > p:not(.eyebrow) { max-width: 360px; color: var(--muted); line-height: 1.8; }
.about-copy .text-link { margin-top: 8px; }
.about-image { min-height: 318px; margin: 0; overflow: hidden; }
.newsletter { display: flex; flex-direction: column; justify-content: center; background: var(--card); padding: 42px; }
.newsletter h3 { max-width: 280px; font: 500 31px/1.22 var(--serif); margin-bottom: 29px; }
.newsletter form { display: flex; border-bottom: 1px solid var(--ink); }
.newsletter input { min-width: 0; flex: 1; border: 0; background: transparent; padding: 10px 0; outline: 0; }
.newsletter button { background: transparent; border: 0; font-size: 13px; font-weight: 750; color: var(--blue); }
.form-message { min-height: 20px; margin: 12px 0 0; color: var(--green); font-size: 13px; }
.site-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 24px 0 38px; font-size: 12px; color: var(--muted); }

.article-dialog { width: min(760px, calc(100% - 32px)); max-height: min(750px, calc(100% - 48px)); overflow: auto; padding: 32px 34px 45px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.article-dialog::backdrop { background: rgba(16, 23, 28, .58); }
.dialog-header { display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.dialog-header .eyebrow { margin: 11px 0 0; }
.article-content { max-width: 630px; margin: 43px auto 0; }
.article-content h2 { font: 500 46px/1.08 var(--serif); margin-bottom: 29px; }
.article-content p { font: 17px/1.9 var(--serif); color: var(--ink); }
.article-content p + p { margin-top: 22px; }
.article-content blockquote { margin: 32px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--coral); color: var(--blue); font: 500 24px/1.5 var(--serif); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

body.dark { --paper: #121619; --ink: #e7ebe6; --muted: #9aa49d; --line: #303a38; --blue: #1b4e85; --blue-dark: #12375f; --green: #8fb9a9; --coral: #f18c74; --white: #f5f7f5; --card: #202729; --shadow: 0 20px 58px rgba(0, 0, 0, .34); }
body.dark .feature-image img { filter: saturate(.75) brightness(.78); }

@media (max-width: 820px) {
  .site-shell { padding: 0 20px; }
  .site-header { min-height: 72px; }
  .site-nav { display: none; }
  .masthead { padding: 74px 0 57px; }
  .masthead-grid, .feature-story, .notes-section, .about-section { grid-template-columns: 1fr; }
  .masthead-grid { gap: 25px; }
  h1 { font-size: clamp(41px, 12vw, 65px); }
  .feature-story { margin: 48px 0 82px; }
  .feature-image { min-height: 280px; }
  .feature-copy { min-height: 372px; padding: 32px 27px; }
  .section-heading { align-items: start; flex-direction: column; gap: 22px; }
  .search-field { width: 100%; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card, .post-card:nth-child(3n), .post-card:not(:nth-child(3n + 1)) { padding: 25px 0; border-right: 0; }
  .post-image { height: 206px; }
  .notes-section { gap: 33px; padding: 62px 0; }
  .notes-list article { grid-template-columns: 60px 1fr; }
  .notes-list p { font-size: 20px; }
  .about-section { padding: 76px 0; }
  .about-copy { padding: 0 0 38px; }
  .about-image { min-height: 280px; }
  .newsletter { min-height: 290px; padding: 34px 27px; }
  .site-footer { gap: 12px; flex-direction: column; }
  .article-dialog { padding: 23px 22px 36px; }
  .article-content { margin-top: 31px; }
  .article-content h2 { font-size: 37px; }
}

@media (max-width: 390px) { .menu-button span { display: none; } .menu-button { width: 40px; padding: 0; } }
