/* Speaking section (#speaking): book Caleb for keynotes, conferences and podcasts */
html body #speaking { position: relative; overflow: hidden; background: #0A0A0B; color: #F4F0E8; padding: clamp(5rem, 9vw, 8rem) 0; }
html body #speaking::before { content: ""; position: absolute; left: -10%; top: -20%; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(28,178,255,.16), rgba(28,178,255,0)); pointer-events: none; }
html body #speaking .spk-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { html body #speaking .spk-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 6vw, 6rem); } }
html body #speaking .eyebrow { display: inline-block; font-size: 15px !important; font-weight: 600 !important; letter-spacing: .2em !important; text-transform: uppercase; color: #1CB2FF !important; margin: 0 0 1rem; }
html body #speaking h2 { margin: 0 0 1.4rem; color: #FFFFFF !important; font-family: 'Outfit', var(--sans) !important; font-weight: 300; font-style: normal !important; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(2.4rem, 4.4vw, 3.8rem) !important; }
html body #speaking .spk-lede { margin: 0 0 1.4rem; font-size: 19px !important; line-height: 1.6; font-weight: 300; color: #E8E3DA !important; max-width: 38ch; }
html body #speaking .spk-only { margin: 0; font-size: 17px !important; line-height: 1.55; color: #FFFFFF !important; font-weight: 400; max-width: 40ch; }
html body #speaking .spk-only a { color: #1CB2FF !important; text-decoration: underline; text-underline-offset: 3px; }
html body #speaking .spk-only a:focus-visible { outline: 3px solid #1CB2FF; outline-offset: 3px; border-radius: 2px; }
html body #speaking .spk-portrait { position: relative; width: min(260px, 62vw); aspect-ratio: 1; margin: 2.8rem 0 0; }
html body #speaking .spk-glow { position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(28,178,255,.32), rgba(28,178,255,0) 72%); }
html body #speaking .spk-portrait picture, html body #speaking .spk-portrait img { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; }
html body #speaking .spk-portrait img { object-fit: cover; object-position: 48% 22%; box-shadow: 0 0 0 2px rgba(28,178,255,.75), 0 18px 50px rgba(0,0,0,.55); }
/* Form */
html body #speaking .spk-form { display: grid; grid-template-columns: 1fr; gap: 1.4rem; background: #141417; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.4rem); }
@media (min-width: 640px) { html body #speaking .spk-form { grid-template-columns: 1fr 1fr; } html body #speaking .spk-full { grid-column: 1 / -1; } }
html body #speaking .spk-field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
html body #speaking .spk-field label { font-size: 17px !important; font-weight: 500 !important; letter-spacing: normal !important; text-transform: none !important; color: #F4F0E8 !important; line-height: 1.35; }
html body #speaking .spk-req { font-weight: 400; color: #D8D3C8; }
html body #speaking .spk-field input, html body #speaking .spk-field select, html body #speaking .spk-field textarea { width: 100%; box-sizing: border-box; min-height: 52px; padding: .8rem 1rem; font: 400 18px/1.4 'Outfit', var(--sans); color: #FFFFFF; background: #0B0B0C; border: 1.5px solid #8A857C; border-radius: 12px; appearance: none; -webkit-appearance: none; }
html body #speaking .spk-field textarea { min-height: 140px; resize: vertical; }
html body #speaking .spk-field input::placeholder, html body #speaking .spk-field textarea::placeholder { color: #B8B2A7; opacity: 1; }
html body #speaking .spk-field input:focus-visible, html body #speaking .spk-field select:focus-visible, html body #speaking .spk-field textarea:focus-visible { outline: 3px solid #1CB2FF; outline-offset: 2px; border-color: #1CB2FF; }
html body #speaking .spk-select { position: relative; }
html body #speaking .spk-select::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid #F4F0E8; border-bottom: 2px solid #F4F0E8; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
html body #speaking .spk-select select { padding-right: 2.8rem; }
html body #speaking .spk-select select option { color: #111113; background: #FFFFFF; }
html body #speaking .spk-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: .4rem; }
html body #speaking .spk-submit { min-height: 56px; padding: 0 2rem; border: 0; border-radius: 0; background: #1CB2FF; color: #050506; font: 600 17px/1 'Outfit', var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background-color .2s ease; }
html body #speaking .spk-submit:hover { background: #4CC3FF; }
html body #speaking .spk-submit:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
html body #speaking .spk-note { margin: 0; font-size: 17px !important; line-height: 1.55; color: #E8E3DA !important; }
@media (max-width: 639px) { html body #speaking .spk-submit { width: 100%; } }
@media (prefers-reduced-motion: reduce) { html body #speaking .spk-submit { transition: none; } }
html body #speaking .spk-form { align-items: end; }
html body #speaking .spk-actions, html body #speaking .spk-field.spk-full { align-self: start; }
html body #speaking .spk-note + .spk-note { margin-top: -.6rem; }
html body #speaking .spk-mail { margin: -.4rem 0 0; font-size: 17px !important; line-height: 1.55; color: #E8E3DA !important; }
html body #speaking .spk-mail a { display: inline-block; color: #1CB2FF !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
html body #speaking .spk-mail a:hover { color: #4CC3FF !important; }
html body #speaking .spk-mail a:focus-visible { outline: 3px solid #1CB2FF; outline-offset: 3px; border-radius: 2px; }
@media (max-width: 767px) { html body #speaking .spk-mail a { padding: 10px 0; } }
/* Photo group: centered in the left column, bottom aligned with the form card on desktop */
html body #speaking .spk-copy { display: flex; flex-direction: column; }
html body #speaking .spk-media { display: flex; flex-direction: column; align-items: center; align-self: stretch; margin-top: 2.6rem; }
html body #speaking .spk-media .spk-portrait { margin: 0; }
@media (min-width: 1024px) {
  html body #speaking .spk-grid { align-items: stretch; }
  html body #speaking .spk-form { align-self: start; }
  html body #speaking .spk-media { margin-top: auto; padding-top: 2.6rem; }
}
@media (max-width: 639px) { html body #speaking .spk-submit { padding: 0 1rem; letter-spacing: .08em; white-space: nowrap; } }
/* Keynote stage photo: 4:5 rounded rectangle, edges softened into the black so no hard frame shows */
html body #speaking .spk-photo { position: relative; width: min(320px, 78vw); aspect-ratio: 4 / 5; margin: 0; border-radius: 22px; overflow: hidden; }
html body #speaking .spk-photo picture, html body #speaking .spk-photo img { display: block; width: 100%; height: 100%; }
html body #speaking .spk-photo img { object-fit: cover; object-position: 50% 30%; border-radius: 22px;
  -webkit-mask-image: radial-gradient(130% 115% at 50% 38%, #000 58%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(130% 115% at 50% 38%, #000 58%, rgba(0,0,0,0) 100%); }
@media (min-width: 1024px) {
  html body #speaking .spk-photo { width: 300px; }
  html body #speaking .spk-media { padding-top: 1.8rem; }
}
html body #speaking .spk-photo img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 8%, #000 74%, transparent 100%);
          mask-composite: intersect;
}
/* Speaking spotlight (approved Nov 21): cutout on the black page, soft stage-light glow, blue rim light baked into the image, torso fades into the page */
html body #speaking .spk-spot { --sw: min(340px, 88vw); position: relative; width: var(--sw); margin: 1.2rem auto calc(var(--sw) * -.14); isolation: isolate; }
html body #speaking .spk-spot::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 2%; width: 150%; aspect-ratio: 1; transform: translateX(-50%); pointer-events: none;
  background:
    radial-gradient(closest-side at 50% 34%, rgba(255,244,228,.16) 0%, rgba(255,244,228,.07) 28%, rgba(255,246,232,0) 56%),
    radial-gradient(closest-side at 50% 40%, rgba(150,205,255,.10) 0%, rgba(120,190,255,.04) 45%, rgba(28,178,255,0) 74%);
  animation: spkBreathe 9s ease-in-out infinite; }
@keyframes spkBreathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html body #speaking .spk-spot::before { animation: none; opacity: 1; } }
html body #speaking .spk-spot picture { display: block; }
html body #speaking .spk-spot-img { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0,0,0,.55) 76%, rgba(0,0,0,0) 96%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0,0,0,.55) 76%, rgba(0,0,0,0) 96%); }
@media (min-width: 1024px) {
  html body #speaking .spk-spot { --sw: min(420px, 100%); margin-top: 0; margin-bottom: 0; }
  html body #speaking .spk-media { padding-top: 1.4rem; }
}
