/* ccm-home.css — extracted from index.html (Session C, 2026-07-11). Shared styles live in ccm.css. */

/* ── Reusable photo slot: shows real image when present, tasteful
      placeholder until one is uploaded to the predicted R2 name. ── */
.photo { position: relative; background: linear-gradient(135deg, var(--surface3), var(--surface2)); overflow: hidden; }
.photo::after {
  content: '📷  Photo coming soon';
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ── HERO ── */
.home-hero {
  margin-left: 12px;            /* clear the brand stripe */
  padding: 48px 72px 88px;      /* body padding already clears the fixed nav */
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.hero-title { font-size: clamp(40px, 6vw, 76px); margin-bottom: 24px; }
.hero-lead {
  font-size: 1.15rem; font-weight: 300; line-height: 1.7; color: var(--text-secondary);
  max-width: 520px; margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-photo { aspect-ratio: 4 / 3; border-radius: 2px; }

/* ── Buttons ── */
.btn {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: 15px 28px; display: inline-block; transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--red); color: var(--on-accent); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* ── Reassurance cards ── */
.reassure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.reassure-card { background: var(--surface2); padding: 36px 36px 40px; border: 1px solid var(--border); }
.reassure-card h3 {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: -0.01em; color: var(--text); line-height: 1.05; margin-bottom: 12px;
}
.reassure-card p { font-size: 0.98rem; font-weight: 300; line-height: 1.7; color: var(--text-secondary); }

/* ── First time / how to start ── */
.start-section { background: var(--surface); }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.start-photo { aspect-ratio: 4 / 3; }
.start-body p { font-size: 1.05rem; font-weight: 300; line-height: 1.8; color: var(--text-secondary); margin-bottom: 20px; }
.next-session {
  background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--red);
  padding: 20px 24px; margin: 28px 0;
}
.next-session-label {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.next-session-when {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  text-transform: uppercase; color: var(--text); line-height: 1;
}
.next-session-where { font-size: 0.9rem; color: var(--text-secondary); margin-top: 6px; }
.contact-line {
  font-size: 1.05rem; font-weight: 300; line-height: 1.8; color: var(--text-secondary);
  border-top: 1px solid var(--border); padding-top: 24px; margin-top: 8px;
}
.contact-line a { color: var(--red); text-decoration: none; font-weight: 500; }
.contact-line a:hover { text-decoration: underline; }

/* ── Heritage band ── */
.heritage { background: var(--surface); color: var(--text); padding: 88px 0; }
.heritage .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.heritage-eyebrow {
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--red); margin-bottom: 16px;
}
.heritage h2 {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 4.5vw, 54px);
  text-transform: uppercase; line-height: 0.96; letter-spacing: -0.01em; color: var(--text); margin-bottom: 20px;
}
.heritage h2 em { font-style: italic; color: var(--red); }
.heritage p { font-size: 1.05rem; font-weight: 300; line-height: 1.8; color: var(--muted); margin-bottom: 28px; max-width: 460px; }
.heritage .section-link { color: var(--red); }
.heritage-stats { display: flex; gap: 40px; }
.h-stat-num { font-family: var(--font-display); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--text); letter-spacing: -0.02em; }
.h-stat-lbl { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s, transform 0.5s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; padding: 32px 24px 56px; gap: 32px; }
  .hero-photo { order: -1; }
  .reassure-grid { grid-template-columns: 1fr; }
  .start-grid, .heritage .section-inner { grid-template-columns: 1fr; gap: 32px; }
  .start-photo { order: -1; }
}
