/* SCHOLAR — education & tutoring starter. Chalk-white warm paper, navy-ink text,
   confident cobalt brand, marigold accent. Bricolage Grotesque display /
   Atkinson Hyperlegible body. Tokens feed the CMS block library. */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;600;700;800&family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --t-bg: #fdfbf6;
  --t-bg-alt: #f3efe4;
  --t-fg: #16213b;
  --t-muted: #5b6478;
  --t-brand: #1d4ed8;
  --t-brand-fg: #ffffff;
  --t-accent: #f5b50a;
  --t-dark-bg: #101a33;
  --t-dark-fg: #f4f1e8;
  --t-border: #e3ddcd;
  --t-radius: 12px;
  --t-font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --t-font-body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --t-maxw: 1120px;
  --t-shadow: 0 4px 18px rgba(22, 33, 59, .08);
  --t-display-weight: 700;
  --t-display-tracking: -0.02em;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--t-font-body); color: var(--t-fg); background: var(--t-bg); }

/* header — sticky, with a subtle notebook-line ruling */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(29, 78, 216, .055) 27px, rgba(29, 78, 216, .055) 28px),
    rgba(253, 251, 246, .94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--t-accent);
}
.site-header .bar {
  max-width: var(--t-maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 26px;
}
.logo {
  font-family: var(--t-font-display); font-weight: 800; font-size: 22px;
  color: var(--t-fg); text-decoration: none; letter-spacing: -.02em;
}
.logo .tassel { color: var(--t-brand); }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--t-muted); text-decoration: none; font-weight: 700; font-size: 15px; }
.site-nav a:hover { color: var(--t-brand); }
.header-cta {
  background: var(--t-brand); color: var(--t-brand-fg); font-weight: 700; font-size: 15px;
  font-family: var(--t-font-display);
  padding: 11px 20px; border-radius: var(--t-radius); text-decoration: none;
  box-shadow: 0 6px 16px -8px var(--t-brand);
  border-bottom: 3px solid var(--t-accent);
}
.header-cta:hover { filter: brightness(1.1); }
@media (max-width: 760px) { .site-nav { display: none; } }

/* footer — dark ink with the same faint ruled lines */
.site-footer {
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(244, 241, 232, .05) 27px, rgba(244, 241, 232, .05) 28px),
    var(--t-dark-bg);
  color: var(--t-dark-fg);
  border-top: 3px solid var(--t-accent);
}
.site-footer .inner {
  max-width: var(--t-maxw); margin: 0 auto; padding: 44px 24px;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.site-footer p { margin: 0; color: #9aa6c4; font-size: 14px; }
.site-footer .foot-logo {
  font-family: var(--t-font-display); font-weight: 800; font-size: 19px; color: var(--t-dark-fg);
}
.site-footer .foot-logo .tassel { color: var(--t-accent); }
