/*
 * About page final reference-scale layout.
 * Loaded after about.css and laptop.css so the supplied reference proportions
 * remain visible on desktop and 15.6-inch laptop viewports.
 */

@media (min-width: 1101px) {
  .about-page {
    --about-wide: 1296px;
    --about-green: #08bd55;
    --about-ink: #101f29;
    font-size: 16px;
  }

  .about-page .container {
    width: min(calc(100% - 80px), var(--about-wide));
  }

  /* Full reference-width header on top of the hero and while sticky. */
  .about-page .site-header {
    --header-height: 94px;
    height: 94px;
  }

  .about-page .site-header .container {
    width: min(calc(100% - 56px), 1640px);
  }

  .about-page .header-inner {
    grid-template-columns: 260px minmax(0, 1fr) auto;
    column-gap: 34px;
  }

  .about-page .brand {
    gap: 15px;
  }

  .about-page .brand-mark {
    width: 58px;
    height: 58px;
  }

  .about-page .brand-copy strong {
    font-size: 1.65rem;
  }

  .about-page .brand-copy small {
    margin-top: 4px;
    font-size: .68rem;
  }

  .about-page .nav-list {
    gap: clamp(23px, 2vw, 39px);
  }

  .about-page .nav-link {
    min-height: 94px;
    font-size: .83rem;
  }

  .about-page .header-icon {
    width: 44px;
    height: 44px;
  }

  .about-page .header-quote {
    min-width: 148px;
    min-height: 46px;
    padding-inline: 24px;
    font-size: .76rem;
  }

  /* Hero */
  .about-page .about-hero {
    min-height: 384px;
    background-position: center 42%;
  }

  .about-page .about-hero-inner {
    width: min(calc(100% - 80px), 1296px);
    padding-top: 94px;
  }

  .about-page .about-hero h1 {
    max-width: 620px;
    font-size: clamp(4rem, 4.3vw, 4.8rem);
    line-height: .98;
  }

  .about-page .about-breadcrumbs {
    margin-top: 23px;
    padding: 9px 16px;
    gap: 11px;
    font-size: .72rem;
  }

  /* Overview composition */
  .about-page .about-overview {
    padding: 118px 0 116px;
  }

  .about-page .about-overview-grid {
    width: min(calc(100% - 80px), 1296px);
    grid-template-columns: 318px minmax(0, 1fr) 338px;
    grid-template-rows: auto auto;
    column-gap: 70px;
    row-gap: 48px;
  }

  .about-page .about-primary-image {
    border-radius: 9px;
  }

  .about-page .about-primary-image img {
    height: 570px;
  }

  .about-page .about-overview-copy {
    grid-column: 2;
    padding: 49px 0 0;
  }

  .about-page .about-overview-copy h2,
  .about-page .about-pricing-intro h2,
  .about-page .about-testimonial-heading h2 {
    font-size: clamp(3.25rem, 3.65vw, 4rem);
    line-height: 1.02;
  }

  .about-page .about-overview-copy > p:not(.about-chip) {
    max-width: 560px;
    margin-top: 28px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .about-page .about-overview-copy .button {
    min-height: 52px;
    margin-top: 36px;
    padding-inline: 34px;
    font-size: .79rem;
  }

  .about-page .about-chip {
    margin-bottom: 20px;
    padding: 8px 17px;
    font-size: .7rem;
  }

  .about-page .about-secondary-image {
    grid-column: 3;
    margin-top: 268px;
    border-radius: 9px;
  }

  .about-page .about-secondary-image img {
    height: 376px;
  }

  .about-page .about-stat-panel {
    grid-column: 1 / span 2;
    min-height: 196px;
    margin-top: -4px;
    border-radius: 8px;
  }

  .about-page .about-stat {
    min-height: 146px;
    padding: 24px 55px;
  }

  .about-page .about-stat strong {
    font-size: 3rem;
  }

  .about-page .about-stat > span {
    margin-top: 14px;
    font-size: .7rem;
  }

  .about-page .about-process-grid {
    width: min(calc(100% - 80px), 1296px);
    margin-top: 122px;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
  }

  .about-page .about-process-item {
    min-height: 168px;
    padding-top: 10px;
  }

  .about-page .about-process-title {
    gap: 10px;
  }

  .about-page .about-process-title span {
    font-size: 3.3rem;
  }

  .about-page .about-process-title h3 {
    font-size: 1.35rem;
  }

  .about-page .about-process-item p {
    max-width: 350px;
    margin-top: 24px;
    font-size: .92rem;
    line-height: 1.75;
  }

  /* Missing image bridge from the reference page. */
  .about-page .about-image-band {
    width: 100%;
    height: clamp(470px, 31vw, 545px);
    position: relative;
    overflow: hidden;
    background: #0e1d27;
  }

  .about-page .about-image-band img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 56%;
    transform: scale(1.025);
    transition: transform 1.4s var(--ease-premium);
  }

  .about-page .about-image-band:hover img {
    transform: scale(1.055);
  }

  .about-page .about-image-band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,20,29,.22), rgba(5,20,29,.08) 50%, rgba(5,20,29,.24));
    pointer-events: none;
  }

  /* Testimonials */
  .about-page .about-testimonials {
    min-height: 680px;
  }

  .about-page .about-testimonials-inner {
    width: min(calc(100% - 80px), 1220px);
    padding: 105px 0 112px;
  }

  .about-page .about-testimonial-heading h2 {
    max-width: 830px;
    font-size: clamp(3.45rem, 3.8vw, 4.2rem);
  }

  .about-page .about-testimonial-stage {
    max-width: 1160px;
    margin: 72px auto 0;
    grid-template-columns: 170px minmax(0, 1fr) 170px;
  }

  .about-page .about-testimonial-track {
    min-height: 265px;
  }

  .about-page .about-testimonial-slide blockquote {
    max-width: 840px;
    font-size: clamp(1.75rem, 2vw, 2.15rem);
    line-height: 1.45;
  }

  .about-page .about-testimonial-person {
    margin-top: 38px;
    gap: 19px;
  }

  .about-page .about-testimonial-person img {
    width: 72px;
    height: 72px;
  }

  .about-page .about-testimonial-person strong {
    font-size: 1.18rem;
  }

  .about-page .about-testimonial-person span {
    margin-top: 5px;
    font-size: .68rem;
  }

  .about-page .about-testimonial-nav {
    height: 150px;
    font-size: .83rem;
  }

  /* Pricing */
  .about-page .about-pricing {
    padding: 252px 0 132px;
  }

  .about-page .about-pricing-layout {
    width: min(calc(100% - 80px), 1296px);
    grid-template-columns: minmax(0, 610px) minmax(0, 520px);
    gap: 150px;
  }

  .about-page .about-pricing-intro > p:not(.about-chip):not(.about-pricing-note) {
    max-width: 555px;
    margin: 40px 0 25px;
    font-size: 1rem;
    line-height: 1.72;
  }

  .about-page .about-pricing-note {
    margin-bottom: 32px;
    font-size: .92rem;
  }

  .about-page .about-pricing-intro .button {
    min-height: 52px;
    padding-inline: 34px;
    font-size: .78rem;
  }

  .about-page .about-pricing-accordion {
    gap: 16px;
  }

  .about-page .pricing-accordion-item {
    border-radius: 7px;
  }

  .about-page .pricing-accordion-trigger {
    min-height: 74px;
    padding: 0 34px;
    font-size: 1rem;
  }

  .about-page .pricing-accordion-item.is-open .pricing-accordion-panel {
    max-height: 310px;
    padding: 0 34px 32px;
  }

  .about-page .pricing-accordion-panel p {
    max-width: 420px;
    font-size: .9rem;
    line-height: 1.75;
  }

  .about-page .pricing-accordion-bottom {
    margin-top: 26px;
  }

  .about-page .pricing-accordion-bottom strong {
    font-size: 1.25rem;
  }

  .about-page .pricing-accordion-bottom small {
    font-size: .78rem;
  }

  .about-page .pricing-accordion-bottom .button {
    min-height: 44px;
    padding-inline: 30px;
    font-size: .7rem;
  }

  /* Footer */
  .about-page .about-footer .container {
    width: min(calc(100% - 80px), 1296px);
  }

  .about-page .about-footer-main {
    min-height: 350px;
    padding: 72px 0 58px;
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: 120px;
  }

  .about-page .about-footer h3 {
    margin-bottom: 28px;
    font-size: 1.35rem;
  }

  .about-page .about-footer p,
  .about-page .about-footer .footer-contact {
    font-size: .9rem;
    line-height: 1.8;
  }

  .about-page .about-footer .footer-socials {
    margin-top: 28px;
    gap: 11px;
  }

  .about-page .about-footer .footer-socials a {
    width: 50px;
    height: 50px;
    font-size: .83rem;
  }

  .about-page .about-footer-newsletter .newsletter-form {
    height: 55px;
    border-radius: 30px;
  }

  .about-page .about-footer-newsletter .newsletter-form input {
    padding: 0 25px;
    font-size: .86rem;
  }

  .about-page .about-footer-newsletter > .button {
    min-height: 50px;
    margin-top: 24px;
    padding-inline: 30px;
    border-radius: 26px;
    font-size: .72rem;
  }

  .about-page .about-footer-lower {
    min-height: 118px;
    gap: 50px;
  }

  .about-page .about-footer-brand {
    transform: scale(1);
  }

  .about-page .about-footer-lower nav {
    gap: 30px;
    font-size: .8rem;
  }

  .about-page .about-footer-up {
    font-size: 1.4rem;
  }

  .about-page .about-demo-toolbar {
    top: 205px;
  }

  .about-page .about-demo-toolbar a {
    width: 48px;
    height: 48px;
  }
}

/* Scale the same composition down without reverting to the old miniature layout. */
@media (min-width: 1101px) and (max-width: 1450px) {
  .about-page {
    --about-wide: 1180px;
    font-size: 14px;
  }

  .about-page .site-header {
    --header-height: 82px;
    height: 82px;
  }

  .about-page .site-header .container {
    width: min(calc(100% - 42px), 1320px);
  }

  .about-page .header-inner {
    grid-template-columns: 220px minmax(0, 1fr) auto;
    column-gap: 24px;
  }

  .about-page .brand-mark {
    width: 48px;
    height: 48px;
  }

  .about-page .brand-copy strong {
    font-size: 1.35rem;
  }

  .about-page .nav-list {
    gap: 20px;
  }

  .about-page .nav-link {
    min-height: 82px;
    font-size: .72rem;
  }

  .about-page .about-hero {
    min-height: 346px;
  }

  .about-page .about-hero-inner {
    padding-top: 82px;
  }

  .about-page .about-overview {
    padding: 92px 0 92px;
  }

  .about-page .about-overview-grid {
    grid-template-columns: 270px minmax(0, 1fr) 286px;
    column-gap: 48px;
    row-gap: 36px;
  }

  .about-page .about-primary-image img {
    height: 490px;
  }

  .about-page .about-overview-copy {
    padding-top: 38px;
  }

  .about-page .about-overview-copy h2,
  .about-page .about-pricing-intro h2,
  .about-page .about-testimonial-heading h2 {
    font-size: clamp(2.8rem, 3.45vw, 3.45rem);
  }

  .about-page .about-secondary-image {
    margin-top: 230px;
  }

  .about-page .about-secondary-image img {
    height: 320px;
  }

  .about-page .about-stat-panel {
    min-height: 160px;
  }

  .about-page .about-stat {
    min-height: 118px;
    padding-inline: 38px;
  }

  .about-page .about-stat strong {
    font-size: 2.45rem;
  }

  .about-page .about-process-grid {
    margin-top: 95px;
    gap: 46px;
  }

  .about-page .about-process-title span {
    font-size: 2.75rem;
  }

  .about-page .about-process-title h3 {
    font-size: 1.14rem;
  }

  .about-page .about-process-item p {
    font-size: .82rem;
  }

  .about-page .about-image-band {
    height: 430px;
  }

  .about-page .about-testimonials {
    min-height: 590px;
  }

  .about-page .about-testimonials-inner {
    padding: 82px 0 90px;
  }

  .about-page .about-testimonial-stage {
    margin-top: 54px;
    grid-template-columns: 140px minmax(0, 1fr) 140px;
  }

  .about-page .about-testimonial-track {
    min-height: 225px;
  }

  .about-page .about-testimonial-slide blockquote {
    max-width: 730px;
    font-size: clamp(1.45rem, 1.8vw, 1.75rem);
  }

  .about-page .about-pricing {
    padding: 180px 0 112px;
  }

  .about-page .about-pricing-layout {
    grid-template-columns: minmax(0, 520px) minmax(0, 450px);
    gap: 100px;
  }

  .about-page .pricing-accordion-trigger {
    min-height: 64px;
  }

  .about-page .about-footer-main {
    min-height: 310px;
    padding: 62px 0 48px;
    gap: 80px;
  }

  .about-page .about-footer-lower {
    min-height: 96px;
  }
}

@media (max-width: 1100px) {
  .about-page .about-image-band {
    width: 100%;
    height: 340px;
    position: relative;
    overflow: hidden;
  }

  .about-page .about-image-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-page .about-image-band-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,20,29,.12);
  }
}

@media (max-width: 700px) {
  .about-page .about-image-band {
    height: 250px;
  }
}

/* Preserve the two-line reference heading in the overview composition. */
@media (min-width: 1451px) {
  .about-page .about-overview-grid {
    grid-template-columns: 318px minmax(0, 550px) 338px;
    column-gap: 45px;
    justify-content: center;
  }

  .about-page .about-overview-copy h2 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1101px) and (max-width: 1450px) {
  .about-page .about-overview-grid {
    grid-template-columns: 250px minmax(0, 500px) 270px;
    column-gap: 40px;
    justify-content: center;
  }

  .about-page .about-overview-copy h2 {
    font-size: 3rem;
  }
}
