/* =========================================================
   Michael Bach — Homepage (index.html) styles
   Layered on top of base.css + components.css
   Order: utilities · hero · stat-band · position · pull-quote ·
          section-heading variants · logo-section ·
          testimonial-section · about · books · inquiry ·
          newsletter · footer extras
   ========================================================= */


/* --------- Utilities ------------------------------------- */

.overline {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-arsenic);
  display: inline-block;
  margin-bottom: var(--space-3);
  padding-bottom: 4px;
  border-bottom: 2px solid var(--color-coral);
}
.surface-arsenic .overline,
.surface-lavender .overline {
  color: var(--color-pastel-orange);
  border-bottom-color: var(--color-coral);
}
.surface-tulip .overline,
.surface-timberwolf .overline {
  color: var(--color-arsenic);
  border-bottom-color: var(--color-coral);
}

.inline-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-coral);
  font-weight: var(--weight-semibold);
  transition: text-decoration-color var(--duration-base) var(--ease-out);
}
.inline-link:hover {
  text-decoration-color: currentColor;
}
.surface-arsenic .inline-link {
  text-decoration-color: var(--color-pastel-orange);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* --------- Hero overrides for homepage ------------------- */

.hero {
  padding-block: clamp(4rem, 9vw, 8rem);
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* Subtle decorative accent — Coral arc at bottom-right, decoration only */
  content: "";
  position: absolute;
  right: -200px; bottom: -200px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238,7,66,0.18) 0%, rgba(238,7,66,0) 60%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero__copy { min-width: 0; }
.hero__media { min-width: 0; }

.hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-pastel-orange);
  margin: 0 0 var(--space-5);
}

.reel-card__label {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-5);
  right: var(--space-5);
  text-align: left;
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  z-index: 2;
}


/* --------- Stat band (inverted strip on lavender) ------- */

.stat-band {
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-block: 1px solid rgba(255,255,255,0.08);
}
.stat-strip--inverted {
  font-size: var(--text-base);
  color: var(--color-white);
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.stat-strip--inverted li {
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: var(--text-base);
}
.stat-strip--inverted li strong {
  display: inline-block;
  margin-right: 0.4em;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  color: var(--color-pastel-orange);
  line-height: 1;
  vertical-align: -0.05em;
}
.stat-strip--inverted li + li::before {
  content: "";
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.28);
  margin-right: var(--space-5);
}


/* --------- Position section (problem/positioning) ------- */

.position-section {
  padding-block: clamp(4rem, 8vw, 6rem);
  background: var(--color-white);
}
.position-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .position-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}
.position-grid__copy { min-width: 0; }
.position-grid__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--color-timberwolf-t3);
  box-shadow: 0 24px 60px -28px rgba(68, 62, 79, 0.45);
}
.position-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
@media (max-width: 860px) {
  .position-grid__media { aspect-ratio: 16 / 10; max-height: 360px; }
}
.position-heading {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-display);
  line-height: 1.02;
  margin: 0 0 var(--space-5);
  max-width: 18ch;
}
.position-heading em {
  font-style: normal;
  color: var(--color-coral);
}
.position-lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  max-width: 64ch;
  margin: 0;
  color: var(--color-arsenic-t1);
}


/* --------- Section-heading variants --------------------- */

.section-heading--center {
  text-align: center;
}
.section-heading--center .overline,
.section-heading--center .section-heading__h2,
.section-heading--center .section-heading__lead {
  margin-left: auto;
  margin-right: auto;
}


/* --------- Pull quote wrapper --------------------------- */

.pull-quote-wrap {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--color-timberwolf-t3);
}
.pull-quote-wrap .pull-quote {
  margin: 0 auto;
  max-width: 1080px;
}


/* --------- Pathways section ----------------------------- */

.pathways-section { background: var(--color-white); }


/* --------- Talks section -------------------------------- */

.talks-section {
  background: var(--color-timberwolf-t3);
}


/* --------- Logo section --------------------------------- */

.logo-section {
  background: var(--color-white);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}


/* --------- Testimonial section -------------------------- */
/* v0.4.0: 3-card grid with real client quotes pulled from
   Client-Quotes-5.docx (Ipsos, BDO, Compass Group Canada). */

.testimonial-section {
  padding-block: clamp(4rem, 8vw, 6rem);
}
.testimonial-grid {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(var(--space-4), 2.5vw, var(--space-6));
}
@media (max-width: 1024px) {
  .testimonial-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
}
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  border-left: 4px solid var(--color-coral);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.testimonial-card__quote p {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--color-arsenic);
}
.testimonial-card__quote p::before {
  content: "“";
  color: var(--color-coral);
  font-weight: var(--weight-black);
  margin-right: 0.05em;
}
.testimonial-card__quote p::after {
  content: "”";
  color: var(--color-coral);
  font-weight: var(--weight-black);
  margin-left: 0.05em;
}
.testimonial-card__attrib {
  margin: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-timberwolf);
}
.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  color: var(--color-arsenic);
  margin: 0;
}
.testimonial-card__role {
  font-size: var(--text-sm);
  color: var(--color-arsenic);
  opacity: 0.75;
  margin: 0;
}
.testimonial-card__org {
  font-size: 0.75rem;
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-coral);
  margin: 6px 0 0;
}
.testimonial-note {
  margin: var(--space-7) auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--color-arsenic-t1);
}


/* --------- About section -------------------------------- */

.about-section {
  background: var(--color-white);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(var(--space-6), 5vw, var(--space-9));
  align-items: start;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-portrait { min-width: 0; }

/* Portrait frame: black-and-white-edge softbox feel that lets the real
   photo carry the section. Subtle Coral accent line in the bottom-right
   corner ties the section to the brand without overwhelming the subject. */
.portrait-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-arsenic);
  aspect-ratio: 4 / 6;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.25);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.portrait-frame::after {
  /* Coral corner mark, decoration only (not text contrast) */
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: clamp(48px, 8vw, 96px);
  height: 4px;
  background: var(--color-coral);
}
.about-copy {
  min-width: 0;
}
.about-copy p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin: 0 0 var(--space-4);
  max-width: 60ch;
  color: var(--color-arsenic);
}
.about-secondary {
  border-left: 3px solid var(--color-pastel-orange);
  padding-left: var(--space-4);
  background: var(--color-timberwolf-t3);
  padding-block: var(--space-4);
  padding-right: var(--space-4);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: var(--space-5);
  margin-bottom: var(--space-6) !important;
  font-size: var(--text-sm) !important;
}
.about-copy .btn { margin-top: var(--space-3); }


/* --------- Books section -------------------------------- */
/* v0.4.0: Rebuilt to use real book cover images (jpg).
   All three cards share one consistent layout: cover image + title +
   subtitle + meta line. No more typographic plates or inconsistent
   per-card byline placement. */

.book-grid {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(var(--space-5), 3vw, var(--space-7));
}
@media (max-width: 880px) {
  .book-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--duration-base) var(--ease-out);
}
.book-card:hover { transform: translateY(-3px); }

.book-card__link {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.book-card__link:hover .book-card__title { color: var(--color-coral); }
.book-card__link:focus-visible {
  outline: 2px solid var(--color-coral);
  outline-offset: 4px;
}

.book-card__cover-frame {
  margin: 0;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 22px 40px -22px rgba(0,0,0,0.55),
    0 6px 12px -6px rgba(0,0,0,0.35);
}
.book-card__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-card__body {
  padding-inline: 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.book-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  line-height: 1.2;
  margin: 0;
  color: var(--color-white);
}
.book-card__subtitle {
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  line-height: 1.4;
  margin: 0;
  color: var(--color-timberwolf);
  opacity: 0.95;
}
.book-card__meta {
  font-size: 0.75rem;
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-pastel-orange);
  margin: 6px 0 0;
}


/* --------- Inquiry section ------------------------------ */

.inquiry-section {
  background: var(--color-white);
}
.inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(var(--space-6), 5vw, var(--space-9));
}
@media (max-width: 880px) {
  .inquiry-grid { grid-template-columns: 1fr; }
}
.inquiry-copy { min-width: 0; }
.inquiry-copy .section-heading__h2 { max-width: 18ch; }
.inquiry-copy .section-heading__lead { margin-bottom: var(--space-6); }

.inquiry-points {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border-top: 1px solid var(--color-timberwolf);
  padding-top: var(--space-5);
}
.inquiry-points li {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  padding-left: var(--space-5);
  position: relative;
}
.inquiry-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  background: var(--color-coral);
  border-radius: 50%;
}

.inquiry-form {
  background: var(--color-timberwolf-t3);
  padding: clamp(var(--space-5), 4vw, var(--space-7));
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-timberwolf);
}
.inquiry-form select.field__input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-arsenic) 50%),
                    linear-gradient(135deg, var(--color-arsenic) 50%, transparent 50%);
  background-position: calc(100% - 22px) center, calc(100% - 16px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.form-foot {
  margin: var(--space-4) 0 0;
  color: var(--color-arsenic-t1);
}

.form-banner {
  padding: var(--space-3) var(--space-4);
  margin: 0 0 var(--space-5);
  border-radius: 4px;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}
.form-banner--error {
  background: #fdecec;
  border-left: 4px solid var(--color-coral);
  color: var(--color-arsenic);
}

.newsletter-success {
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border-left: 4px solid var(--color-coral);
  border-radius: 4px;
}
.newsletter-success__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tight);
  color: var(--color-arsenic);
  margin: 0 0 var(--space-2);
  line-height: 1.2;
}
.newsletter-success__body {
  font-size: var(--text-base);
  color: var(--color-arsenic);
  margin: 0;
  line-height: var(--leading-relaxed);
}


/* --------- Newsletter section --------------------------- */

.newsletter-section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(var(--space-6), 5vw, var(--space-9));
  align-items: end;
}
@media (max-width: 880px) {
  .newsletter-grid { grid-template-columns: 1fr; }
}
.newsletter-grid .overline { color: var(--color-arsenic); }
.newsletter-grid .section-heading__h2 { color: var(--color-arsenic); margin-bottom: var(--space-4); }
.newsletter-grid .newsletter__pitch { color: var(--color-arsenic); }


/* --------- Footer extras (land ack) --------------------- */

.footer__col--brand .footer__logo {
  display: inline-flex;
  height: 38px;
  margin-bottom: var(--space-4);
}
.footer__col--brand .footer__logo img {
  height: 100%; width: auto; display: block;
}
.footer__tagline {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin: 0;
  opacity: 0.85;
  max-width: 32ch;
}

.land-ack {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-left: 4px solid var(--color-pastel-orange);
  border-radius: var(--radius-sm);
}
.land-ack h4 {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-pastel-orange);
  margin: 0 0 var(--space-3);
}
.land-ack p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin: 0;
  max-width: 92ch;
  color: var(--color-white);
  opacity: 0.92;
}
.land-ack p em {
  font-style: normal;
  font-weight: var(--weight-bold);
  color: var(--color-pastel-orange);
}


/* --------- Mobile tweaks -------------------------------- */

@media (max-width: 720px) {
  .hero__grid { gap: var(--space-7); }
  .stat-strip--inverted { font-size: var(--text-sm); }
  .stat-strip--inverted li strong { font-size: var(--text-xl); }
  .inquiry-form { padding: var(--space-5); }
}
