/* Services page (AI professional development and speaking). Loads after styles.css and reuses its colors and type. */

.site-nav a[aria-current="page"] {
  color: var(--safety-lime);
}

.services-anchor {
  scroll-margin-top: 72px;
}

/* Hero */
.services-hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  padding-bottom: 84px;
}

.services-hero h1 {
  font-size: clamp(42px, 6.4vw, 84px);
}

.services-delivery {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.services-delivery li {
  border: 1px solid rgba(242, 245, 244, 0.28);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--safety-lime);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.speaker-card {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  border: 4px solid var(--safety-lime);
  border-radius: 10px;
  background: var(--drafting-blue-2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.speaker-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.speaker-card figcaption {
  display: grid;
  gap: 4px;
  padding: 18px 20px 20px;
}

.speaker-card strong {
  font-size: 24px;
}

.speaker-card span {
  color: #dbe5e2;
}

.speaker-card .speaker-card-path {
  margin-top: 6px;
  color: #a9bab6;
  font-size: 14px;
  line-height: 1.45;
}

.speaker-card-link {
  justify-self: start;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: var(--safety-lime);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Shared lede under section headings */
.section-lede {
  max-width: var(--max);
  margin: -12px auto 34px;
  color: #33464d;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
}

.section-lede.on-dark {
  color: #dbe5e2;
}

/* PD formats */
.service-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--access-teal);
  border-radius: 8px;
  background: var(--chalk);
  padding: 24px;
}

.service-card:first-child {
  border-top-color: var(--shop-amber);
}

.service-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--drafting-blue);
  color: var(--safety-lime);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  color: var(--drafting-blue);
  font-size: 23px;
  line-height: 1.08;
}

.service-card p {
  color: #33464d;
  font-size: 17px;
  line-height: 1.48;
}

.service-card dl {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  font-size: 15px;
  line-height: 1.4;
}

.service-card dt {
  color: var(--muted);
  font-weight: 800;
}

.service-card dd {
  margin: 0;
  color: #33464d;
}

.outcomes {
  max-width: var(--max);
  margin: 16px auto 0;
  border-radius: 8px;
  background: var(--drafting-blue);
  color: var(--paper);
  padding: 28px;
}

.outcomes h3 {
  margin-bottom: 16px;
  color: var(--safety-lime);
  font-size: 24px;
}

.outcomes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.outcomes li {
  position: relative;
  padding-left: 26px;
  color: #dbe5e2;
  font-size: 17px;
  line-height: 1.45;
}

.outcomes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--shop-amber);
}

/* Speaking */
.talk-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.talk-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(242, 245, 244, 0.16);
  border-left: 6px solid var(--safety-lime);
  border-radius: 8px;
  background: rgba(242, 245, 244, 0.06);
  padding: 24px;
}

.talk-grid article:nth-child(2) {
  border-left-color: var(--shop-amber);
}

.talk-kind {
  color: var(--safety-lime);
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.talk-grid h3 {
  color: var(--paper);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.08;
}

.talk-grid p {
  color: #dbe5e2;
  font-size: 17px;
  line-height: 1.48;
}

.speaking-formats {
  max-width: var(--max);
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.speaking-formats > div {
  border-radius: 8px;
  background: var(--paper);
  color: var(--drafting-blue);
  padding: 24px;
}

.speaking-formats h3 {
  margin-bottom: 12px;
  color: var(--access-teal);
  font-size: 22px;
}

.speaking-formats ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  color: #33464d;
  font-size: 17px;
  line-height: 1.4;
}

.speaking-note {
  max-width: var(--max);
  margin: 24px auto 0;
  color: #dbe5e2;
  font-size: 17px;
  line-height: 1.5;
}

.speaking-note a {
  color: var(--safety-lime);
  font-weight: 900;
}

/* FAQ */
.faq-list {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 0 24px;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--drafting-blue);
  font-size: 19px;
  font-weight: 900;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  color: var(--access-teal);
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "\2013";
}

.faq-list details p {
  max-width: 860px;
  padding-bottom: 20px;
  color: #33464d;
  font-size: 17px;
  line-height: 1.5;
}

/* Quote CTA */
.services-cta-body {
  max-width: var(--max);
  margin: 0 auto;
}

.services-cta-body > p:first-child {
  max-width: 760px;
  color: #dbe5e2;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.services-cta-body .partner-actions {
  margin-left: 0;
}

.services-cta-contact {
  margin-top: 20px;
  color: #a9bab6;
}

.services-cta-contact a {
  color: var(--safety-lime);
  font-weight: 900;
}

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

  .services-hero {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
  }
}

@media (max-width: 820px) {
  .services-hero {
    grid-template-columns: 1fr;
  }

  .speaker-card {
    justify-self: start;
    max-width: 360px;
  }

  .service-grid,
  .talk-grid,
  .speaking-formats,
  .outcomes ul {
    grid-template-columns: 1fr;
  }

  .faq-list details {
    padding: 0 18px;
  }

  .faq-list summary {
    font-size: 17px;
  }
}
