/* ============================================================
   LUMIS COACHING — "The Table"  (v7, October 2026)
   Paper, ink, marker orange, highlighter yellow, green pen.
   A pastor at a whiteboard, then the table.
   Fonts: Young Serif (headings) · Caveat (handwritten notes only)
          · Instrument Sans (everything you read)
   ============================================================ */

:root {
  --paper:        #fdfdfb;
  --card:         #fffffc;
  --cardboard:    #e9e6df;
  --cardboard-2:  #dedad0;
  --ink:          #1a1a1a;
  --ink-soft:     #3b3b3b;
  --ink-muted:    #6e6a64;
  --marker:       #e8562a;
  --marker-deep:  #c9431a;
  --highlighter:  #ffe347;
  --green:        #2d6a4f;
  --board:        #22332b;
  --board-deep:   #1a2821;
  --chalk:        #f3f1ea;
  --chalk-dim:    rgba(243,241,234,0.72);
  --rule:         rgba(26,26,26,0.14);
  --serif:        'Young Serif', Georgia, 'Times New Roman', serif;
  --hand:         'Caveat', 'Bradley Hand', 'Segoe Print', cursive;
  --sans:         'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --max:          1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }
mark {
  background: linear-gradient(transparent 42%, var(--highlighter) 42%, var(--highlighter) 92%, transparent 92%);
  color: inherit; padding: 0 0.15em; margin: 0 -0.15em;
}
a.inline { color: var(--marker-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgba(232,86,42,0.45); }
a.inline:hover { text-decoration-color: var(--marker); }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* Handwritten voice: one note per screen, never body copy. */
.hand, .note, .eyebrow-hand { font-family: var(--hand); font-weight: 700; }
.eyebrow-hand { font-size: 1.35rem; color: var(--marker); display: block; margin-bottom: 0.6rem; line-height: 1.2; }
.note { font-size: 1.3rem; color: var(--marker); display: inline-block; transform: rotate(-2.5deg); line-height: 1.2; }
.note.ink { color: var(--ink); }
.note.chalk { color: var(--highlighter); }
.eyebrow {
  font-weight: 600; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 1rem; display: block;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.small { font-size: 0.88rem; color: var(--ink-muted); }

/* ── Layout ───────────────────────────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
section { padding-block: 96px; }
section.deep { background: var(--cardboard); }
section[id] { scroll-margin-top: 74px; } /* clear the sticky nav when jumping to #john, #taste, #apply */
section.tight { padding-block: 64px; }
section.board { background: var(--board); color: var(--chalk); }
section.board h2, section.board h3 { color: var(--chalk); }
section.board p { color: var(--chalk-dim); }
section.board strong { color: var(--chalk); }
section.board mark { background: none; color: var(--chalk); text-decoration: underline wavy var(--highlighter); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 > *, .grid-3 > * { min-width: 0; }
.narrow { max-width: 740px; }
.center { text-align: center; margin-inline: auto; }
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 40px; }
  section { padding-block: 64px; }
}

/* Dotted grid paper, used on the hero only. */
.grid-paper {
  background-color: var(--paper);
  background-image: radial-gradient(rgba(26,26,26,0.11) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}

/* ── Nav ─────────────────────────────────────────────────── */
nav.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,253,251,0.94); backdrop-filter: blur(8px);
  border-bottom: 2px dashed var(--rule);
}
nav.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.logo { font-family: var(--hand); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--ink); white-space: nowrap; }
.logo span { color: var(--marker); }
nav.site ul { display: flex; align-items: center; gap: 26px; }
nav.site ul a { font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); }
nav.site ul a:hover { color: var(--marker-deep); }
nav.site ul a.btn, nav.site ul a.btn:hover { color: var(--paper); }
nav.site ul a.active { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--highlighter); text-underline-offset: 5px; }
@media (max-width: 720px) {
  nav.site ul { gap: 14px; }
  nav.site ul a { font-size: 0.85rem; }
  .logo { font-size: 1.8rem; }
}
@media (max-width: 520px) { nav.site ul li.hide-sm { display: none; } }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 6px;
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem; line-height: 1.2;
  border: 2px solid var(--ink); color: var(--ink); background: transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  cursor: pointer; text-align: center;
}
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--marker); }
.btn-ink:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--marker); }
.btn-outline:hover { background: var(--highlighter); }
.btn-chalk { background: var(--chalk); color: var(--ink); border-color: var(--chalk); box-shadow: 4px 4px 0 var(--marker); }
.btn-chalk:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--marker); }
.btn-ghost { border-color: var(--chalk-dim); color: var(--chalk); }
.btn-ghost:hover { background: rgba(243,241,234,0.12); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; box-shadow: 3px 3px 0 var(--marker); }
.btn-sm:hover { box-shadow: 1px 1px 0 var(--marker); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.75rem; align-items: center; }
.cta-row .note { margin-left: 4px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding-block: 88px 80px; }
.hero h1 { margin-bottom: 1.3rem; }
.hero .lead { max-width: 540px; }
.hero .doodle { width: 100%; max-width: 460px; margin-inline: auto; display: block; }
@media (max-width: 860px) { .hero { padding-block: 56px 56px; } .hero .doodle { max-width: 380px; } }

/* ── Photo with a marker frame ───────────────────────────── */
.photo { position: relative; max-width: 380px; margin-inline: auto; }
.photo::before {
  content: ""; position: absolute; inset: -10px; border: 3px solid var(--marker); border-radius: 8px;
  transform: rotate(-2deg); pointer-events: none;
}
.photo img { border-radius: 6px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; width: 100%; }
.photo .note { position: absolute; right: -12px; bottom: -34px; }
@media (max-width: 860px) { .photo { max-width: 320px; } }

/* ── Index cards ─────────────────────────────────────────── */
.card {
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 6px;
  padding: 28px 30px 26px; box-shadow: 5px 5px 0 var(--cardboard-2);
}
section.deep .card { box-shadow: 5px 5px 0 rgba(26,26,26,0.14); }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.97rem; }
.card .num { font-family: var(--hand); font-weight: 700; color: var(--marker); font-size: 1.5rem; line-height: 1; margin-bottom: 0.4rem; }

/* Checklist with a hand-drawn check */
.checks li { position: relative; padding-left: 36px; margin-bottom: 0.95rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.1em; width: 24px; height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 13 l6 6 L21 5' fill='none' stroke='%23e8562a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}
.steps-list li { position: relative; padding-left: 60px; margin-bottom: 1.3rem; }
.steps-list li .n {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--ink); color: var(--marker); font-family: var(--hand); font-weight: 700; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; transform: rotate(-4deg);
}

/* ── Inline stat (index card with a doodle) ──────────────── */
.stat-inline {
  display: flex; gap: 26px; align-items: center; margin: 1.6rem 0;
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 6px; padding: 22px 26px;
  box-shadow: 5px 5px 0 rgba(26,26,26,0.12);
}
.stat-inline > div:first-child { flex: 0 0 220px; }
.stat-inline > div { min-width: 0; }
.stat-inline svg { width: 100%; height: auto; display: block; }
.stat-inline .big { font-family: var(--serif); font-size: 2.3rem; color: var(--marker); line-height: 1; }
.stat-inline p { font-size: 0.97rem; margin: 0.35rem 0 0; }
.stat-inline .src { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-top: 0.4rem; }
@media (max-width: 600px) { .stat-inline { flex-direction: column; align-items: flex-start; } .stat-inline > div:first-child { flex-basis: auto; width: 200px; } }

/* ── Chalkboard proof band ───────────────────────────────── */
.proof .grid-3 { margin-top: 2.5rem; }
.tile {
  background: rgba(243,241,234,0.05); border: 1.5px dashed rgba(243,241,234,0.4); border-radius: 8px;
  padding: 28px 26px 24px;
}
.tile svg { width: 100%; height: 130px; display: block; margin-bottom: 1rem; }
.tile .big { font-family: var(--serif); font-size: 3rem; color: var(--highlighter); line-height: 1; margin-bottom: 0.5rem; }
.tile .txt { font-size: 0.95rem; color: var(--chalk-dim); margin-bottom: 0.6rem; }
.tile .src { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(243,241,234,0.5); }

/* ── Dates as pinned index cards ─────────────────────────── */
.dates { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 1.6rem 0 1.4rem; }
.dates-logo { height: 44px; width: auto; margin-left: 1.5rem; }
@media (max-width: 600px) { .dates-logo { height: 36px; margin-left: 0; } }
.date {
  position: relative; background: var(--card); border: 1.5px solid var(--ink); border-radius: 4px;
  padding: 22px 26px 18px; min-width: 240px; box-shadow: 5px 5px 0 rgba(26,26,26,0.12);
}
.date:nth-child(odd) { transform: rotate(-1.2deg); }
.date:nth-child(even) { transform: rotate(1deg); }
.date::before { /* tape */
  content: ""; position: absolute; top: -12px; left: 50%; width: 86px; height: 22px;
  transform: translateX(-50%) rotate(-3deg); background: rgba(255,227,71,0.75);
  border: 1px solid rgba(26,26,26,0.08);
}
.date .l { font-family: var(--hand); font-weight: 700; font-size: 1.2rem; color: var(--marker); line-height: 1; }
.date .d { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); margin: 4px 0 2px; }
.date .t { font-size: 0.85rem; color: var(--ink-muted); }

/* ── Final band + embedded form ──────────────────────────── */
.band { padding-block: 96px; }
.band .grid-2 { align-items: start; }
.form-card {
  background: var(--paper); color: var(--ink-soft); border-radius: 6px; padding: 32px;
  border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--marker);
}
.form-card p { color: var(--ink-muted); }
.hs-form-frame { min-height: 420px; }

/* ── Footer ──────────────────────────────────────────────── */
footer.site { background: var(--ink); color: rgba(243,241,234,0.78); padding-block: 56px 36px; }
footer.site .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
footer.site .logo { color: var(--chalk); margin-bottom: 0.6rem; display: inline-block; }
footer.site .brand p { font-size: 0.92rem; margin-bottom: 0.35rem; }
footer.site .brand a:hover { color: var(--highlighter); }
footer.site ul { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site ul a { font-size: 0.92rem; color: rgba(243,241,234,0.85); font-weight: 600; }
footer.site ul a:hover { color: var(--highlighter); }
footer.site .convene { display: flex; align-items: center; gap: 14px; margin-top: 1.4rem; }
footer.site .convene img { height: 28px; width: auto; }
footer.site .convene.badge { margin-top: 1rem; }
footer.site .convene.badge img { height: 64px; width: 64px; }
footer.site .convene span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(243,241,234,0.55); }
footer.site .copy { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px dashed rgba(243,241,234,0.25); font-size: 0.8rem; color: rgba(243,241,234,0.5); }

/* ── Articles (blog index + posts) ───────────────────────── */
.article-hero { max-width: 800px; margin-inline: auto; padding: 64px 24px 40px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.8rem; color: var(--ink-muted); margin-bottom: 26px; font-weight: 600; }
.breadcrumb a:hover { color: var(--marker-deep); }
.breadcrumb-sep { opacity: 0.45; }
.article-tag { font-family: var(--hand); font-weight: 700; font-size: 1.3rem; color: var(--marker); margin-bottom: 0.6rem; line-height: 1.1; }
.article-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 1.1rem; }
.article-hero h1 em { font-style: normal; color: var(--marker-deep); }
.article-intro, .article-deck { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.6; }
.article-body { max-width: 740px; margin-inline: auto; padding: 32px 24px 80px; }
.article-body p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.35rem; }
.article-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 3rem 0 1rem; }
.article-body h2 em { font-style: normal; color: var(--marker-deep); }
.article-body h3 { font-size: 1.12rem; margin: 2rem 0 0.7rem; }
.article-body a:not(.btn) { color: var(--marker-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: rgba(232,86,42,0.45); }
.article-body a:not(.btn):hover { text-decoration-color: var(--marker); }
.article-body ul, .article-body ol { margin: 0 0 1.6rem; }
.article-body ul li { position: relative; padding: 0.35rem 0 0.35rem 30px; font-size: 1.02rem; line-height: 1.65; }
.article-body ul li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 16px; height: 3px; background: var(--marker); border-radius: 2px; transform: rotate(-6deg); }
.article-body ol { counter-reset: n; }
.article-body ol li { counter-increment: n; position: relative; padding: 0.35rem 0 0.35rem 42px; font-size: 1.02rem; line-height: 1.65; }
.article-body ol li::before { content: counter(n); position: absolute; left: 0; top: 0.3rem; font-family: var(--hand); font-weight: 700; font-size: 1.4rem; color: var(--marker); line-height: 1.2; }
.article-body img { border: 1.5px solid var(--ink); border-radius: 4px; }
.callout {
  background: var(--cardboard); border-left: 5px solid var(--marker); border-radius: 0 6px 6px 0;
  padding: 22px 26px; margin: 2rem 0;
}
.callout p { margin: 0; font-size: 1.02rem; }
.callout p + p { margin-top: 0.8rem; }
.stages-grid, .signs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 2rem 0; }
.stage-card, .sign-card {
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 6px; padding: 18px 20px;
  box-shadow: 4px 4px 0 var(--cardboard-2);
}
.stage-name { font-family: var(--hand); font-weight: 700; font-size: 1.25rem; color: var(--marker); margin-bottom: 4px; line-height: 1.1; }
.stage-desc { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.sign-card { display: flex; gap: 16px; align-items: flex-start; }
.sign-num { flex: 0 0 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); color: var(--marker); font-family: var(--hand); font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; transform: rotate(-4deg); }
.sign-content { min-width: 0; }
.sign-title { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.sign-body { font-size: 0.93rem; line-height: 1.6; margin: 0; }
.scripture-block { background: var(--cardboard); border-radius: 6px; padding: 24px 28px; margin: 2rem 0; }
.scripture-text { font-family: var(--serif); font-size: 1.1rem; line-height: 1.6; color: var(--ink); margin: 0 0 0.6rem; }
.scripture-ref { font-family: var(--hand); font-weight: 700; font-size: 1.15rem; color: var(--marker); }
.pull-quote { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; color: var(--ink); margin: 2.4rem 0; padding-left: 22px; border-left: 4px solid var(--highlighter); }
.pull-quote .who { display: block; font-family: var(--hand); font-weight: 700; font-size: 1.2rem; color: var(--marker); margin-top: 0.5rem; }
.article-figure { margin: 2.2rem 0; }
.article-figure figcaption { font-family: var(--hand); font-weight: 700; font-size: 1.15rem; color: var(--marker); margin-top: 0.7rem; line-height: 1.25; }
.compare-table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.95rem; }
.compare-table th, .compare-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare-table th { font-family: var(--hand); font-weight: 700; font-size: 1.2rem; color: var(--marker); border-bottom: 2px solid var(--ink); }
.table-scroll { overflow-x: auto; }
.article-cta {
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 6px; padding: 34px 36px;
  margin: 3rem 0 0; text-align: center; box-shadow: 6px 6px 0 var(--marker);
}
.article-cta h2, .article-cta h3 { font-size: 1.5rem; margin: 0 0 0.6rem; }
.article-cta p { font-size: 0.98rem; color: var(--ink-muted); margin-bottom: 1.4rem; }
.article-cta .cta-row { justify-content: center; margin-top: 0; }
.cta-label { font-family: var(--hand); font-weight: 700; font-size: 1.25rem; color: var(--marker); margin-bottom: 0.4rem; }
.related { max-width: 740px; margin-inline: auto; padding: 0 24px 80px; }
.related-label { font-family: var(--hand); font-weight: 700; font-size: 1.3rem; color: var(--marker); margin: 0 0 1rem; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.related-card { display: block; background: var(--card); border: 1.5px solid var(--ink); border-radius: 6px; padding: 20px 22px; box-shadow: 4px 4px 0 var(--cardboard-2); transition: transform .12s ease, box-shadow .12s ease; }
.related-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--highlighter); }
.related-tag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; margin-bottom: 6px; }
.related-title { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); line-height: 1.35; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { display: flex; flex-direction: column; background: var(--card); border: 1.5px solid var(--ink); border-radius: 6px; padding: 26px 26px 22px; box-shadow: 5px 5px 0 var(--cardboard-2); transition: transform .12s ease, box-shadow .12s ease; min-width: 0; }
.article-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--highlighter); }
.article-card .article-tag { font-size: 1.2rem; margin-bottom: 0.5rem; }
.article-title { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); line-height: 1.3; margin-bottom: 0.7rem; }
.article-excerpt { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.6; flex: 1; margin-bottom: 1.2rem; }
.article-link { font-size: 0.88rem; font-weight: 700; color: var(--marker-deep); }
@media (max-width: 760px) {
  .stages-grid, .signs-list, .related-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .article-body { padding-inline: 24px; }
  .article-cta { padding: 28px 22px; }
}

/* Legacy class names still present in older markup. Keep them harmless. */
.reveal { opacity: 1; transform: none; }


/* Wide drawings (Founder's Evolution): keep labels readable on phones by scrolling sideways inside the frame. */
.diagram-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 600px) { .diagram-scroll .evolution { min-width: 600px; } }
