:root {
  color-scheme: light;
  --gold: #D6A875;
  --black: #000000;
  --white: #FFFFFF;
  --gray: #f5f5f5;
  --line: #e8e6e2;
  --ink: #141414;
  --muted: #666666;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* MASTHEAD */

.masthead {
  border-top: 6px solid var(--gold);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.masthead-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 56px) 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.brand-wordmark {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 22px;
}

.brand-wordmark .accent {
  color: var(--gold);
}

.eyebrow {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.masthead h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin: 0;
  color: var(--black);
}

.lede {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.masthead-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 11px 18px;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn:hover {
  background: var(--black);
  color: var(--white);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* MAIN LAYOUT */

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px clamp(20px, 5vw, 56px) 72px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}

/* DAILY BRIEF */

.daily-section {
  margin-bottom: 56px;
}

.daily-briefs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.daily-brief {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px 22px;
  position: relative;
}

.daily-brief::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 40px;
  height: 3px;
  background: var(--gold);
}

.daily-brief-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.daily-date {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
}

.daily-meta {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.daily-list {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.daily-item + .daily-item {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.daily-headline {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 4px;
}

.daily-headline a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.15s;
}

.daily-headline a:hover {
  border-bottom-color: var(--gold);
}

.daily-why {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.daily-source {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

/* EPISODES */

.episodes {
  display: grid;
  gap: 28px;
  margin-bottom: 64px;
}

.episode {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px clamp(22px, 4vw, 40px);
  position: relative;
}

.episode::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 64px;
  height: 4px;
  background: var(--gold);
}

.episode-meta {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}

.episode-meta time {
  color: var(--black);
}

.episode-meta .dot {
  color: var(--line);
}

.episode h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.3px;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--black);
}

.episode-summary {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  max-width: 720px;
}

.episode audio {
  width: 100%;
  margin: 0 0 26px;
}

.audio-note {
  color: var(--muted);
  font-style: italic;
  margin: 0 0 22px;
}

.story-label {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.story-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.story-list li {
  display: grid;
  gap: 4px;
}

.story-link {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.story-link:hover {
  border-bottom-color: var(--gold);
}

.story-link:hover .story-headline {
  color: var(--black);
}

.story-link:hover .story-rank {
  color: var(--black);
}

.story-link-inert {
  cursor: default;
}

.story-link-inert:hover {
  border-bottom-color: transparent;
}

.story-rank {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold);
  padding-top: 1px;
  transition: color 0.15s;
}

.story-headline {
  color: var(--ink);
}

.story-extra-links {
  display: block;
  margin-left: 50px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.story-extra-links a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.story-extra-links a:hover {
  color: var(--black);
  border-bottom-color: var(--gold);
}

.story-link-sep {
  margin: 0 6px;
  color: var(--line);
}

/* SOURCES */

.sources {
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.sources-header {
  margin-bottom: 28px;
  max-width: 720px;
}

.sources-header h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--black);
}

.sources-header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.source-group {
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.source-group h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.source-group ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.source-group li.source {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.source-name {
  color: var(--ink);
}

.source-name a {
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.15s;
}

.source-name a:hover {
  border-bottom-color: var(--gold);
}

.source-type {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 auto;
}

/* FOOTER */

.colophon {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.colophon a {
  color: var(--muted);
  text-decoration: none;
}

.colophon a:hover {
  color: var(--black);
}

.loading {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 720px) {
  .masthead-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .masthead-actions {
    margin-top: 6px;
  }

  .episode {
    padding: 26px 20px;
  }
}
