/* Desktop and laptop header corrections. Loaded last intentionally. */
@media (min-width: 1181px) {
  .site-header {
    height: 86px;
    padding: 8px clamp(28px, 3.5vw, 58px);
    gap: 28px;
  }

  .site-header .brand {
    min-width: 230px;
    gap: 10px;
  }

  .site-header .brand img {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .site-header .brand-name {
    padding-left: 11px;
    font-size: 24px;
  }

  .site-header nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: clamp(15px, 1.45vw, 25px);
    min-width: 0;
  }

  .site-header nav a {
    flex: 0 0 auto;
    font-size: 13px;
    white-space: nowrap;
  }

  .site-header .nav-btn {
    padding: 12px 16px !important;
  }

  .hero {
    grid-template-columns: minmax(560px, 1.1fr) minmax(300px, 0.9fr);
  }

  .hero-content {
    grid-column: 1;
    max-width: 680px;
  }

  .growth-art {
    grid-column: 2;
  }

  /* Keep the decorative chart clear of supporting copy. */
  .growth-art p {
    display: none;
  }
}

/* Desktop portrait card: personal and visible without dominating the section. */
@media (min-width: 901px) {
  .about {
    grid-template-columns: minmax(390px, 0.72fr) minmax(0, 1.28fr);
    min-height: 520px;
  }

  .about-visual.persona-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 520px;
    padding: 42px;
  }

  .about-visual.persona-visual::before,
  .about-visual.persona-visual::after {
    display: none;
  }

  .persona-visual .about-portrait {
    position: relative;
    width: min(100%, 300px);
    height: 365px;
    min-height: 0;
    object-fit: cover;
    object-position: center 18%;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(0, 18, 34, 0.32);
  }

  .persona-visual .quote,
  .about-visual.persona-visual .quote {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 0;
    font-size: clamp(22px, 1.8vw, 29px);
    text-align: center;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .site-header {
    height: 78px;
    padding: 7px 24px;
  }

  .site-header .brand img {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .site-header .brand-name {
    font-size: 23px;
  }

  .site-header .menu {
    display: block;
  }

  .site-header nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 20px 26px 24px;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.14);
  }

  .site-header nav.open {
    display: flex;
  }

  .site-header nav a {
    padding: 9px 4px;
  }

  .site-header .nav-btn {
    margin-top: 6px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 610px;
    padding: 66px clamp(38px, 7vw, 76px);
    background-position: 67% center;
  }

  .hero-content {
    grid-column: 1;
    max-width: 650px;
  }

  .hero h1 {
    font-size: clamp(52px, 6vw, 68px);
  }

  .growth-art {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  footer > div:last-of-type {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  .site-header .brand-name {
    font-size: 21px;
  }
}

@media (max-width: 390px) {
  .site-header .brand-name {
    font-size: 18px;
  }
}

/* The global footer link styles should not split the copyright year. */
.copyright span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
}
