.menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 84px;
  }

  body {
    overflow-wrap: anywhere;
  }

  header:not(.mobile-nav-ready) {
    position: static;
  }

  nav {
    height: auto;
    min-height: 72px;
    gap: 12px;
    flex-wrap: wrap;
  }

  nav .brand {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    gap: 8px;
    font-size: 16px;
  }

  nav .logo {
    flex: 0 0 auto;
    width: clamp(48px, 15vw, 68px);
    height: auto;
    aspect-ratio: 235 / 185;
  }

  nav .links {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 8px 16px;
  }

  nav .links > a:not(.button) {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 700;
  }

  nav .links > a:hover {
    background: #e5ecd8;
  }

  .mobile-nav-ready .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #b9c8af;
    border-radius: 24px;
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
  }

  .menu-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"]::after {
    transform: translateY(2px) rotate(225deg);
  }

  .mobile-nav-ready .links {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    align-items: stretch;
    padding: 12px 5% 16px;
    background: var(--paper);
    border-bottom: 1px solid #dce1d3;
    box-shadow: 0 12px 16px #14372916;
  }

  .menu-toggle[aria-expanded="true"] + .links {
    display: flex;
    flex-direction: column;
  }

  nav .langs {
    align-self: flex-start;
  }

  .topline, .strip, .hero p, .hero-foot, .heading p, .card p, .note,
  .step p, .gallery figcaption, details p, label, form small, footer,
  .card a, .button, .textlink, .badge, a, button, input, select, textarea {
    font-size: 16px;
  }

  a, button, input, select, textarea, summary {
    min-width: 44px;
    min-height: 44px;
  }

  .textlink, footer > a:not(.brand), .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
  }

  .actions {
    flex-wrap: wrap;
  }

  .button {
    max-width: 100%;
    gap: 8px;
  }

  details {
    padding-block: 12px;
  }

  summary {
    padding-block: 10px;
  }

  .hero > *, .services > *, .gallery > *, .process > *, .contact > *, .form-grid > * {
    min-width: 0;
  }

  input, select, textarea {
    max-width: 100%;
  }

  img, video, iframe, embed, object, svg {
    max-width: 100%;
  }

  img, video {
    height: auto;
  }

  .badge {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    max-width: calc(100% - 32px);
  }

  footer {
    padding-bottom: 85px;
  }
}

@media (max-width: 760px) {
  .hero, .services, .gallery, .process, .contact, .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    font-size: clamp(40px, 10vw, 56px);
  }

  .photo, .visual.lawn {
    height: auto;
    aspect-ratio: 1080 / 760;
  }

  .photo {
    border-top-left-radius: clamp(56px, 14vw, 100px);
  }

  .hero-stamp {
    top: 12px;
    right: 12px;
    width: 78px;
    height: 78px;
  }

  .tag {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }

  .strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    text-align: center;
    letter-spacing: 0.03em;
  }

  .strip > span:nth-child(even) {
    display: none;
  }

  .contact {
    padding: clamp(16px, 5vw, 25px);
  }

  .contact form {
    padding: clamp(12px, 4vw, 18px);
  }
}
