.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.navbar-toggler {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.45rem;
  border-color: var(--line);
  border-radius: 999px;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  width: 1.15rem;
  height: 1.15rem;
}

.offcanvas {
  --bs-offcanvas-width: min(88vw, 420px);
  background: rgba(11, 11, 10, 0.98) !important;
  border-left: 1px solid var(--line) !important;
  backdrop-filter: blur(24px);
}

.offcanvas-header,
.offcanvas-body {
  padding: 1.25rem;
}

.mobile-nav {
  display: grid;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.55rem, 8vw, 2.2rem);
  letter-spacing: -0.05em;
  text-decoration: none;
}

.mobile-nav a span {
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

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

  .site-header {
    min-height: 4rem;
    padding: max(0.75rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) 0.75rem max(1rem, env(safe-area-inset-left));
  }

  .desktop-nav {
    display: none !important;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  .hero__visual {
    min-height: 38svh;
    order: 2;
    background-position: center 42%;
  }

  .hero__content {
    order: 1;
    padding: 3.5rem var(--gutter) 2.5rem;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .section__intro,
  .studio__heading {
    gap: 1.5rem;
  }

  .process-grid article {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1rem;
  }

  body {
    overflow-x: hidden;
  }

  .brand {
    font-size: 1.05rem;
  }

  .hero__content {
    padding-top: 2.75rem;
  }

  .hero__visual {
    min-height: 32svh;
  }

  .eyebrow {
    margin-bottom: 1rem;
    font-size: 0.66rem;
    line-height: 1.5;
  }

  .hero h1 {
    max-width: none;
    margin-bottom: 1.25rem;
    font-size: clamp(2.75rem, 13.5vw, 4rem);
    letter-spacing: -0.07em;
    line-height: 0.94;
  }

  .hero__lead {
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero__actions {
    gap: 0.6rem;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 3.4rem;
  }

  .btn--text {
    justify-content: space-between;
    padding-inline: 0;
  }

  .hero__note {
    gap: 0.35rem;
    margin-top: 2rem;
  }

  .service-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 0;
    overflow: visible;
    white-space: normal;
  }

  .service-strip span {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-block: 4.5rem;
  }

  .section__intro {
    margin-bottom: 2.75rem;
  }

  .section h2,
  .contact h2 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    line-height: 0.98;
  }

  .service {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1.5rem 0;
  }

  .service h3 {
    font-size: 1.55rem;
  }

  .service p {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .service__tag {
    grid-column: 2;
    width: max-content;
    margin-top: 0.25rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: normal;
  }

  .process-grid {
    border-left: 0;
  }

  .process-grid article {
    min-height: 0;
    padding: 1.5rem 0;
    border-right: 0;
  }

  .process-grid article > span {
    margin-bottom: 2rem;
  }

  .process-grid h3 {
    margin-top: 0;
  }

  .gallery {
    gap: 0.75rem;
  }

  .gallery img,
  .gallery__primary img {
    aspect-ratio: 4 / 3;
  }

  .contact {
    padding-block: 5rem;
  }

  .contact > p:not(.eyebrow) {
    margin-block: 1.5rem;
    line-height: 1.65;
  }

  .contact__actions {
    gap: 0.65rem;
  }

  .contact__actions .btn {
    min-height: 3.5rem;
  }

  .site-footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .socials {
    gap: 0.5rem;
  }

  .socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  .cookie-banner {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    left: max(0.75rem, env(safe-area-inset-left));
    width: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-button {
    min-height: 2.75rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.65rem;
  }

  .service-strip {
    grid-template-columns: 1fr;
  }
}
