/* Flagship keynote: Be One in a Thousand */
.keynote-page {
  --keynote-night: #171716;
  --keynote-cream: #f6f1e7;
  --keynote-yellow: #ffd84d;
  --keynote-burgundy: #741f2a;
  --keynote-line: #d8d1c5;
  background: #fff;
  color: var(--color-ink-900);
}

.keynote-hero {
  overflow: hidden;
  background: var(--keynote-night);
  color: var(--keynote-cream);
}

.keynote-hero-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(56px, 7vw, 92px);
}

.keynote-hero-copy {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .76fr);
  gap: clamp(38px, 7vw, 104px);
  align-items: end;
}

.keynote-hero-heading,
.keynote-hero-details {
  min-width: 0;
}

.keynote-kicker {
  display: inline-flex;
  padding-block-end: 10px;
  border-bottom: 3px solid var(--keynote-yellow);
  color: var(--keynote-cream);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .025em;
}

.keynote-hero h1 {
  max-width: 720px;
  margin: 22px 0 18px;
  color: #fff;
  font-size: clamp(3.7rem, 7.2vw, 7rem);
  line-height: .94;
  letter-spacing: -.065em;
}

.keynote-hero h1 mark {
  padding-inline: .05em;
  background: linear-gradient(transparent 58%, var(--keynote-yellow) 58%, var(--keynote-yellow) 94%, transparent 94%);
  color: inherit;
}

.keynote-byline {
  display: block;
  margin-bottom: 20px;
  color: var(--keynote-yellow);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
}

.keynote-hero-details > p {
  max-width: 650px;
  margin: 0;
  color: #ddd6c9;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.75;
}

.keynote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.keynote-primary {
  border-color: var(--keynote-yellow) !important;
  background: var(--keynote-yellow) !important;
  color: var(--keynote-night) !important;
}

.keynote-secondary {
  border-color: rgba(255,255,255,.48) !important;
  color: #fff !important;
  background: transparent !important;
}

.keynote-primary:hover,
.keynote-primary:focus-visible { background: #ffe57d !important; }
.keynote-secondary:hover,
.keynote-secondary:focus-visible { border-color: #fff !important; background: rgba(255,255,255,.08) !important; }

.keynote-hero-details > small {
  display: block;
  margin-top: 15px;
  color: #bdb5a9;
  line-height: 1.55;
}

.keynote-hero-media {
  position: relative;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1672 / 941;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: #080808;
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
}

.keynote-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--keynote-night) 100%);
  pointer-events: none;
}

.keynote-hero-media img { object-fit: cover; object-position: center; }

.keynote-facts { background: var(--keynote-yellow); }
.keynote-facts > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.keynote-facts article {
  min-height: 112px;
  padding: 24px;
  display: grid;
  align-content: center;
  border-inline-end: 1px solid rgba(23,23,22,.22);
}
.keynote-facts article:last-child { border-inline-end: 0; }
.keynote-facts strong { font-size: clamp(1.45rem, 2.3vw, 2.3rem); line-height: 1; }
.keynote-facts span { margin-top: 7px; color: #3d372b; font-size: .82rem; font-weight: 750; }

.keynote-trust-strip { border-bottom: 1px solid var(--keynote-line); background: var(--keynote-cream); }
.keynote-trust-strip > div { display: grid; grid-template-columns: repeat(3, 1fr); }
.keynote-trust-strip div > div,
.keynote-trust-strip a { min-height: 106px; padding: 24px; display: grid; align-content: center; border-inline-end: 1px solid var(--keynote-line); color: inherit; text-decoration: none; }
.keynote-trust-strip a:last-child { border-inline-end: 0; }
.keynote-trust-strip strong { font-size: 1.18rem; }
.keynote-trust-strip span { margin-top: 4px; color: var(--color-text-secondary); font-size: .76rem; }

.keynote-thesis-grid {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: clamp(44px, 7vw, 104px);
  align-items: center;
}
.keynote-thesis-number {
  min-height: 390px;
  padding: 34px;
  display: grid;
  place-items: center;
  background: var(--keynote-yellow);
  color: var(--keynote-night);
  font-size: clamp(4.5rem, 9vw, 9.5rem);
  font-weight: 900;
  letter-spacing: -.09em;
}
.keynote-thesis h2,
.keynote-book-section h2,
.keynote-speaker-section h2,
.keynote-planners h2,
.keynote-contact-section h2 {
  margin: 12px 0 18px;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.keynote-thesis p,
.keynote-book-section p,
.keynote-speaker-section p,
.keynote-planners p,
.keynote-contact-section p { color: var(--color-text-secondary); font-size: 1.04rem; line-height: 1.78; }
.keynote-thesis .keynote-lead { color: var(--keynote-night); font-size: clamp(1.35rem, 2.15vw, 2.05rem); font-weight: 760; line-height: 1.45; }

.keynote-code-section { background: var(--keynote-cream); }
.keynote-code-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.keynote-code-grid article {
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--keynote-line);
  border-top: 5px solid var(--keynote-yellow);
  background: #fff;
}
.keynote-code-grid article > span { color: var(--keynote-burgundy); font-weight: 900; }
.keynote-code-grid h3 { margin: auto 0 12px; font-size: 1.75rem; }
.keynote-code-grid p { margin: 0; color: var(--color-text-secondary); line-height: 1.7; }

.keynote-event-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.keynote-event-grid article {
  min-height: 245px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--keynote-line);
  background: var(--keynote-night);
  color: #fff;
}
.keynote-event-grid strong { color: var(--keynote-yellow); font-size: 1.35rem; }
.keynote-event-grid p { color: #d7d0c5; line-height: 1.7; }
.keynote-adaptation-list {
  margin-top: 16px;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid var(--keynote-line);
  background: var(--keynote-cream);
}
.keynote-adaptation-list span { padding: 8px 11px; border: 1px solid var(--keynote-line); background: #fff; font-size: .76rem; font-weight: 800; }

.keynote-proof-section { background: #fff; }
.keynote-feedback-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.keynote-feedback-grid article { min-height: 330px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--keynote-line); border-top: 5px solid var(--keynote-yellow); }
.keynote-feedback-grid img { width: auto; max-width: 120px; height: 56px; object-fit: contain; object-position: right center; }
.keynote-feedback-grid blockquote { margin: 34px 0 24px; color: var(--keynote-night); font-size: 1.16rem; font-weight: 720; line-height: 1.6; }
.keynote-feedback-grid p { margin-top: auto; color: var(--color-text-secondary); line-height: 1.55; }
.keynote-feedback-grid p strong { color: var(--keynote-night); }

.keynote-book-section { overflow: hidden; background: var(--keynote-cream); }
.keynote-book-grid { display: grid; grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr); gap: clamp(46px, 8vw, 110px); align-items: center; }
.keynote-book-stage { min-height: 560px; display: grid; place-items: center; background: radial-gradient(circle, rgba(255,216,77,.55), transparent 60%); }
.keynote-book-stage img { width: min(100%, 560px); height: auto; object-fit: contain; filter: drop-shadow(0 28px 34px rgba(23,23,22,.18)); }
.keynote-book-section ul { margin: 24px 0 0; padding: 0 20px 0 0; color: var(--color-text-secondary); line-height: 1.9; }

.keynote-speaker-grid { display: grid; grid-template-columns: minmax(340px, .72fr) minmax(0, 1.28fr); gap: clamp(44px, 8vw, 116px); align-items: center; }
.keynote-speaker-grid figure { position: relative; min-height: 620px; margin: 0; background: var(--keynote-cream); }
.keynote-speaker-grid figure img { object-fit: cover; object-position: center top; }

.keynote-planners { background: var(--keynote-night); color: #fff; }
.keynote-planners-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .75fr) auto; gap: 44px; align-items: center; }
.keynote-planners h2 { color: #fff; }
.keynote-planners p { color: #d8d1c5; }
.keynote-planners ul { margin: 0; padding: 0; list-style: none; }
.keynote-planners li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); color: #eee7dc; }

.keynote-faq-section { background: var(--keynote-cream); }
.keynote-faq-grid { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 98px); align-items: start; }
.keynote-faq-grid details { border-top: 1px solid var(--keynote-line); }
.keynote-faq-grid details:last-child { border-bottom: 1px solid var(--keynote-line); }
.keynote-faq-grid summary { min-height: 70px; padding: 20px 36px 20px 4px; display: flex; align-items: center; position: relative; cursor: pointer; list-style: none; font-weight: 820; }
.keynote-faq-grid summary::-webkit-details-marker { display: none; }
.keynote-faq-grid summary::before { content: "+"; position: absolute; inset-inline-start: 4px; color: var(--keynote-burgundy); font-size: 1.5rem; }
.keynote-faq-grid details[open] summary::before { content: "−"; }
.keynote-faq-grid details p { margin: 0; padding: 0 4px 24px; color: var(--color-text-secondary); line-height: 1.75; }

.keynote-contact-section { background: #fff; }
.keynote-contact-grid { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: clamp(42px, 7vw, 96px); align-items: start; }
.keynote-contact-grid > div:last-child { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--keynote-line); background: var(--keynote-cream); box-shadow: var(--shadow-card); }
.keynote-whatsapp { display: inline-flex; margin-top: 20px; color: var(--keynote-burgundy); font-weight: 850; }

.home-keynote-feature { padding-block: clamp(32px, 5vw, 66px); background: var(--keynote-night, #171716); color: #fff; }
.home-keynote-card { min-height: 470px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr); overflow: hidden; border: 1px solid rgba(255,255,255,.18); background: #171716; }
.home-keynote-copy { padding: clamp(36px, 6vw, 78px); align-self: center; }
.home-keynote-copy .eyebrow { color: #ffd84d; }
.home-keynote-copy h2 { max-width: 720px; margin: 12px 0 18px; color: #fff; font-size: clamp(2.7rem, 5vw, 5.4rem); line-height: .96; letter-spacing: -.058em; }
.home-keynote-copy p { max-width: 700px; color: #d9d2c8; font-size: 1.04rem; line-height: 1.76; }
.home-keynote-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.home-keynote-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.26); color: #eee8df; font-size: .72rem; font-weight: 800; }
.home-keynote-card .keynote-actions { margin-top: 24px; }
.home-keynote-media { position: relative; min-height: 470px; margin: 0; }
.home-keynote-media img { object-fit: cover; object-position: center 18%; }
.home-keynote-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 65%, #171716 100%); }
.home-keynote-book { position: absolute !important; z-index: 2; inset: auto auto 20px 20px !important; width: 150px !important; height: 150px !important; object-fit: contain !important; filter: drop-shadow(0 18px 24px rgba(0,0,0,.32)); }

@media (max-width: 1020px) {
  .keynote-hero-grid,
  .home-keynote-card { grid-template-columns: 1fr; }
  .keynote-hero-copy { max-width: none; grid-template-columns: 1fr; gap: 20px; padding-block: 0; }
  .keynote-hero-media { min-height: 0; }
  .keynote-hero-media::after,
  .home-keynote-media::after { background: linear-gradient(0deg, transparent 70%, #171716 100%); }
  .home-keynote-media { min-height: 420px; }
  .keynote-code-grid { grid-template-columns: repeat(2, 1fr); }
  .keynote-planners-grid { grid-template-columns: 1fr 1fr; }
  .keynote-planners-grid > a { grid-column: 1 / -1; width: fit-content; }
}

@media (max-width: 760px) {
  .keynote-hero-grid { min-height: 0; }
  .keynote-hero-grid { gap: 24px; padding-block: 44px 34px; }
  .keynote-hero-copy { padding-block: 0; }
  .keynote-hero h1 { font-size: clamp(3.2rem, 15vw, 5.4rem); }
  .keynote-hero-media { min-height: 0; aspect-ratio: 16 / 9; }
  .keynote-facts > div { grid-template-columns: repeat(2, 1fr); }
  .keynote-facts article:nth-child(2) { border-inline-end: 0; }
  .keynote-facts article:nth-child(-n + 2) { border-bottom: 1px solid rgba(23,23,22,.22); }
  .keynote-trust-strip > div,
  .keynote-thesis-grid,
  .keynote-event-grid,
  .keynote-feedback-grid,
  .keynote-book-grid,
  .keynote-speaker-grid,
  .keynote-faq-grid,
  .keynote-contact-grid,
  .keynote-planners-grid { grid-template-columns: 1fr; }
  .keynote-trust-strip div > div,
  .keynote-trust-strip a { min-height: 84px; border-inline-end: 0; border-bottom: 1px solid var(--keynote-line); }
  .keynote-thesis-number { min-height: 240px; }
  .keynote-code-grid { grid-template-columns: 1fr; }
  .keynote-code-grid article { min-height: 230px; }
  .keynote-event-grid article { min-height: 220px; }
  .keynote-feedback-grid article { min-height: 290px; }
  .keynote-book-stage { min-height: 390px; }
  .keynote-speaker-grid figure { min-height: 490px; }
  .keynote-planners-grid > a { grid-column: 1; }
  .home-keynote-copy { padding: 34px 24px; }
  .home-keynote-media { min-height: 330px; }
  .home-keynote-book { width: 105px !important; height: 105px !important; inset: auto auto 12px 12px !important; }
}

@media (max-width: 700px) {
  .contact-channel-actions,
  .contact-aside-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-primary-offer-grid,
  .ai-tool-profile-grid,
  .ai-specialist-links { grid-template-columns: 1fr; }
  .ai-primary-offer { min-height: 0; padding: 20px; }
  .workshop-detail .section-heading { margin-bottom: 16px; }
  .workshop-detail p,
  .workshop-detail li { font-size: 1.04rem; }
  .workshop-syllabus h3,
  .workshop-card-grid h3 { font-size: 1.3rem; }
}


/* Later cascade refinements retained in route order. */
.keynote-feedback-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.keynote-feedback-grid article { min-width: 0; }
.keynote-feedback-grid article img { width: 118px; height: 52px; object-fit: contain; }
.keynote-book-stage { position: relative; min-height: 590px; overflow: visible; isolation: isolate; }
.keynote-book-stage img { position: absolute; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 26px 60px rgba(23,23,22,.22); }
.keynote-book-stage .keynote-book-cover { z-index: 3; inset: 25px auto auto 50%; width: 46%; transform: translateX(-50%) rotate(-3deg); }
.keynote-book-stage .keynote-book-inside-one { z-index: 2; inset: 70px auto auto 4%; width: 47%; transform: rotate(8deg); }
.keynote-book-stage .keynote-book-inside-two { z-index: 1; inset: 115px 2% auto auto; width: 47%; transform: rotate(-8deg); }

.keynote-hero-media { align-self: center; min-height: 0; background: #f3eee6; aspect-ratio: 1672 / 941; }
.keynote-hero-media::after { display: none; }
.keynote-hero-media img { object-fit: cover; object-position: center; }
.keynote-hero-grid { min-height: auto; }
.keynote-book-stage .keynote-book-cutout {
  inset: 6px auto auto 50%;
  width: 62%;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 28px 34px rgba(23,23,22,.24));
  transform: translateX(-50%) rotate(-2deg);
}

@media (max-width: 1020px) {
  .keynote-hero-media { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 980px) {
  .keynote-feedback-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .keynote-feedback-grid { grid-template-columns: 1fr; }
  .keynote-book-stage { min-height: 430px; overflow: hidden; }
  .keynote-book-stage .keynote-book-cover { width: 52%; }
  .keynote-book-stage .keynote-book-cutout { width: 66%; }
  .keynote-book-stage .keynote-book-inside-one,
  .keynote-book-stage .keynote-book-inside-two { width: 54%; }
}
