@media (max-width: 1024px) {
  :root {
    --container: min(100vw - 40px, 1196px);
  }
}

@media (max-width: 1100px) {
  :root {
    --container: min(100vw - 40px, 1196px);
    --services-preview: 0px;
    --services-overflow-right: 0px;
  }

  .section-intro.split,
  .trust-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .faq-grid,
  .section-intro.split {
    gap: 32px;
  }

  .section-intro {
    margin-bottom: 36px;
  }

  .section-intro.split {
    align-items: start;
  }

  .section-intro.split p {
    max-width: 720px;
  }

  .trust-section,
  .services-section,
  .projects-section,
  .faq-section {
    padding-top: 96px;
    padding-bottom: 84px;
  }

  .hero-section {
    min-height: auto;
    padding: 148px 0 112px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-copy {
    max-width: 580px;
  }

  .hero-scroll {
    right: 14px;
  }

  .hero-kicker {
    font-size: clamp(56px, 7.2vw, 76px);
    line-height: 1.04;
  }

  .hero-content h1 {
    font-size: clamp(86px, 11vw, 118px);
    line-height: 0.96;
  }

  .hero-watermark {
    font-size: clamp(92px, 15vw, 180px);
    bottom: -10px;
  }

  .service-card {
    flex-basis: calc((100% - 24px) / 2);
    min-height: 430px;
  }

  .service-card-content h3 {
    font-size: 28px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .project-card-wide {
    grid-column: span 2;
  }

  .testimonial-shell {
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    gap: 12px;
  }

  .testimonial-quote {
    font-size: 22px;
    line-height: 1.55;
  }

  .faq-image {
    order: 2;
  }

  .faq-copy {
    order: 1;
  }

  .faq-image img {
    min-height: 480px;
  }

  .contact-section {
    padding: 84px 0 28px;
  }

  .contact-card {
    padding: 48px 38px 38px;
    border-radius: 34px;
  }

  .footer-inner {
    max-width: 100%;
    gap: 22px;
    margin-top: 34px;
    padding-top: 24px;
  }

  .footer-nav {
    gap: 18px;
  }

  .footer-copy {
    margin-left: 0;
  }

  .footer-wordmark {
    width: min(1500px, 150%);
    bottom: -26px;
    height: clamp(44px, 6vw, 92px);
    opacity: 0.24;
    z-index: -1;
  }
}

@media screen and (max-width: 1024px) {
  .page-banner h1 {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 60px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff;
  }

  .page-content h1 {
    margin: 0 0 22px;
    font-family: "Open Sans", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #121212;
  }

  .section-intro h2,
  .faq-copy h2,
  .contact-card h2 {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 38px;
    line-height: 48px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100vw - 32px, 1196px);
  }

  .site-header {
    inset: 12px 0 auto;
  }

  .header-shell {
    min-height: 62px;
    gap: 14px;
    padding: 8px 10px 8px 18px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand img {
    max-width: 190px;
    max-height: 34px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.14);
  }

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

  .nav-list {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-list a {
    font-size: 15px;
  }

  .header-cta {
    width: 100%;
  }

  .hero-scroll,
  .ghost-arrow {
    display: none;
  }

  .hero-section {
    padding: 136px 0 88px;
  }

  .hero-kicker {
    font-size: clamp(42px, 8vw, 62px);
    font-size: 42px;
    line-height: 50px;
  }

  .hero-content h1 {
    font-size: 52px;
    line-height: 60px;
  }

  h2 {
    font-size: 35px !important;
    line-height: 42px !important;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 17px;
  }

  .hero-content .btn {
    margin-top: 24px;
  }

  .section-intro h2,
  .faq-copy h2,
  .contact-card h2 {
    font-size: clamp(42px, 7vw, 58px);
    line-height: 1.08;
  }

  .section-intro p,
  .faq-copy p,
  .contact-lead,
  .contact-meta,
  .feature-body p,
  .project-card p {
    font-size: 16px;
  }

  .testimonial-section {
    padding: 28px 0 84px;
    border-radius: 38px 38px 0 0;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .testimonial-center {
    max-width: 100%;
    padding: 52px 28px 40px;
    border-radius: 34px;
    background: #eef5ff;
  }

  .testimonial-badge {
    width: 132px;
    margin: -92px auto 18px;
  }

  .testimonial-viewport {
    overflow: hidden;
  }

  .testimonial-quote {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.55;
  }

  .testimonial-content strong {
    font-size: 15px;
  }

  .testimonial-content span {
    font-size: 13px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-meta {
    line-height: 1.7;
  }

  .footer-inner {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-nav {
    justify-content: center;
    gap: 12px 16px;
  }

  .footer-copy {
    text-align: center;
    white-space: normal;
  }

  .page-banner {
    padding: 190px 0 72px;
  }

  .page-banner-kicker {
    font-size: 14px;
    letter-spacing: 0.14em;
  }

  .page-banner h1 {
    font-size: 42px;
    line-height: 50px;
  }

  .page-content {
    padding: 64px 0 70px;
  }

  .page-content h1 {
    font-size: 34px;
    line-height: 1.12;
  }

  .page-content h2 {
    font-size: 26px;
    line-height: 1.22;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100vw - 24px, 1196px);
    --services-preview: 0px;
    --services-overflow-right: 0px;
  }

  .btn {
    min-height: 46px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero-section {
    padding: 124px 0 72px;
  }

  .hero-kicker {
    margin-bottom: 6px;
    font-size: 36px;
    line-height: 1.05;
  }

  .hero-content h1 {
    font-size: 56px;
    line-height: 0.96;
    letter-spacing: -0.03em;
  }

  .hero-copy {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-watermark {
    left: 12px;
    right: 12px;
    bottom: 22px;
    max-width: none;
    font-size: 64px;
    white-space: normal;
    line-height: 0.88;
  }

  .trust-section,
  .projects-section,
  .faq-section,
  .services-section {
    padding-top: 0;
    padding-bottom: 30px;
  }

  .trust-section {
    margin-top: -20px;
  }

  .section-intro {
    gap: 14px;
    margin-bottom: 28px;
  }

  .section-intro h2,
  .faq-copy h2,
  .contact-card h2 {
    font-size: 25px;
    line-height: 35px;
  }

  .page-banner {
    padding: 150px 0 52px;
  }

  .page-banner-kicker {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .page-banner h1 {
    font-size: 30px;
    line-height: 40px;
  }

  .page-content {
    padding: 48px 0 56px;
  }

  .page-content h1 {
    font-size: 34px;
  }

  .page-content h2 {
    font-size: 24px;
  }

  .page-content p {
    font-size: 15px;
    line-height: 1.75;
  }

  .feature-item {
    grid-template-columns: 30px 1fr;
    gap: 14px;
    padding-bottom: 18px;
  }

  .feature-body h3 {
    font-size: 22px;
  }

  .services-rail {
    --service-gap: 18px;
  }

  .service-card {
    flex-basis: 86%;
    min-height: 390px;
  }

  .service-card-title {
    font-size: 20px;
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .service-card-content {
    padding-top: 12px;
  }

  .service-card-content h3 {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .service-card-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .rail-controls {
    gap: 18px;
    margin-top: 24px;
  }

  .rail-line::before {
    width: 72px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-card-wide {
    grid-column: auto;
  }

  .project-card img,
  .project-card-wide img {
    aspect-ratio: 1.18 / 1;
    height: 230px;
  }

  .project-card h3 {
    font-size: 22px;
    margin: 14px 0 8px;
  }

  .testimonial-section {
    padding: 22px 0 72px;
    border-radius: 28px 28px 0 0;
  }

  .testimonial-center {
    padding: 42px 18px 30px;
    border-radius: 26px;
  }

  .testimonial-badge {
    width: 102px;
    margin: -72px auto 14px;
  }

  .testimonial-quote {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 12px;
  }

  .testimonial-content strong {
    font-size: 14px;
  }

  .testimonial-content span {
    font-size: 12px;
  }

  .trust-image img,
  .faq-image img {
    min-height: 380px;
  }

  .faq-list {
    gap: 12px;
  }

  .faq-item.is-open {
    padding-bottom: 14px;
  }

  .faq-question {
    min-height: 80px;
    padding: 18px 18px 18px 20px;
    gap: 14px;
  }

  .faq-question-text {
    font-size: 17px;
  }

  .faq-icon {
    width: 38px;
    height: 38px;
  }

  .faq-item.is-open .faq-answer {
    padding: 0 20px 18px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-answer-inner {
    padding-top: 15px;
  }

  .contact-section {
    padding: 68px 0 22px;
  }

  .contact-card {
    padding: 34px 20px 26px;
    border-radius: 28px;
  }

  .gravity-form-shell .gform_wrapper.gravity-theme .gform_fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gravity-form-shell .gform_wrapper.gravity-theme input[type="text"],
  .gravity-form-shell .gform_wrapper.gravity-theme input[type="email"],
  .gravity-form-shell .gform_wrapper.gravity-theme input[type="tel"],
  .gravity-form-shell .gform_wrapper.gravity-theme select {
    min-height: 56px;
  }

  .gravity-form-shell .gform_wrapper.gravity-theme textarea {
    min-height: 140px;
  }

  .contact-meta span {
    display: block;
    width: 100%;
    margin: 6px 0;
    opacity: 0;
    height: 0;
  }

  .field input {
    min-height: 56px;
  }

  .field textarea {
    min-height: 132px;
  }

  .footer-inner {
    margin-top: 26px;
    padding-top: 22px;
  }

  .footer-nav {
    gap: 10px 14px;
  }

  .footer-wordmark {
    width: min(1280px, 172%);
    height: 54px;
    bottom: -18px;
    opacity: 0.18;
  }
}

@media (max-width: 767px) {
  .testimonial-section {
    padding-bottom: 29px;
  }

  section#faq {
    padding-top: 0;
    padding-bottom: 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --container: calc(100vw - 20px);
  }

  .site-header {
    inset: 8px 0 auto;
  }

  .header-shell {
    min-height: 56px;
    padding: 8px 10px 8px 14px;
    border-radius: 24px;
  }

  .brand img {
    max-width: 150px;
    max-height: 28px;
  }

  .site-nav {
    padding: 16px;
    border-radius: 20px;
  }

  .hero-section {
    padding: 112px 0 64px;
  }

  .hero-kicker {
    font-size: 30px;
  }

  .hero-content h1 {
    font-size: 46px;
  }

  .hero-watermark {
    font-size: 50px;
    bottom: 18px;
  }

  .gravity-form-shell {
    margin-top: 26px;
  }

  .gravity-form-shell .gform_wrapper.gravity-theme .gform_button {
    width: 100%;
    max-width: 188px;
  }

  .section-intro h2,
  .faq-copy h2,
  .contact-card h2 {
    font-size: 34px;
  }

  .services-section,
  .projects-section,
  .faq-section,
  .trust-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .service-card {
    flex-basis: 92%;
    min-height: 350px;
  }

  .service-card-overlay {
    padding: 24px 20px;
  }

  .testimonial-section {
    padding-bottom: 60px;
  }

  .testimonial-center {
    padding: 34px 16px 24px;
  }

  .testimonial-badge {
    width: 88px;
    margin: -64px auto 12px;
  }

  .testimonial-quote {
    font-size: 13px;
  }

  .faq-question {
    min-height: 72px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .faq-question-text {
    font-size: 16px;
    line-height: 1.4;
  }

  .faq-icon {
    width: 34px;
    height: 34px;
  }

  .faq-answer,
  .faq-item.is-open .faq-answer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .trust-image img,
  .faq-image img {
    min-height: 300px;
  }

  .contact-card {
    padding: 28px 16px 22px;
    border-radius: 24px;
  }

  .contact-lead,
  .contact-meta {
    font-size: 14px;
  }

  .footer-nav a,
  .footer-copy {
    font-size: 11px;
  }

  .footer-wordmark {
    width: 180%;
    bottom: -14px;
    height: 44px;
    opacity: 0.14;
  }
}

@media (max-width: 375px) {
  .hero-kicker {
    font-size: 26px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .section-intro h2,
  .faq-copy h2,
  .contact-card h2 {
    font-size: 26px !important;
    line-height: 38px !important;
  }

  .btn {
    min-height: 44px;
    padding: 0 18px;
    font-size: 13px;
  }

  .service-card {
    min-height: 330px;
  }

  .feature-body h3,
  .project-card h3 {
    font-size: 20px;
  }

  .testimonial-center {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-nav {
    gap: 8px 12px;
  }
}
