/* Boutique Consulting Club — site styles.
   Matches the current Webflow site (website/style-notes.md): ivory paper, navy ink, gold accent,
   EB Garamond display, Libre Franklin light text, narrow centered column, square corners. */
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500;600&family=Libre+Franklin:wght@300;400;600;700&display=swap");

:root {
  --ivory: #fffff0;
  --navy: #1e3a5f;
  --gold: #d4af37;
  --white: #ffffff;
  --myth: #8a3324;             /* only addition to the palette: Myth verdicts */
  --display: "EB Garamond", Garamond, Georgia, serif;
  --text: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --col: 740px;
  --container: 940px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--text);
  font-size: 16px;
  line-height: 23px;
  font-weight: 300;
  letter-spacing: -0.5px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
strong, b { font-weight: 600; }

h1, h2 { font-family: var(--display); font-weight: 500; color: var(--navy); margin: 0; }
h1 { font-size: 45px; line-height: 45px; letter-spacing: -3px; }
h2 { font-size: 26px; line-height: 36px; letter-spacing: -1px; text-align: center; margin-bottom: 40px; }
h3 { font-family: var(--text); font-weight: 400; font-size: 20px; line-height: 26px; letter-spacing: -1px; margin: 0 0 10px; }
p { margin: 0 0 23px; }
ul, ol { margin: 0 0 23px; padding-left: 22px; }
li { margin-bottom: 10px; }
.small { font-size: 14px; }
.center { text-align: center; }

/* Layout: narrow centered column inside a 940px container */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.col { max-width: var(--col); margin: 0 auto; }
.narrow { max-width: 700px; margin: 0 auto; }
section { padding: 50px 0; }
section.hero { padding: 100px 0 60px; text-align: center; }
.hero h1 { max-width: 700px; margin: 0 auto 20px; }
.hero .sub { font-size: 18px; line-height: 26px; font-weight: 400; max-width: 610px; margin: 15px auto 40px; }
.hero .sub strong { font-weight: 700; }
@media (max-width: 767px) {
  h1 { font-size: 40px; line-height: 44px; letter-spacing: -2px; }
  section.hero { padding: 60px 0 40px; }
}

/* Navbar */
.site-header { padding: 25px 0; background: var(--ivory); }
.site-header .wrap { max-width: 748px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand { display: inline-block; line-height: 0; }
.brand img { height: 45px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav a { font-family: var(--display); font-size: 18px; line-height: 20px; font-weight: 500; letter-spacing: -0.5px; text-decoration: none; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--navy); }

/* Buttons */
.btn {
  display: inline-block; background: var(--gold); color: var(--white);
  font-family: var(--text); font-size: 16px; line-height: 23px; font-weight: 300; letter-spacing: -0.5px;
  padding: 9px 15px; border: 0; border-radius: 0; text-decoration: none; cursor: pointer;
}
.btn:hover { background: #c49f2a; }
.btn-row { margin-top: 20px; }
.btn-row.right { text-align: right; }
.btn-row.center { text-align: center; }
.text-link { text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Boxes */
.box { border: 3px solid var(--navy); padding: 40px 60px; }
.outline { outline: 1px solid var(--gold); padding: 20px; background: transparent; }
@media (max-width: 767px) { .box { padding: 28px 22px; } }

/* "Who this is for" lists */
.plain-list { list-style: none; padding: 0; }
.plain-list li { padding-left: 22px; position: relative; }
.plain-list li::before { content: "→"; position: absolute; left: 0; color: var(--gold); }
.plain-list.no li::before { content: "×"; color: var(--navy); }

/* Sample map table */
.label { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid var(--gold); margin-bottom: 20px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 21px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(30, 58, 95, 0.25); vertical-align: top; }
th { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: -0.3px; border-bottom: 2px solid var(--navy); }
.moved { color: var(--gold); font-weight: 600; }
blockquote { margin: 20px 0; padding: 0 0 0 20px; border-left: 3px solid var(--gold); letter-spacing: -1px; }

/* Verdict tags */
.verdict { display: inline-block; font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; padding: 2px 8px; border: 1px solid; }
.v-supported { background: var(--navy); border-color: var(--navy); color: var(--white); }
.v-conditional { background: var(--gold); border-color: var(--gold); color: var(--white); }
.v-unproven { background: transparent; border-color: var(--navy); color: var(--navy); }
.v-myth { background: var(--myth); border-color: var(--myth); color: var(--white); }

/* Fact-checked library */
.scoreboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 auto 40px; max-width: var(--col); border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); }
.scoreboard div { padding: 16px 8px; text-align: center; }
.scoreboard b { display: block; font-family: var(--display); font-weight: 500; font-size: 36px; line-height: 40px; letter-spacing: -1px; }
.scoreboard span { font-size: 14px; }
@media (max-width: 560px) { .scoreboard { grid-template-columns: repeat(2, 1fr); } }
.filters { max-width: var(--col); margin: 0 auto 30px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip { font-family: var(--text); font-size: 14px; font-weight: 300; letter-spacing: -0.3px; padding: 6px 12px; border: 1px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; border-radius: 0; }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.filters select, .filters input { font-family: var(--text); font-size: 14px; font-weight: 300; padding: 7px 10px; border: 1px solid var(--gold); background: var(--white); color: var(--navy); border-radius: 0; }
.filters input { flex: 1; min-width: 180px; }
.topic { max-width: var(--col); margin: 0 auto 40px; padding: 0; }
.topic > h2 { text-align: left; margin-bottom: 10px; font-size: 26px; }
.claim { padding: 20px 0; border-bottom: 1px solid rgba(30, 58, 95, 0.25); }
.claim:last-child { border-bottom: 0; }
.claim h3 { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 27px; letter-spacing: -0.6px; margin: 8px 0 8px; }
.claim p { margin: 0 0 6px; }
.claim .conf { font-size: 13px; opacity: 0.8; }
.how-graded { max-width: var(--col); margin: 0 auto 40px; }
.how-graded dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 18px; margin: 0; }
.how-graded dt { padding-top: 1px; }
.how-graded dd { margin: 0; }
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.featured .outline h3 { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 24px; letter-spacing: -0.5px; margin: 10px 0 8px; }
.featured .outline p { font-size: 15px; line-height: 21px; margin: 0; }
@media (max-width: 767px) { .featured { grid-template-columns: 1fr; } }

/* Essays */
.essay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.essay-grid a { text-decoration: none; display: block; }
.essay-grid .outline h3 { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 23px; letter-spacing: -0.5px; margin: 0 0 8px; }
.essay-grid .outline p { font-size: 16px; line-height: 20px; margin: 0; }
.essay-grid a:hover h3 { text-decoration: underline; }
@media (max-width: 767px) { .essay-grid { grid-template-columns: 1fr; } }
article.essay { padding: 60px 0 20px; }
article.essay h1 { font-size: 44px; line-height: 45px; letter-spacing: -2.4px; margin: 20px 0 10px; }
article.essay .standfirst { font-family: var(--display); font-weight: 500; font-size: 22.4px; line-height: 28px; letter-spacing: -1.12px; margin: 10px 0 10px; }
article.essay .byline { font-family: var(--display); font-weight: 500; font-size: 18px; margin-bottom: 30px; }
article.essay p { margin: 10px 0 20px; }
article.essay h3 { margin-top: 16px; }

/* Forms */
.field { margin-bottom: 18px; text-align: left; }
label { display: block; font-weight: 400; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font-family: var(--text); font-size: 15px; font-weight: 300; letter-spacing: -0.3px; color: var(--navy);
  padding: 13px 12px; border: 1px solid var(--gold); border-radius: 0; background: var(--white);
}
input:focus, select:focus { outline: 2px solid var(--navy); outline-offset: 0; }
.result { margin-top: 20px; padding: 20px; border: 1px solid var(--navy); display: none; text-align: left; }
.result.show { display: block; }
.result .big { display: block; font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 32px; letter-spacing: -1px; margin-bottom: 10px; }

/* Newsletter band */
.newsletter { border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); padding: 60px 0; text-align: center; }
.newsletter h2 { font-size: 30px; margin-bottom: 14px; }
.newsletter form { display: flex; gap: 20px; justify-content: center; max-width: 655px; margin: 20px auto 6px; }
.newsletter input { flex: 0 0 300px; height: 50px; text-align: center; }
.newsletter button { flex: 1; height: 50px; font-size: 18px; line-height: 20px; }
@media (max-width: 767px) { .newsletter form { flex-direction: column; gap: 10px; } .newsletter input { flex: none; } }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); padding: 40px 0; font-size: 14px; }
.site-footer .wrap { max-width: 748px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.site-footer h4 { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 20px; letter-spacing: normal; margin: 0 0 10px; color: var(--white); }
.site-footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; display: block; margin-bottom: 5px; }
.site-footer a:hover { color: var(--white); }
.site-footer .brand { margin-bottom: 14px; }
.site-footer .brand img { height: 34px; }
.site-footer p { color: rgba(255, 255, 255, 0.8); margin: 0 0 5px; }
@media (max-width: 767px) { .site-footer .wrap { grid-template-columns: 1fr; } }

@media print {
  .site-header, .site-footer, .newsletter, .filters { display: none !important; }
  body { background: #fff; }
}

/* Portrait in "Who I am" (added 26 Nov 2026) */
.portrait { display: block; width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: #fff; outline: 1px solid var(--gold); outline-offset: 6px; margin: 30px auto 30px; }

/* 26 Nov 2026 */
.newsletter p.narrow { text-align: left; }
article.essay :is(p, ul, ol, blockquote, figure) + :is(h2, h3, h4) { margin-top: 69px; } /* about three blank lines (23px line-height) */
article.essay figure { margin: 30px 0; } article.essay figure img { max-width: 100%; height: auto; display: block; }
.newsletter .nl-thanks { font-size: 20px; font-weight: 600; margin: 20px auto 6px; padding: 14px 20px; border: 1px solid var(--navy); max-width: 655px; text-align: center; }
