/* ---------- Fonts ---------- */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../assets/fonts/SchibstedGrotesk-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../assets/fonts/SchibstedGrotesk-Italic-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens: locked blackboard palette ---------- */
:root {
  --bg: #0b0b0c;
  --bg-raised: #171718;
  --line: rgba(245, 245, 242, 0.16);
  --line-strong: rgba(245, 245, 242, 0.3);
  --ink: #f5f5f2;
  --ink-dim: #9a9a96;
  --accent: #e8d9a0;
  --accent-ink: #16140c;
  --max: 880px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-variation-settings: "wght" 440;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  margin: 0;
  font-variation-settings: "wght" 780;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Chalkboard grain (subtle) ---------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Chalk emphasis (color only, no underline) ---------- */
.chalk-underline {
  color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-variation-settings: "wght" 600;
  transition: background 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: #f1e5b8; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  border-bottom: 1px dashed var(--line);
  overflow: hidden;
  background-image:
    linear-gradient(to bottom, rgba(11, 11, 12, 0) 45%, var(--bg) 100%),
    url("../assets/backgrounds/hero-chalkboard.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero-logo {
  height: 63px;
  width: auto;
  display: block;
  margin: 0 auto 48px;
}
.hero h1 {
  font-size: min(clamp(2.3rem, 5.4vw, 3.8rem), calc((100vw - 56px) / 9.95));
  margin-bottom: 26px;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-dim);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Shared section rhythm ---------- */
section[id] { padding: 96px 0; border-bottom: 1px dashed var(--line); }
#how-we-help { padding-top: 48px; }
.eyebrow {
  font-size: 0.78rem;
  font-variation-settings: "wght" 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
section[id] h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin-bottom: 20px;
}
.section-intro {
  color: var(--ink-dim);
  font-size: 1.08rem;
  max-width: 620px;
}

/* ---------- How we help ---------- */
.definition-card {
  border: 1.5px dashed var(--line-strong);
  border-radius: 8px;
  padding: 28px 32px;
  margin: 32px 0 40px;
  max-width: 640px;
}
.definition-label {
  font-size: 0.78rem;
  font-variation-settings: "wght" 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}
.definition-body { color: var(--ink-dim); font-size: 1.05rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  padding: 20px 18px;
  color: var(--ink-dim);
  font-size: 0.98rem;
  line-height: 1.4;
}

.section-cta { margin-top: 40px; }

/* ---------- Webinar (centerpiece card) ---------- */
.webinar {
  background: var(--bg-raised);
}
.webinar-intro {
  color: var(--ink-dim);
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 40px;
}
.webinar-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 40px;
  max-width: 760px;
}
.detail-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: baseline;
}
.detail-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
}
.detail-value { font-size: 1.05rem; }

.hosts-row { align-items: center; }
.host-logos { display: flex; flex-wrap: wrap; gap: 12px; }
.host-logo {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 20px;
  background: var(--ink);
  border-radius: 8px;
}
.host-logo img { display: block; width: auto; }
a.host-logo { transition: background 0.15s ease; }
a.host-logo:hover { background: #fff; }
.logo-mm { height: 32px; }
.logo-pacer { height: 38px; }
.logo-mr { height: 26px; }

/* ---------- Founder ---------- */
.founder-bio {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  font-size: 1.08rem;
}
.founder-bio p { color: var(--ink-dim); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-logo { height: 15px; opacity: 0.75; }
.footer-tagline { color: var(--ink-dim); max-width: 460px; }
.footer-meta {
  display: flex;
  gap: 22px;
  font-size: 0.86rem;
  color: var(--ink-dim);
  flex-wrap: wrap;
}
.footer-meta a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding: 64px 0 64px; }
  .hero-logo { height: 42px; margin-bottom: 36px; }
  section[id] { padding: 64px 0; }
  .detail-row { grid-template-columns: 1fr; gap: 4px; }
  .services-grid { grid-template-columns: 1fr; }
}
