/* About founder story — compact, readable mobile treatment. */
@media screen and (min-width: 768px) {
  .tdl-company-story-details > summary {
    display: none !important;
  }

  .tdl-company-story-details-body > p {
    max-width: 49rem;
    margin: 0 0 1rem;
    color: #5f665f;
    line-height: 1.78;
  }
}

@media screen and (max-width: 767px) {
  html body #Meet-the-team.tdl-company-story-section {
    padding: 3.5rem 0 !important;
    background: #fff !important;
  }

  html body #Meet-the-team .container,
  html body #Meet-the-team .w-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    box-sizing: border-box !important;
  }

  html body #Meet-the-team .tdl-company-story-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 36rem !important;
    margin: 0 auto !important;
  }

  html body #Meet-the-team .tdl-company-story-portrait {
    display: grid !important;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%) !important;
    width: 100% !important;
    height: clamp(13.5rem, 57vw, 16rem) !important;
    min-height: 13.5rem !important;
    margin: 0 !important;
    border: 1px solid rgba(37, 34, 42, 0.12) !important;
    border-radius: 9px !important;
    background: #073326 !important;
    box-shadow: 0 16px 38px rgba(7, 51, 38, 0.11) !important;
    overflow: hidden !important;
  }

  html body #Meet-the-team .tdl-company-story-portrait img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center 24% !important;
  }

  html body #Meet-the-team .tdl-company-story-portrait figcaption {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    gap: 0.4rem !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 1.15rem !important;
    background: #073326 !important;
    color: #fff !important;
    text-align: left !important;
  }

  html body #Meet-the-team .tdl-company-story-portrait figcaption::before {
    content: "Founder";
    display: block;
    color: #a8dbc7;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  html body #Meet-the-team .tdl-company-story-portrait figcaption strong {
    color: #fff !important;
    font-size: 1.08rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
  }

  html body #Meet-the-team .tdl-company-story-portrait figcaption span {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.74rem !important;
    line-height: 1.5 !important;
  }

  html body #Meet-the-team .tdl-company-story-copy {
    width: 100% !important;
    max-width: 36rem !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  html body #Meet-the-team .tdl-company-story-copy .tdl-section-kicker {
    width: auto !important;
    margin: 0 auto 0.75rem !important;
    color: #006039 !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.1em !important;
    text-align: center !important;
  }

  html body #Meet-the-team .tdl-company-story-copy h2 {
    width: 100% !important;
    max-width: 28rem !important;
    margin: 0 auto 1.15rem !important;
    color: #25222a !important;
    font-size: clamp(1.95rem, 8.8vw, 2.25rem) !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
    text-wrap: balance;
  }

  html body #Meet-the-team .tdl-company-story-copy h2.is-visible {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  html body #Meet-the-team .tdl-company-story-copy > p,
  html body #Meet-the-team .tdl-company-story-details-body > p {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1rem !important;
    color: #5f665f !important;
    font-size: 0.94rem !important;
    line-height: 1.7 !important;
  }

  html body #Meet-the-team .tdl-company-story-copy > p {
    text-align: center !important;
  }

  html body #Meet-the-team .tdl-company-story-details,
  html body #Meet-the-team .tdl-founder-meta-line,
  html body #Meet-the-team .tdl-company-story-details-body > p {
    text-align: left !important;
  }

  html body #Meet-the-team .tdl-company-story-details {
    width: 100% !important;
    margin: 1.25rem 0 0 !important;
    border-top: 1px solid rgba(37, 34, 42, 0.14) !important;
    border-bottom: 1px solid rgba(37, 34, 42, 0.14) !important;
  }

  html body #Meet-the-team .tdl-company-story-details > summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    min-height: 54px !important;
    padding: 0.85rem 0 !important;
    color: #006039 !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    list-style: none !important;
    cursor: pointer !important;
  }

  html body #Meet-the-team .tdl-company-story-details > summary::-webkit-details-marker {
    display: none !important;
  }

  html body #Meet-the-team .tdl-company-story-details > summary::after {
    content: "";
    flex: 0 0 auto;
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.2rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 220ms ease;
  }

  html body #Meet-the-team .tdl-company-story-details[open] > summary {
    border-bottom: 1px solid rgba(37, 34, 42, 0.1);
  }

  html body #Meet-the-team .tdl-company-story-details[open] > summary::after {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  html body #Meet-the-team .tdl-company-story-details-body {
    padding: 1rem 0 0 !important;
  }

  html body #Meet-the-team .tdl-company-story-details-body > p:last-child {
    margin-bottom: 1.15rem !important;
  }

  html body #Meet-the-team .tdl-founder-meta-line {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.5rem 0 0 !important;
    padding: 0 !important;
    border-top: 1px solid rgba(37, 34, 42, 0.14) !important;
    border-bottom: 1px solid rgba(37, 34, 42, 0.14) !important;
  }

  html body #Meet-the-team .tdl-founder-meta-line span {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: 3.4rem !important;
    margin: 0 !important;
    padding: 0.7rem 0.55rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #4f5651 !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  html body #Meet-the-team .tdl-founder-meta-line span:nth-child(even) {
    border-left: 1px solid rgba(37, 34, 42, 0.1) !important;
  }

  html body #Meet-the-team .tdl-founder-meta-line span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(37, 34, 42, 0.1) !important;
  }

  html body #Meet-the-team .tdl-founder-meta-line span:nth-child(n + 5) {
    display: none !important;
  }
}

@media screen and (max-width: 359px) {
  html body #Meet-the-team .container,
  html body #Meet-the-team .w-container {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  html body #Meet-the-team .tdl-company-story-portrait {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%) !important;
  }

  html body #Meet-the-team .tdl-company-story-portrait figcaption {
    padding: 0.9rem !important;
  }
}

@media screen and (max-width: 767px) and (prefers-reduced-motion: reduce) {
  html body #Meet-the-team .tdl-company-story-details > summary::after {
    transition: none !important;
  }
}
