@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/Inter-Regular.otf") format("opentype");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: Inter;
  src: url("/fonts/Inter-SemiBold.otf") format("opentype");
  font-display: swap;
  font-weight: 600 800;
}
:root {
  --paper: #fcfcf9;
  --ink: #222923;
  --green: #294d3b;
  --muted: #5c635d;
  --line: #d9ddd4;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --soft: #f0f3e9;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { background: transparent; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #688d58; outline-offset: 4px; }
.shell { width: min(1200px, calc(100% - clamp(3rem, 11vw, 12rem))); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 3.4rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #203e30; white-space: nowrap; }
.brand span, .footer-brand { font-family: var(--serif); font-size: 1.72rem; letter-spacing: -.073em; font-weight: 600; }
.brand img { width: 33px; height: 33px; }
.site-nav { align-self: stretch; display: flex; align-items: stretch; gap: 1.7rem; }
.site-nav a { display: flex; align-items: center; position: relative; font-size: .89rem; font-weight: 600; color: var(--muted); }
.site-nav a[aria-current], .site-nav a:hover { color: var(--green); }
.site-nav a[aria-current]::after { content: ""; position: absolute; height: 2px; background: var(--green); bottom: -1px; left: 0; right: 0; }
.desk-link, .action { background: var(--green); color: white; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid var(--green); border-radius: 6px; font-size: .88rem; font-weight: 600; padding: .7rem 1.05rem; min-height: 41px; }
.desk-link { margin-left: auto; white-space: nowrap; }
.desk-link:hover, .action:hover { background: #193b2a; }
.desk-link svg { width: 16px; height: 16px; }
main { flex: 1; padding-bottom: 4.5rem; }
main:focus { outline: 0; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 2.55rem 0 1.95rem; }
.page-heading h1, .author-profile h1 { font-size: clamp(3.1rem, 5.25vw, 4.65rem); letter-spacing: -.063em; line-height: 1.12; }
.page-heading p, .author-profile > p { color: var(--muted); font-size: 1.02rem; line-height: 1.62; margin-top: .7rem; }
.edition-date { display: flex; align-items: center; white-space: nowrap; gap: .5rem; color: var(--muted); font-size: .815rem; margin-bottom: .3rem; }
.icon { width: 20px; height: 20px; flex: none; }
.edition-date .icon { width: 16px; height: 16px; }
.feature { display: grid; grid-template-columns: 56% minmax(0, 1fr); min-height: clamp(318px, 28.7vw, 386px); background: var(--soft); border: 1px solid #d6ddcf; border-radius: 9px; overflow: hidden; }
.feature-media { position: relative; background: #becbb9; min-height: 100%; }
.feature-media > a { display: block; position: absolute; inset: 0; }
.feature-media img, .card-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-media img { object-position: 50% 57%; }
.feature-stamp { position: absolute; left: 19px; top: 19px; display: inline-flex; align-items: center; gap: .4rem; background: #fcfcf7; color: var(--green); border-radius: 4px; padding: .42rem .63rem; font-size: .75rem; letter-spacing: .002em; font-weight: 600; pointer-events: none; }
.feature-stamp .icon { width: 14px; height: 14px; fill: var(--green); }
.feature-copy { display: flex; flex-direction: column; align-self: center; padding: clamp(1.75rem, 3.3vw, 3.1rem); }
.feature-section { display: flex; align-items: center; gap: .55rem; }
.feature-section > span:first-child { height: 2px; width: 23px; background: #698468; }
.category { color: #436449; font-size: .76rem; font-weight: 700; line-height: 1.4; letter-spacing: .105em; text-transform: uppercase; }
.feature h2 { font-size: clamp(2.5rem, 3.58vw, 3.55rem); line-height: 1.1; letter-spacing: -.052em; margin: 1rem 0 .95rem; max-width: 13ch; }
.feature h2 a:hover, .story-card h3 a:hover, .card-meta a:hover, .byline-author:hover span:last-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.feature-summary, .reader-summary, .card-summary { color: #505a51; line-height: 1.65; overflow-wrap: anywhere; }
.feature-summary { font-size: 1.02rem; max-width: 43ch; }
.feature-byline, .reader-byline { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.feature-byline { padding-top: 1.25rem; margin-top: 1.4rem; border-top: 1px solid #d0d9ca; }
.byline { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: .7rem; row-gap: .25rem; }
.byline-author { display: grid; grid-template-columns: subgrid; grid-row: 1 / 3; grid-column: 1 / 3; grid-template-rows: subgrid; font-weight: 600; font-size: .85rem; }
.byline-author .avatar { grid-row: 1 / 3; grid-column: 1; }
.byline-author > span:last-child { grid-column: 2; grid-row: 1; }
.avatar { background: #d9e3d2; color: #415641; height: 38px; width: 38px; display: inline-grid; place-items: center; border-radius: 50%; font-family: var(--serif); font-size: 1rem; letter-spacing: -.055em; }
.tone-1 { background: #e9d6c5; color: #6a4836; }
.tone-2 { background: #d9dfe7; color: #47596e; }
.tone-3 { background: #efdfb5; color: #685928; }
.story-metadata { grid-row: 2; grid-column: 2; display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: #596359; pointer-events: none; }
.save-button { flex: none; border: 0; border-radius: 50%; color: var(--green); display: grid; place-items:center; height: 36px; width: 36px; padding: 0; }
.save-button .icon { width: 18px; height: 18px; }
.feature-byline .save-button, .reader-byline .save-button { height: 37px; width: 37px; border: 1px solid #c6d1c1; }
.save-button:hover, .save-button:focus-visible { background: #e4ebdf; }
.save-button[aria-pressed="true"] .icon { fill: var(--green); }
.latest { margin-top: 2.55rem; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.35rem; }
.latest h2, .empty-panel h2 { font-size: clamp(1.85rem, 2.55vw, 2.4rem); letter-spacing: -.052em; line-height: 1.22; }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-chip { border: 1px solid var(--line); color: #505b51; border-radius: 999px; padding: .42rem .9rem; font-size: .81rem; line-height: 1.2; min-height: 32px; white-space: nowrap; }
.filter-chip:hover { border-color: #839681; }
.filter-chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: white; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.35rem 1.55rem; }
.card-photo { display: block; aspect-ratio: 1.94; overflow: hidden; border-radius: 6px; background: #e7ebe1; }
.card-photo img { transition: transform .35s ease; }
.card-photo:hover img { transform: scale(1.025); }
.card-top { display: flex; justify-content: space-between; align-items:center; margin-top: .55rem; }
.card-top .save-button { margin-right: -.25rem; }
.story-card h3 { font-size: clamp(1.45rem, 1.95vw, 1.8rem); line-height: 1.23; letter-spacing: -.038em; }
.card-summary { font-size: .9375rem; line-height: 1.55; margin: .55rem 0 .8rem; }
.card-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; font-size: .78rem; line-height: 1.6; color: var(--muted); }
.card-meta a { font-weight: 600; color: #414e43; }
.text-card { background: var(--soft); border-top: 3px solid #94aa92; border-radius: 5px; align-self: stretch; padding: 1.4rem; }
.text-card .card-top { margin: 0 0 .6rem; }
.empty, .empty-panel, .loading { color: var(--muted); line-height: 1.6; }
.loading { margin: 3rem 0; }
.empty-panel { padding: 3.75rem 1rem; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.empty-panel > .icon { width: 32px; height: 32px; margin-bottom: .7rem; color: var(--green); }
.empty-panel h2 { color: var(--ink); }
.empty-panel p { margin: .65rem 0 1.4rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 80px; display: flex; align-items:center; justify-content: space-between; gap: 1rem; }
.footer-brand { font-size: 1.26rem; color: var(--green); }
.footer-inner > a:last-child, .back-link { font-size: .85rem; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.author-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.author-card { padding: 2rem; border: 1px solid var(--line); border-radius: 8px; background: white; display: flex; flex-direction: column; align-items:flex-start; }
.author-card:hover { border-color: #8d9e89; }
.author-card .avatar, .author-profile .avatar { width: 48px; height: 48px; font-size: 1.35rem; margin-bottom: 1rem; }
.author-card h2 { font-size: 1.7rem; letter-spacing: -.04em; }
.author-card p { color: var(--muted); margin: .65rem 0 1rem; font-size: 1rem; line-height: 1.6; }
.author-count { margin-top:auto; font-size: .85rem; color: var(--green); }
.author-profile { padding-top: 2.4rem; }
.author-profile .avatar { display: grid; margin: 1.4rem 0 .5rem; }
.profile-stories h2 { margin-bottom: 1.25rem; }
.reader { max-width: 860px; margin: 2.25rem auto 0; }
.reader > .back-link, .reader-label, .reader h1, .reader-summary, .reader-byline, .article-body { width: min(100%, 700px); margin-left: auto; margin-right: auto; }
.reader > .back-link { display: block; }
.reader-label { margin-top: 2rem; }
.reader h1 { font-size: clamp(2.75rem, 5vw, 4.35rem); letter-spacing: -.054em; line-height: 1.12; margin-block: .6rem 1.1rem; }
.reader-summary { font-size: 1.17rem; }
.reader-byline { border-top: 1px solid var(--line); padding: 1.3rem 0; margin-top: 1.4rem; }
.reader figure { margin: .6rem 0 2rem; }
.reader figure img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 7px; }
.article-body { color: #2a332a; font-family: Georgia, var(--serif); font-size: 1.28rem; line-height: 1.75; overflow-wrap: anywhere; }
.article-body p + p { margin-top: 1.15em; }
.sr-only, .skip:not(:focus) { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 5; background: white; padding: .6rem; }
@media (max-width: 850px) {
  .header-inner { gap: 1.8rem; }
  .site-nav { gap: 1rem; }
  .feature { grid-template-columns: 50% minmax(0,1fr); }
  .feature-copy { padding: 1.65rem; }
  .feature h2 { font-size: 2.5rem; }
  .feature-summary { font-size: .95rem; }
  .section-heading { flex-wrap: wrap; }
  .story-grid { column-gap: 1.1rem; }
  .edition-date { font-size: .75rem; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { flex-wrap:wrap; gap: 0; padding-top: .85rem; min-height: auto; }
  .brand { gap: .5rem; }
  .brand span { font-size: 1.48rem; }
  .brand img { width: 29px; height: 29px; }
  .desk-link { padding: .5rem .75rem; min-height: 36px; }
  .site-nav { flex: 0 0 100%; order: 3; gap: 1.3rem; }
  .site-nav a { padding: .88rem 0 .8rem; }
  .page-heading { padding: 1.65rem 0 1.3rem; align-items: flex-start; }
  .page-heading h1 { font-size: clamp(2.8rem, 9vw, 3.45rem); }
  .page-heading p { font-size: .95rem; margin-top: .45rem; }
  .edition-date { display: none; }
  .feature { display: flex; flex-direction: column; min-height: 0; }
  .feature-media { width: 100%; min-height: auto; aspect-ratio: 1.95; }
  .feature-copy { align-self: stretch; padding: 1.4rem; }
  .feature h2 { max-width: 19ch; font-size: 2.35rem; margin: .55rem 0 .7rem; }
  .feature-stamp { top: 13px; left: 13px; }
  .feature-byline { margin-top: 1.05rem; padding-top: .9rem; }
  .latest { margin-top: 1.9rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .85rem; margin-bottom: 1rem; }
  .filters { gap: .33rem; }
  .filter-chip { padding: .38rem .7rem; }
  .story-grid, .author-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card-photo { aspect-ratio: 1.65; }
  .reader { margin-top: 1.5rem; }
  .reader-label { margin-top: 1.45rem; }
  .reader figure { margin-bottom: 1.4rem; }
  .article-body { font-size: 1.13rem; }
}
@media (max-width: 470px) {
  .shell { width: calc(100% - 2rem); }
  .story-grid, .author-grid { grid-template-columns: 1fr; }
  .card-photo { aspect-ratio: 1.94; }
  .author-card { padding: 1.45rem; }
  .feature-stamp { font-size: .72rem; }
  .filter-chip { font-size: .77rem; padding: .36rem .6rem; }
}
@media (prefers-reduced-motion: reduce) { .card-photo img { transition: none; } }
