/* ==========================================================================
   Facts & Feelings — static rebuild
   ========================================================================== */

/* ---- Fonts (self-hosted variable fonts) ---- */
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/LibreFranklin-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/LibreFranklin-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4-VariableFont.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4-Italic-VariableFont.ttf") format("truetype");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --ink: rgb(26, 39, 51);
  --gold: rgb(244, 190, 59);
  --gray: rgb(236, 238, 239);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Announcement bar (sticky) ---- */
.announcement {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  padding: 14px 56px;
/*  font-size: clamp(13px, 1.5625, 16px); */
  font-size: 13px;
  @media (min-width: 1024px) {
    font-size: 16px;
  }
  font-weight: 700;
  line-height: 1.5;
}
.announcement.is-dismissed {
  display: none;
}
.announcement__close {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  background: none;
  border: 0;
  padding: 6px 10px;
  font-size: 16px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

/* ---- Header ---- */
.site-header {
  padding: 26px 40px;
}
.site-header__logo img {
  display: block;
  width: clamp(38px, 2.7vw, 54px);
  height: auto;
}

/* ---- Splash hero ---- */
.hero {
  text-align: center;
  padding: 60px 24px 30px;
}
.hero__wordmark {
  width: min(clamp(440px, 32vw + 252px, 680px), 90%);
  margin: 0 auto;
}
.hero__tagline {
  font-size: clamp(31.12px, 1.68vw + 16px, 39.52px);
  font-weight: 400;
  line-height: 1.55;
  max-width: 21em;
  margin: 0.85em auto 0;
  text-wrap: balance;
}
.hero__intro {
  max-width: clamp(600px, 60vw, 1200px);
  margin: 20px auto 0;
  font-size: clamp(19.1536px, 0.48vw + 16px, 22.72px);
  line-height: 1.6;
}
.hero__intro p {
  margin: 0 0 24px;
}
.hero__intro p:last-child {
  margin-bottom: 0;
  font-weight: 700;
}

/* Gold highlighter effect: gold band over the lower half of the line */
.hl {
  background: linear-gradient(to bottom, transparent 50%, var(--gold) 50%, var(--gold) 100%, transparent 100%);
  padding: 0 6px;
  margin: 0 -2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---- Splash: blog + team ---- */
.blog-section {
  background: var(--gray);
  padding: 40px 40px 40px;
}
.blog-section__inner {
  max-width: min(88vw, 1560px);
  margin: 0 auto;
}
.blog-section h2 {
  text-align: center;
  font-size: clamp(32.9992px, 1.6428vw + 23.2411px, 46.24px);
  margin-bottom: 34px;
}
.blog-section p {
  margin: 0;
  font-size: clamp(19.1536px, 0.48vw + 16px, 22.72px);
  line-height: 1.65;
}

.team-section {
  background: #fff;
}
.team-section__inner {
  background: #fff;
  max-width: min(96vw, 1900px);
  margin: 0 auto;
  padding: 40px 46px 90px;
}
.team-section h2 {
  text-align: center;
  font-size: clamp(32.9992px, 1.6428vw + 23.2411px, 46.24px);
  margin-bottom: 56px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: min(92vw, 1840px);
  margin: 0 auto;
}
.team-card {
  background: var(--gray);
  text-align: center;
  padding: 48px 28px 56px;
}
.team-card__photo {
  width: min(325px, 72%);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
}
.team-card__name {
  text-align: left;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(26px, 2vw, 40px);
  font-weight: 400;
  line-height: 1.3;
  margin: 30px 0 0;
}
.team-card__title {
  text-align: left;
  font-weight: 700;
  font-size: clamp(17.4256px, 0.24vw + 16px, 19.36px);
  margin: 2px 0 0;
}
.btn-pill {
  display: inline-block;
  background: #000;
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(14px, 0.875vw, 18px);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 30px;
  margin-top: 26px;
}

/* ---- Legal pages ---- */
.legal {
  max-width: min(82vw, 1640px);
  margin: 0 auto;
  padding: 90px 40px 140px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 60px;
}
.legal h1 {
  font-size: clamp(32px, 2.6vw, 49px);
  text-align: center;
}
.legal-body {
  max-width: min(650px, 32.6vw);
  font-size: clamp(14px, 0.96vw, 18px);
  line-height: 1.65;
}
.legal-body p {
  margin: 0 0 18px;
}
.legal-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-body li {
  margin-bottom: 12px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--gray);
  padding: 100px 0 60px;
}
.site-footer__inner {
  max-width: min(86vw, 1720px);
  margin: 0 auto;
  padding: 0 46px;
  display: flex;
  align-items: flex-start;
  gap: 26px;
}
.site-footer__badge img {
  display: block;
  width: clamp(52px, 3.9vw, 80px);
  height: auto;
}
.site-footer__copyright {
  font-weight: 700;
  font-size: clamp(13px, 0.92vw, 18px);
  margin: 0 0 4px;
}
.site-footer__links {
  font-size: clamp(12px, 0.875vw, 17px);
}
.site-footer__links a {
  color: var(--ink);
}
.site-footer__links .sep {
  margin: 0 8px;
}
.site-footer__social {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}
.site-footer__social a {
  display: inline-flex;
  color: var(--ink);
}
.site-footer__social svg {
  width: clamp(15px, 1.05vw, 21px);
  height: auto;
  fill: currentColor;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .legal {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 60px 28px 90px;
    max-width: none;
  }
  .legal h1 {
    text-align: left;
  }
  .legal-body {
    max-width: 650px;
  }
}

@media (max-width: 640px) {
  .announcement {
    padding: 11px 40px;
    font-size: 13px;
  }
  .site-header {
    padding: 18px 24px;
  }
  .site-header__logo img {
    width: clamp(30px, 2.4814px + 15.2605px, 50px);
  }
  .hero {
    padding: 40px 20px 70px;
  }
  .hero__intro {
    margin-top: 60px;
  }
  .blog-section {
    padding: 50px 24px 28px;
  }
  .team-section__inner {
    padding: 40px 16px 50px;
  }
  .site-footer {
    padding: 70px 0 46px;
  }
  .site-footer__inner {
    padding: 0 24px;
    flex-direction: column;
  }
}
