/*
 * HOMEPAGE — Speaker booking layout (v3.2)
 * File: /wp-content/themes/ajay-binani-v3/page-home.css
 * Loaded only on the front page (see ajay_enqueue in functions.php).
 * All classes are prefixed hp- so nothing leaks into other pages.
 */

/* ── RESETS (style.css sets global section padding, letter-spacing, list-style) ── */
.hp > section { padding: 0; }
.hp p { line-height: 1.7; }
.hp h1, .hp h2, .hp h3 { letter-spacing: normal; font-weight: 400; }

.hp .hp-wrap {
  max-width: var(--container-home, 1120px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.hp .hp-wrap--narrow { max-width: 820px; }
.hp .hp-section { padding-top: 72px; padding-bottom: 72px; }

.hp-band {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.hp-plain-band {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ── TYPE ─────────────────────────────────────── */
.hp-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.hp .hp-h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1.2;
  color: var(--color-text);
  margin: 12px 0 32px;
}
.hp .hp-h2--tight { margin: 12px 0 12px; }
.hp .hp-h2--snug  { margin: 12px 0 16px; }
.hp .hp-h2--mid   { margin: 12px 0 20px; }
.hp .hp-h2--faq   { margin: 12px 0 24px; }
.hp .hp-h2--flush { margin: 12px 0 6px; }
.hp .hp-h2--sm    { font-size: 30px; margin: 10px 0 24px; }
.hp .hp-h2--lg    { font-size: 38px; margin: 12px 0 16px; }

.hp .hp-intro { font-size: 17px; margin: 0 0 32px; max-width: 680px; }
.hp .hp-lead  { font-size: 17px; margin: 0 0 12px; color: var(--color-lead); }
.hp .hp-body  { font-size: 16px; margin: 0 0 20px; }
.hp .hp-small { font-size: 13px; }

/* ── BUTTONS & LINKS ──────────────────────────── */
.hp-btn,
.hp-btn-outline,
.hp-link {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hp-btn {
  font-size: 13px;
  line-height: 1.2;
  color: var(--color-btn-text);
  background: var(--color-btn-bg);
  padding: 13px 24px;
  border: 0;
  cursor: pointer;
}
.hp-btn:hover { background: var(--color-accent-dim); color: var(--color-btn-text); }
.hp-btn[disabled] { opacity: 0.6; cursor: wait; }

.hp-btn-outline {
  font-size: 13px;
  line-height: 1.2;
  color: var(--color-text);
  border: 1.5px solid var(--color-text);
  padding: 11.5px 22px;
}
.hp-btn-outline:hover { background: var(--color-text); color: #fff; }

.hp-link {
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--color-text);
  border-bottom: 1.5px solid var(--color-text);
  padding-bottom: 3px;
}
.hp-link:hover { color: var(--color-accent); border-color: var(--color-accent); }

.hp-btn:focus-visible,
.hp-btn-outline:focus-visible,
.hp-link:focus-visible,
.hp-thought:focus-visible,
.hp-faq summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.hp-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hp-actions--top { margin-top: 28px; }

/* ── MEDIA (image / placeholder in fixed ratio) ── */
.hp-media {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-lavender);
}
.hp-media--cream { background: var(--color-cream); }
.hp-media--4x5  { aspect-ratio: 4 / 5; }
.hp-media--4x3  { aspect-ratio: 4 / 3; }
.hp-media--16x9 { aspect-ratio: 16 / 9; }
.hp-media--2x3  { aspect-ratio: 2 / 3; }
.hp-media img,
.hp-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}
.hp-media__placeholder {
  color: var(--color-muted);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

/* ── GRIDS ────────────────────────────────────── */
.hp-grid { display: flex; flex-wrap: wrap; }
.hp-grid--gap { gap: 20px; }
.hp-grid > * { min-width: 0; }

/* ── HERO ─────────────────────────────────────── */
.hp .hp-hero {
  padding-top: 64px;
  padding-bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.hp-hero__content { flex: 1 1 440px; min-width: 0; }
.hp .hp-hero__title {
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.12;
  color: var(--color-text);
  margin: 16px 0 20px;
}
.hp .hp-hero__lead {
  font-size: 18px;
  margin: 0 0 24px;
  max-width: 520px;
  color: var(--color-lead);
}
.hp-highlight {
  background: var(--color-highlight);
  color: var(--color-text);
  padding: 2px 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hp-stats {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
}
.hp-stat__num {
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.2;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}
.hp-stat__label { font-size: 13px; }
.hp-hero__photo {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  justify-content: center;
}
.hp-hero__photo .hp-media { max-width: 400px; }

/* ── INVITED BY ───────────────────────────────── */
.hp .hp-proof .hp-wrap { padding-top: 32px; padding-bottom: 32px; }
.hp .hp-proof__title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 16px;
}
.hp-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.hp-pill {
  padding: 12px 22px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid;
}
.hp-pill--lavender { background: var(--color-lavender-2); border-color: #ddd5f2; }
.hp-pill--cream    { background: var(--color-cream-2);    border-color: #eee3bd; }
.hp-pill--peach    { background: var(--color-peach-2);    border-color: #f0d6c7; }

/* ── WHO I SPEAK FOR ──────────────────────────── */
.hp .hp-audience { padding-top: 72px; padding-bottom: 24px; }
.hp-card {
  flex: 1 1 300px;
  border: 1px solid var(--color-border);
  padding: 28px;
}
.hp .hp-card p:not(.hp-eyebrow) { margin: 0 0 16px; font-size: 15px; }
.hp .hp-card__title {
  font-size: 22px;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 8px;
}
.hp .hp-card__title--lg { font-size: 24px; line-height: 1.25; margin: 10px 0 8px; }
.hp-card--cream    { background: var(--color-cream); }
.hp-card--lavender { background: var(--color-lavender); }

/* ── TOPICS ───────────────────────────────────── */
.hp .hp-topics { padding-top: 48px; padding-bottom: 72px; }
.hp-topic {
  flex: 1 1 320px;
  border: 1px solid var(--color-border);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.hp-topic--cream    { background: var(--color-cream); }
.hp-topic--lavender { background: var(--color-lavender); }
.hp-topic--peach    { background: var(--color-peach); }
.hp-topic__num {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #a8a8a8;
}
.hp .hp-topic__title {
  font-size: 28px;
  line-height: 1.25;
  color: var(--color-text);
  margin: 12px 0;
}
.hp .hp-topic > p:not(.hp-eyebrow) { margin: 0 0 16px; font-size: 16px; }
.hp-list {
  list-style: disc;
  margin: 0 0 20px;
  padding-left: 20px;
  font-size: 15px;
}
.hp-list__strong { color: var(--color-text); font-weight: 500; }
.hp .hp-topic__meta { line-height: 1.8; margin-bottom: 20px; }
.hp-topic__cta { margin-top: auto; align-self: flex-start; }

/* ── FORMATS & FEES ───────────────────────────── */
.hp-fee {
  flex: 1 1 400px;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 32px;
}
.hp .hp-fee__title {
  font-size: 26px;
  line-height: 1.25;
  color: var(--color-text);
  margin: 0 0 4px;
}
.hp .hp-fee__sub { margin: 0 0 20px; font-size: 15px; }
.hp-fee__rows { font-size: 15px; display: flex; flex-direction: column; gap: 12px; }
.hp-fee__rows > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
}
.hp-fee__rows > div:last-child { border-bottom: 0; padding-bottom: 0; align-items: center; }
.hp-fee__rows dd { color: var(--color-text); text-align: right; }
.hp .hp-fee__price {
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hp-callout {
  margin-top: 24px;
  background: var(--color-lavender);
  border: 1px solid var(--color-border);
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}
.hp-callout__text { flex: 1 1 360px; min-width: 0; }
.hp .hp-callout__title {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.3;
  color: var(--color-text);
  margin: 6px 0 4px;
}
.hp .hp-callout__text p:last-child { margin: 0; font-size: 15px; }

/* ── SPLIT LAYOUTS (watch / about / coaching / thoughts / invite) ── */
.hp-split { display: flex; flex-wrap: wrap; gap: 48px; }
.hp-split--center { align-items: center; }
.hp-split > * { min-width: 0; }
.hp-split__text { flex: 1 1 420px; }
.hp-split__media { flex: 1 1 320px; }
.hp-split__media--wide { flex: 1 1 460px; }
#watch .hp-split__text { flex-basis: 320px; }
#watch .hp-intro { margin-bottom: 20px; }

/* ── TESTIMONIALS ─────────────────────────────── */
.hp-quote {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 36px;
  margin: 0 0 20px;
}
.hp-quote:last-of-type { margin-bottom: 0; }
.hp-quote__tag { margin-bottom: 16px; }
.hp-quote__body {
  max-width: 860px;
  font-size: 17px;
  color: var(--color-lead);
  margin: 0 0 20px;
}
.hp .hp-quote__body p { margin: 0 0 14px; line-height: 1.8; color: var(--color-lead); }
.hp .hp-quote__body p:last-child { margin-bottom: 0; }
.hp-quote figcaption { display: flex; flex-direction: column; }
.hp-quote__name { font-size: 15px; color: var(--color-text); font-weight: 500; }
.hp-quote__role { font-size: 14px; }

/* ── ABOUT ────────────────────────────────────── */
#about .hp-split__text { flex-basis: 440px; }
#about .hp-intro { margin: 0 0 14px; }
#about .hp-intro:last-of-type { margin-bottom: 0; }
.hp-about__photo { margin-top: 28px; }
.hp-orgs {
  flex: 1 1 400px;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.hp-org {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 24px 28px;
}
.hp-org + .hp-org { border-top: 0; }
.hp .hp-org__name {
  font-size: 22px;
  line-height: 1.3;
  color: var(--color-text);
  margin: 4px 0 2px;
}
.hp .hp-org__desc { font-size: 15px; }

/* ── COACHING ─────────────────────────────────── */
#coaching .hp-body { margin-bottom: 24px; }

/* ── BOOKS & NEWSLETTERS ──────────────────────── */
.hp-book { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hp-book__cover { flex: 0 1 220px; width: 100%; max-width: 220px; min-width: 0; }
.hp-book__cover .hp-media__placeholder { padding: 20px; }
.hp-book__text { flex: 1 1 400px; min-width: 0; }
.hp .hp-book__by { font-size: 14px; margin-bottom: 16px; }
.hp .hp-book__desc { max-width: 560px; }
.hp .hp-book__also { margin: 20px 0 0; font-size: 14px; }
.hp-newsletters { margin-top: 56px; }
.hp-grid--two > .hp-card { flex-basis: 400px; }
.hp .hp-newsletters .hp-card p:not(.hp-eyebrow) { margin-bottom: 12px; }

/* ── THOUGHTS ─────────────────────────────────── */
.hp-thoughts__intro { flex: 1 1 300px; }
.hp-thoughts__list {
  flex: 1 1 520px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}
.hp-thought {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.hp-thought__title {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.3;
  color: var(--color-text);
  transition: color 0.2s;
}
.hp-thought:hover .hp-thought__title { color: var(--color-accent); }
.hp .hp-thought__date { font-size: 11px; white-space: nowrap; }
.hp-thought--empty { padding: 20px 0; }

/* ── FAQ ──────────────────────────────────────── */
.hp-faq { border-bottom: 1px solid var(--color-border); padding: 18px 0; }
.hp-faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: "+"; color: var(--color-accent); flex-shrink: 0; }
.hp-faq[open] summary::after { content: "\2013"; }
.hp .hp-faq p { margin: 12px 0 0; font-size: 16px; }

/* ── ENQUIRY ──────────────────────────────────── */
#invite .hp-invite__info { flex-basis: 320px; }
#invite .hp-intro { margin: 0 0 16px; }
#invite .hp-body  { font-size: 15px; margin: 0 0 24px; }
.hp-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  color: var(--color-lead);
}
.hp-contact a {
  align-self: flex-start;
  border-bottom: 1px solid #c9c9c9;
  transition: color 0.2s, border-color 0.2s;
}
.hp-contact a:hover { color: var(--color-accent); border-color: var(--color-accent); }
.hp .hp-invite__info > .hp-small { margin-top: 16px; font-size: 14px; }

.hp-form-box {
  flex: 1 1 440px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 32px;
}
.hp-form { display: flex; flex-direction: column; gap: 16px; }
.hp-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.hp-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 6px;
}
.hp-label span { color: var(--color-accent); }
.hp-field {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border-mid);
  padding: 11px 12px;
  border-radius: 0;
}
.hp-field:focus { outline: 2px solid var(--color-accent); outline-offset: 0; }
.hp-field[aria-invalid="true"] { border-color: var(--color-accent); }
textarea.hp-field { resize: vertical; }

/* Honeypot — kept off-screen, never display:none (some bots skip hidden fields) */
.hp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hp .hp-form__error { font-size: 14px; color: var(--color-accent); margin: 0; }
.hp-form__success:focus { outline: none; }
.hp .hp-form__success p:last-child { margin-top: 8px; font-size: 15px; }
.hp-form__success a { color: var(--color-accent); border-bottom: 1px solid currentColor; }

/* ── SMALL SCREENS ────────────────────────────── */
@media (max-width: 600px) {
  .hp .hp-section { padding-top: 56px; padding-bottom: 56px; }
  .hp .hp-audience { padding-bottom: 16px; }
  .hp .hp-topics { padding-top: 40px; }
  .hp .hp-h2 { font-size: 30px; }
  .hp .hp-h2--lg { font-size: 32px; }
  .hp-quote, .hp-fee, .hp-topic, .hp-form-box { padding: 24px; }
  .hp-thought { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .hp * { transition: none !important; }
}
