/* ============================================================
   COMING SOON — the Academy pages (academy, business-planning-ai,
   small-business-accelerator, masterclasses) while the courses are
   closed. The page itself stays behind frosted glass, blurred and
   unreachable (inert), with a glass card over it and a "notify me"
   form (coming-soon.js). The header, contact section and footer stay
   usable.

   To reopen a page: remove the .cs-stage wrapper, .cs-veil and
   .cs-overlay from its HTML, and these two files from its <head>.
   ============================================================ */
.cs-stage {
  position: relative; isolation: isolate; overflow: hidden;
  height: clamp(600px, calc(100vh - 150px), 860px);
  margin: 0 clamp(10px, 1.6vw, 24px) clamp(10px, 1.6vw, 24px);
  border-radius: 26px;
  background: #0E2216;
}

/* The page, blurred behind the glass. */
.cs-veil {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none; user-select: none;
  filter: blur(11px) saturate(1.15) brightness(0.92);
  transform: scale(1.04); transform-origin: 50% 30%;
}
/* Warm wash so the blur reads as light behind glass, not a broken page. */
.cs-stage::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 30% 20%, rgba(229, 198, 151, 0.35), rgba(229, 198, 151, 0) 70%),
    radial-gradient(ellipse 55% 60% at 85% 85%, rgba(86, 112, 90, 0.4), rgba(86, 112, 90, 0) 70%),
    linear-gradient(180deg, rgba(12, 30, 20, 0.18), rgba(12, 30, 20, 0.5));
}
.cs-orb { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; will-change: transform; }
.cs-orb--a { width: 38vw; max-width: 560px; aspect-ratio: 1; top: -14%; left: 6%; background: radial-gradient(closest-side, rgba(229, 198, 151, 0.4), rgba(229, 198, 151, 0)); }
.cs-orb--b { width: 34vw; max-width: 520px; aspect-ratio: 1; bottom: -16%; right: 4%; background: radial-gradient(closest-side, rgba(150, 190, 150, 0.35), rgba(150, 190, 150, 0)); }

/* ---------- The card ---------- */
.cs-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1.2rem, 4vw, 3rem);
}
.cs-card {
  position: relative; width: min(620px, 100%); text-align: center;
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1.4rem, 5vw, 3.4rem);
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(248, 244, 236, 0.76));
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(229, 198, 151, 0.22),
    0 50px 90px -40px rgba(0, 0, 0, 0.75),
    0 18px 40px -24px rgba(0, 0, 0, 0.5);
}
.cs-card::after {
  content: ''; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(229, 198, 151, 0), rgba(229, 198, 151, 0.9), #fff, rgba(229, 198, 151, 0.9), rgba(229, 198, 151, 0));
}
.cs-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 1rem; border-radius: 999px; margin-bottom: 1.4rem;
  font-family: 'Montserrat', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dark-green, #0C1E14); background: rgba(229, 198, 151, 0.35); border: 1px solid rgba(145, 117, 81, 0.3);
}
.cs-badge i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-dark, #917551); }
.cs-badge i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--gold-dark, #917551); }
.cs-title {
  font-family: 'Playfair Display', serif; font-weight: 400; line-height: 1.12;
  font-size: clamp(1.9rem, 4vw, 2.9rem); color: var(--dark-green, #0C1E14); margin: 0 0 1rem;
}
.cs-title em { font-style: italic; color: var(--gold-dark, #917551); }
.cs-text { font-family: 'Montserrat', sans-serif; font-size: 0.98rem; line-height: 1.75; color: #3E5045; max-width: 30em; margin: 0 auto 1.8rem; }

.cs-form { display: flex; gap: 0.5rem; max-width: 440px; margin: 0 auto; padding: 0.35rem; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(145, 117, 81, 0.28); box-shadow: 0 10px 24px -16px rgba(12, 30, 20, 0.5); }
.cs-form input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 0.7rem 1rem;
  font-family: 'Montserrat', sans-serif; font-size: 16px; color: var(--dark-green, #0C1E14);
}
.cs-form input:focus { outline: none; }
.cs-form:focus-within { border-color: var(--gold-dark, #917551); }
.cs-form button {
  flex: none; border: 0; cursor: pointer; padding: 0.75rem 1.4rem; border-radius: 999px;
  font-family: 'Montserrat', sans-serif; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  background: var(--dark-green, #0C1E14); color: #FAF9F6;
  transition: background-color 300ms ease, transform 160ms ease;
}
.cs-form button:hover { background: #163322; }
.cs-form button:active { transform: scale(0.97); }
.cs-form button:disabled { opacity: 0.7; cursor: default; }
.cs-form button:focus-visible { outline: 2px solid var(--gold-dark, #917551); outline-offset: 3px; }
.cs-error { margin: 0.8rem 0 0; font-size: 0.82rem; color: #7C4048; }
.cs-success {
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 0;
  padding: 0.8rem 1.2rem; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--dark-green, #0C1E14);
  background: rgba(86, 112, 90, 0.16); border: 1px solid rgba(86, 112, 90, 0.35);
}
.cs-error[hidden], .cs-success[hidden], .cs-form[hidden] { display: none; }

.cs-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.6rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(145, 117, 81, 0.18); }
.cs-links a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: 'Montserrat', sans-serif; font-size: 0.82rem; font-weight: 600; color: #7A5F3D; text-decoration: none;
}
.cs-links a svg { width: 14px; height: 14px; transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1); }
.cs-links a:hover { color: var(--dark-green, #0C1E14); }
.cs-links a:hover svg { transform: translateX(3px); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cs-veil { animation: cs-breathe 18s ease-in-out infinite alternate; }
  .cs-orb--a { animation: cs-drift-a 22s ease-in-out infinite alternate; }
  .cs-orb--b { animation: cs-drift-b 28s ease-in-out infinite alternate; }
  .cs-card { animation: cs-rise 1100ms 150ms cubic-bezier(0.16, 1, 0.3, 1) both; }
  .cs-badge i::after { animation: cs-ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite; }
}
@keyframes cs-breathe { from { transform: scale(1.04); } to { transform: scale(1.09) translate(-1%, -1%); } }
@keyframes cs-drift-a { to { transform: translate(22%, 18%) scale(1.15); } }
@keyframes cs-drift-b { to { transform: translate(-20%, -14%) scale(0.9); } }
@keyframes cs-rise { from { opacity: 0; transform: translateY(36px) scale(0.98); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes cs-ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- Small screens ---------- */
@media (max-width: 700px) {
  .cs-stage { height: auto; min-height: calc(100vh - 110px); border-radius: 18px; }
  .cs-overlay { position: relative; min-height: inherit; padding: 2.4rem 14px; }
  .cs-card { border-radius: 22px; }
  .cs-form { flex-direction: column; border-radius: 20px; padding: 0.5rem; }
  .cs-form input { text-align: center; }
  .cs-form button { padding: 0.85rem 1.4rem; }
  .cs-orb--a, .cs-orb--b { width: 90vw; }
}
