/* ==========================================================================
   CandleCraft Academy — Design System v3 (Airbnb-inspired, responsive)
   Palette preserved: clay / moss / amber. Modern sans-serif, clean cards.
   ========================================================================== */

:root {
  /* Surfaces */
  --cc-bg:         #FFFFFF;
  --cc-bg-soft:    #FAF8F5;
  --cc-bg-2:       #F5F1EA;
  --cc-surface:    #FFFFFF;
  --cc-surface-2:  #F7F5F0;
  --cc-border:     #E7E2DA;
  --cc-border-soft:#EFEBE3;

  /* Ink */
  --cc-ink:    #1C1917;
  --cc-ink-2:  #44403C;
  --cc-ink-3:  #78716C;
  --cc-ink-4:  #A8A29E;

  /* Brand (preserved clay/moss/amber, tuned for modern contrast) */
  --cc-clay:        #B45C3D;
  --cc-clay-strong: #8F3F24;
  --cc-clay-tint:   #FBEFE8;
  --cc-clay-soft:   #F4D9CB;
  --cc-moss:        #5F7F4A;
  --cc-moss-tint:   #E8EEDD;
  --cc-amber:       #C68329;
  --cc-amber-tint:  #F6E6CA;
  --cc-brick:       #A13A22;

  /* Type */
  --cc-font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --cc-font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radii */
  --r-1: 8px; --r-2: 12px; --r-3: 16px; --r-4: 20px; --r-5: 28px; --r-pill: 999px;

  /* Elevation */
  --e-1: 0 1px 2px rgba(24,20,18,0.04), 0 1px 3px rgba(24,20,18,0.06);
  --e-2: 0 2px 6px rgba(24,20,18,0.06), 0 8px 24px -8px rgba(24,20,18,0.10);
  --e-3: 0 6px 18px rgba(24,20,18,0.08), 0 20px 48px -16px rgba(24,20,18,0.14);
  --e-4: 0 24px 72px -28px rgba(24,20,18,0.28);

  /* Widths */
  --cc-w-max: 1280px;
  --cc-w-prose: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

.cc-root {
  font-family: var(--cc-font-body);
  color: var(--cc-ink);
  background: var(--cc-bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: clip;
}

.cc-root h1, .cc-root h2, .cc-root h3, .cc-root h4 {
  font-family: var(--cc-font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin: 0;
  color: var(--cc-ink);
}
.cc-root p { margin: 0; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cc-clay);
  outline-offset: 2px;
  border-radius: 6px;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

.cc-skip-link { position: absolute; left: -9999px; }
.cc-skip-link:focus {
  left: 16px; top: 16px; padding: 10px 16px;
  background: var(--cc-ink); color: #fff;
  border-radius: var(--r-pill); z-index: 100;
}

/* ---------- Layout primitives ---------- */
.cc-container {
  width: 100%;
  max-width: var(--cc-w-max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) {
  .cc-container { padding: 0 16px; }
}

.cc-section { padding: 72px 0; }
.cc-section--sm { padding: 48px 0; }
.cc-section--lg { padding: 96px 0; }
@media (max-width: 768px) {
  .cc-section { padding: 48px 0; }
  .cc-section--lg { padding: 64px 0; }
}

.cc-stack { display: flex; flex-direction: column; gap: 16px; }
.cc-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cc-muted { color: var(--cc-ink-3); }
.cc-mono { font-feature-settings: "tnum"; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.cc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font: 600 15px/1 var(--cc-font-body);
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
}
.cc-btn:active { transform: translateY(1px); }
.cc-btn--primary { background: var(--cc-clay); color: #fff; }
.cc-btn--primary:hover { background: var(--cc-clay-strong); box-shadow: var(--e-2); }
.cc-btn--dark { background: var(--cc-ink); color: #fff; }
.cc-btn--dark:hover { background: #000; box-shadow: var(--e-2); }
.cc-btn--ghost { background: transparent; color: var(--cc-ink); }
.cc-btn--ghost:hover { background: var(--cc-bg-2); }
.cc-btn--outline {
  background: transparent; color: var(--cc-ink);
  border-color: var(--cc-border);
}
.cc-btn--outline:hover { border-color: var(--cc-ink); background: var(--cc-bg-soft); }
.cc-btn--sm { padding: 8px 14px; font-size: 13.5px; min-height: 36px; }
.cc-btn--lg { padding: 16px 28px; font-size: 16px; min-height: 52px; }
.cc-btn--block { width: 100%; }
.cc-btn[disabled], .cc-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }

.cc-iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-pill);
  border: 1px solid var(--cc-border); background: #fff;
  cursor: pointer;
  transition: background 160ms, border-color 160ms;
}
.cc-iconbtn:hover { background: var(--cc-bg-soft); border-color: var(--cc-ink-3); }

/* ---------- Eyebrow / chips / badges ---------- */
.cc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 11.5px/1 var(--cc-font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cc-clay);
}
.cc-eyebrow::before {
  content: ""; display: inline-block;
  width: 18px; height: 2px; background: currentColor; border-radius: 2px;
}
.cc-eyebrow--plain::before { display: none; }

.cc-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--cc-bg-2);
  color: var(--cc-ink-2);
  font: 500 13px/1 var(--cc-font-body);
  border: 1px solid transparent;
}
.cc-chip--clay { background: var(--cc-clay-tint); color: var(--cc-clay-strong); }
.cc-chip--moss { background: var(--cc-moss-tint); color: var(--cc-moss); }
.cc-chip--amber { background: var(--cc-amber-tint); color: var(--cc-amber); }

.cc-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font: 600 12px/1 var(--cc-font-body);
  letter-spacing: 0.01em;
  background: var(--cc-bg-2);
  color: var(--cc-ink-2);
  border: 1px solid var(--cc-border-soft);
}
.cc-badge--new { background: var(--cc-clay-tint); color: var(--cc-clay-strong); border-color: transparent; }
.cc-badge--in_progress { background: var(--cc-amber-tint); color: var(--cc-amber); border-color: transparent; }
.cc-badge--resolved { background: var(--cc-moss-tint); color: var(--cc-moss); border-color: transparent; }
.cc-badge--spam { background: #F1EEE9; color: var(--cc-ink-3); border-color: transparent; }
.cc-badge--paid { background: var(--cc-moss-tint); color: var(--cc-moss); border-color: transparent; }
.cc-badge--pending { background: var(--cc-amber-tint); color: var(--cc-amber); border-color: transparent; }
.cc-badge--cancelled { background: #F1EEE9; color: var(--cc-ink-3); border-color: transparent; }

/* ---------- Cards ---------- */
.cc-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-border-soft);
  border-radius: var(--r-4);
  padding: 28px;
  box-shadow: var(--e-1);
}
@media (max-width: 640px) { .cc-card { padding: 20px; border-radius: var(--r-3); } }

/* ---------- Forms ---------- */
.cc-label {
  display: block;
  font: 600 13.5px/1.4 var(--cc-font-body);
  color: var(--cc-ink);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.cc-required { color: var(--cc-clay); margin-left: 3px; }
.cc-input, .cc-textarea, .cc-select {
  width: 100%;
  display: block;
  padding: 12px 14px;
  font: 15px/1.4 var(--cc-font-body);
  color: var(--cc-ink);
  background: #fff;
  border: 1px solid var(--cc-border);
  border-radius: var(--r-2);
  transition: border-color 160ms, box-shadow 160ms, background 160ms;
}
.cc-input::placeholder, .cc-textarea::placeholder { color: var(--cc-ink-4); }
.cc-input:hover, .cc-textarea:hover, .cc-select:hover { border-color: var(--cc-ink-3); }
.cc-input:focus, .cc-textarea:focus, .cc-select:focus {
  outline: none;
  border-color: var(--cc-clay);
  box-shadow: 0 0 0 3px var(--cc-clay-tint);
}
.cc-textarea { min-height: 130px; resize: vertical; }
.cc-field-helper { font-size: 12.5px; color: var(--cc-ink-3); margin-top: 6px; }
.cc-field-error { font-size: 12.5px; color: var(--cc-brick); margin-top: 6px; font-weight: 500; }
.cc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.cc-form-row--single { grid-template-columns: 1fr; }
@media (max-width: 640px) { .cc-form-row { grid-template-columns: 1fr; } }

.cc-honeypot { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }

/* Pill-group input (interest area / experience etc.) */
.cc-pill-group {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cc-pill-group__btn {
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--cc-border);
  background: #fff;
  color: var(--cc-ink-2);
  font: 500 14px/1 var(--cc-font-body);
  cursor: pointer;
  transition: all 160ms;
}
.cc-pill-group__btn:hover { border-color: var(--cc-ink-3); color: var(--cc-ink); }
.cc-pill-group__btn.is-on {
  background: var(--cc-ink); color: #fff; border-color: var(--cc-ink);
}

/* Checkbox box (consent) */
.cc-consent-box {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  border: 1px solid var(--cc-border);
  border-radius: var(--r-2);
  background: var(--cc-bg-soft);
  cursor: pointer;
  margin-bottom: 16px;
  transition: background 160ms, border-color 160ms;
}
.cc-consent-box:hover { border-color: var(--cc-ink-3); }
.cc-consent-box input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; flex: 0 0 20px;
  border: 1.5px solid var(--cc-border); border-radius: 5px;
  background: #fff; cursor: pointer; margin-top: 1px;
  transition: all 160ms;
}
.cc-consent-box input[type="checkbox"]:checked {
  background: var(--cc-ink); border-color: var(--cc-ink);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3 3 7-7'/></svg>");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}
.cc-consent-box__label {
  display: block; font-weight: 600; font-size: 14.5px; color: var(--cc-ink);
}
.cc-consent-box__helper {
  display: block; font-size: 13px; color: var(--cc-ink-3); margin-top: 2px;
}

.cc-captcha-box {
  margin: 16px 0 20px;
  padding: 16px;
  background: var(--cc-bg-soft);
  border: 1px dashed var(--cc-border);
  border-radius: var(--r-2);
}
.cc-captcha-box__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.cc-captcha-box__label { font: 600 13px/1 var(--cc-font-body); color: var(--cc-ink); }
.cc-captcha-box__meta { font-size: 11px; color: var(--cc-ink-3); letter-spacing: 0.06em; }

.cc-form-footer {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  margin-top: 8px;
}
.cc-form-footer__required { font-size: 12.5px; color: var(--cc-ink-3); }

/* ---------- Flash messages ---------- */
.cc-flash-wrap {
  position: fixed; top: 88px; left: 50%; transform: translateX(-50%);
  z-index: 60; max-width: 640px; width: calc(100% - 32px);
  pointer-events: none;
}
.cc-flash-wrap > * { pointer-events: auto; }
.message, .success, .error, .warning, .info {
  padding: 14px 20px; border-radius: var(--r-2);
  font-size: 14px; font-weight: 500;
  box-shadow: var(--e-2);
  margin-bottom: 8px;
  display: flex; gap: 10px; align-items: center;
  background: #fff;
  border: 1px solid var(--cc-border);
}
.success { background: var(--cc-moss-tint); color: var(--cc-moss); border-color: transparent; }
.error, .warning { background: #FEECE8; color: var(--cc-brick); border-color: transparent; }
.info { background: var(--cc-clay-tint); color: var(--cc-clay-strong); border-color: transparent; }

/* ==========================================================================
   HEADER / NAV — sticky translucent, Airbnb-style pill brand + CTA
   ========================================================================== */
.cc-site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--cc-border-soft);
}
.cc-site-header__inner {
  max-width: var(--cc-w-max); margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cc-site-header__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 18px/1 var(--cc-font-display);
  letter-spacing: -0.015em;
  color: var(--cc-ink);
}
.cc-mark {
  display: inline-block;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--cc-clay);
  position: relative; flex: 0 0 28px;
}
.cc-mark::after {
  content: ""; position: absolute; inset: 6px;
  background: #fff; border-radius: 999px 999px 4px 4px;
  clip-path: polygon(0 40%, 20% 40%, 20% 0%, 80% 0%, 80% 40%, 100% 40%, 100% 100%, 0% 100%);
}
.cc-mark--sm { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 6px; }
.cc-mark--sm::after { inset: 4px; }
.cc-site-header__nav {
  display: flex; align-items: center; gap: 6px;
}
.cc-site-header__nav a {
  padding: 10px 14px; border-radius: var(--r-pill);
  font-weight: 500; font-size: 14.5px; color: var(--cc-ink-2);
  transition: color 160ms, background 160ms;
}
.cc-site-header__nav a:hover { background: var(--cc-bg-soft); color: var(--cc-ink); }
.cc-site-header__nav a.is-active { background: var(--cc-bg-2); color: var(--cc-ink); }
.cc-site-header__cta-group { display: flex; align-items: center; gap: 8px; }
.cc-site-header__mobile {
  display: none;
  background: transparent; border: 1px solid var(--cc-border);
  width: 44px; height: 44px; border-radius: var(--r-pill);
  align-items: center; justify-content: center; cursor: pointer;
}
.cc-site-header__mobile svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .cc-site-header__nav { display: none; }
  .cc-site-header__cta-group .cc-btn--primary { display: none; }
  .cc-site-header__mobile { display: inline-flex; }
}

/* Mobile drawer */
.cc-drawer {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(15,13,12,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 200ms;
}
.cc-drawer.is-open { opacity: 1; pointer-events: auto; }
.cc-drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  box-shadow: var(--e-4);
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.22,1,0.36,1);
  display: flex; flex-direction: column;
}
.cc-drawer.is-open .cc-drawer__panel { transform: translateX(0); }
.cc-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--cc-border-soft);
}
.cc-drawer__close {
  background: transparent; border: 1px solid var(--cc-border);
  width: 40px; height: 40px; border-radius: var(--r-pill);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.cc-drawer__nav { padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.cc-drawer__nav a {
  padding: 14px 16px; border-radius: var(--r-2);
  font-size: 17px; font-weight: 600; color: var(--cc-ink);
}
.cc-drawer__nav a:hover, .cc-drawer__nav a.is-active { background: var(--cc-bg-soft); }
.cc-drawer__footer {
  margin-top: auto; padding: 18px 22px; border-top: 1px solid var(--cc-border-soft);
  display: flex; flex-direction: column; gap: 10px;
}

/* ==========================================================================
   HERO — Airbnb-like bold headline + photo, responsive
   ========================================================================== */
.cc-hero {
  padding: 56px 0 80px;
  position: relative;
}
.cc-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.cc-hero__title {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--cc-ink);
  margin-bottom: 22px;
}
.cc-hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--cc-clay), var(--cc-amber));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.cc-hero__copy {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--cc-ink-2);
  max-width: 540px;
  margin-bottom: 32px;
}
.cc-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.cc-hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--cc-border-soft);
}
.cc-hero__stat-value {
  font-size: 28px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--cc-ink);
}
.cc-hero__stat-value--clay { color: var(--cc-clay); }
.cc-hero__stat-value--moss { color: var(--cc-moss); }
.cc-hero__stat-value--amber { color: var(--cc-amber); }
.cc-hero__stat-label { font-size: 13px; color: var(--cc-ink-3); margin-top: 4px; }

.cc-hero__figure {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-5);
  overflow: hidden;
  box-shadow: var(--e-3);
  background: var(--cc-bg-2);
}
.cc-hero__figure img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 600ms ease;
}
.cc-hero__figure:hover img { transform: scale(1.06); }
.cc-hero__figure-overlay {
  position: absolute; inset: auto 16px 16px 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-radius: var(--r-3);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--e-2);
}
.cc-hero__figure-overlay-emoji { font-size: 22px; }
.cc-hero__figure-overlay-text strong { display: block; font-size: 14px; color: var(--cc-ink); }
.cc-hero__figure-overlay-text span { font-size: 12.5px; color: var(--cc-ink-3); }

@media (max-width: 900px) {
  .cc-hero { padding: 40px 0 56px; }
  .cc-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .cc-hero__figure { aspect-ratio: 5/4; order: -1; }
  .cc-hero__stats { gap: 12px; }
  .cc-hero__stat-value { font-size: 22px; }
}

/* ==========================================================================
   CATEGORY RAIL — Airbnb-style horizontal scroll chips
   ========================================================================== */
.cc-cats {
  border-top: 1px solid var(--cc-border-soft);
  border-bottom: 1px solid var(--cc-border-soft);
  background: var(--cc-bg);
  position: relative;
}
.cc-cats__scroll {
  display: flex; gap: 10px;
  padding: 18px 24px;
  overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
  max-width: var(--cc-w-max); margin: 0 auto;
}
.cc-cats__scroll::-webkit-scrollbar { display: none; }
.cc-cat {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--cc-border);
  background: #fff;
  color: var(--cc-ink-2);
  font: 500 14px/1 var(--cc-font-body);
  white-space: nowrap; cursor: pointer;
  transition: all 160ms;
}
.cc-cat:hover { border-color: var(--cc-ink-3); color: var(--cc-ink); }
.cc-cat.is-on { background: var(--cc-ink); color: #fff; border-color: var(--cc-ink); }
.cc-cat__emoji { font-size: 16px; }

/* ==========================================================================
   PROGRAM / LISTING CARDS — Airbnb card pattern
   ========================================================================== */
.cc-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cc-grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cc-grid-2 {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 1000px) {
  .cc-grid-4 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cc-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .cc-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cc-grid-3 { grid-template-columns: 1fr; }
  .cc-grid-2 { grid-template-columns: 1fr; }
}

.cc-listing {
  display: flex; flex-direction: column;
  border-radius: var(--r-4);
  overflow: hidden;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
  background: transparent;
}
.cc-listing:hover { transform: translateY(-3px); }
.cc-listing__media {
  aspect-ratio: 1/1;
  background: var(--cc-bg-2);
  border-radius: var(--r-4);
  overflow: hidden;
  position: relative;
}
.cc-listing__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms ease;
}
.cc-listing:hover .cc-listing__media img { transform: scale(1.05); }
.cc-listing__tag {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 12px; border-radius: var(--r-pill);
  font: 600 11.5px/1 var(--cc-font-body);
  background: rgba(255,255,255,0.95);
  color: var(--cc-ink);
  box-shadow: var(--e-1);
}
.cc-listing__heart {
  position: absolute; top: 10px; right: 10px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; color: var(--cc-ink-3);
}
.cc-listing__heart:hover { color: var(--cc-clay); }
.cc-listing__body { padding: 14px 2px 0; }
.cc-listing__title {
  font-size: 16px; font-weight: 600; color: var(--cc-ink);
  display: flex; justify-content: space-between; gap: 12px;
  margin-bottom: 4px;
}
.cc-listing__title-rating { color: var(--cc-ink); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 4px; }
.cc-listing__sub { color: var(--cc-ink-3); font-size: 14px; margin-bottom: 2px; }
.cc-listing__price { color: var(--cc-ink); font-size: 14.5px; margin-top: 6px; }
.cc-listing__price strong { font-weight: 600; }

/* ==========================================================================
   WHY / VALUE CARDS (stripped of flourishes, clean grid)
   ========================================================================== */
.cc-value {
  padding: 32px;
  background: var(--cc-surface);
  border: 1px solid var(--cc-border-soft);
  border-radius: var(--r-4);
  transition: border-color 200ms, transform 200ms, box-shadow 200ms;
  display: flex; flex-direction: column; gap: 14px;
}
.cc-value:hover { border-color: var(--cc-border); transform: translateY(-2px); box-shadow: var(--e-2); }
.cc-value__icon {
  width: 48px; height: 48px; border-radius: var(--r-2);
  background: var(--cc-clay-tint); color: var(--cc-clay);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.cc-value__icon--moss { background: var(--cc-moss-tint); color: var(--cc-moss); }
.cc-value__icon--amber { background: var(--cc-amber-tint); color: var(--cc-amber); }
.cc-value h3 { font-size: 20px; font-weight: 700; }
.cc-value p { color: var(--cc-ink-2); font-size: 15px; line-height: 1.55; }

/* ==========================================================================
   HEADINGS FOR SECTIONS
   ========================================================================== */
.cc-sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 40px; flex-wrap: wrap;
}
.cc-sec-head h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  max-width: 720px;
}
.cc-sec-head p {
  color: var(--cc-ink-3);
  max-width: 440px;
  font-size: 15px;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.cc-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
@media (max-width: 820px) { .cc-steps { grid-template-columns: 1fr; gap: 24px; } }
.cc-step {
  padding: 32px;
  background: var(--cc-bg-soft);
  border-radius: var(--r-4);
  border: 1px solid var(--cc-border-soft);
  position: relative;
}
.cc-step__num {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  background: var(--cc-ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  margin-bottom: 18px;
}
.cc-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.cc-step p { color: var(--cc-ink-2); font-size: 15px; }

/* ==========================================================================
   TEAM CARDS — Meet the Team
   ========================================================================== */
.cc-team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .cc-team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cc-team { grid-template-columns: 1fr; } }
.cc-teacher {
  display: flex; flex-direction: column;
  border-radius: var(--r-4);
  overflow: hidden;
  background: var(--cc-surface);
  border: 1px solid var(--cc-border-soft);
  transition: transform 200ms, box-shadow 200ms, border-color 200ms;
}
.cc-teacher:hover { transform: translateY(-3px); box-shadow: var(--e-2); border-color: var(--cc-border); }
.cc-teacher__photo {
  aspect-ratio: 1/1; background: var(--cc-bg-2); overflow: hidden;
}
.cc-teacher__photo img { width: 100%; height: 100%; object-fit: cover; }
.cc-teacher__photo-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cc-clay-tint), var(--cc-amber-tint));
  color: var(--cc-clay-strong);
  font-size: 44px; font-weight: 700;
}
.cc-teacher__body { padding: 18px 20px 20px; }
.cc-teacher__name { font-size: 17px; font-weight: 700; color: var(--cc-ink); margin-bottom: 2px; }
.cc-teacher__role { font-size: 13px; color: var(--cc-clay); font-weight: 600; letter-spacing: 0.01em; margin-bottom: 10px; text-transform: uppercase; }
.cc-teacher__bio { font-size: 14px; color: var(--cc-ink-2); line-height: 1.55; }
.cc-teacher__tags { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }

/* ==========================================================================
   TESTIMONIALS — clean review card grid (Airbnb-style)
   ========================================================================== */
.cc-reviews {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .cc-reviews { grid-template-columns: 1fr; } }
.cc-review {
  padding: 28px;
  border-radius: var(--r-4);
  background: var(--cc-surface);
  border: 1px solid var(--cc-border-soft);
}
.cc-review__stars { color: var(--cc-clay); margin-bottom: 14px; font-size: 14px; letter-spacing: 2px; }
.cc-review__quote {
  font-size: 16.5px; color: var(--cc-ink);
  line-height: 1.55; font-weight: 500;
  margin-bottom: 18px;
}
.cc-review__who {
  display: flex; align-items: center; gap: 12px; font-size: 14px;
}
.cc-review__avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: linear-gradient(135deg, var(--cc-clay-tint), var(--cc-moss-tint));
  color: var(--cc-clay-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.cc-review__who-name { font-weight: 600; color: var(--cc-ink); }
.cc-review__who-meta { font-size: 12.5px; color: var(--cc-ink-3); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.cc-faq {
  display: flex; flex-direction: column; gap: 4px;
  max-width: 800px; margin: 0 auto;
}
.cc-faq__item {
  border-bottom: 1px solid var(--cc-border-soft);
  padding: 20px 0;
}
.cc-faq__q {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left; padding: 0;
  font: 600 18px/1.4 var(--cc-font-body); color: var(--cc-ink);
}
.cc-faq__q-icon { font-size: 22px; font-weight: 400; color: var(--cc-ink-3); transition: transform 200ms; }
.cc-faq__item.is-open .cc-faq__q-icon { transform: rotate(45deg); color: var(--cc-clay); }
.cc-faq__a {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 280ms ease, opacity 280ms, margin 200ms;
  color: var(--cc-ink-2); font-size: 15.5px;
}
.cc-faq__item.is-open .cc-faq__a {
  max-height: 400px; opacity: 1; margin-top: 14px;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.cc-final-cta {
  padding: 88px 24px;
  background: linear-gradient(135deg, var(--cc-ink) 0%, #2a2420 100%);
  color: #fff;
  border-radius: var(--r-5);
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: var(--cc-w-max); margin: 64px auto;
}
.cc-final-cta::before {
  content: ""; position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(180,92,61,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cc-final-cta h2 {
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 800;
  color: #fff; letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.cc-final-cta p {
  max-width: 560px; margin: 0 auto 32px;
  color: rgba(255,255,255,0.72);
  font-size: 17px; line-height: 1.55;
}
.cc-final-cta .cc-btn--primary { background: #fff; color: var(--cc-ink); }
.cc-final-cta .cc-btn--primary:hover { background: var(--cc-clay-tint); }
.cc-final-cta .cc-btn--outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.cc-final-cta .cc-btn--outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.cc-site-footer {
  background: var(--cc-bg-soft);
  padding: 64px 0 32px;
  margin-top: 64px;
  border-top: 1px solid var(--cc-border-soft);
}
.cc-site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; max-width: var(--cc-w-max);
  margin: 0 auto; padding: 0 24px;
}
@media (max-width: 820px) {
  .cc-site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .cc-site-footer__grid { grid-template-columns: 1fr; }
}
.cc-site-footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cc-site-footer__tag { color: var(--cc-ink-3); font-size: 14px; max-width: 320px; margin-top: 12px; line-height: 1.55; }
.cc-site-footer__col h5 {
  font: 700 13px/1 var(--cc-font-body);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cc-ink); margin-bottom: 14px;
}
.cc-site-footer__col a {
  display: block; padding: 6px 0;
  color: var(--cc-ink-2); font-size: 14.5px;
}
.cc-site-footer__col a:hover { color: var(--cc-clay); }
.cc-site-footer__bottom {
  max-width: var(--cc-w-max); margin: 48px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid var(--cc-border-soft);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--cc-ink-3);
}

/* ==========================================================================
   CONTACT / ENQUIRY PAGE
   ========================================================================== */
.cc-contact-band {
  padding: 56px 0 96px;
}
.cc-contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 56px; max-width: 1120px; margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 900px) {
  .cc-contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
.cc-contact-story h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800; letter-spacing: -0.025em;
  margin: 16px 0 18px;
}
.cc-contact-story__intro { color: var(--cc-ink-2); font-size: 16px; margin-bottom: 28px; }
.cc-contact-story__list ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.cc-contact-story__list li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 16px;
  background: var(--cc-bg-soft);
  border: 1px solid var(--cc-border-soft);
  border-radius: var(--r-2);
}
.cc-contact-story__list li strong { font-size: 14px; color: var(--cc-ink); }
.cc-contact-story__list li span { font-size: 13.5px; color: var(--cc-ink-3); }

.cc-contact-form .cc-section-h {
  font-size: 14px; font-weight: 700; color: var(--cc-ink);
  letter-spacing: 0.04em; text-transform: uppercase;
  padding-bottom: 12px; margin-bottom: 18px;
  border-bottom: 1px solid var(--cc-border-soft);
}

/* ==========================================================================
   ADMIN — login + inbox + detail
   ========================================================================== */
.cc-admin-topbar {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--cc-border-soft);
  padding: 12px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.cc-admin-topbar__left { display: flex; align-items: center; gap: 24px; }
.cc-admin-topbar__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cc-admin-topbar__nav { display: flex; gap: 4px; }
.cc-admin-topbar__nav a {
  padding: 8px 14px; border-radius: var(--r-pill);
  color: var(--cc-ink-2); font-weight: 500; font-size: 14px;
}
.cc-admin-topbar__nav a:hover { background: var(--cc-bg-soft); }
.cc-admin-topbar__nav a.is-active { background: var(--cc-bg-2); color: var(--cc-ink); }
.cc-admin-topbar__right { display: flex; align-items: center; gap: 10px; }
.cc-admin-topbar__email { font-size: 13.5px; color: var(--cc-ink-3); }
.cc-admin-topbar__avatar {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--cc-clay); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
@media (max-width: 700px) {
  .cc-admin-topbar__nav { display: none; }
  .cc-admin-topbar__email { display: none; }
}

/* Admin login */
.cc-adminlogin__topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--cc-border-soft);
  background: #fff;
  height: 68px;
}
.cc-adminlogin__brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--cc-font-display);
  font-weight: 700;
  color: var(--cc-ink);
  text-decoration: none;
}
.cc-adminlogin__brand-sub {
  color: var(--cc-ink-3);
  font-weight: 500;
}
.cc-adminlogin__back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--cc-border);
  background: #fff;
  color: var(--cc-ink-2);
  font-size: 13.5px; font-weight: 500;
  text-decoration: none;
  transition: background 160ms, border-color 160ms, color 160ms;
}
.cc-adminlogin__back:hover {
  background: var(--cc-bg-soft);
  border-color: var(--cc-ink);
  color: var(--cc-ink);
}

.cc-adminlogin {
  min-height: calc(100vh - 68px);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.cc-adminlogin__hero {
  background: linear-gradient(135deg, var(--cc-clay-tint), var(--cc-amber-tint) 60%, #fff);
  padding: clamp(40px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.cc-adminlogin__hero::after {
  content: "";
  position: absolute; inset: auto -60px -60px auto;
  width: 360px; height: 360px;
  background: radial-gradient(circle at center, rgba(180, 92, 61, 0.12), transparent 70%);
  pointer-events: none;
}
.cc-adminlogin__hero-eyebrow { color: var(--cc-clay); }
.cc-adminlogin__hero h1 {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800; letter-spacing: -0.025em;
  margin: 14px 0 18px;
}
.cc-adminlogin__hero p {
  color: var(--cc-ink-2);
  margin-bottom: 28px;
  max-width: 480px;
  font-size: 15.5px;
  line-height: 1.55;
}
.cc-adminlogin__stats { display: flex; gap: 40px; flex-wrap: wrap; }
.cc-adminlogin__stat strong {
  display: block; font-size: 30px; font-weight: 800; color: var(--cc-ink);
  letter-spacing: -0.02em;
}
.cc-adminlogin__stat-label {
  font-size: 12.5px; color: var(--cc-ink-3);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 4px;
}
.cc-adminlogin__form-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(32px, 5vw, 72px);
  background: var(--cc-bg);
}
.cc-adminlogin__card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--cc-border-soft);
  border-radius: var(--r-4);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--e-2);
}
.cc-adminlogin__card h2 {
  font-size: 26px; font-weight: 800; margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.cc-adminlogin__card-sub { color: var(--cc-ink-3); font-size: 14px; margin-bottom: 28px; }
.cc-adminlogin__keep {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--cc-ink-2);
  margin: 18px 0 22px; cursor: pointer;
}
.cc-adminlogin__security {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--cc-border-soft);
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; color: var(--cc-ink-3);
  line-height: 1.5;
}
.cc-adminlogin__security-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--cc-moss); flex: 0 0 8px; margin-top: 5px;
}

@media (max-width: 900px) {
  .cc-adminlogin { grid-template-columns: 1fr; min-height: 0; }
  .cc-adminlogin__hero,
  .cc-adminlogin__form-wrap { padding: 40px 24px; }
  .cc-adminlogin__topbar { padding: 14px 20px; height: auto; }
}

/* Admin inbox */
.cc-admin-page { max-width: 1440px; margin: 0 auto; padding: 40px clamp(20px, 4vw, 48px); }
.cc-admin-page__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 28px; gap: 24px; flex-wrap: wrap;
}
.cc-admin-page__head h1 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800; letter-spacing: -0.02em;
}
.cc-admin-page__stats { display: flex; gap: 20px; }
.cc-admin-stat { text-align: right; }
.cc-admin-stat strong { font-size: 22px; font-weight: 700; display: block; }
.cc-admin-stat span { font-size: 12px; color: var(--cc-ink-3); }

.cc-inbox-controls {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin-bottom: 20px;
}
.cc-inbox-search {
  position: relative; flex: 1 1 280px; max-width: 360px;
}
.cc-inbox-search svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--cc-ink-3);
}
.cc-inbox-search input { padding-left: 40px; }
.cc-inbox-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cc-inbox-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--cc-border); background: #fff;
  color: var(--cc-ink-2); font: 500 13.5px/1 var(--cc-font-body);
  cursor: pointer; transition: all 160ms;
}
.cc-inbox-chip:hover { border-color: var(--cc-ink-3); }
.cc-inbox-chip.is-on { background: var(--cc-ink); color: #fff; border-color: var(--cc-ink); }
.cc-inbox-chip__count {
  background: rgba(0,0,0,0.06); padding: 2px 8px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
}
.cc-inbox-chip.is-on .cc-inbox-chip__count { background: rgba(255,255,255,0.18); }

/* ==========================================================================
   ADMIN DATA TABLE (used by inbox / applications / teachers / bookings)
   Native HTML table — column-count agnostic, properly responsive.
   ========================================================================== */
.cc-inbox-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--cc-border-soft);
  border-radius: var(--r-3);
  overflow: hidden;
  table-layout: auto;
}
.cc-inbox-table thead { background: var(--cc-bg-soft); }
.cc-inbox-table th {
  padding: 14px 16px;
  text-align: left;
  font: 700 11.5px/1 var(--cc-font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cc-ink-3);
  border-bottom: 1px solid var(--cc-border-soft);
  white-space: nowrap;
  vertical-align: middle;
}
.cc-inbox-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--cc-ink);
  border-bottom: 1px solid var(--cc-border-soft);
  vertical-align: middle;
}
.cc-inbox-table tr:last-child td { border-bottom: 0; }
/* Reset legacy grid-row class — no longer used for layout, only for hover/highlight */
.cc-inbox-row { display: table-row; }
.cc-inbox-row--head { display: table-row; }
.cc-inbox-row--data { transition: background 160ms; }
.cc-inbox-row--data:hover { background: var(--cc-bg-soft); cursor: pointer; }
.cc-inbox-row--data:hover td { background: var(--cc-bg-soft); }
.cc-inbox-row--new td { background: var(--cc-clay-tint); }
.cc-inbox-row--new:hover td { background: var(--cc-clay-soft); }
.cc-inbox-row__newdot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--cc-clay);
}
.cc-inbox-sender-name { font-weight: 600; color: var(--cc-ink); }
.cc-inbox-sender-email { font-size: 12.5px; color: var(--cc-ink-3); margin-top: 2px; }
.cc-inbox-subject {
  color: var(--cc-ink);
  max-width: 280px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cc-inbox-submitted { color: var(--cc-ink-3); font-size: 13px; white-space: nowrap; }
.cc-inbox-empty {
  padding: 60px 24px; text-align: center;
  color: var(--cc-ink-3);
}
.cc-inbox-empty h3 { font-size: 20px; color: var(--cc-ink); margin-bottom: 4px; }

/* Action cell — keep the right-aligned button group together */
.cc-inbox-actions {
  display: inline-flex; gap: 6px; justify-content: flex-end;
  white-space: nowrap;
}

/* On narrower screens, hide secondary columns by progressively dropping data-priority */
@media (max-width: 1100px) {
  .cc-inbox-table th[data-priority="3"],
  .cc-inbox-table td[data-priority="3"] { display: none; }
}
@media (max-width: 860px) {
  .cc-inbox-table th[data-priority="2"],
  .cc-inbox-table td[data-priority="2"] { display: none; }
  .cc-inbox-table th, .cc-inbox-table td { padding: 12px 12px; }
}
@media (max-width: 620px) {
  .cc-inbox-table th[data-priority="1"],
  .cc-inbox-table td[data-priority="1"] { display: none; }
  .cc-inbox-subject { max-width: 160px; }
}

/* Admin message detail */
.cc-msg-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--cc-ink-3); font-size: 14px; margin-bottom: 24px;
}
.cc-msg-back:hover { color: var(--cc-ink); }
.cc-msg-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 32px;
}
@media (max-width: 900px) { .cc-msg-grid { grid-template-columns: 1fr; } }

.cc-msg-meta { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.cc-msg-title { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 28px; }

.cc-msg-kv {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px;
  font-size: 14px;
}
.cc-msg-kv__k { font-size: 12px; color: var(--cc-ink-3); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; margin-bottom: 2px; }
.cc-msg-kv__v { color: var(--cc-ink); word-break: break-word; }
.cc-msg-kv__v--moss { color: var(--cc-moss); font-weight: 600; }

.cc-msg-body {
  margin-top: 24px; padding: 24px;
  background: var(--cc-bg-soft);
  border-radius: var(--r-3);
  border: 1px solid var(--cc-border-soft);
  line-height: 1.6;
}
.cc-msg-body p { margin: 0 0 12px; color: var(--cc-ink); }

.cc-status-select { display: flex; flex-direction: column; gap: 10px; }
.cc-status-select__opt {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: var(--r-2);
  border: 1px solid var(--cc-border-soft);
  cursor: pointer; background: #fff;
  transition: all 160ms;
}
.cc-status-select__opt:hover { border-color: var(--cc-border); background: var(--cc-bg-soft); }
.cc-status-select__opt.is-active { border-color: var(--cc-ink); background: var(--cc-bg-soft); }
.cc-status-select__desc { font-size: 12.5px; color: var(--cc-ink-3); margin-left: auto; }

.cc-msg-reply {
  margin-top: 16px; padding: 20px;
  border-radius: var(--r-3);
  background: var(--cc-clay-tint);
  border: 1px solid transparent;
}
.cc-msg-reply h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.cc-msg-reply__helper { font-size: 12.5px; color: var(--cc-ink-3); margin-top: 8px; }

/* ==========================================================================
   BOOKING FLOW
   ========================================================================== */
.cc-booking-wrap { max-width: 1120px; margin: 0 auto; padding: 40px 24px 96px; }
.cc-booking-head h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; letter-spacing: -0.025em; margin-bottom: 8px;
}
.cc-booking-head p { color: var(--cc-ink-2); max-width: 640px; margin-bottom: 40px; }

.cc-steps-bar {
  display: flex; gap: 8px; margin-bottom: 32px;
}
.cc-step-pill {
  flex: 1 1 0; padding: 12px 16px; border-radius: var(--r-2);
  background: var(--cc-bg-soft); color: var(--cc-ink-3);
  font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--cc-border-soft);
}
.cc-step-pill.is-on { background: var(--cc-ink); color: #fff; border-color: var(--cc-ink); }
.cc-step-pill.is-done { background: var(--cc-moss-tint); color: var(--cc-moss); border-color: transparent; }
.cc-step-pill__num {
  width: 22px; height: 22px; border-radius: 999px;
  background: rgba(0,0,0,0.08); color: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.cc-step-pill.is-on .cc-step-pill__num { background: rgba(255,255,255,0.2); }

.cc-teacher-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cc-teacher-picker { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cc-teacher-picker { grid-template-columns: 1fr; } }

.cc-slot-picker {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.cc-slot {
  padding: 14px 12px; border-radius: var(--r-2);
  border: 1px solid var(--cc-border);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: all 160ms;
}
.cc-slot:hover { border-color: var(--cc-ink); }
.cc-slot.is-on { background: var(--cc-ink); color: #fff; border-color: var(--cc-ink); }
.cc-slot[disabled], .cc-slot.is-taken {
  opacity: 0.4; cursor: not-allowed; text-decoration: line-through;
}
.cc-slot__date { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 4px; }
.cc-slot__time { font-size: 15px; font-weight: 700; }

.cc-day-head {
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  margin: 20px 0 6px; color: var(--cc-ink);
}

.cc-checkout-summary {
  position: sticky; top: 84px;
  padding: 24px;
  border-radius: var(--r-4);
  background: #fff;
  border: 1px solid var(--cc-border-soft);
  box-shadow: var(--e-1);
}
.cc-checkout-summary h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.cc-checkout-summary__row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--cc-border-soft);
  font-size: 14px;
}
.cc-checkout-summary__row:last-of-type { border-bottom: 0; }
.cc-checkout-summary__row-k { color: var(--cc-ink-3); }
.cc-checkout-summary__row-v { color: var(--cc-ink); font-weight: 600; }
.cc-checkout-summary__total {
  display: flex; justify-content: space-between;
  padding: 14px 0 4px; border-top: 1px solid var(--cc-border-soft);
  margin-top: 10px; font-size: 17px; font-weight: 700;
}

/* ==========================================================================
   AI CHATBOT WIDGET
   ========================================================================== */
.cc-chat-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--cc-ink); color: #fff;
  border: 0; cursor: pointer;
  box-shadow: var(--e-3);
  font: 600 14px/1 var(--cc-font-body);
}
.cc-chat-launch:hover { transform: translateY(-2px); }
.cc-chat-launch svg { width: 18px; height: 18px; }

.cc-chat-panel {
  position: fixed; right: 20px; bottom: 80px; z-index: 71;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 120px));
  background: #fff;
  border-radius: var(--r-4);
  border: 1px solid var(--cc-border-soft);
  box-shadow: var(--e-4);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.cc-chat-panel.is-open { display: flex; }
.cc-chat-head {
  padding: 14px 18px; border-bottom: 1px solid var(--cc-border-soft);
  display: flex; justify-content: space-between; align-items: center;
  background: var(--cc-bg-soft);
}
.cc-chat-head__title { display: flex; align-items: center; gap: 10px; }
.cc-chat-head__dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--cc-moss);
}
.cc-chat-head strong { font-size: 14.5px; }
.cc-chat-head__close {
  background: transparent; border: 0; cursor: pointer; padding: 6px;
  color: var(--cc-ink-3);
}
.cc-chat-scroll {
  flex: 1; overflow-y: auto;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.cc-chat-msg {
  max-width: 80%; padding: 10px 14px; border-radius: 16px;
  font-size: 14.5px; line-height: 1.5;
  white-space: pre-wrap; word-wrap: break-word;
}
.cc-chat-msg--user {
  align-self: flex-end;
  background: var(--cc-ink); color: #fff;
  border-bottom-right-radius: 4px;
}
.cc-chat-msg--bot {
  align-self: flex-start;
  background: var(--cc-bg-2); color: var(--cc-ink);
  border-bottom-left-radius: 4px;
}
.cc-chat-msg--err {
  align-self: flex-start;
  background: #FEECE8; color: var(--cc-brick);
  border-bottom-left-radius: 4px; font-size: 13px;
}
.cc-chat-typing {
  align-self: flex-start;
  padding: 12px 16px; background: var(--cc-bg-2); border-radius: 16px;
  display: inline-flex; gap: 4px;
}
.cc-chat-typing span {
  width: 6px; height: 6px; border-radius: 999px; background: var(--cc-ink-3);
  animation: cc-typing 1.2s infinite ease-in-out;
}
.cc-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.cc-chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes cc-typing { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.cc-chat-form {
  padding: 12px; border-top: 1px solid var(--cc-border-soft);
  display: flex; gap: 8px; align-items: flex-end;
}
.cc-chat-form textarea {
  flex: 1; resize: none; padding: 10px 12px;
  border: 1px solid var(--cc-border); border-radius: var(--r-2);
  font: 14px/1.4 var(--cc-font-body);
  max-height: 100px;
}
.cc-chat-form textarea:focus { outline: none; border-color: var(--cc-clay); box-shadow: 0 0 0 3px var(--cc-clay-tint); }
.cc-chat-form button {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--cc-clay); color: #fff;
  border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 40px;
}
.cc-chat-form button:hover { background: var(--cc-clay-strong); }
.cc-chat-form button[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ==========================================================================
   ERROR / 404
   ========================================================================== */
.cc-error-hero {
  padding: 96px 24px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cc-error-code {
  font-size: clamp(72px, 14vw, 144px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--cc-clay), var(--cc-amber));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.cc-error-hero h1 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800; letter-spacing: -0.025em;
  margin: 16px 0 14px;
}
.cc-error-hero p { color: var(--cc-ink-2); font-size: 16.5px; margin-bottom: 28px; }
.cc-error-ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   REVEAL / UTILITY
   ========================================================================== */
.cc-reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity 600ms ease, transform 600ms ease;
  transition-delay: var(--cc-reveal-delay, 0ms);
}
.cc-reveal.is-visible, .no-js .cc-reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cc-reveal { opacity: 1; transform: none; transition: none; }
}

/* Floating enquire pill (home page, after hero) */
.cc-floating-enquire {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--cc-clay); color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
  box-shadow: var(--e-3);
  transform: translateY(100px); opacity: 0;
  transition: all 280ms cubic-bezier(0.22,1,0.36,1);
}
.cc-floating-enquire.is-visible { transform: translateY(0); opacity: 1; }
.cc-floating-enquire:hover { background: var(--cc-clay-strong); }

/* Hide floating enquire when chat panel is open, to avoid visual collision */
.cc-chat-panel.is-open ~ .cc-floating-enquire,
body.cc-has-chat-open .cc-floating-enquire { display: none; }

/* ==========================================================================
   Safe zone so floating buttons never occlude content at the page bottom.
   The chat launcher sits ~64px tall + 20px bottom inset; the enquire pill
   stacks above it. 128px keeps the footer's last line clear even on mobile
   where the pill is above the launcher.
   ========================================================================== */
.cc-site-footer { padding-bottom: 128px; }
.cc-admin-page { padding-bottom: 128px; }

/* Stack floating pill above the chat launcher (launcher stays bottom-right) */
.cc-floating-enquire { bottom: 84px; }

/* Narrow screens: collapse "Ask CandleCraft" to an icon-only circle so it
   takes less real estate and doesn't crowd the enquire pill. */
@media (max-width: 640px) {
  .cc-chat-launch {
    width: 52px; height: 52px;
    padding: 0; border-radius: 50%;
    justify-content: center;
  }
  .cc-chat-launch > span { display: none; }
  .cc-chat-launch svg { width: 22px; height: 22px; }
  .cc-floating-enquire {
    bottom: 84px;
    padding: 10px 16px; font-size: 13px;
  }
}

/* ==========================================================================
   PAGINATOR
   ========================================================================== */
.cc-paginator {
  margin-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.cc-paginator__info { font-size: 12.5px; color: var(--cc-ink-3); }
.cc-paginator__pages {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 4px; align-items: center; flex-wrap: wrap;
}
.cc-paginator__pages li {
  min-width: 36px; height: 36px;
  border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
}
.cc-paginator__pages a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; padding: 0 12px;
  color: var(--cc-ink-2);
  border-radius: var(--r-pill);
  transition: background 160ms;
}
.cc-paginator__pages a:hover { background: var(--cc-bg-soft); }
.cc-paginator__pages li.active {
  background: var(--cc-ink); color: #fff;
  padding: 0 12px;
}
.cc-paginator__pages li.disabled { opacity: 0.35; pointer-events: none; }
.cc-paginator__pages li.first, .cc-paginator__pages li.last { display: none; }

/* Slot list (admin availability editor) */
.cc-slot-list { display: flex; flex-direction: column; gap: 4px; }
.cc-slot-list__row {
  display: grid; grid-template-columns: 1fr 1fr 100px 80px;
  gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: var(--r-2);
  background: var(--cc-bg-soft); font-size: 14px;
}
.cc-slot-list__row.is-booked { opacity: 0.55; }
@media (max-width: 600px) {
  .cc-slot-list__row { grid-template-columns: 1fr 80px; }
  .cc-slot-list__row > :nth-child(2), .cc-slot-list__row > :nth-child(3) { display: none; }
}
.cc-tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.cc-admin-form-card { padding: 24px; border-radius: var(--r-3); border: 1px solid var(--cc-border-soft); background: #fff; }
.cc-admin-form-card + .cc-admin-form-card { margin-top: 16px; }

/* Print cleanup */
@media print {
  .cc-site-header, .cc-site-footer, .cc-floating-enquire,
  .cc-chat-launch, .cc-chat-panel { display: none !important; }
}
