/* ==========================================================================
   Deskside Report — brand stylesheet
   "Straight Down the Middle"
   ========================================================================== */

:root {
  --green: #1F5C4C;
  --green-deep: #163F35;
  --brass: #B4863F;
  --brass-soft: #EFE0C4;
  --ink: #1B1B18;
  --ink-soft: #55524A;
  --paper: #F6F1E7;
  --paper-dark: #EFE8D8;
  --hair: rgba(27, 27, 24, 0.16);
  --white: #FFFFFF;
  --gutter: clamp(20px, 5vw, 64px);
  --content-max: 1320px;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans: 'Libre Franklin', Arial, sans-serif;
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Utility bar ---- */
.utility-bar {
  background: var(--ink);
  color: #B0AEA5;
  font-size: 12px;
  font-weight: 500;
}
.utility-bar .wrap {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.utility-bar a { color: #B0AEA5; }
.utility-bar .subscribe-link { color: var(--brass); font-weight: 700; }

/* ---- Masthead ---- */
.masthead {
  border-bottom: 3px double var(--ink);
  background: var(--paper);
}
.masthead-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 14px;
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand svg { flex-shrink: 0; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}
.brand-tagline {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brass);
}
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  background: var(--green);
  border: none;
  border-radius: 3px;
  padding: 12px 22px;
}
.btn:hover { background: var(--green-deep); color: #fff; text-decoration: none; }

/* Nav: checkbox-driven mobile toggle, no JS required */
.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  cursor: pointer;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle-label span::before { content: ""; position: absolute; top: -7px; width: 22px; height: 2px; background: var(--ink); }
.nav-toggle-label span::after { content: ""; position: absolute; top: 7px; width: 22px; height: 2px; background: var(--ink); }

.primary-nav {
  display: flex;
  gap: 32px;
  padding: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.primary-nav a { color: var(--ink); }
.primary-nav a.featured { color: var(--green); font-weight: 800; }

/* ---- Hero ---- */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--hair);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero-media {
  border-radius: 4px;
  overflow: hidden;
  min-height: 420px;
  background: var(--paper-dark);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.hero-body .eyebrow { color: var(--brass); }
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.3px;
}
.hero-dek {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.byline { font-size: 12px; color: var(--ink-soft); font-weight: 500; }

/* ---- Section heading with rule ---- */
.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.section-heading h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.section-heading .rule { flex-grow: 1; height: 1px; background: var(--hair); }

/* ---- Story grid ---- */
.story-grid-section { padding: 40px 0; border-bottom: 1px solid var(--hair); }
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.story-card { display: flex; flex-direction: column; gap: 12px; }
.story-thumb {
  height: 150px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-dark);
}
.story-thumb img { width: 100%; height: 100%; object-fit: cover; }
.story-tag { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brass); }
.story-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
a.story-title:hover { color: var(--green-deep); }
.story-meta { font-size: 11px; color: var(--ink-soft); }

/* ---- Both Sides of the Desk module ---- */
.both-sides {
  background: var(--paper-dark);
  padding: 48px 0;
  border-bottom: 1px solid var(--hair);
}
.both-sides-heading { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.both-sides-heading .eyebrow { color: var(--green); }
.both-sides-heading h2 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; }
.both-sides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.read-card {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 4px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.read-card.deskside { border: 2px solid var(--green); color: var(--ink); }
.read-card .label { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); }
.read-card.deskside .label { color: var(--green); }

/* ---- Opinion / dark band ---- */
.opinion-band {
  background: var(--ink);
  color: #FFFFFF;
  padding: 64px 0;
  text-align: center;
}
.opinion-band .eyebrow { color: var(--brass); }
.pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  max-width: 820px;
  margin: 20px auto;
}
.opinion-band .byline { color: #B0AEA5; }
.opinion-band .read-more { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--brass); }

/* ---- Newsletter band ---- */
.newsletter-band { background: var(--green); color: #FFFFFF; padding: 56px 0; }
.newsletter-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-copy { max-width: 520px; display: flex; flex-direction: column; gap: 6px; }
.newsletter-copy h2 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; }
.newsletter-copy p { font-size: 14px; color: #E3EFE9; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  width: 260px;
  max-width: 100%;
  padding: 13px 16px;
  border-radius: 3px;
  border: none;
  font-size: 14px;
  font-family: var(--font-sans);
}
.newsletter-form button {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--green-deep);
  background: #FFFFFF;
  border: none;
  border-radius: 3px;
  padding: 0 22px;
}
.newsletter-form button:hover { background: var(--brass-soft); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #B0AEA5; padding: 56px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .brand-name { color: #FFFFFF; font-size: 18px; }
.footer-brand p { font-size: 12px; line-height: 1.6; max-width: 280px; color: #B0AEA5; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-col h3 { font-weight: 700; color: #FFFFFF; margin-bottom: 4px; font-size: 13px; }
.footer-col a { color: #B0AEA5; }
.footer-rule { height: 1px; background: rgba(255, 255, 255, 0.12); margin-bottom: 24px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: var(--brass); }
.footer-bottom .tagline { font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brass); font-size: 10px; }

/* ---- Article page ---- */
.article-header { background: var(--white); border-bottom: 1px solid var(--hair); padding: 48px 0 0; }
.article-header .wrap { display: flex; flex-direction: column; align-items: center; }
.article-intro { max-width: 820px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.article-intro h1 { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.2; }
.article-intro .dek { font-family: var(--font-serif); font-size: 19px; line-height: 1.6; color: var(--ink-soft); }
.article-media { width: 100%; max-width: 1100px; margin: 32px auto 0; border-radius: 4px; overflow: hidden; height: 460px; background: var(--paper-dark); }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-media-spacer { height: 48px; }

.article-body { background: var(--white); padding: 56px 0; border-bottom: 1px solid var(--hair); }
.article-body .wrap { display: flex; justify-content: center; }
.prose {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.75;
}
.prose .placeholder { color: var(--ink-soft); font-style: italic; }

.related-section { padding: 40px 0; border-bottom: 1px solid var(--hair); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.related-item { display: flex; flex-direction: column; gap: 8px; }
.related-item a { font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { min-height: 280px; order: -1; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .both-sides-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .related-grid { grid-template-columns: 1fr; }
  .article-media { height: 300px; }
}

@media (max-width: 700px) {
  .nav-toggle-label { display: flex; }
  .primary-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .primary-nav a {
    padding: 12px 0;
    border-top: 1px solid var(--hair);
  }
  .nav-toggle:checked ~ .primary-nav { display: flex; }
  .masthead-top { padding-bottom: 14px; }
  .story-grid { grid-template-columns: 1fr; }
  .newsletter-band .wrap { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input[type="email"] { flex-grow: 1; width: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
