/* Vibe Coding Live brand: Stage Plum / Spotlight Gold / Amethyst on Ivory.
   Type: Archivo Black display, Poppins body, JetBrains Mono meta. */
:root {
  --plum: #2B2440;
  --gold: #FEBF2B;
  --gold-dark: #B98A00;      /* gold-adjacent text on light surfaces (real gold fails contrast) */
  --gold-wash: #FFF3D6;
  --amethyst: #7A5CC7;
  --ivory: #FAF8F4;
  --slate: #5B6470;
  --muted: #8B93A0;
  --plum-soft: #B7AFD0;      /* body text on plum */
  --border-ivory: #EEE8DC;
  --border-white: #E4E9EE;
  --radius: 16px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--plum);
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Archivo', sans-serif; font-weight: 900; line-height: 1.12; letter-spacing: -0.5px; }
h4 { font-family: 'Archivo', sans-serif; font-weight: 800; }
a { color: var(--amethyst); text-decoration: none; }
a:hover { color: var(--plum); text-decoration: underline; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* wave accent (three gold bars) */
@keyframes eq1 { 0%,100%{transform:scaleY(.45);} 50%{transform:scaleY(1);} }
@keyframes eq2 { 0%,100%{transform:scaleY(1);} 40%{transform:scaleY(.55);} 70%{transform:scaleY(.85);} }
@keyframes eq3 { 0%,100%{transform:scaleY(.6);} 35%{transform:scaleY(1);} 65%{transform:scaleY(.4);} }
.wave { display: inline-flex; align-items: flex-end; gap: 2.5px; }
.wave span { background: var(--gold); border-radius: 2px; transform-origin: bottom; }
.wave span:nth-child(1) { height: 45%; animation: eq1 1.1s ease-in-out infinite; }
.wave span:nth-child(2) { height: 100%; animation: eq2 1.3s ease-in-out infinite; }
.wave span:nth-child(3) { height: 65%; animation: eq3 0.9s ease-in-out infinite; }

/* logo lockup (horizontal) */
.lockup { display: inline-flex; align-items: center; gap: 9px; font-family: 'Archivo', sans-serif; }
.lockup-vibe { font-weight: 900; font-size: 24px; letter-spacing: -1px; line-height: 0.95; }
.lockup-coding { font-weight: 700; font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.lockup-live { display: inline-flex; align-items: flex-end; font-weight: 900; font-size: 24px; letter-spacing: -0.5px; line-height: 0.95; }
.lockup-live svg { margin: 0 2px; }

/* nav */
.nav {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem;
  padding: .9rem 5vw; border-bottom: 1px solid var(--border-ivory);
  position: sticky; top: 0; background: rgba(250,248,244,.92); backdrop-filter: blur(10px); z-index: 10;
}
.brand:hover { text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.nav nav a { color: var(--slate); font-weight: 500; font-size: .95rem; }
.nav nav a:hover { color: var(--plum); text-decoration: none; }
.nav-cta { background: var(--gold); color: var(--plum) !important; font-weight: 700 !important; padding: .5rem 1.1rem; border-radius: 10px; }
.nav-cta:hover { filter: brightness(1.05); }

main { max-width: 1080px; margin: 0 auto; padding: 0 5vw; }

/* kicker: wave leads the line */
.kicker {
  display: flex; align-items: center; gap: .6rem; justify-content: center;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: .8rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--plum);
}
.on-plum .kicker { color: #fff; }

/* hero */
.hero { padding: 4.5rem 0 2.5rem; text-align: center; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.7rem); max-width: 840px; margin: 0 auto 1.1rem; letter-spacing: -1.5px; }
.accent { color: var(--amethyst); }
.hero-sub { color: var(--slate); font-size: 1.12rem; max-width: 640px; margin: 0 auto 1.75rem; }
.flash { color: #1c7a43; margin-top: 1rem; font-weight: 600; }
.flash-big { background: #e8f6ee; border: 1px solid #bfe5cd; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; color: #1c7a43; }

/* subscribe */
.subscribe { background: #fff; border: 1px solid var(--border-white); border-radius: var(--radius); padding: 1.75rem; margin: 2.5rem 0; text-align: center; }
.subscribe-compact { background: transparent; border: none; padding: 0; margin: 0 auto; max-width: 520px; }
.subscribe h3 { margin-bottom: .35rem; }
.subscribe p { color: var(--slate); margin-bottom: .9rem; }
.subscribe-form { display: flex; gap: .6rem; max-width: 480px; margin: 0 auto; }
.subscribe-form input {
  flex: 1; padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--border-white);
  background: #fff; color: var(--plum); font-size: 1rem; font-family: inherit; min-width: 0;
}
.subscribe-form input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.subscribe-form button {
  padding: .8rem 1.4rem; border-radius: 10px; border: none; background: var(--gold);
  color: var(--plum); font-weight: 700; font-size: 1rem; font-family: 'Poppins', sans-serif; cursor: pointer; white-space: nowrap;
}
.subscribe-form button:hover { filter: brightness(1.05); }
.fine { color: var(--muted); font-size: .8rem; margin-top: .6rem; }

/* next session (plum stage) */
.next-session {
  background: var(--plum); border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem; margin: 2rem 0; text-align: center; color: #fff;
}
.next-session h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: .6rem 0 .25rem; color: #fff; letter-spacing: -1px; }
.session-guest { color: var(--plum-soft); }
.session-guest a { color: var(--plum-soft); text-decoration: underline; }
.session-when { color: var(--gold); font-weight: 600; margin-top: .35rem; }
.countdown { display: flex; justify-content: center; gap: 1rem; margin: 1.6rem 0; }
.countdown div { min-width: 72px; background: rgba(255,255,255,.06); border: 1px solid rgba(183,175,208,.25); border-radius: 12px; padding: .7rem .5rem; }
.countdown span { font-family: 'JetBrains Mono', monospace; font-size: 1.8rem; font-weight: 700; display: block; color: #fff; }
.countdown label { color: var(--plum-soft); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.session-actions { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }

/* buttons */
.btn { display: inline-block; padding: .75rem 1.5rem; border-radius: 10px; font-weight: 700; font-family: 'Poppins', sans-serif; border: 1.5px solid transparent; cursor: pointer; font-size: .95rem; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--gold); color: var(--plum); }
.btn-primary:hover { filter: brightness(1.05); color: var(--plum); }
.btn-ghost { border-color: var(--amethyst); color: var(--amethyst); background: transparent; }
.next-session .btn-ghost { color: var(--plum-soft); }
.btn-ghost:hover { border-color: var(--gold); }

/* sections & cards */
.section { padding: 2.5rem 0; }
.section-narrow { max-width: 760px; margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.25rem; }
.section h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: .5rem; letter-spacing: -1px; }
.section h2 { font-size: 1.6rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--border-white); border-radius: var(--radius); padding: 1.5rem; color: var(--plum); display: block; }
.card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.card p { color: var(--slate); font-size: .93rem; }
a.card:hover { border-color: var(--gold); text-decoration: none; box-shadow: 0 4px 18px rgba(43,36,64,.07); transform: translateY(-2px); transition: all .15s; }
.empty-card { grid-column: 1/-1; background: #fff; border: 1px dashed var(--border-white); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--slate); }

.ep-card { padding: 0; overflow: hidden; }
.ep-card h3, .ep-card p { padding: 0 1.25rem; }
.ep-card h3 { margin-top: 1rem; }
.ep-card p { margin-bottom: 1.25rem; }
.ep-meta { font-family: 'JetBrains Mono', monospace; font-size: .8rem; color: var(--muted); }
.ep-thumb { position: relative; aspect-ratio: 16/9; background: var(--plum); display: flex; align-items: center; justify-content: center; }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ep-play { position: absolute; font-size: 1.2rem; background: var(--gold); border-radius: 50%; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; color: var(--plum); }

.how h2, .apply-cta h2 { text-align: center; }
.apply-cta { text-align: center; }
.apply-cta p { color: var(--slate); max-width: 560px; margin: .75rem auto 1.25rem; }

/* masterclass (gold wash callout) */
.mc { margin: 3rem 0; }
.mc-inner { background: var(--gold-wash); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; }
.mc-inner h2 { margin: .5rem 0 .75rem; letter-spacing: -0.5px; }
.mc-inner p:not(.kicker) { color: var(--slate); max-width: 620px; margin: 0 auto 1.25rem; }
.mc-inner .btn-primary { background: var(--plum); color: #fff; }
.mc-inner .btn-primary:hover { color: #fff; filter: brightness(1.15); }

/* video & prose */
.video { aspect-ratio: 16/9; margin: 1.5rem 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-white); background: var(--plum); }
.video iframe { width: 100%; height: 100%; border: 0; }
.artifact { background: var(--gold-wash); border-radius: 12px; padding: .9rem 1.1rem; margin: 1rem 0; }
.prose { margin-top: 1rem; }
.prose h2 { margin: 1.75rem 0 .6rem; font-size: 1.35rem; }
.prose h3 { margin: 1.4rem 0 .5rem; }
.prose p, .prose li { color: var(--slate); margin-bottom: .8rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.prose code { font-family: 'JetBrains Mono', monospace; background: #fff; border: 1px solid var(--border-white); border-radius: 5px; padding: .1em .35em; font-size: .88em; }
.prose strong { color: var(--plum); }

.transcript { margin-top: 2.5rem; border-top: 1px solid var(--border-ivory); padding-top: 1.5rem; }

/* forms */
.big-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.big-form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .93rem; }
.big-form input, .big-form textarea, .big-form select {
  padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--border-white);
  background: #fff; color: var(--plum); font-size: 1rem; font-family: inherit; font-weight: 400;
}
.big-form input:focus, .big-form textarea:focus, .big-form select:focus { outline: 2px solid var(--gold); }
.big-form button { align-self: flex-start; }

/* faq */
.faq details { border-bottom: 1px solid var(--border-ivory); padding: 1rem 0; }
.faq summary { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.02rem; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::after { content: '+'; position: absolute; right: .25rem; color: var(--gold-dark); font-size: 1.3rem; font-family: 'Poppins', sans-serif; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { color: var(--slate); margin-top: .6rem; }

/* admin */
.admin-card { margin-bottom: 1.5rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: .75rem; }
.admin-table th, .admin-table td { border: 1px solid var(--border-white); padding: .4rem .6rem; text-align: left; vertical-align: top; }

/* footer (plum stage) */
.footer { background: var(--plum); margin-top: 3rem; padding: 2.75rem 5vw 2rem; color: var(--plum-soft); }
.footer a { color: var(--plum-soft); }
.footer a:hover { color: #fff; }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer p { font-size: .9rem; max-width: 340px; margin-top: .75rem; }
.footer-links { display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { font-size: .9rem; }
.footer-fine { max-width: 1080px; margin: 2rem auto 0; font-size: .8rem; opacity: .8; }
.powered { font-weight: 600; color: #fff; }
.footer .lockup-coding { color: var(--plum-soft); }

/* ---------- brand kit (Guest Promo Kit; page is inline-styled, these are the only shared bits) ---------- */
@keyframes livePulse { 0%,100%{opacity:1; transform:scale(1);} 50%{opacity:.45; transform:scale(.75);} }
.brandkit { overflow-x: hidden; }
@media (max-width: 820px) {
  .brandkit [data-grid] { grid-template-columns: 1fr !important; }
  .brandkit [data-hero] { flex-direction: column !important; gap: 32px !important; }
  .brandkit [data-thumb] { grid-template-columns: 1fr 1.3fr; }
}
@media (max-width: 560px) {
  .brandkit > div { padding-left: 20px !important; padding-right: 20px !important; }
}

@media (max-width: 560px) {
  .subscribe-form { flex-direction: column; }
  .countdown { gap: .5rem; }
  .countdown div { min-width: 62px; }
  .next-session { padding: 1.6rem 1.2rem; }
  .swatch-chip { flex-basis: 70px; }
}
