:root {
  color-scheme: light;
  --ink: #2e1916;
  --muted: #70534e;
  --paper: #fff9f0;
  --maroon: #35100f;
  --red: #781b17;
  --cream: #fff3df;
  --border: #ead8c7;
  font-family: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #d48019; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.frame { width: min(100% - 32px, 1120px); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: 1rem; transform: translateY(-200%); z-index: 4; padding: 12px; background: white; }
.skip:focus { transform: none; }
.site-header { background: var(--maroon); color: var(--cream); border-bottom: 1px solid #703731; }
.header-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; position: relative; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 130px; }
.desktop-nav { display: flex; gap: 4px; align-items: center; }
.desktop-nav a, .mobile-nav nav a { text-decoration: none; font-size: .88rem; font-weight: 650; padding: 12px 9px; border-radius: 7px; }
nav a[aria-current="page"] { color: #ffce6b; background: #552320; }
.mobile-nav { display: none; }
.crumb { display: flex; gap: 9px; align-items: center; margin: 18px 0 10px; color: var(--muted); font-size: .875rem; }
.hero { background: radial-gradient(ellipse at 84% 0%, #912e19, transparent 60%), linear-gradient(125deg,#43100f,#6c1915); color: var(--cream); border: 1px solid #9f4730; border-radius: 20px; overflow: hidden; margin: 10px 0 28px; box-shadow: 0 12px 26px #6c19151a; }
main > .hero:first-child { margin-top: 22px; }
.hero-copy { padding: clamp(24px, 5vw, 56px); }
h1, h2, .footer-brand { font-family: "DM Serif Text", Georgia, serif; font-weight: 700; }
h1 { margin: 0; max-width: 18ch; line-height: 1.04; font-size: clamp(2.55rem, 6vw, 4.7rem); letter-spacing: -.045em; overflow-wrap: break-word; }
.hero p { color: #f5d8be; max-width: 50ch; margin: 16px 0 23px; font-size: clamp(1rem, 2vw, 1.17rem); line-height: 1.55; }
.actions { display: grid; max-width: 410px; gap: 10px; }
.actions a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border-radius: 10px; font-weight: 800; text-decoration: none; }
.actions .download { min-height: 62px; background: #ffca59; color: #35100f; font-size: 1.24rem; }
.actions .download[href]:hover { background: #ffdc85; }
.actions .play { border: 1px solid #d99e70; color: var(--cream); }
.actions .play[href]:hover { background: #ffffff16; }
.actions a[aria-disabled="true"] { opacity: .65; cursor: default; }
.banner { width: 100%; border-top: 1px solid #a14b2b; }
.reading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 270px); gap: 28px; align-items: start; padding-bottom: 32px; }
article { background: #fffdf8; border: 1px solid var(--border); padding: clamp(18px, 4vw, 34px); border-radius: 16px; }
article section + section { border-top: 1px solid var(--border); padding-top: 23px; margin-top: 24px; }
h2 { margin: 0 0 8px; font-size: clamp(1.45rem, 3vw, 1.95rem); line-height: 1.17; letter-spacing: -.02em; }
article p { margin: 0; color: var(--muted); line-height: 1.68; }
.formats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 19px; }
.formats a { display: block; background: var(--paper); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; text-decoration: none; font-weight: 750; }
.formats img { width: 100%; }
.formats span { display: block; padding: 10px; }
.article-art { width: min(100%, 580px); margin-top: 25px; border-radius: 11px; }
article .published { margin-top: 22px; font-size: .82rem; }
.more { background: #f5eade; border: 1px solid var(--border); border-radius: 14px; padding: 19px; }
.more h2 { font-size: 1.35rem; }
.more a { display: flex; justify-content: space-between; gap: 8px; padding: 13px 0; border-bottom: 1px solid #dfc7b6; font-weight: 650; text-decoration: none; }
.more a:last-child { border-bottom: 0; }
.more a:hover, .formats a:hover { color: var(--red); text-decoration: underline; }
.site-footer { color: var(--cream); background: var(--maroon); padding: 24px 0; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.footer-brand { font-size: 1.3rem; text-decoration: none; }
.friends h2 { font: 700 .92rem/1.3 system-ui, sans-serif; margin-bottom: 6px; }
.friends ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.friends a { overflow-wrap: anywhere; color: #ffcf79; }
@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { cursor: pointer; padding: 10px 15px; border: 1px solid #a86652; border-radius: 8px; font-weight: 700; }
  .mobile-nav nav { z-index: 2; position: absolute; top: 100%; inset-inline: 0; background: var(--maroon); padding: 9px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border: 1px solid #a86652; border-radius: 12px; }
}
@media (max-width: 650px) {
  .header-row { min-height: 62px; }
  .brand img { width: 109px; }
  main > .hero:first-child { margin-top: 14px; }
  .hero { margin-bottom: 18px; border-radius: 15px; }
  .hero-copy { padding: 22px 14px 16px; }
  .actions { max-width: none; }
  .reading { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
