/* ==========================================================================
   Thelen Labs — Design System (Conversation-First)
   Clean, practical AI studio styling.
   ========================================================================== */

:root {
  /* Light palette */
  --paper: #F2EFE9;
  --paper-2: #E7E2D8;
  --sheet: #FCFBF8;
  --ink: #1F1E1B;
  --ink-2: #555048;
  --ink-3: #7A746B;
  --rule: #D8D1C5;
  --spruce: #245246;
  --spruce-deep: #183930;
  --spruce-tint: #DCE7E2;
  --lamp: #E2B354;
  --lamp-deep: #C49130;
  --lamp-glow: rgba(226, 179, 84, 0.24);
  --on-spruce: #FCFBF8;
  --danger: #A3352A;
  --shadow-sm: 0 2px 6px rgba(31, 30, 27, 0.05), 0 4px 14px rgba(31, 30, 27, 0.04);
  --shadow-md: 0 8px 24px rgba(31, 30, 27, 0.08), 0 18px 44px rgba(31, 30, 27, 0.06);
  --shadow-lg: 0 16px 48px rgba(24, 57, 48, 0.14);

  --font-sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1120px;
  --measure: 660px;
  --radius: 16px;
  --radius-sm: 10px;
  color-scheme: light;
}



*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  transition: background-color 0.35s ease, color 0.35s ease;
  position: relative;
  overflow-x: hidden;
}

/* Warm ambient desk-lamp glow */
body::before {
  content: "";
  position: fixed;
  top: -220px;
  right: -140px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, var(--lamp-glow) 0%, transparent 66%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  transition: opacity 0.45s ease;
}

img { max-width: 100%; display: block; }
a {
  color: var(--spruce);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
}
a:hover { text-decoration-thickness: 2.5px; }

h1, h2, h3 {
  line-height: 1.14;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1, h2 { font-family: var(--font-display); font-weight: 700; }
h1 { font-size: clamp(2.35rem, 4.8vw, 3.6rem); max-width: 15ch; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.35rem); }
h3 { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.35em; }
p { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--lamp);
  outline-offset: 3px;
  border-radius: 5px;
}

.wrap {
  width: min(var(--wrap), 100% - 40px);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.measure { max-width: var(--measure); }
.quiet { color: var(--ink-2); }
.small { font-size: 0.94rem; }
.mono { font-family: var(--font-mono); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--spruce);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 0 4px var(--lamp-glow);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 6px;
}
.skip:focus { left: 8px; }

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px 0;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.brand img { width: 30px; height: 30px; border-radius: 7px; }

.top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.top-nav a.nav-link {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 0.15s;
}
.top-nav a.nav-link:hover { color: var(--ink); }

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}



/* ==========================================================================
   Buttons (with subtle animated shimmer on primary CTAs)
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  background: var(--spruce);
  color: var(--on-spruce);
  padding: 0.8em 1.4em;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 14px rgba(24, 57, 48, 0.22);
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn:hover {
  background: var(--spruce-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(24, 57, 48, 0.28);
}
.btn:hover::after { left: 140%; }
.btn:active { transform: translateY(0); }

.btn-lamp {
  background: var(--lamp);
  color: #1B1A17;
  box-shadow: 0 4px 16px rgba(226, 179, 84, 0.34);
}
.btn-lamp:hover {
  background: var(--lamp-deep);
  color: #141311;
}

.btn-quiet {
  background: var(--sheet);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--rule);
}
.btn-quiet::after { display: none; }
.btn-quiet:hover {
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1.5px var(--ink-2);
}
.btn-small { padding: 0.54em 1.05em; font-size: 0.92rem; }

/* ==========================================================================
   Sections
   ========================================================================== */
main section {
  padding: 80px 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
main section.hero {
  border-top: 0;
  padding: 54px 0 70px;
  overflow: hidden;
}

/* ==========================================================================
   Hero + Ambient Interactive Canvas + Animated Motion Reel Player
   ========================================================================== */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 44px;
  align-items: center;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--spruce) 0%, var(--lamp-deep) 55%, var(--spruce) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShimmer 7s ease-in-out infinite;
}
@keyframes textShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.lede {
  font-size: 1.16rem;
  color: var(--ink-2);
  max-width: 34em;
  margin-top: 14px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin: 28px 0 0;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-2);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust span::before {
  content: "✓";
  color: var(--spruce);
  font-weight: 700;
}

/* Animated Hero Motion Reel ("Video-like" Live AI Showcase) */
.reel-card {
  background: #141A17;
  color: #F2EFE9;
  border: 1px solid rgba(123, 192, 168, 0.28);
  border-radius: 18px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(240, 194, 101, 0.12);
  overflow: hidden;
  position: relative;
}
.reel-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(240, 194, 101, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.reel-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.reel-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F0C265;
}
.reel-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F0C265;
  box-shadow: 0 0 10px #F0C265;
  animation: pulse 1.8s infinite;
}

.reel-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.reel-pill {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(242, 239, 233, 0.72);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.reel-pill:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.reel-pill.is-active {
  background: #245246;
  border-color: #7BC0A8;
  color: #FCFBF8;
}
.reel-play {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #F2EFE9;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
}
.reel-play:hover { background: rgba(255, 255, 255, 0.14); }

.reel-stage {
  padding: 20px;
  display: grid;
  gap: 14px;
  position: relative;
}

.reel-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  min-height: 98px;
  position: relative;
  transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.35s ease;
}
.reel-box.is-output {
  background: rgba(36, 82, 70, 0.22);
  border-color: rgba(123, 192, 168, 0.36);
  min-height: 126px;
}
.reel-box.is-ready {
  border-color: #F0C265;
  box-shadow: 0 0 24px rgba(240, 194, 101, 0.12);
}

.reel-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9BB3A8;
  margin-bottom: 8px;
}
.reel-status {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(240, 194, 101, 0.15);
  color: #F0C265;
  font-weight: 500;
}
.reel-box.is-ready .reel-status {
  background: #7BC0A8;
  color: #101613;
  font-weight: 700;
}

.reel-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #E7E4DC;
  white-space: pre-line;
  font-family: var(--font-mono);
}
.reel-box.is-output .reel-text {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: #FCFBF8;
}
.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #F0C265;
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 0.85s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Animated Processing Conduit between Input and Output */
.reel-pipe {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 6px;
}
.pipe-track {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}
.pipe-beam {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, #7BC0A8, #F0C265);
  border-radius: 99px;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.pipe-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #7BC0A8;
  white-space: nowrap;
}

.reel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}
.reel-foot-link {
  color: #F0C265;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.reel-foot-link:hover { text-decoration: underline; }

/* Compact Live Schedule Ribbon below Hero Grid */
.schedule-ribbon {
  margin-top: 44px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px 26px;
  align-items: center;
}
.ribbon-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ribbon-meta strong { font-size: 0.98rem; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--spruce-tint);
  color: var(--spruce);
  white-space: nowrap;
  width: fit-content;
}
.live-badge .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lamp);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.week {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.week li {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 9px;
  padding: 8px 6px;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.week .day {
  display: block;
  font-weight: 700;
  font-size: 0.84rem;
}
.week .slot {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  margin-top: 2px;
}
.week .open {
  background: var(--spruce);
  border-color: var(--spruce);
  color: var(--on-spruce);
  cursor: pointer;
}
.week .open:hover { transform: translateY(-2px); }
.week .open .slot { color: var(--on-spruce); opacity: 0.92; }
.week li.is-today { box-shadow: 0 0 0 2px var(--lamp); }

.ribbon-detail {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.ribbon-detail strong { color: var(--ink); }

/* ==========================================================================
   Interactive Workflow Workbench ("What I set up")
   ========================================================================== */
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 32px;
  margin-bottom: 28px;
}
.section-head .measure p { margin-bottom: 0; }

.workbench {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.wb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}
.wb-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.wb-tab:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--sheet) 60%, transparent);
}
.wb-tab[aria-selected="true"] {
  background: var(--sheet);
  color: var(--spruce);
  border-color: var(--rule);
  box-shadow: var(--shadow-sm);
}

.wb-body {
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.wb-pane {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.wb-pane.is-after {
  border-color: color-mix(in srgb, var(--spruce) 45%, var(--rule));
  background: color-mix(in srgb, var(--spruce-tint) 32%, var(--sheet));
}

.wb-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.wb-pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-weight: 500;
}
.wb-pane.is-after .wb-pill {
  background: var(--spruce);
  color: var(--on-spruce);
}

.wb-sample {
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-line;
  margin: 0;
}
.wb-sample.is-raw {
  font-family: var(--font-mono);
  font-size: 0.87rem;
  color: var(--ink-2);
}

.wb-footer {
  padding: 16px 26px;
  border-top: 1px solid var(--rule);
  background: var(--sheet);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.wb-summary {
  font-size: 0.96rem;
  color: var(--ink-2);
  margin: 0;
  max-width: 40em;
}
.wb-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.wb-meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--spruce);
  font-weight: 500;
}

/* ==========================================================================
   Ways We Work Together (Conversation-First, Zero Pricing)
   ========================================================================== */
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.path-card {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--spruce);
}
.path-card.is-featured {
  border-color: var(--spruce);
  box-shadow: 0 0 0 1px var(--spruce), var(--shadow-md);
}
.path-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--spruce);
  margin-bottom: 8px;
}
.path-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 10px;
}
.path-card p {
  font-size: 0.96rem;
  color: var(--ink-2);
  margin: 0;
}
.path-foot {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.path-note {
  font-size: 0.88rem;
  color: var(--ink-2);
}

/* Conversation Banner */
.convo-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--spruce-deep) 0%, var(--spruce) 100%);
  color: var(--on-spruce);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  box-shadow: var(--shadow-lg);
}
.convo-banner h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 0 6px;
}
.convo-banner p {
  margin: 0;
  opacity: 0.92;
  max-width: 40em;
  font-size: 0.98rem;
}

/* ==========================================================================
   Interactive 2.5-Hour Setup Session Blueprint
   ========================================================================== */
.session-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 28px;
}

.session-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.session-step {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: 3.8em 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  background: var(--sheet);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}
.session-step:hover {
  border-color: var(--spruce);
  transform: translateX(3px);
}
.session-step[aria-selected="true"] {
  background: var(--spruce);
  border-color: var(--spruce);
  color: var(--on-spruce);
  box-shadow: var(--shadow-sm);
}
.session-step time {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--spruce);
}
.session-step[aria-selected="true"] time { color: var(--lamp); }
.session-step span { font-weight: 700; font-size: 0.98rem; }

.session-stage {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.stage-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.stage-clock {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--spruce);
  background: var(--spruce-tint);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}
.stage-driver {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-2);
}
.session-stage h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 6px 0 10px;
}
.session-stage p {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 40em;
}
.stage-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.stage-bar {
  flex: 1;
  height: 7px;
  background: var(--paper-2);
  border-radius: 999px;
  overflow: hidden;
}
.stage-bar i {
  display: block;
  height: 100%;
  background: var(--spruce);
  transition: width 0.25s ease;
}

/* ==========================================================================
   About Thelen Labs — Bento Grid
   ========================================================================== */
.about-bento {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.about-bio {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.about-head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.portrait {
  width: 84px;
  height: 84px;
  flex: none;
  border-radius: 50%;
  background: var(--spruce);
  color: var(--on-spruce);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.85rem;
  border: 3px solid var(--lamp);
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.lab-cards {
  display: grid;
  gap: 14px;
}
.lab-card {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  transition: border-color 0.15s, transform 0.15s;
}
.lab-card:hover {
  border-color: var(--spruce);
  transform: translateY(-2px);
}
.lab-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--spruce-tint);
  color: var(--spruce);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
}
.lab-card p { margin: 0; font-size: 0.95rem; color: var(--ink-2); }

/* ==========================================================================
   FAQ + Readiness Check Callout
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 36px;
  align-items: start;
  margin-top: 24px;
}
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 34px 16px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--spruce);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  color: var(--ink-2);
  padding-bottom: 8px;
  font-size: 0.98rem;
}

.check-banner {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--lamp);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.check-banner h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 10px;
}
.check-banner p {
  color: var(--ink-2);
  font-size: 0.96rem;
}

/* ==========================================================================
   Contact Hub (Primary Conversion Centerpiece)
   ========================================================================== */
.contact-section {
  background: linear-gradient(180deg, color-mix(in srgb, var(--spruce-tint) 24%, var(--paper)) 0%, var(--paper) 100%);
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.contact-options {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.contact-option {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.contact-option strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.contact-option span {
  font-size: 0.88rem;
  color: var(--ink-2);
}

form.contact-form {
  background: var(--sheet);
  border: 1px solid var(--spruce);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}
.topic-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}
.topic-chip {
  appearance: none;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-2);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.topic-chip:hover {
  border-color: var(--spruce);
  color: var(--ink);
}
.topic-chip.is-selected {
  background: var(--spruce);
  border-color: var(--spruce);
  color: var(--on-spruce);
}

label { display: block; font-weight: 700; font-size: 0.96rem; }
.opt { font-weight: 400; color: var(--ink-2); }
input[type="text"],
input[type="email"],
textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 11px 12px;
}
textarea { resize: vertical; min-height: 112px; }
.hp { position: absolute; left: -5000px; }
.status { margin: 0; min-height: 1.4em; font-size: 0.98rem; }
.status.ok { color: var(--spruce); font-weight: 700; }
.status.err { color: var(--danger); font-weight: 700; }

/* ==========================================================================
   Footer & Inner Pages
   ========================================================================== */
footer {
  border-top: 1px solid var(--rule);
  padding: 34px 0 52px;
  color: var(--ink-2);
  font-size: 0.94rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 32px;
  align-items: center;
}
footer p { margin: 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }

.page { padding: 40px 0 80px; }
.page h1 { font-size: clamp(1.95rem, 4vw, 2.6rem); max-width: 22ch; }
.page h2 { font-size: 1.35rem; margin-top: 1.8em; }
.page li { margin-bottom: 0.45em; }

/* Subtle scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .live-badge .pulse, .reel-live i, .cursor-blink, .hero h1 em { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid,
  .schedule-ribbon,
  .wb-body,
  .session-shell,
  .path-grid,
  .about-bento,
  .faq-grid,
  .contact {
    grid-template-columns: 1fr;
  }
  .top-nav { display: none; }
}

@media (max-width: 600px) {
  main section { padding: 54px 0; }
  main section.hero { padding-top: 32px; }
  .week { gap: 4px; }
  .week li { padding: 7px 2px; }
  .week .slot { font-size: 0.64rem; }
  .wb-body, .wb-footer, .convo-banner { padding: 18px; }
  .reel-controls { flex-wrap: wrap; }
}

@media print {
  .top, .actions, footer nav, .contact form, #hero-canvas { display: none !important; }
  body { background: #fff; color: #000; }
}
