/* Illustration pictures on service cards, the home page, Insights and
   articles (site_images.py). One picture per card, always the same shape, so
   the pages gain color without gaining clutter. */

.tts-public .tts-card-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 0 20px;
  object-fit: cover;
  border-radius: var(--tts-radius-md);
  background: var(--tts-surface-2);
}

/* A service card that sits alone in its row is wide, so its picture goes
   beside the text at card size instead of stretching across the page. */
@media (min-width: 761px) {
  .tts-public .services-card:only-child:has(> .tts-card-photo) {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    column-gap: 32px;
    align-items: start;
  }
  .tts-public .services-card:only-child > .tts-card-photo { grid-column: 1; grid-row: 1 / span 8; margin: 0; }
  .tts-public .services-card:only-child > :not(.tts-card-photo) { grid-column: 2; }
}

/* Insights: one picture beside each section heading. */
.tts-public .tts-media-section-title--photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  gap: 32px;
  align-items: center;
}
.tts-public .tts-media-section-title--photo .tts-card-photo { margin: 0; }

/* Article page: one picture under the heading. */
.tts-public .tts-insight-photo {
  width: min(calc(100% - 48px), 980px);
  margin: 0 auto 8px;
}
.tts-public .tts-insight-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--tts-radius-lg);
  background: var(--tts-surface-2);
}

@media (max-width: 760px) {
  .tts-public .tts-media-section-title--photo { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tts-public .tts-media-section-title--photo .tts-card-photo { max-width: 420px; }
  .tts-public .tts-insight-photo { width: min(calc(100% - 28px), 980px); }
}

/* Service pages (templates/public/offer.html): a picture or a drawn flow in
   every section, so the page is not one column of text. */
.tts-public .tts-section-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--tts-radius-lg);
  background: var(--tts-surface-2);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}
.tts-public .tts-section-photo--offer { max-width: 560px; margin: 0 auto 26px; }

.tts-public .tts-service-hero--photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  text-align: left;
}
.tts-public .tts-service-hero--photo h1,
.tts-public .tts-service-hero--photo .tts-hero-lead { margin-left: 0; margin-right: 0; }
.tts-public .tts-service-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--tts-radius-lg);
}

/* The flow: numbered steps joined by a line, left to right. */
.tts-public .tts-flow {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.tts-public .tts-flow li {
  position: relative;
  padding: 18px 16px;
  border: 1px solid var(--tts-line);
  border-radius: var(--tts-radius-md);
  background: color-mix(in srgb, var(--tts-surface) 82%, transparent);
}
.tts-public .tts-flow li + li::before {
  content: '';
  position: absolute;
  top: 34px;
  left: -15px;
  width: 14px;
  height: 2px;
  background: var(--tts-cyan);
}
.tts-public .tts-flow__n {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--tts-cyan);
  color: #04121d;
  font: 700 14px/1 var(--font-heading, inherit);
}
[data-theme='light'] .tts-public .tts-flow__n { color: #fff; }
.tts-public .tts-flow strong { display: block; margin-bottom: 6px; color: var(--tts-text); font-size: 15px; line-height: 1.3; }
.tts-public .tts-flow li > span:last-child { display: block; color: var(--tts-muted); font-size: 14px; line-height: 1.5; }

.tts-public .tts-illustrated { max-width: 920px; margin: 0 auto; }
.tts-public .tts-illustrated--photo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
  max-width: 1080px;
}
.tts-public .tts-outcome-photo { max-width: 920px; margin: 0 auto 26px; }
.tts-public .tts-outcome-photo .tts-section-photo { aspect-ratio: 21 / 9; }
.tts-public .tts-ownership-block--photo {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .tts-public .tts-flow { grid-auto-flow: row; grid-auto-columns: auto; }
  .tts-public .tts-flow li + li::before { top: -15px; left: 30px; width: 2px; height: 14px; }
}
@media (max-width: 760px) {
  .tts-public .tts-service-hero--photo,
  .tts-public .tts-illustrated--photo,
  .tts-public .tts-ownership-block--photo { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tts-public .tts-service-hero--photo { text-align: center; }
  .tts-public .tts-service-hero--photo h1,
  .tts-public .tts-service-hero--photo .tts-hero-lead { margin-left: auto; margin-right: auto; }
  .tts-public .tts-outcome-photo .tts-section-photo { aspect-ratio: 16 / 9; }
}

/* Executive Career Strategy: who the executive works with (offer.html). */
.tts-public .offer-proof__numbers { width: 100%; max-width: 920px; margin: 0 auto 30px; }
.tts-public .offer-proof__body { max-width: 820px; margin: 0 auto 30px; }
.tts-public .offer-proof__reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}
.tts-public .offer-proof__reviews blockquote { margin: 0; }
.tts-public .offer-proof__reviews cite { display: block; margin-top: 14px; color: var(--tts-subtle); font-size: 14px; font-style: normal; }
.tts-public .offer-proof__source { margin: 16px auto 0; color: var(--tts-subtle); font-size: 13px; text-align: center; }
@media (max-width: 760px) {
  .tts-public .offer-proof__reviews { grid-template-columns: minmax(0, 1fr); }
}

/* Services: referral disclosure under the partner programs. */
.tts-public .services-partner-note { margin: 16px 0 0; color: var(--tts-subtle); font-size: 14px; }

/* Reviews: a plain label above each quote. */
.tts-public .tts-proof-also { margin: 18px auto 0; color: var(--tts-subtle); font-size: 14px; text-align: center; }
.tts-public .tts-review-label { display: block; margin-bottom: 10px; color: var(--tts-cyan-bright); font-size: 14px; letter-spacing: 0.02em; }
.tts-public .tts-proof-grid--four { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tts-public .tts-proof-grid--four blockquote { margin: 0; }
.tts-public .offer-proof__reviews--three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: var(--tts-max); }

/* Service page: the contrast with cheap sites, and the folded full list. */
.tts-public .tts-contrast__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tts-public .tts-contrast__grid article { padding: 26px 22px; border-radius: var(--tts-radius-md); background: color-mix(in srgb, var(--tts-surface) 88%, transparent); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16); }
.tts-public .tts-contrast__grid h3 { margin: 0 0 10px; color: var(--tts-subtle); font-size: 16px; text-decoration: line-through; text-decoration-color: var(--tts-violet); }
.tts-public .tts-contrast__grid p { margin: 0; }
.tts-public .tts-more-detail { max-width: 920px; margin: 22px auto 0; }
.tts-public .tts-more-detail summary { display: inline-block; padding: 10px 2px; color: var(--tts-cyan-bright); font-weight: 600; cursor: pointer; }
.tts-public .tts-more-detail ul { margin: 12px 0 0; padding-left: 22px; color: var(--tts-muted); }
.tts-public .tts-more-detail li { margin-bottom: 8px; }
@media (max-width: 1000px) {
  .tts-public .tts-contrast__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tts-public .offer-proof__reviews--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tts-public .tts-contrast__grid,
  .tts-public .tts-proof-grid--four,
  .tts-public .offer-proof__reviews--three { grid-template-columns: minmax(0, 1fr); }
}

/* Service page: what happened for named clients. */
.tts-public .tts-client-proof__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 920px; margin: 0 auto; }
.tts-public .tts-client-proof__grid h3 { margin: 0 0 10px; }
.tts-public .tts-client-proof__grid p { margin: 0 0 14px; }
.tts-public .tts-client-proof__note { max-width: 920px; margin: 16px auto 0; color: var(--tts-subtle); font-size: 14px; text-align: center; }
@media (max-width: 760px) { .tts-public .tts-client-proof__grid { grid-template-columns: minmax(0, 1fr); } }

/* Home: how to use The Advisor, beside the panel. */
.tts-public .tts-advisor-steps { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; counter-reset: advisor-step; }
.tts-public .tts-advisor-steps li { position: relative; padding-left: 40px; color: var(--tts-muted); line-height: 1.5; counter-increment: advisor-step; }
.tts-public .tts-advisor-steps li::before {
  content: counter(advisor-step);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--tts-cyan); color: #04121d;
  font: 700 14px/1 var(--font-heading, inherit);
}
[data-theme='light'] .tts-public .tts-advisor-steps li::before { color: #fff; }
.tts-public .tts-advisor-steps strong { color: var(--tts-text); }

/* Custom CRM page: the system demonstration, large. */
.tts-public .tts-service-video__frame { max-width: 1000px; margin: 0 auto; }
.tts-public .tts-client-proof__grid:has(> article:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
