/* ===========================================================
   James McCrae — Site Stylesheet
   Design tokens per handoff README: oklch background/text,
   Newsreader serif headlines, Helvetica Neue body, pill buttons.
   =========================================================== */

:root {
  --bg: oklch(0.98 0.004 90);
  --bg-panel: oklch(0.94 0.012 75);
  --bg-bubble: oklch(0.95 0.006 90);
  --text: oklch(0.2 0.01 80);
  --text-70: oklch(0.2 0.01 80 / 0.7);
  --border-08: oklch(0.2 0.01 80 / 0.08);
  --border-1: oklch(0.2 0.01 80 / 0.1);
  --border-15: oklch(0.2 0.01 80 / 0.15);
  --border-2: oklch(0.2 0.01 80 / 0.2);
  --border-3: oklch(0.2 0.01 80 / 0.3);
  --border-4: oklch(0.2 0.01 80 / 0.4);
  --nav-h: 88px;
  --max: 1320px;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: oklch(0.55 0.05 130 / 0.25); }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 20px;
}

.body-text {
  font-size: 17px;
  line-height: 1.75;
  opacity: 0.7;
  margin: 0 0 20px;
}

.link-underline {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity 0.2s ease;
}
.link-underline:hover { opacity: 0.6; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 17px 44px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  font-family: var(--sans);
}
.btn:hover { opacity: 0.85; }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn.btn-sm { padding: 15px 36px; }

/* ---------- Nav ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 56px;
  background: transparent;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
  border-bottom: 1px solid var(--border-08);
}
.site-header.scrolled,
.site-header.nav-open { background: oklch(0.98 0.004 90 / 0.9); }

.logo {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.desktop-nav { display: flex; gap: 44px; align-items: center; }
.desktop-nav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.desktop-nav a:hover { opacity: 1; }
.desktop-nav a.active {
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-nav-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}
.mobile-nav-btn span {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  margin-bottom: 6px;
}
.mobile-nav-btn span:last-child { margin-bottom: 0; }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  padding: 0 56px;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay a { font-size: 32px; }

/* ---------- Layout ---------- */

.section {
  padding: 100px 56px;
  box-sizing: border-box;
}
.section-tight { max-width: 900px; margin: 0 auto; }
.section-narrow { max-width: 700px; margin: 0 auto; }
.wrap { max-width: var(--max); margin: 0 auto; }
.wrap-1100 { max-width: 1100px; margin: 0 auto; }
.wrap-1200 { max-width: 1200px; margin: 0 auto; }
.wrap-1000 { max-width: 1000px; margin: 0 auto; }
.wrap-600 { max-width: 600px; margin: 0 auto; }

.panel { background: var(--bg-panel); }
.center { text-align: center; }

.contact-connect { margin-top: 155px; }

.mobile-break { display: none; }

.split-grid {
  display: grid;
  gap: 72px;
  align-items: center;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }

/* ---------- Footer ---------- */

.site-footer {
  padding: 48px 56px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.45;
  box-sizing: border-box;
  border-top: 1px solid var(--border-1);
}

/* ---------- Forms ---------- */

.form-underline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 460px;
}
.form-underline input,
.form-underline textarea {
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--border-3);
  background: transparent;
  color: inherit;
  font-size: 16px;
  box-sizing: border-box;
  font-family: inherit;
}
.form-underline textarea { resize: vertical; }
.form-underline .btn { align-self: flex-start; margin-top: 16px; }

.form-pill {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-pill input {
  padding: 16px 24px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 16px;
  box-sizing: border-box;
  font-family: inherit;
}
.form-pill textarea {
  padding: 16px 24px;
  border: 1px solid var(--border-2);
  border-radius: 24px;
  background: transparent;
  color: inherit;
  font-size: 16px;
  box-sizing: border-box;
  font-family: inherit;
  resize: vertical;
}
.form-pill .btn { align-self: center; margin-top: 8px; }

.form-note { font-size: 14px; opacity: 0.7; margin-top: 8px; }
.form-success { font-size: 17px; opacity: 0.75; }

/* ---------- Cards / testimonials ---------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.quote-card { display: flex; flex-direction: column; align-items: center; }
.quote-text { font-size: 16px; line-height: 1.65; opacity: 0.75; margin: 0 0 20px; }
.quote-name { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.5; }

.avatar-initials {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
  border: 1px solid var(--border-2);
  font-family: var(--serif);
  font-size: 34px;
  color: var(--text);
  flex-shrink: 0;
}

.quote-bubbles {
  max-width: 760px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  align-items: center;
  gap: 20px;
}
.quote-bubbles div {
  background: var(--bg-bubble);
  border-radius: 28px;
  padding: 22px 32px;
  font-size: 20px;
  line-height: 1.3;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 700px;
  margin: 0 auto 40px;
}
.plan-card {
  border: 1px solid var(--border-2);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
}
.plan-card.featured { border-color: var(--border-4); background: var(--bg-panel); }
.plan-price { font-family: var(--serif); font-size: 44px; }

.detail-item {
  border-top: 1px solid var(--border-2);
  padding-top: 20px;
}

.meme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.meme-tile {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 4px;
  background: var(--bg-panel);
  border: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.4;
  text-align: center;
  padding: 12px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border-15);
  border-left: 1px solid var(--border-15);
}
.help-cell {
  padding: 40px 28px;
  border-right: 1px solid var(--border-15);
  border-bottom: 1px solid var(--border-15);
}
.help-num { font-size: 12px; letter-spacing: 0.1em; opacity: 0.4; margin-bottom: 16px; }
.help-label { font-family: var(--serif); font-size: 19px; line-height: 1.3; }

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
}
.offering { text-align: center; padding: 0 16px; }
.offering + .offering { border-left: 1px solid var(--border-15); }
.offering h3 {
  font-style: italic;
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 20px;
}

/* ---------- Venn diagram (Work With Me) ---------- */

.venn {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 460px;
}
.venn-circle {
  position: absolute;
  width: 51.5%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid var(--text);
  mix-blend-mode: multiply;
}
.venn-circle span {
  position: absolute;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.venn-creativity { left: 24.25%; top: 2.1%; }
.venn-creativity span { top: 40%; left: 50%; transform: translateX(-50%); }
.venn-strategy { left: 4.45%; top: 37.3%; }
.venn-strategy span { bottom: 42%; left: 40%; transform: translateX(-50%); }
.venn-purpose { left: 44.05%; top: 37.3%; }
.venn-purpose span { bottom: 42%; right: 40%; transform: translateX(50%); }

/* ---------- Process flow (Strategy) ---------- */

.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 32px);
}
.process-step {
  width: clamp(100px, 14vw, 180px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 1;
  min-width: 0;
  position: relative;
}
.process-step .num {
  position: absolute;
  top: 18%;
  font-size: 16px;
  opacity: 0.4;
  letter-spacing: 0.05em;
}
.process-step span.label {
  font-size: clamp(12px, 1.25vw, 16px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0 10%;
  line-height: 1.3;
}

/* ---------- Featured logos ---------- */

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

/* ---------- Workshop / class cards ---------- */

.workshop-card img,
.class-card img { border-radius: 4px; margin-bottom: 24px; }
.workshop-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.class-card .img-wrap { width: 100%; aspect-ratio: 6/7; margin-bottom: 24px; overflow: hidden; }
.class-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Kit / ConvertKit embed spacing ---------- */

.kit-form-wrap {
  padding: 40px 56px;
  overflow: visible;
  display: flex;
  justify-content: center;
  text-align: center;
}
.formkit-powered-by-convertkit { width: auto !important; height: auto !important; overflow: visible !important; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .desktop-nav { display: none !important; }
  .mobile-nav-btn { display: block !important; }

  .split-grid,
  .grid-2,
  .grid-3,
  .quote-grid,
  .quote-bubbles,
  .plan-grid,
  .help-grid { grid-template-columns: 1fr !important; }

  .quote-bubbles div { max-width: 100% !important; white-space: normal !important; }
  .meme-grid { grid-template-columns: repeat(2, 1fr) !important; }

  .offering + .offering { border-left: none; border-top: 1px solid var(--border-15); padding-top: 32px; }

  .process-flow { flex-direction: column !important; }
  .process-flow .process-step { width: 220px !important; }

  .site-header { padding: 24px 24px; }
  .section { padding-left: 24px; padding-right: 24px; }

  .book-section { padding: 60px 20px !important; }
  .book-panel { padding: 40px 24px !important; }
  .sunflower-section { padding-bottom: 32px !important; }
  .speaking-section { padding: 32px 24px 48px !important; }

  .contact-connect { margin-top: 0 !important; }

  .mobile-break { display: inline; }
}

/* trigger: connect Vercel git deploy */
/* deploy retry: confirm git identity + re-trigger build */
