/* Big Beautiful Flop: an independent gazette on warm paper.
   Same family as Morges.info (Fraunces headlines, ink rules, one red accent), with its own
   identity: a presidential navy for the "real president" voice, and stamps that keep the
   original visibly apart from the satire. */

@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/fraunces-latin-opsz-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces Variable';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/fraunces-latin-opsz-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/fraunces-latin-ext-opsz-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f6f2ea;
  --surface: #fcfaf6;
  --rule: #d9d1c3;
  --rule-soft: #e8e1d5;
  --ink: #171614;
  --ink-soft: #57524a;
  --ink-faint: #7a7368;
  --red: #b3121a; /* the flop: 6:1 on paper */
  --navy: #1f3a5f; /* the presidential voice */
  --navy-pale: #e6ebf1;
  --sand: #efe7d8;
  --radius: 3px;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Fraunces Variable', Georgia, 'Times New Roman', serif;
  --measure: 68ch;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: var(--ink);
  text-decoration-color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--red);
}
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus {
  top: 10px;
}

/* ---------- masthead ---------- */
.masthead {
  padding: 16px max(20px, calc((100% - 1120px) / 2)) 0;
  border-bottom: 3px double var(--ink);
  text-align: center;
}
.masthead-dateline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 0 16px;
  color: inherit;
  text-decoration: none;
}
.brand:hover {
  color: inherit;
}
.brand-mark {
  width: 38px;
  height: 38px;
  color: var(--ink);
}
.brand-name {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 7.4vw, 5.4rem);
  font-weight: 600;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-transform: uppercase;
}
.brand-accent {
  color: var(--red);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
}
.brand-motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  color: var(--ink-soft);
}
.site-nav {
  border-top: 1px solid var(--ink);
}
.site-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav-list a {
  display: inline-block;
  padding: 10px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.site-nav-list a:hover {
  color: var(--red);
}
.site-nav-list a[aria-current='page'] {
  color: var(--red);
  box-shadow: inset 0 -2px 0 var(--red);
}
.nav-toggle {
  display: none;
}
@media (max-width: 860px) {
  .masthead-editions {
    display: none;
  }
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    padding: 10px 14px;
    min-height: 44px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
  }
  .nav-toggle-bars {
    position: relative;
  }
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: '';
    position: absolute;
    left: 0;
  }
  .nav-toggle-bars::before {
    top: -5px;
  }
  .nav-toggle-bars::after {
    top: 5px;
  }
  .js .site-nav-list {
    display: none;
  }
  .js .nav-open .site-nav-list {
    display: flex;
    flex-direction: column;
    padding-bottom: 8px;
  }
  .site-nav-list a {
    display: block;
    padding: 12px;
  }
}
@media (max-width: 520px) {
  .masthead-dateline {
    justify-content: center;
  }
  .masthead-dateline span:first-child {
    display: none;
  }
}

/* ---------- page ---------- */
.page-main {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}
.page-main:focus {
  outline: none;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
}
.kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.kicker a {
  color: inherit;
}
.lead {
  max-width: var(--measure);
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.55;
  color: #34312c;
}
.rubric {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding-top: 10px;
  border-top: 2px solid var(--ink);
  font-size: 1.55rem;
}
.rubric-intro {
  max-width: var(--measure);
  margin: -6px 0 22px;
  color: var(--ink-soft);
}
.article {
  counter-reset: rubric;
}
.rubric--num::before {
  counter-increment: rubric;
  content: counter(rubric);
  display: inline-grid;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.55em;
  font-weight: 700;
}
.button {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.button:hover {
  background: var(--paper);
  color: var(--ink);
}
.disclaimer {
  max-width: var(--measure);
  margin: 28px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* flags, chips, stamps */
.flag {
  width: 1.35em;
  height: 0.9em;
  flex: none;
  vertical-align: -0.1em;
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.flag--round {
  width: 1em;
  height: 1em;
  box-shadow: none;
}
.chip {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  flex: none;
  margin-right: 0.45em;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--chip-a) 50%, var(--chip-b) 50%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  vertical-align: -0.05em;
}
.stamp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0 0 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.stamp span {
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.stamp--original {
  color: var(--red);
}
.stamp--presidential {
  color: var(--navy);
}

/* ---------- the original ---------- */
.original {
  margin: 0;
  padding: 22px 24px 20px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--red);
}
.original blockquote {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-variation-settings: 'opsz' 72;
  line-height: 1.35;
}
.original blockquote p {
  margin: 0 0 10px;
}
.original blockquote p:first-child::before {
  content: '“';
  color: var(--red);
}
.original blockquote p:last-child::after {
  content: '”';
  color: var(--red);
}
.original--compact blockquote {
  font-size: 1.15rem;
}
@media (max-width: 600px) {
  .original,
  .presidential {
    padding: 18px 16px 16px;
  }
  .original blockquote {
    font-size: 1.22rem;
  }
  .edition {
    padding: 16px 14px 14px;
  }
  .switcher-head {
    padding: 12px 14px 0;
  }
}
.original figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.original-speaker {
  font-weight: 700;
  color: var(--ink);
}
.original-context {
  margin-top: 8px;
  font-style: italic;
}
.verify-flag,
.review-flag {
  align-self: flex-start;
  margin: 10px 0 0;
  padding: 2px 8px;
  border: 1px dashed var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
}

/* ---------- the presidential version ---------- */
.presidential {
  padding: 22px 24px 20px;
  background: var(--navy-pale);
  border-top: 4px solid var(--navy);
}
.presidential-text {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.6;
  color: #182a40;
}
.presidential-text p {
  margin: 0 0 12px;
}
.presidential--compact .presidential-text {
  font-size: 1rem;
}
.changes {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(31, 58, 95, 0.25);
}
.changes-title {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.changes ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.92rem;
}
details summary {
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
}
.in-french {
  margin-top: 14px;
  color: var(--navy);
}
.in-french div {
  font-family: var(--serif);
  color: #182a40;
}

/* the original next to the presidential version */
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 44px;
}
@media (max-width: 860px) {
  .versus {
    grid-template-columns: 1fr;
  }
}

/* ---------- front page ---------- */
.front-lead {
  padding-bottom: 4px;
}
.front-title {
  max-width: 22ch;
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-variation-settings: 'opsz' 120;
  line-height: 1.02;
}
.front-title a {
  text-decoration: none;
}
.front-lead .lead::first-letter {
  float: left;
  padding: 5px 8px 0 0;
  font-size: 3.3em;
  font-weight: 600;
  line-height: 0.82;
  color: var(--red);
}
.world {
  margin-bottom: 48px;
}
.world-more {
  margin: 24px 0 0;
}

/* ---------- regional editions ---------- */
.switcher {
  margin-bottom: 28px;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.switcher-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 12px 18px 0;
  border-bottom: 1px solid var(--rule);
}
.switcher-head .stamp {
  margin: 0 0 12px;
}
.switcher-tabs {
  display: none;
}
.js .switcher-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
.switcher-tabs [role='tab'] {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}
.switcher-tabs [role='tab']:hover {
  color: var(--ink);
}
.switcher-tabs [role='tab'][aria-selected='true'] {
  border-bottom-color: var(--red);
  color: var(--ink);
}
.js .edition[data-inactive] {
  display: none;
}
.edition {
  padding: 18px 18px 16px;
}
.edition + .edition {
  border-top: 1px solid var(--rule-soft);
}
.js .edition + .edition {
  border-top: 0;
}
.edition-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  margin: 0 0 14px;
  font-size: 1.35rem;
}
.edition-title small {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}
.edition-columns {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
}
.col-label {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.edition-fr p:not(.col-label) {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.14rem;
  line-height: 1.55;
}
.edition-en {
  padding-left: 24px;
  border-left: 1px solid var(--rule);
}
.edition-en p:not(.col-label) {
  margin: 0 0 12px;
  color: #34312c;
}
@media (max-width: 760px) {
  .edition-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .edition-en {
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px dashed var(--rule);
  }
}
.edition-notes {
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--sand);
}
.edition-notes ul {
  margin: 10px 0 4px;
  padding-left: 1.1em;
  font-size: 0.92rem;
}
.edition-notes li + li {
  margin-top: 6px;
}
.edition-link {
  margin: 14px 0 0;
  font-size: 0.86rem;
}
.edition--page {
  margin: 28px 0 36px;
  padding: 0;
}

/* ---------- cards ---------- */
.also {
  margin-bottom: 48px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.card {
  padding-top: 14px;
  border-top: 1px solid var(--ink);
}
.card-title {
  margin: 0 0 12px;
  font-size: 1.7rem;
}
.card-title a {
  text-decoration: none;
}
.card-title a:hover {
  text-decoration: underline;
}
.card-quote {
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.4;
}
.card-quote::before {
  content: '“';
}
.card-quote::after {
  content: '”';
}
.card-presidential,
.card-edition {
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.card-presidential p,
.card-edition p {
  margin: 0;
}
.card-presidential p:last-child {
  color: #182a40;
}
.card-edition p:last-child {
  font-family: var(--serif);
}
.card-edition-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px !important;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.card-edition-label .chip {
  margin-right: 0;
}
.card-regions,
.other-editions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  font-size: 0.84rem;
}
.card-regions a,
.other-editions a {
  display: inline-flex;
  align-items: center;
}

/* ---------- how it works ---------- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-steps li {
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.how-steps p {
  margin: 0;
  color: var(--ink-soft);
}
.how-label {
  margin-bottom: 6px !important;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink) !important;
}
@media (max-width: 760px) {
  .how-steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- article ---------- */
.article-head h1,
.section-head h1 {
  max-width: 22ch;
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  font-variation-settings: 'opsz' 110;
  line-height: 1.04;
}
.article-head h1 .chip {
  width: 0.5em;
  height: 0.5em;
  vertical-align: 0.15em;
}
.article-meta {
  margin: 0 0 18px;
  font-size: 0.84rem;
  color: var(--ink-faint);
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-bottom: 36px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.jump a {
  text-decoration: none;
}
.article-section {
  margin-bottom: 44px;
  scroll-margin-top: 16px;
}

/* ---------- lists and sections ---------- */
.section-head {
  margin-bottom: 32px;
}
.list-item {
  margin-bottom: 44px;
}
.list-title {
  margin: 0 0 14px;
  padding-top: 12px;
  border-top: 2px solid var(--ink);
  font-size: 1.7rem;
}
.list-title a {
  text-decoration: none;
}
.list-original {
  max-width: var(--measure);
  margin: 0 0 16px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
}
.english-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 28px;
}
.english-block {
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.english-block p:not(.card-edition-label) {
  margin: 0 0 10px;
}
.region-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.region-card {
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.region-card p {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.region-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  text-decoration: none;
}
.region-count {
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.empty {
  font-style: italic;
  color: var(--ink-soft);
}
.prose {
  max-width: var(--measure);
  font-size: 1.05rem;
}
.prose h2 {
  margin: 32px 0 10px;
  font-size: 1.5rem;
}
.prose li + li {
  margin-top: 8px;
}
.about-regions {
  padding-left: 0;
  list-style: none;
}
.about-regions .region-link {
  margin-right: 12px;
  font-size: 1rem;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cbc5ba;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 40px;
  font-size: 0.88rem;
}
.footer-brand {
  max-width: 52ch;
}
.footer-brand p {
  margin: 0 0 6px;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}
.footer-name .brand-accent {
  color: #f0a39b;
}
.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  color: #fff;
}
.footer-disclaimer {
  font-size: 0.8rem;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 6px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a {
  color: #fff;
  text-decoration-color: #f0a39b;
}
.site-footer :focus-visible {
  outline-color: #fff;
}

@media print {
  .masthead .site-nav,
  .switcher-tabs,
  .site-footer nav {
    display: none !important;
  }
  .js .edition[data-inactive] {
    display: block;
  }
}
