:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #173a43;
  --primary: #144a54;
  --accent: #fad703;
  --secondary: #76babe;
  --line: #cbdfe0;
  font: 16px/1.65 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: #144a54; text-underline-offset: .2em; }
a:hover { color: #0a333c; }
:focus-visible { outline: 3px solid #976600; outline-offset: 5px; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .5rem .8rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.shell { width: min(100% - clamp(2rem, 8vw, 8rem), 76rem); margin-inline: auto; }
.top { background: var(--primary); color: white; border-bottom: 5px solid var(--accent); }
.top-inner, .foot, .section-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top-inner { min-height: 4.5rem; flex-wrap: wrap; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: clamp(3.5rem, 6.5vw, 5rem); height: auto; }
.brand:hover { opacity: .85; }
.top nav, .footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem clamp(.65rem, 2vw, 1.5rem); }
.top nav a, .footer nav a, .footer button { text-decoration: none; font-weight: 650; font-size: .9rem; color: inherit; }
.top nav a:hover, .top nav a[aria-current], .footer nav a:hover, .footer button:hover { text-decoration: underline; }
.top nav .nav-watch { color: var(--ink); background: var(--accent); padding: .4rem .75rem; border-radius: 3px; }
.top nav .nav-watch:hover { background: var(--secondary); }
.hero { display: grid; grid-template-columns: 1fr 1fr; margin-block: clamp(1.1rem, 4vw, 3rem) 0; background: var(--primary); color: white; }
.hero-copy { padding: clamp(1.4rem, 4.8vw, 4.8rem); align-self: center; }
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.12; margin: 0; font-weight: 600; }
.hero h1 { font-size: clamp(2.35rem, 4.5vw, 4rem); letter-spacing: -.072em; }
.hero p { max-width: 29rem; color: #e7f3f4; font-size: clamp(1rem, 1.25vw, 1.2rem); }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.button { padding: .65rem .95rem; border: 1px solid var(--accent); color: #173a43; background: var(--accent); border-radius: 3px; font-size: .9rem; font-weight: 750; text-decoration: none; }
.button:hover { background: #ffe950; color: #173a43; }
.button.quiet { background: transparent; border-color: var(--secondary); color: white; }
.button.quiet:hover { background: #205b65; }
.hero-photo { margin: 0; min-height: 22rem; position: relative; }
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 50% 45%; }
.hero-photo figcaption { position: absolute; bottom: 1rem; right: 1rem; background: #144a54; color: white; padding: .3rem .6rem; font-size: .75rem; }
.archive-section { padding-block: clamp(2.2rem, 5vw, 4rem); }
.section-top { border-bottom: 1px solid var(--line); padding-bottom: .95rem; margin-bottom: 1.3rem; align-items: baseline; }
.section-top h2, .page-head h1 { font-size: clamp(1.85rem, 3.5vw, 3rem); letter-spacing: -.048em; }
.section-top a { font-weight: 650; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.15rem; }
.card { background: #fff; border: 1px solid var(--line); }
.card a { display: block; color: inherit; text-decoration: none; height: 100%; }
.card a:hover h2 { text-decoration: underline; text-underline-offset: .15em; }
.card-image { aspect-ratio: 16/9; overflow: hidden; background: #e5f2f2; display: grid; place-items: center; }
.card-image img { height: 100%; width: 100%; object-fit: cover; }
.card-fallback { background: var(--primary); }
.card-fallback img { width: 42%; height: auto; object-fit: contain; }
.card-copy { padding: 1rem 1.1rem 1.25rem; }
.card h2 { font-size: clamp(1.25rem, 2.1vw, 1.65rem); margin: .35rem 0 .55rem; }
.kicker { font-size: .74rem; letter-spacing: .09em; font-weight: 750; text-transform: uppercase; color: #245664; }
time { font-size: .86rem; color: #3b5d65; }
.page-head, .post-head { padding: clamp(2rem, 6vw, 5rem) 0 .7rem; }
.post-head h1 { max-width: 21ch; font-size: clamp(2rem, 4.2vw, 3.7rem); letter-spacing: -.054em; line-height: 1.08; margin-top: .35rem; }
.post-head p { margin: .75rem 0; }
.post-head time { font-size: inherit; }
.article-image { margin: 1rem auto 0; }
.article-image img { width: 100%; max-height: 35rem; object-fit: cover; }
.prose { max-width: 48rem; margin: 2rem auto 4rem; font-size: 1.06rem; overflow-wrap: anywhere; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.45rem); }
.prose h2, .prose h3 { margin: 1.45em 0 .45em; }
.prose figure { margin: 1.5rem 0; }
.prose figcaption { font-size: .82rem; color: #3b5d65; }
.prose table { display: block; max-width: 100%; overflow: auto; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: .4rem .65rem; }
.prose blockquote { margin-inline: 0; border-left: 3px solid var(--secondary); padding-inline-start: 1rem; }
.prose iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose .back { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1rem; }
.pagination { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.pagination a { display: inline-flex; align-items: center; min-height: 2.75rem; border: 1px solid var(--line); padding: .4rem .9rem; }
.pagination a:hover { background: white; }
.footer { background: var(--primary); color: white; }
.foot { padding-block: 1.8rem; flex-wrap: wrap; }
.footer .brand img { width: 4.5rem; }
.footer button { border: 0; background: none; cursor: pointer; padding: 0; font: inherit; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: clamp(14rem, 45vw, 24rem); }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 510px) {
  .cards { grid-template-columns: 1fr; }
  .top-inner { gap: .65rem; }
  .section-top a { font-size: .85rem; }
}
