/* site.css — Young Sales Training shared layout, motifs & typography.
   Works with pop.css (the "pop/alive" primitives). Linked on every page. */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #f3f0ea;
  line-height: 1.6;
  background:
    radial-gradient(1200px 700px at 86% -6%, rgba(235,235,235,.17), transparent 56%),
    radial-gradient(900px 560px at 4% 106%, rgba(235,235,235,.12), transparent 60%),
    radial-gradient(700px 700px at 50% 50%, rgba(235,235,235,.05), transparent 70%),
    #080808;
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}
/* faint brand-lion watermark behind everything so no section is flat black */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url("logo.png") no-repeat center 44%;
  background-size: min(660px, 78vw) auto;
  opacity: .045; filter: grayscale(.25) brightness(1.15);
}
/* fine gold dot-grid motif over the whole page */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='1.5' cy='1.5' r='1.2' fill='%23ededed' fill-opacity='0.09'/%3E%3C/svg%3E");
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 45%, transparent 100%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 45%, transparent 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main, header, footer { position: relative; z-index: 1; }

/* ---------- Header / nav ---------- */
header {
  background: rgba(6,6,6,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(210,210,210,.5);
  position: sticky; top: 0; z-index: 1000;
}
.nav-wrap {
  max-width: 1200px; margin: auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 13px; font-weight: bold; letter-spacing: 1px; }
.logo-mark { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-mark img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(235,235,235,.35)); }
.brand-text { font-size: 15px; }
.brand-tagline { display: block; font-size: 11px; color: #ededed; letter-spacing: 1px; font-weight: normal; margin-top: 2px; text-transform: none; }
.brand-verse { display: block; font-size: 10px; color: #8a8a8a; letter-spacing: .5px; font-weight: normal; margin-top: 1px; text-transform: none; }
nav { display: flex; gap: 22px; font-size: 13.5px; text-transform: uppercase; letter-spacing: 1px; flex-wrap: wrap; }
nav a { color: #d2d2d2; transition: color .2s; }
nav a:hover { color: #ffffff; }
nav a.active { color: #ffffff; border-bottom: 2px solid #ededed; padding-bottom: 2px; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  display: flex; align-items: center;
  padding: 74px 24px 84px;
  overflow: hidden;
  background: radial-gradient(720px 480px at 76% 46%, rgba(235,235,235,.16), transparent 60%);
}
.hero-inner {
  max-width: 1200px; margin: auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  position: relative; z-index: 1;
}
.eyebrow { color: #ffffff; font-weight: bold; letter-spacing: 3px; text-transform: uppercase; font-size: 13px; margin-bottom: 16px; }
h1 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; margin-bottom: 20px; letter-spacing: -.5px; }
h1 .gold { color: #ffffff; }
.hero p { font-size: clamp(16px, 1.6vw, 18.5px); max-width: 620px; color: #d8d2c6; margin-bottom: 28px; }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { padding: 15px 26px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; font-size: 13.5px; display: inline-block; }

.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-chips li {
  font-size: 13px; color: #ececec; padding: 9px 14px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(235,235,235,.14), rgba(235,235,235,.04));
  border: 1px solid rgba(235,235,235,.34);
  box-shadow: 0 8px 20px -12px rgba(235,235,235,.5), inset 0 1px 0 rgba(255,255,255,.06);
}
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.hero-art img { width: 100%; max-width: 560px; position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { min-height: 340px; order: -1; }
  .hero-art img { max-width: 360px; }
}

/* ---------- Interior page hero (photo band) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 84px 24px 66px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,7,.86) 0%, rgba(8,8,7,.78) 55%, rgba(8,8,7,.96) 100%);
}
/* motif hero (no photo) — gold glow + the body lion watermark show through */
.page-hero-motif { background: radial-gradient(760px 460px at 82% 26%, rgba(235,235,235,.18), transparent 60%); }
.page-hero-motif::after { background: linear-gradient(180deg, rgba(8,8,7,.5), rgba(8,8,7,.36) 55%, rgba(8,8,7,.72)); }
/* Cris fades in on the right of the Philosophy hero */
.page-hero.bg-cris { min-height: 380px; background-position: right center; background-size: auto 122%; }
.page-hero.bg-cris::after { background: linear-gradient(90deg, rgba(8,8,7,.97) 26%, rgba(8,8,7,.7) 60%, rgba(8,8,7,.46) 100%); }
@media (max-width: 760px) {
  .page-hero.bg-cris { background-size: auto 108%; background-position: right -20px top; }
  .page-hero.bg-cris::after { background: linear-gradient(180deg, rgba(8,8,7,.66) 0%, rgba(8,8,7,.82) 60%, rgba(8,8,7,.95) 100%); }
}
.page-hero-inner { max-width: 1100px; margin: auto; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(28px, 3.8vw, 48px); margin-bottom: 14px; }
.page-hero p { max-width: 680px; color: #d8d2c6; font-size: clamp(15px, 1.5vw, 17.5px); }
.breadcrumb { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #8a8a8a; margin-bottom: 16px; }
.breadcrumb a { color: #b7b7b7; } .breadcrumb a:hover { color: #ffffff; }

/* ---------- Sections ---------- */
section { position: relative; padding: 72px 24px; }
.section-inner { max-width: 1100px; margin: auto; position: relative; z-index: 1; }
.alt-bg { background: linear-gradient(180deg, rgba(18,15,10,.55), rgba(7,6,5,.72)); }
.rule-top { border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, rgba(235,235,235,.55), transparent) 1; }
.glow-tr::before, .glow-bl::before {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(235,235,235,.10), transparent 68%);
  z-index: 0; pointer-events: none;
}
.glow-tr::before { top: -160px; right: -120px; }
.glow-bl::before { bottom: -160px; left: -120px; }

/* photo-backed sections — image behind a strong dark overlay so text/cards stay readable */
.bg-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.bg-photo::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,7,.94) 0%, rgba(8,8,7,.82) 46%, rgba(8,8,7,.95) 100%);
}

.section-sub { color: #ffffff; text-transform: uppercase; letter-spacing: 2px; font-size: 12.5px; margin-bottom: 10px; font-weight: bold; }
.section-title { font-size: clamp(24px, 3.1vw, 37px); margin-bottom: 14px; color: #fff; letter-spacing: -.3px; }
.section-lead { max-width: 720px; color: #cbc4b6; font-size: 17px; }
.verse-ref { font-size: 13px; color: #8a8a8a; letter-spacing: .5px; margin: -6px 0 18px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; margin-top: 34px; }
.cards.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
@media (max-width: 720px) { .cards.cards-2 { grid-template-columns: 1fr; } }
.card { padding: 26px 24px; position: relative; overflow: hidden; }
.card-icon {
  width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 15px;
  background: linear-gradient(160deg, #ffffff, #ededed 55%, #c2c2c2);
  box-shadow: 0 10px 22px -8px rgba(235,235,235,.6), inset 0 1px 0 rgba(255,255,255,.5);
}
.card h3 { color: #ffffff; margin-bottom: 8px; font-size: 19px; }
.card p { color: #c7c0b2; font-size: 14.5px; }
.card .tag {
  display: inline-block; margin-top: 14px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: #ededed; border: 1px solid rgba(235,235,235,.4); border-radius: 999px; padding: 4px 11px;
}
/* whole-card links (home "explore" grid) */
.card-link { display: flex; flex-direction: column; }
.card-cta { margin-top: 16px; font-weight: bold; color: #ffffff; font-size: 13.5px; letter-spacing: .5px; }

.contact-note { color: #cbc4b6; max-width: 720px; margin-bottom: 26px; font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(22px, 2.8vw, 32px); margin-bottom: 12px; color: #fff; }
.cta-band p { color: #cbc4b6; max-width: 620px; margin: 0 auto 24px; }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.js-anim .card, .js-anim .section-sub, .js-anim .section-title, .js-anim .section-lead,
.js-anim .cta-band h2, .js-anim .cta-band p, .js-anim .quote-strip, .js-anim .compare-col,
.js-anim .checklist li, .js-anim .cy-form {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.js-anim .is-in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .js-anim [class] { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---------- Little lion hops onto a card on hover ---------- */
.card::after {
  content: ''; position: absolute; top: 6px; right: 8px; width: 58px; height: 54px;
  background: url("lion-mascot.png") center/contain no-repeat;
  opacity: 0; transform: translateY(16px) scale(.5); pointer-events: none;
  filter: drop-shadow(0 7px 11px rgba(0,0,0,.6));
}
.card:hover::after { animation: lion-hop .62s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes lion-hop {
  0% { opacity: 0; transform: translateY(20px) scale(.4); }
  45% { opacity: 1; transform: translateY(-12px) scale(1.12); }
  72% { transform: translateY(2px) scale(.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Hero lion "speaks" its motto ---------- */
/* speech caption that TYPES out "Iron sharpens iron" by the lion's mouth, synced to the flap */
.lion-quote {
  position: absolute; z-index: 3; left: 50%; bottom: 3%; transform: translateX(-50%);
  background: linear-gradient(180deg, #ffffff, #ededed); color: #0a0a0a;
  font-weight: 800; font-size: 14px; letter-spacing: .4px; padding: 8px 16px; border-radius: 999px; max-width: 92%;
  box-shadow: 0 12px 28px -8px rgba(235,235,235,.65), inset 0 1px 0 rgba(255,255,255,.5);
  opacity: 0; animation: lion-say 7s ease-in-out infinite;
}
.lion-quote::after { content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%); border: 7px solid transparent; border-bottom-color: #ffffff; }
.lion-quote .lqt { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 0; animation: lion-type 7s steps(19, end) infinite; }
@keyframes lion-say { 0%, 10% { opacity: 0; } 15%, 46% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes lion-type { 0%, 15% { width: 0; } 42% { width: 19ch; } 48%, 100% { width: 0; } }
@media (prefers-reduced-motion: reduce) { .lion-quote { animation: none; opacity: 1; } .lion-quote .lqt { animation: none; width: auto; } }

/* Hero lion lip-sync — a soft-edged open-mouth patch (logo-mouth.png) fades over the static
   closed logo, so only the mouth moves (no emblem jitter). Self-removes if the patch is missing. */
.lion-stack { position: relative; display: block; width: 100%; max-width: 560px; margin: 0 auto; }
.lion-stack img { display: block; width: 100%; }
.lion-base { position: relative; }
.lion-mouth { position: absolute; inset: 0; opacity: 0; }
.lion-stack:has(.lion-mouth) .lion-mouth { animation: mouth-talk 7s steps(1, end) infinite; }
@keyframes mouth-talk {
  0%, 13% { opacity: 0; } 16% { opacity: 1; } 20% { opacity: 0; } 24% { opacity: 1; } 28% { opacity: 0; }
  32% { opacity: 1; } 36% { opacity: 0; } 40% { opacity: 1; } 44% { opacity: 0; } 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .lion-stack:has(.lion-mouth) .lion-mouth { animation: none; opacity: 0; } }

/* ---------- Quote strip ---------- */
.quote-strip { text-align: center; max-width: 860px; margin: 0 auto; }
.quote-strip .q { font-size: clamp(22px, 3vw, 34px); line-height: 1.3; color: #f4f4f4; font-weight: 700; }
.quote-strip .q .gold { color: #ffffff; }
.quote-strip .attr { color: #8a8a8a; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; margin-top: 14px; }

/* ---------- Two-column compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }
.compare-col { padding: 24px 24px 26px; border-radius: 16px; }
.compare-col.bad { background: linear-gradient(158deg, #171310, #0c0a08); border: 1px solid rgba(200,200,200,.28); }
.compare-col.good { background: linear-gradient(158deg, #1b1610, #0c0a08); border: 1px solid rgba(235,235,235,.4); box-shadow: 0 22px 46px -22px rgba(0,0,0,.9), 0 0 30px -10px rgba(235,235,235,.25); }
.compare-col h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.compare-col.bad h3 { color: #9a9a9a; } .compare-col.good h3 { color: #ffffff; }
.compare-col ul { list-style: none; } .compare-col li { position: relative; padding-left: 26px; margin: 10px 0; color: #cbc4b6; font-size: 14.5px; }
.compare-col.bad li::before { content: '✕'; position: absolute; left: 0; color: #9a9a9a; font-weight: 900; }
.compare-col.good li::before { content: '✓'; position: absolute; left: 0; color: #ededed; font-weight: 900; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; margin-top: 26px; }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }
.checklist li { position: relative; padding-left: 30px; color: #d4d4d4; font-size: 15px; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(160deg, #ffffff, #ededed); color: #0a0a0a; font-weight: 900; font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* ---------- Chips row ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips span { font-size: 13px; color: #ececec; padding: 9px 15px; border-radius: 999px; background: linear-gradient(180deg, rgba(235,235,235,.14), rgba(235,235,235,.04)); border: 1px solid rgba(235,235,235,.34); }

/* ---------- Contact form ---------- */
.cy-form { max-width: 640px; margin-top: 8px; background: linear-gradient(158deg, #16120d, #0b0a08); border: 1px solid rgba(235,235,235,.3); border-radius: 18px; padding: 26px 24px; box-shadow: 0 26px 54px -24px rgba(0,0,0,.9); }
.cy-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .cy-form .row { grid-template-columns: 1fr; } }
.cy-form label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #b7b7b7; margin: 12px 0 6px; }
.cy-form input, .cy-form textarea { width: 100%; background: #0a0a0a; border: 1px solid rgba(235,235,235,.28); border-radius: 10px; color: #f3f0ea; padding: 12px 13px; font-family: inherit; font-size: 15px; outline: none; transition: border-color .18s, box-shadow .18s; }
.cy-form input:focus, .cy-form textarea:focus { border-color: #ededed; box-shadow: 0 0 0 3px rgba(235,235,235,.18); }
.cy-form textarea { min-height: 96px; resize: vertical; }
.cy-form .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 12.5px; color: #a6a6a6; line-height: 1.5; }
.cy-form .consent input { width: auto; margin-top: 3px; accent-color: #ededed; }
.cy-form .consent a { color: #ffffff; }
.cy-form button { margin-top: 18px; }
.cy-form .form-status { margin-top: 14px; font-size: 14px; font-weight: 700; display: none; }
.cy-form .form-status.ok { display: block; color: #6ee7a0; }
.cy-form .form-status.err { display: block; color: #ff8a8a; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid rgba(210,210,210,.5); background: #050505; padding: 40px 24px; font-size: 13px; color: #9a9182; }
.footer-inner { max-width: 1100px; margin: auto; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }
.footer-nav a, .footer-links a { transition: color .2s; }
.footer-nav a:hover, .footer-links a:hover { color: #ffffff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
