/* ============================================
   responsive.css — Media queries by breakpoint
   ============================================ */
@media (max-width: 1000px) {
  .header-inner {
    height: 86px;
  }
  .brand {
    width: 220px;
    flex-basis: 220px;
  }
  .primary-nav {
    gap: 20px;
  }
  .hero-content {
    grid-template-columns: 1fr .8fr;
    gap: 18px;
  }
  .hero h1 {
    font-size: clamp(54px, 8vw, 82px);
  }
  .visual-label {
    font-size: 11px;
  }
  .approach-layout {
    gap: 55px;
  }
  .contact-layout {
    gap: 50px;
  }
  .service-card {
    padding-right: 16px;
  }
  .service-card:not(:first-child) {
    padding-left: 16px;
  }
}
@media (max-width: 900px) {
  .header-inner {
    width: calc(100% - 36px);
    height: 76px;
    gap: 10px;
  }
  .brand {
    width: 200px;
    min-width: 0;
    max-width: none;
    flex: 0 1 200px;
  }
  .js .menu-toggle {
    display: flex;
    flex: 0 0 42px;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    cursor: pointer;
  }
  .js .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: auto;
    background: var(--ink);
    transition: transform .2s, opacity .2s;
  }
  .js .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }
  .js .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .js .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
  .js .primary-nav {
    position: absolute;
    z-index: 1;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: var(--surface-header);
    border-bottom: 1px solid var(--border-strong);
  }
  .js .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    animation: nav-enter .18s ease-out both;
  }
  .js .primary-nav>a {
    padding: 14px 5px;
    border-bottom: 1px solid var(--border);
  }
  .js .primary-nav .nav-cta {
    margin-top: 10px;
    padding: 13px 15px;
    border: 0;
  }
  .js .primary-nav [data-theme-toggle] {
    align-self: flex-start;
    margin: 12px 5px;
  }
  html:not(.js) .header-inner {
    height: auto;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  html:not(.js) .menu-toggle,
  html:not(.js) [data-theme-toggle] {
    display: none;
  }
  html:not(.js) .primary-nav {
    position: static;
    display: flex;
    flex: 1 0 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    padding: 12px 0 0;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 88px;
  }
  .container {
    width: min(100% - 40px, var(--container));
  }
  .header-inner {
    width: calc(100% - 36px);
    height: 76px;
    gap: 10px;
  }
  .brand {
    width: 200px;
    min-width: 0;
    max-width: none;
    flex: 0 1 200px;
  }
  .hero {
    min-height: 0;
  }
  .hero-content {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .hero-copy {
    max-width: 580px;
  }
  .hero h1 {
    font-size: clamp(55px, 12vw, 82px);
  }
  .hero-lead {
    font-size: 14px;
  }
  .hero-note {
    margin-top: 36px;
  }
  .hero-visual {
    width: min(78vw, 370px);
    margin: 22px auto 0;
  }
  .visual-caption {
    right: 2%;
    bottom: 12%;
  }
  .hero-bottom {
    padding-inline: 20px;
    font-size: 8px;
  }
  .hero-bottom span:nth-child(2) {
    display: none;
  }
  .trust-inner {
    min-height: 72px;
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-inner p {
    min-height: 36px;
    font-size: 12px;
  }
  .trust-inner p:nth-child(2) {
    border-right: 0;
  }
  .trust-inner p:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .22);
  }
  .section {
    padding: 78px 0;
  }
  .section-heading {
    display: block;
    margin-bottom: 35px;
  }
  .section-intro {
    margin-top: 22px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card {
    min-height: 300px;
    padding: 22px 18px 20px 0;
    border-bottom: 1px solid var(--border);
  }
  .service-card:not(:first-child) {
    padding-left: 18px;
  }
  .service-card:nth-child(2) {
    border-right: 0;
  }
  .service-card:nth-child(3), .service-card:nth-child(4) {
    border-bottom: 0;
  }
  .approach-section {
    padding: 75px 0;
  }
  .approach-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .approach-art {
    min-height: 0;
    aspect-ratio: 1.55;
  }
  .approach-art .approach-feature {
    gap: 20px;
    padding: 42px 16px;
  }
  .approach-art .approach-feature img {
    width: 105px;
  }
  .approach-copy h2 {
    font-size: clamp(48px, 10vw, 64px);
  }
  .contact-section {
    padding: 75px 0;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 42px;
  }
  .contact-copy,
  .contact-details,
  .contact-form {
    grid-column: 1;
    grid-row: auto;
  }
  .contact-copy h2 {
    font-size: clamp(56px, 11vw, 72px);
  }
  .contact-signoff {
    margin-top: 28px;
  }
  .contact-details {
    margin-top: 0;
  }
  .contact-form {
    padding: 23px 20px;
  }
  .footer-main {
    padding-block: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .footer-main nav {
    grid-column: 1/-1;
    flex-wrap: wrap;
    gap: 15px 22px;
  }
  .footer-main>p {
    justify-self: end;
  }
  .footer-bottom {
    gap: 10px;
    font-size: 7px;
  }
}
@media (max-width: 430px) {
  .brand {
    width: 175px;
    flex-basis: 175px;
  }
  .contact-details dl>div {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
  }
  .approach-art .approach-feature {
    gap: 13px;
  }
  .approach-art .approach-feature img {
    width: 83px;
  }
  .approach-copy h2 {
    font-size: clamp(38px, 10vw, 44px);
  }
  .contact-copy h2 {
    font-size: clamp(40px, 10vw, 50px);
  }
  .approach-feature p {
    font-size: 26px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .hero-bottom span:first-child {
    display: none;
  }
  .hero-bottom {
    justify-content: flex-end;
  }
  .trust-inner p { font-size: 11px; }
  .service-card {
    min-height: 325px;
  }
  .service-card p {
    font-size: 12px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-bottom .button {
    width: 100%;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 12px;
    font-size: 8px;
  }
}
@media (max-width: 370px) {
  .hero h1 {
    font-size: clamp(42px, 13vw, 48px);
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card,
  .service-card:not(:first-child) {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .service-card:last-child {
    border-bottom: 0;
  }
  .contact-copy h2 {
    font-size: clamp(32px, 10.5vw, 36px);
  }
  .approach-copy h2 {
    font-size: clamp(36px, 11vw, 40px);
  }
  .contact-form label {
    font-size: 11px;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }
  .form-bottom p {
    font-size: 11px;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-main>p {
    justify-self: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto!important;
    animation-duration: .01ms!important;
    animation-delay: 0s!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
    transition-delay: 0s!important;
  }
  .js-reveal {
    opacity: 1;
    transform: none;
  }
}
