/* Shared responsive layout for the English and French pages.
   Overrides are needed where the original layout uses inline styles. */
@media (max-width: 1000px) {
  #top {
    flex-direction: column;
    gap: 36px !important;
  }

  #top > div,
  #top > figure {
    flex: none !important;
  }

  .ll-hero-art > div {
    flex: none !important;
    min-height: 0 !important;
    height: clamp(260px, 45vw, 380px);
    border-top-right-radius: 100px !important;
  }

  .ll-hero-art svg {
    /* Keep the full branch visible in the shorter, wider panel. */
    left: auto !important;
    width: auto !important;
    aspect-ratio: 500 / 620;
  }
}

@media (max-width: 600px) {
  header {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    gap: 12px !important;
  }

  .ll-nav {
    width: 100%;
    justify-content: space-between;
    gap: 4px 12px !important;
    font-size: 14px !important;
  }

  .ll-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .ll-nav .ll-btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  #top {
    padding-top: 28px !important;
    padding-bottom: 48px !important;
    gap: 28px !important;
  }

  #top > div {
    gap: 24px !important;
  }

  #top h1 {
    font-size: clamp(38px, 10vw, 52px) !important;
    line-height: 1.05 !important;
    max-width: 100% !important;
  }

  #top p,
  #approach p,
  #contact p {
    font-size: 18px !important;
    line-height: 28px !important;
  }

  .ll-hero-art > div {
    height: 260px;
    border-top-right-radius: 80px !important;
  }

  .ll-hero-art > div > div {
    width: 180px !important;
    height: 90px !important;
    margin-left: -90px !important;
  }

  .ll-sun {
    width: 180px !important;
    height: 90px !important;
    border-radius: 90px 90px 0 0 !important;
  }

  #approach > div,
  #founder > div,
  #contact > div {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    gap: 32px !important;
  }

  #approach h2,
  #founder h2,
  #contact h2 {
    font-size: 32px !important;
    line-height: 1.12 !important;
  }

  #founder > div > div:first-child {
    flex: 0 1 240px !important;
  }

  #founder img {
    border-top-right-radius: 80px !important;
  }

  #contact dl > div {
    flex-direction: column;
  }

  footer {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}
