/* ════════════════════════════════════════════════════════════
   LEMON — Site-wide subpage components
   Page heroes as tiles · sections · checklists · steps ·
   pricing cards · FAQ · forms · modal · mobile nav
   Tokens via lemon-tokens.css (imported by lemon-base.css)
   ════════════════════════════════════════════════════════════ */

/* ─── Page hero — a full-bleed tile, Tiles language ─── */
.page-hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--cream);
  min-height: clamp(520px, 72vh, 760px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.page-hero .ph-media { position: absolute; inset: 0; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,10,9,0.94) 0%, rgba(11,10,9,0.6) 34%, rgba(11,10,9,0.18) 64%, rgba(11,10,9,0.1) 100%);
}
.page-hero .ph-body {
  position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 9rem clamp(1.4rem, 4vw, 3rem) clamp(2.6rem, 6vh, 4.2rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  text-shadow: 0 1px 18px rgba(11,10,9,0.5);
}
.page-hero .ph-kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 300; font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em; line-height: 1.05; color: var(--cream);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem); max-width: 18ch;
}
.page-hero h1 .f-italic { color: var(--amber); }
.page-hero .lead { color: rgba(250,247,240,0.88); max-width: 600px; }
.page-hero .btn-row { margin-top: 0.5rem; }
.hero-logistics { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.hero-logistics span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(250,247,240,0.75); display: inline-flex; align-items: center; gap: 0.6rem;
}
.hero-logistics span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }

/* ─── Sections ─── */
.section { padding: clamp(4rem, 10vh, 6.5rem) 0; }
.section.cream-deep { background: var(--cream-deep); }
.section-head { max-width: 860px; margin-bottom: clamp(1.8rem, 4vh, 2.8rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-family: var(--font-display); font-weight: 400; font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em; line-height: 1.12; color: var(--ink);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-top: 1.1rem;
  text-wrap: pretty;
}
.section-title .f-italic { color: var(--amber-deep); }
.section .lead { margin-top: 0.9rem; }
.prose { max-width: 760px; }
.prose p { font-size: 1.05rem; line-height: 1.75; }
.prose p + p { margin-top: 1rem; }

/* ─── Checklist ─── */
.checklist { list-style: none; max-width: 800px; display: flex; flex-direction: column; gap: 0; }
.checklist li {
  position: relative; padding: 1.1rem 0 1.1rem 2.6rem; font-size: 1.02rem; line-height: 1.6;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 1.35rem; width: 18px; height: 18px;
  border-radius: 50%; background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
  background-color: var(--amber-deep); background-image: none;
}

/* ─── Steps (workshop sessions) ─── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; max-width: 980px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.7rem 1.6rem; display: flex; flex-direction: column; gap: 0.55rem;
}
.step .step-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-deep); }
.step h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; color: var(--ink); }
.step p { font-size: 0.97rem; line-height: 1.65; color: var(--graphite); }
.step .dur { margin-top: auto; padding-top: 0.8rem; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite-soft); }
.note-line {
  max-width: 800px; margin-top: 1.6rem; padding: 1rem 1.3rem; border-radius: var(--radius);
  background: var(--cream-deep); border: 1px solid var(--line); font-size: 0.97rem; line-height: 1.6;
}
.section.cream-deep .note-line { background: var(--card); }

/* ─── Feature split (text + image) ─── */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature h3 {
  font-family: var(--font-display); font-weight: 400; font-variation-settings: "opsz" 144;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; margin: 1rem 0 0.9rem; letter-spacing: -0.015em;
}
.feature p { font-size: 1.02rem; line-height: 1.7; color: var(--graphite); max-width: 56ch; }
.feature-media { border-radius: var(--radius); overflow: hidden; }
.feature-media img { width: 100%; height: 100%; min-height: 320px; max-height: 460px; object-fit: cover; display: block; }

/* ─── Card grids ─── */
.card-grid { display: grid; gap: 16px; }
.card-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 880px; }
.card-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.mini-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mini-card h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.mini-card p { font-size: 0.95rem; line-height: 1.6; color: var(--graphite); }
.mini-card.featured { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.card-badge {
  position: absolute; top: -11px; left: 1.4rem; background: var(--amber); color: var(--ink);
  font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 50px;
}

/* ─── Cohort cards (workshops) ─── */
.cohort-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.7rem 1.7rem; display: flex; flex-direction: column; gap: 0.85rem; }
.cohort-card.lead-cohort { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), var(--shadow-md); }
.cohort-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; color: var(--ink); }
.cohort-status { font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.35rem 0.75rem; border-radius: 50px; align-self: flex-start; }
.cohort-status.now { background: var(--amber); color: var(--ink); }
.cohort-status.soon { background: var(--cream-deep); color: var(--graphite); border: 1px solid var(--line); }
.cohort-card:not(.lead-cohort) { opacity: 0.92; }
.cohort-dates { display: flex; flex-direction: column; gap: 0.45rem; }
.cohort-dates span { display: grid; grid-template-columns: 76px 1fr; gap: 0.6rem; font-size: 0.95rem; color: var(--graphite); }
.cohort-dates b { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite-soft); padding-top: 0.2rem; }
.cohort-card .btn, .cohort-card .btn-ghost { margin-top: auto; align-self: flex-start; }

/* ─── Engagement / pricing cards ─── */
.tier { margin-bottom: 2.6rem; }
.tier:last-of-type { margin-bottom: 0; }
.tier-head { display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; align-items: start; margin-bottom: 1.2rem; max-width: 860px; }
.tier-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--amber); color: var(--ink);
  font-family: var(--font-display); font-size: 1.3rem; display: inline-flex; align-items: center; justify-content: center;
}
.tier-title { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--ink); }
.tier-sub { font-size: 1rem; line-height: 1.6; color: var(--graphite); margin-top: 0.25rem; max-width: 60ch; }
.engage-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.engage-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem;
}
.engage-card.featured { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.engage-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--ink); }
.engage-card p { font-size: 0.97rem; line-height: 1.65; color: var(--graphite); }
.engage-price { margin-top: auto; padding-top: 1.2rem; }
.engage-price .amount { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); }
.engage-price .terms { font-size: 0.85rem; color: var(--graphite-soft); margin-top: 0.25rem; }
.engage-card .btn, .engage-card .btn-ghost { align-self: flex-start; }

/* ─── Outcomes (numbered rows) ─── */
.outcome { display: grid; grid-template-columns: 56px 1fr; gap: 1.3rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); max-width: 860px; }
.outcome:last-of-type { border-bottom: none; }
.outcome-mark { font-family: var(--font-mono); font-size: 0.95rem; color: var(--amber-deep); padding-top: 0.25rem; }
.outcome h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin-bottom: 0.35rem; color: var(--ink); }
.outcome p { font-size: 0.99rem; line-height: 1.65; color: var(--graphite); max-width: 62ch; }
.pull-line { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--ink); }

/* ─── FAQ ─── */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem 2.5rem; max-width: 1000px; }
.faq-item h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--ink); }
.faq-item p { font-size: 0.96rem; line-height: 1.65; color: var(--graphite); }

/* ─── About ─── */
.about-grid { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: clamp(2.2rem, 5vw, 4.5rem); align-items: start; }
.about-img { border-radius: var(--radius); overflow: hidden; position: sticky; top: 110px; }
.about-img img { width: 100%; display: block; }
.about-text p { font-size: 1.05rem; line-height: 1.75; }
.about-text p + p { margin-top: 1rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem; }
.about-tag {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--graphite); border: 1px solid var(--line); background: var(--card);
  padding: 0.45rem 0.85rem; border-radius: 50px;
}
.about-sign { display: flex; align-items: center; gap: 0.8rem; margin-top: 2.2rem; }
.about-sign img { height: 30px; }
.about-sign span { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ink); }

/* ─── Thinking archive ─── */
.thinking-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--graphite); background: var(--card); border: 1px solid var(--line); border-radius: 50px;
  padding: 0.55rem 1rem; cursor: pointer;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.article-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.article-card image-slot, .article-card .post-img { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; }
.article-card .ac-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.article-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber-deep); }
.article-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.22rem; line-height: 1.3; color: var(--ink); }
.article-card p { font-size: 0.93rem; line-height: 1.6; color: var(--graphite); }
.article-link { margin-top: auto; padding-top: 0.6rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); display: inline-flex; gap: 0.4rem; align-items: center; }
.article-link::after { content: '→'; transition: transform 0.3s var(--ease-out); }
.article-card:hover .article-link::after { transform: translateX(4px); }
.article-card.hidden { display: none; }

/* ─── Contact ─── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.page-title {
  font-family: var(--font-display); font-weight: 300; font-variation-settings: "opsz" 144;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--ink);
  margin: 1rem 0 1.1rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2.2rem; }
.contact-detail { display: flex; flex-direction: column; gap: 0.15rem; }
.contact-detail strong { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--graphite-soft); }
.contact-detail a, .contact-detail span { font-size: 1.05rem; color: var(--ink); }
.contact-detail a { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }

.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.2rem; }
.form-group label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 1rem; width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(254,193,7,0.18); /* --amber #FEC107 at 18% */
}
.form-submit {
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; color: var(--ink);
  background: var(--amber); border: none; border-radius: 10px; padding: 0.95rem 1.8rem;
  cursor: pointer; min-height: 48px;
  transition: background 0.45s var(--ease-out);
}
.form-submit:hover { background: var(--amber-deep); }

/* ─── Booking modal (Acuity) ─── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(28,26,23,0.6);
  display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--cream); border-radius: var(--radius-lg); width: min(920px, 100%);
  max-height: 90vh; display: flex; flex-direction: column; overflow: hidden;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
.modal-close {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  font-size: 1.3rem; line-height: 1; color: var(--ink); cursor: pointer;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.modal-close:hover { background: var(--ink); color: var(--cream); }
.modal-body { overflow-y: auto; }
.modal-body iframe { display: block; width: 100%; border: 0; }

/* ─── Mobile nav ─── */
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease-out), opacity 0.35s ease; }
#navbar.on-dark:not(.scrolled) .menu-toggle span { background: var(--cream); }
@media (max-width: 920px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 0.6rem 0 1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 0.85rem clamp(1.4rem, 4vw, 3rem); font-size: 1rem; color: var(--ink); }
  .contact-grid, .about-grid, .feature { grid-template-columns: 1fr; }
  .about-img { position: static; max-width: 420px; }
}

/* Active nav link */
.nav-links a.active { color: var(--ink); font-weight: 600; }
#navbar.on-dark:not(.scrolled) .nav-links a.active { color: var(--cream); }

/* ─── Consent banner (injected by js/consent.js) ─── */
.consent-banner {
  position: fixed; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 990;
  margin: 0 auto; max-width: 680px;
  background: var(--ink); color: var(--cream);
  border-radius: var(--radius); padding: 1.2rem 1.4rem;
  box-shadow: 0 24px 60px rgba(28,26,23,0.35);
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.consent-banner p { font-size: 0.92rem; line-height: 1.55; color: rgba(250,247,240,0.92); flex: 1 1 280px; margin: 0; }
.consent-banner a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 0.6rem; }
.consent-banner .btn { padding: 0.7rem 1.3rem; min-height: 42px; }
.consent-banner .btn-outline { color: var(--cream); border-color: rgba(250,247,240,0.35); }
.consent-banner .btn-outline:hover { background: rgba(250,247,240,0.14); color: var(--cream); border-color: rgba(250,247,240,0.6); }

/* Final call section on ink */
.final-call { background: var(--ink); color: var(--cream); text-align: center; padding: clamp(4.5rem, 12vh, 7.5rem) 0; }
.final-call .section-title { color: var(--cream); max-width: 24ch; margin: 1.1rem auto 0; }
.final-call .lead { color: rgba(250,247,240,0.85); max-width: 600px; margin: 0.9rem auto 0; }
.final-call .btn-row { justify-content: center; margin-top: 2.2rem; }
.final-call .mono { color: rgba(250,247,240,0.6); }
