/* =====================================================================
   KENDRA BEAVIS — SINGLE SHARED STYLESHEET
   Every page links only this one file. Edit brand values once, here.
   ===================================================================== */

/* ---- Fonts (matches the live site: Suranna serif + Jost + Work Sans) ---- */
@import url("https://fonts.googleapis.com/css2?family=Suranna&family=Jost:wght@300;400;500;600&family=Work+Sans:wght@300;400;500;600;700&display=swap");

/* ---------------------------------------------------------------------
   1. DESIGN TOKENS  — change the brand here
   --------------------------------------------------------------------- */
:root {
  /* Brand palette (pulled from the current site) */
  --indigo:      #1f1757;  /* primary deep indigo */
  --indigo-soft: #51469b;  /* secondary purple    */
  --periwinkle:  #4054b2;  /* link / accent blue  */
  --cream:       #fbf7f5;  /* page background     */
  --white:       #ffffff;
  --ink:         #333333;  /* body text           */
  --ink-soft:    #6c6c89;  /* muted text          */
  --yellow:      #e8d833;  /* highlight accent    */
  --teal:        #d2e5e7;  /* soft section accent */
  --line:        rgba(31, 23, 87, 0.12);

  /* Typography */
  --font-display: "Suranna", Georgia, "Times New Roman", serif;
  --font-head:    "Jost", system-ui, sans-serif;
  --font-body:    "Work Sans", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1140px;
  --gap: clamp(1rem, 4vw, 3rem);
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(31, 23, 87, 0.45);
  --header-h: 76px;
}

/* ---------------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--periwinkle); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--indigo); line-height: 1.12; font-weight: 400; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* Small eyebrow/kicker label above headings */
.kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--indigo-soft);
  margin-bottom: 0.8rem;
}

/* ---------------------------------------------------------------------
   3. LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--indigo { background: var(--indigo); color: var(--cream); }
.section--indigo h1, .section--indigo h2, .section--indigo h3 { color: var(--white); }
.section--teal { background: var(--teal); }
.center { text-align: center; }
.measure { max-width: 60ch; }
.center.measure { margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 800px) {
  .grid--2 { grid-template-columns: 1fr 1fr; align-items: center; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------------------
   4. BUTTONS  (used for Heartbeat / external buy + booking links)
   --------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.95em 2em;
  border-radius: 999px;
  border: 1.5px solid var(--indigo);
  background: var(--indigo);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--indigo-soft); border-color: var(--indigo-soft); text-decoration: none; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--indigo); }
.btn--ghost:hover { background: var(--indigo); color: var(--white); }
.btn--light { background: var(--white); color: var(--indigo); border-color: var(--white); }
.btn--light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--indigo); }

/* ---------------------------------------------------------------------
   5. HEADER / NAV
   --------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 245, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: var(--header-h);
}
.site-logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-family: var(--font-head);
  color: var(--indigo);
  font-size: 0.95rem;
  font-weight: 400;
}
.nav a:hover { color: var(--indigo-soft); text-decoration: none; }
.nav__cta { margin-left: 0.4rem; }

/* Mobile nav toggle (CSS-only, no JS) */
.nav-toggle, .nav-toggle-label { display: none; }
@media (max-width: 900px) {
  .nav-toggle-label {
    display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
  }
  .nav-toggle-label span { width: 26px; height: 2px; background: var(--indigo); display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.25rem;
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .nav a { padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 0.8rem 0 0; }
  .nav-toggle:checked ~ .nav { max-height: 80vh; }
}

/* ---------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------- */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0; }
.hero__title { margin-bottom: 0.5rem; }
.hero__lead { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 2rem; }
.hero__portrait img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------------------------------------------------------------------
   7. CARDS
   --------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.5rem; }
.card__meta { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.6rem; }

/* Blog listing */
.post-list { display: grid; gap: 2rem; }
@media (min-width: 720px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card a.post-card__title { color: var(--indigo); }

/* Blog post body (typographic rhythm for migrated content) */
.prose { max-width: 70ch; margin-inline: auto; }
.prose h2 { margin: 2em 0 0.5em; }
.prose h3 { margin: 1.6em 0 0.4em; }
.prose img { border-radius: var(--radius); margin: 1.5em auto; }
.prose ul, .prose ol { margin: 0 0 1.1em 1.3em; }
.prose blockquote {
  border-left: 3px solid var(--yellow);
  padding-left: 1.2rem; margin: 1.5em 0; font-style: italic; color: var(--ink-soft);
}

/* ---------------------------------------------------------------------
   8. FOOTER
   --------------------------------------------------------------------- */
.site-footer { background: var(--indigo); color: var(--cream); padding: 4rem 0 2rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--yellow); text-decoration: none; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer img { height: 46px; margin-bottom: 1rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-social a { font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-nav { list-style: none; display: grid; gap: 0.6rem; font-family: var(--font-head); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.18);
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
}
.footer-bottom a { font-size: 0.85rem; }

/* ---------------------------------------------------------------------
   8b. FORMS / HUBSPOT EMBEDS
   --------------------------------------------------------------------- */
.hs-form-embed { margin: 1.5rem 0; }
.form-placeholder {
  border: 2px dashed var(--indigo-soft);
  border-radius: var(--radius);
  background: rgba(81, 70, 155, 0.06);
  padding: 1.5rem;
  font-family: var(--font-head);
  font-size: 0.92rem;
  color: var(--indigo);
  line-height: 1.6;
}
.form-placeholder code { background: rgba(31,23,87,0.1); padding: 1px 6px; border-radius: 5px; font-size: 0.85em; }

/* ---------------------------------------------------------------------
   9. UTILITIES
   --------------------------------------------------------------------- */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
