* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 var(--body); }
.daily { --paper: #f8f7f2; --ink: #2c2b29; --card: #fff; --body: "IBM Plex Mono", monospace; --display: Mansalva, cursive; --heading: 51px; --post-size: 42px; --mast: 94px; --edge: 36px; --gap: 32px; --crop: 4 / 3; --story-top: 135px; }
.quiet { --paper: #f7f6f2; --ink: #191919; --card: var(--paper); --body: Manrope, sans-serif; --display: "Instrument Serif", Georgia, serif; --heading: 72px; --post-size: 40px; --mast: 60px; --edge: 34px; --gap: 10px; --crop: 1; --story-top: 86px; }
.earth { --paper: #fefdf8; --ink: #2b2b2b; --card: var(--paper); --body: "Times New Roman", serif; --display: "Hedvig Letters Serif", Georgia, serif; --heading: 78px; --post-size: 40px; --mast: 147px; --edge: 20px; --gap: 0px; --crop: 3 / 4; --story-top: 160px; }
.press { --paper: #fdfaf5; --ink: #191817; --card: #f3f0eb; --body: Inter, sans-serif; --display: Aboreto, sans-serif; --heading: 73px; --post-size: 60px; --mast: 70px; --edge: 17px; --gap: 5px; --crop: 1; --story-top: 62px; }
.pop { --paper: #fff; --ink: #b4089f; --card: #fff; --body: Almarai, sans-serif; --display: Almarai, sans-serif; --heading: 72px; --post-size: 40px; --mast: 60px; --edge: 11px; --gap: 20px; --crop: 3 / 4; --story-top: 78px; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible, .table-wrap:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.masthead { height: var(--mast); position: relative; padding: 0 24px; display: flex; align-items: flex-start; justify-content: space-between; }
.brand { color: inherit; text-decoration: none; font: 700 25px/1 var(--body); display: inline-flex; align-items: center; }
.desktop-nav { display: flex; align-items: center; }
.desktop-nav a { padding: 12px 22px; text-decoration: none; white-space: nowrap; }
.desktop-nav .nav-blog { text-decoration: underline; }
.menu { display: none; align-self: flex-start; position: absolute; z-index: 1; right: 10px; top: 13px; }
.menu summary { list-style: none; cursor: pointer; width: 32px; min-height: 25px; margin-left: auto; display: grid; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { height: 18px; width: 26px; display: block; border-block: 1px solid; background: linear-gradient(currentColor,currentColor) center / 100% 1px no-repeat; }
.menu nav { background: var(--paper); color: var(--ink); padding: 12px; border: 1px solid currentColor; display: grid; gap: 10px; }
.menu nav a { padding: 5px 12px; }
.daily .masthead { padding: 0 22px; }
.daily .brand { background: #141414; color: #fff; border-radius: 50%; width: 76px; height: 76px; justify-content: center; font: 25px Mansalva, cursive; margin-top: 10px; }
.daily .desktop-nav { font-family: Mansalva, cursive; text-transform: uppercase; }
.daily .desktop-nav a { padding-inline: 28px; }
.quiet .masthead { padding: 0 42px; align-items: center; }
.quiet .brand { font: 24px var(--display); }
.quiet .desktop-nav { font: 16px "JetBrains Mono", monospace; }
.quiet .desktop-nav a { padding-inline: 20px; }
.quiet .desktop-nav a:nth-child(3) { margin-right: clamp(30px,30vw,430px); }
.earth .masthead { flex-direction: column; align-items: center; padding: 0; justify-content: space-between; }
.earth .brand { flex: 1; font: 25px var(--display); text-transform: uppercase; letter-spacing: .06em; }
.earth .desktop-nav { width: 100%; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid #e0ded8; }
.earth .desktop-nav a { padding: 7px 22px; border-right: 1px solid #e0ded8; }
.press .masthead { padding: 0 18px; align-items: flex-start; }
.press .brand { color: #fff; background: #191817; padding: 4px 8px; margin-top: 18px; letter-spacing: -.06em; }
.press .desktop-nav { width: 35%; min-width: 370px; justify-content: space-between; }
.press .desktop-nav a { padding: 17px 4px; }
.pop .masthead { padding: 9px 11px 0; }
.pop .brand { font: 700 24px/.94 Almarai, sans-serif; letter-spacing: -.065em; }
.pop .menu { display: block; }
.pop .desktop-nav { display: none; }

.intro { padding-inline: var(--edge); }
.intro h1 { font: 400 var(--heading)/1 var(--display); margin: 0; overflow-wrap: anywhere; }
.daily .intro { padding-top: 25px; margin-bottom: 61px; padding-left: 22px; }
.quiet .intro { text-align: center; padding-top: 56px; margin-bottom: 39px; }
.quiet .intro p { max-width: 40ch; margin: 28px auto 0; line-height: 1.32; }
.earth .intro { text-align: center; padding-top: 72px; margin-bottom: 38px; }
.press .intro { padding-top: 58px; margin-bottom: 34px; padding-left: 12px; }
.pop .intro { padding-top: 17px; margin-bottom: 27px; }
.pop .intro h1 { font-weight: 700; letter-spacing: -.045em; }

.tabs { margin: 0 var(--edge) 42px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px; font-size: 14px; min-height: 22px; }
.tabs a { text-decoration: none; }
.tabs a:hover, .tabs a:focus-visible { text-decoration: underline; }
.quiet.overview .tabs { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.quiet.overview .tabs:focus-within, .quiet.overview .tabs:target { position: static; width: auto; height: auto; margin: 0 var(--edge) 20px; clip-path: none; }
.earth .tabs { margin-bottom: 61px; }
.press .tabs { margin-bottom: 49px; text-transform: uppercase; }
.pop .tabs { margin-bottom: 34px; }
.feed { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: max(var(--gap), 0px); margin-inline: var(--edge); }
.earth .feed { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card { min-width: 0; background: var(--card); }
.card a { display: block; block-size: 100%; text-decoration: none; }
.card a:hover h2 { text-decoration: underline; }
.card img { display: block; width: 100%; height: auto; aspect-ratio: var(--crop); object-fit: cover; }
.card-copy { padding: 24px; overflow-wrap: anywhere; }
.card h2 { margin: 12px 0 0; font: 400 22px/1.4 var(--display); }
.card p { margin: 10px 0 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.card .category { display: none; }
.metadata, .meta, .updated { font-size: 12px; }
.daily .card { border: 4px solid #fff; }
.daily .card-copy { padding-top: 28px; }
.daily .metadata::before, .quiet .meta:not(:empty)::before, .earth .meta:not(:empty)::before, .daily .meta:not(:empty)::before, .pop .meta:not(:empty)::before { content: ""; display: inline-block; width: 26px; height: 26px; border-radius: 50%; margin-right: 8px; background: #99968e; vertical-align: middle; }
.daily .metadata::before, .daily .meta:not(:empty)::before { background: #d33573; }
.quiet .card-copy { text-align: center; padding: 25px 6px 38px; }
.quiet .card h2 { margin: 0; font: 14px/1.5 "JetBrains Mono", monospace; }
.quiet .card-copy :is(.metadata,p) { display: none; }
.earth .card { border: 1px solid #e0ded8; }
.earth .card-copy { padding: 40px clamp(16px, 7vw, 100px); }
.press .card h2 { font-family: var(--body); }
.press .card .category { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; margin-block: 4px; }
.pop .card-copy { padding-inline: 0; }
.pop .card h2 { font-weight: 700; }

.detail .tabs { min-height: 45px; margin-bottom: 0; }
.detail.daily .tabs { margin: 72px auto 0; width: min(1070px,calc(100% - 2 * var(--edge))); }
.detail.quiet .tabs { font: 14px "JetBrains Mono", monospace; margin-top: 47px; }
.detail.earth .tabs { margin-top: 70px; }
.detail.press .tabs { margin-inline: 0; padding-inline: var(--edge); background: var(--card); }
.story { width: min(740px,calc(100% - 44px)); margin: var(--story-top) auto 56px; }
.daily .story { margin-top: 126px; }
.quiet .story { margin-top: 115px; }
.earth .story { margin-top: 120px; }
.press .story { margin-top: 136px; }
.pop .story { margin-top: 151px; }
.story h1 { margin: 10px 0 0; font: 400 var(--post-size)/1.25 var(--display); overflow-wrap: anywhere; }
.press .story h1 { font-family: var(--body); line-height: 1; letter-spacing: -.045em; }
.pop .story h1 { font-weight: 700; }
.story .meta:empty { display: none; }
.standfirst, .prose { color: var(--ink); }
.pop .standfirst, .pop .prose { color: #282828; }
.standfirst { font-size: 18px; margin: 20px 0; }
.lead { margin: 25px 0 32px; }
.lead img { display: block; width: 100%; height: auto; }
.lead figcaption, .prose figcaption { padding-top: 8px; font-size: .85rem; }
.prose { font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.prose h2, .prose h3 { line-height: 1.35; margin: 1.5em 0 .4em; font-family: var(--display); font-weight: 400; }
.press .prose h2, .press .prose h3 { font-family: var(--body); }
.prose h2 { font-size: 28px; }
.prose h3 { font-size: 22px; }
.prose figure { margin-inline: 0; }
.prose img { max-width: 100%; height: auto; }
.prose pre, .table-wrap { max-width: 100%; overflow-x: auto; }
.prose table { border-collapse: collapse; }
.prose :is(th,td) { border: 1px solid #c7c4be; padding: 8px 12px; text-align: start; }
.related { width: min(940px,calc(100% - 44px)); margin: 0 auto 62px; border-top: 1px solid #d4d1cb; padding-top: 18px; }
.related-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.related-head h2 { margin: 0; font-size: 18px; font-weight: 400; }
.related .feed { grid-template-columns: repeat(3,minmax(0,1fr)); margin-inline: 0; gap: 16px; }
.related .card img { aspect-ratio: 16 / 9; }
.related .card-copy { padding: 12px; }
.related .card h2 { font-size: 16px; }
.related .card-copy :is(.metadata,.category,p) { display: none; }
footer { min-height: 135px; margin-top: 45px; padding: 36px var(--edge); border-top: 1px solid #e0ded8; }
.daily footer { color: #fff; background: #605f5b; }
.daily footer .brand { margin-top: 0; color: #141414; background: #fff; }

@media (max-width: 720px) {
  .daily { --mast: 49px; --edge: 24px; --gap: 10px; --heading: 26px; }
  .quiet { --mast: 58px; --edge: 24px; --heading: 30px; }
  .earth { --mast: 136px; --edge: 20px; --heading: 44px; }
  .press { --mast: 60px; --edge: 17px; --heading: 30px; }
  .pop { --mast: 58px; --edge: 18px; --gap: 7px; --heading: 30px; }
  .masthead, .quiet .masthead { padding-inline: 12px; align-items: flex-start; }
  .masthead .brand { margin-top: 10px; }
  .daily .masthead .brand { width: 38px; height: 38px; font-size: 15px; margin: 4px 0 0; }
  .earth .masthead { padding: 0; align-items: center; }
  .earth .brand { margin-top: 0; justify-content: center; text-align: center; font-size: 19px; }
  .earth .desktop-nav a { padding: 5px 4px; text-align: center; font-size: 12px; }
  .daily .desktop-nav, .quiet .desktop-nav, .press .desktop-nav { display: none; }
  .daily .menu, .quiet .menu, .press .menu { display: block; }
  .press .masthead { background: #191817; color: var(--paper); }
  .press .brand { padding-inline: 0; font-size: 21px; }
  .daily .intro { padding-top: 55px; margin-bottom: 55px; }
  .quiet .intro { padding-top: 42px; margin-bottom: 39px; }
  .quiet .intro p { margin-top: 14px; font-size: 14px; }
  .earth .intro { padding-top: 31px; margin-bottom: 30px; }
  .press .intro { padding-top: 10px; margin-bottom: 12px; }
  .pop .intro { text-align: center; padding-top: 32px; margin-bottom: 24px; }
  .tabs { gap: 5px 14px; font-size: 11px; margin-bottom: 26px; }
  .earth .tabs { margin-bottom: 38px; }
  .press .tabs { margin-bottom: 22px; }
  .pop .tabs { margin-bottom: 28px; }
  .card-copy, .daily .card-copy, .earth .card-copy { padding: 14px 6px; }
  .quiet .card-copy { padding: 16px 2px; }
  .card h2, .quiet .card h2 { font-size: 14px; line-height: 1.35; }
  .card p, .card .category, .metadata { font-size: 10px; }
  .daily .card { border-width: 2px; }
  .daily .metadata::before { width: 14px; height: 14px; margin-right: 3px; }
  .story { width: calc(100% - 124px); margin-top: 103px; }
  .daily .story { margin-top: 137px; }
  .quiet .story { margin-top: 103px; }
  .earth .story { margin-top: 112px; }
  .press .story { width: calc(100% - 76px); margin-top: 84px; }
  .pop .story { width: calc(100% - 116px); margin-top: 153px; }
  .story h1 { hyphens: auto; }
  .press .story h1 { font-size: clamp(38px,13.3vw,60px); }
  .detail.daily .tabs { margin-top: 58px; }
  .detail.quiet .tabs { margin-top: 22px; }
  .detail.earth .tabs { margin-top: 50px; }
}
