:root {
  --ink: #151919;
  --muted: #525e60;
  --accent: #bb314e;
  --pastel: #92dce8;
  --paper: #fff;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.65 Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, blockquote { margin: 0; }
main { display: flow-root; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #246982; outline-offset: 3px; }
.skip { position: absolute; clip-path: inset(50%); }
.skip:focus { clip-path: none; z-index: 3; background: white; color: #151919; padding: 0.5rem; }
.mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  font-size: clamp(0.88rem,1.8vw,1.45rem);
  line-height: 1.18;
  font-weight: 740;
}
.with-image .mast { position: absolute; top: 24px; left: 24px; right: 24px; color: white; z-index: 1; }
.brand { letter-spacing: -0.07em; white-space: nowrap; }
.mast a, .foot a, .hero h1 a { text-decoration: none; }
.mast nav, .foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; }
.mast nav a:hover, .foot a:hover, .hero h1 a:hover { text-decoration: underline; }

.hero { margin: 24px; min-height: 400px; position: relative; isolation: isolate; display: grid; align-content: center; color: white; background: #355e56; border-radius: 16px; overflow: hidden; }
.hero img, .hero .placeholder, .hero::after { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; }
.hero::after { content: ""; background: linear-gradient(180deg,#0e1e2180,#0c161947 38%,#0d181c78); }
.hero h1 { max-width: 16ch; font: 750 clamp(2.6rem,8vw,7rem)/0.99 Arial,sans-serif; letter-spacing: -0.078em; overflow-wrap: anywhere; text-wrap: balance; }
.home-hero { min-height: clamp(490px,74vh,730px); }
.hero-content { padding: 5.3rem 6.2% 3rem; }
.hero-content > p { max-width: 45ch; margin-top: 0.7rem; font-size: clamp(1rem,2vw,1.25rem); }
.hero-content .hero-time { font-size: 0.9rem; }
.article-hero { text-align: center; min-height: clamp(490px,54vw,745px); justify-items: center; padding: 4.2rem 1.1rem 2rem; }
.archive-hero { text-align: center; justify-items: center; padding: 4rem 1rem 2rem; }
.hero .placeholder { background: linear-gradient(125deg,#244c4b,#a1b590 60%,#3c6756); }

.topics { text-align: center; padding: 5.15rem 1rem 9rem; }
.topics h2 { color: var(--accent); font-size: clamp(1.25rem,3vw,1.9rem); letter-spacing: -0.04em; }
.topics nav { max-width: 80rem; margin: 1rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.65rem; }
.topics nav a { font-size: clamp(0.9rem,2vw,1.4rem); font-weight: 690; text-decoration: none; }
.topics nav a:hover { text-decoration: underline; }
.latest { width: min(100% - 2.5rem,1240px); margin: 0 auto; text-align: center; padding: 2rem 0 5rem; }
.latest > h2, .edition h2 { font-size: clamp(1.8rem,3.4vw,2.8rem); line-height: 1.1; letter-spacing: -0.06em; margin-bottom: 0.85em; }
.latest > h2::after { content: ""; display: inline-block; margin-left: 0.17em; transform: translateY(-0.34em); width: 0.25em; height: 0.25em; border-radius: 50%; background: var(--pastel); }
.tiles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 2rem; row-gap: 1.35rem; text-align: left; }
.latest .tile:nth-child(n + 5) { display: none; }
.tile { min-width: 0; }
.tile .photo { display: block; }
.tile img, .tile .placeholder { aspect-ratio: 1.52; object-fit: cover; border-radius: 18px; }
.tile .placeholder { background: #93bbb5; }
.tile:nth-child(even) .placeholder { background: #aabb90; }
.tile h3 { font-size: clamp(1.15rem,2.2vw,1.65rem); line-height: 1.15; letter-spacing: -0.045em; margin-top: 0.43em; }
.tile h3 a { text-decoration: none; }
.tile h3 a:hover { text-decoration: underline; }
.tile .excerpt { margin-top: 0.25em; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
.tile .date { color: var(--accent); font-size: 0.8rem; margin-top: 0.22em; }
.more { display: inline-block; text-decoration: none; margin-top: 2.35rem; padding: 0.55rem 0.85rem; background: var(--accent); color: white; font-weight: 650; border-radius: 8px; font-size: 0.92rem; }
.edition { display: grid; align-content: center; min-height: 485px; background: var(--pastel); text-align: center; padding: 4.25rem 1rem; }
.edition blockquote { max-width: 61ch; margin: 0 auto 0.9rem; }
.edition a { font-size: 0.86rem; font-weight: 650; }

.archive-list { width: min(100% - 2.5rem,700px); margin: 5rem auto; }
.archive-list .tile + .tile { margin-top: 2.2rem; }
.archive-list .tile img, .archive-list .tile .placeholder { aspect-ratio: 1.75; border-radius: 10px; }
.column, .directory { width: min(100% - 2.5rem,660px); margin: 3.1rem auto 5rem; }
.column .deck { font-size: clamp(1.65rem,3vw,2.8rem); font-weight: 720; letter-spacing: -0.057em; line-height: 1.12; margin-bottom: 0.7rem; }
.metadata { color: var(--accent); font-size: 0.91rem; margin: 0.9rem 0 1.4rem; }
.column small { display: block; color: var(--muted); margin-bottom: 0.85rem; }
.reading { overflow-wrap: anywhere; }
.reading > * + * { margin-top: 1.1rem; }
.reading h2, .reading h3 { line-height: 1.18; letter-spacing: -0.05em; }
.reading h2 { font-size: clamp(1.6rem,2.65vw,2.45rem); margin-top: 1.65rem; }
.reading h3 { font-size: clamp(1.25rem,2vw,1.6rem); }
.reading a { color: var(--accent); }
.reading table { display: block; overflow: auto; }
.search-form { display: flex; gap: 0.5rem; margin: 1rem 0; }
.search-form input { min-width: 0; width: min(100%,23rem); }
#results a { display: block; padding-block: 0.35rem; border-bottom: 1px solid #d8e3e3; }
.foot { justify-content: space-between; align-items: center; border-top: 1px solid #d8e3e3; margin: 1.35rem 1.55rem 0; padding: 1.25rem 0; font-size: 0.88rem; }
.foot .brand { color: #246982; font-weight: 720; }
.editorial-preferences { background: transparent; color: var(--ink); border: 1px solid #7c9191; padding: 0.25rem 0.45rem; font-size: 0.82rem; }
.editorial-consent { max-width: min(94%,26rem); color: var(--ink); background: var(--paper); border: 1px solid #7c9191; padding: 1rem; border-radius: 12px; }
.editorial-consent::backdrop { background: #182629a8; }
.editorial-consent p { margin-block: 0.65rem; }
.editorial-consent-actions { display: flex; gap: 0.45rem; }
.editorial-consent-actions button { flex: 1; padding: 0.45rem; }

@media (max-width: 700px) {
  .mast { padding: 0.75rem 0.7rem; gap: 0.35rem; }
  .mast nav { gap: 0.35rem 0.65rem; }
  .with-image .mast { top: 6px; left: 10px; right: 10px; color: var(--ink); }
  .hero { margin: 3.85rem 1rem 0; min-height: 410px; }
  .hero h1 { font-size: clamp(2.45rem,10vw,3.65rem); }
  .hero-content { padding: 1.05rem; }
  .article-hero { width: 82%; max-width: 31rem; margin-inline: auto; min-height: 390px; padding: 1rem; }
  .archive-hero { min-height: 260px; }
  .topics { padding-block: 2.1rem; }
  .latest { padding-block: 1.4rem 2.7rem; }
  .tiles { grid-template-columns: minmax(0,1fr); gap: 1.4rem; }
  .archive-list { margin: 2.2rem auto; }
  .column, .directory { margin-top: 2rem; }
  .edition { padding-block: 2.45rem; min-height: 285px; }
}

