@media (max-width: 1439px) {
  :root { --gutter: 32px; }
  .hero__stamp { right: 12%; }
  .hero__note { right: 3.5vw; }
}

@media (max-width: 1199px) {
  :root {
    --gutter: 28px;
    --section-space: clamp(72px, 8vw, 88px);
  }

  .desktop-nav { gap: 22px; }
  .hero h1 { font-size: clamp(48px, 6.1vw, 60px); }
  .hero__copy { width: min(490px, 48vw); }

  .gallery__viewport { padding-right: 8vw; }
  .category-card { flex-basis: min(42vw, 330px); width: min(42vw, 330px); height: 400px; }
  .gallery__status small { display: block; }
  .gallery__exit { display: none; }
  .gallery__footer { grid-template-columns: auto 1fr; }

  .notebook { min-height: 0; }
  .notebook__paper { inset: 19% 15% 12%; }
  .notebook__kicker { margin-bottom: 20px; }
  .steps { gap: 30px; }
  .steps li { grid-template-columns: 32px 1fr; gap: 12px; }
  .steps li > span { width: 30px; height: 30px; }
  .steps p { font-size: 14px; }

  .request-layout { grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); }
}

@media (max-width: 900px) {
  .site-header__inner { grid-template-columns: 1fr auto; }
  .desktop-nav,
  .header-cta { display: none; }

  .menu-toggle {
    justify-self: end;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-content: center;
    gap: 6px;
    border: 0;
    color: var(--text);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 21px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms var(--ease-ui);
  }

  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .mobile-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #151310;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .48);
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 220ms var(--ease-ui), opacity 180ms var(--ease-ui), transform 220ms var(--ease-ui);
  }

  .mobile-menu[hidden] { display: none; }
  .mobile-menu.is-open { max-height: 330px; opacity: 1; transform: translateY(0); }
  .mobile-menu nav { display: grid; padding: 12px; }
  .mobile-menu a:not(.button) { display: flex; min-height: 50px; padding: 0 10px; align-items: center; border-bottom: 1px solid rgba(74, 68, 61, .6); text-decoration: none; }
  .mobile-menu .button { width: 100%; margin-top: 12px; }

  .section-heading { grid-template-columns: 1fr; row-gap: 16px; }

  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-card { min-height: 100px; border-bottom: 1px solid var(--line); }
  .brand-card:nth-child(3n) { border-right: 0; }
  .brand-card:nth-last-child(-n + 3) { border-bottom: 0; }

  .request-layout { grid-template-columns: 1fr; }
  .request-aside { min-height: 380px; }
  .request-aside__photo img { object-position: center 57%; }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --header-top: 10px;
    --header-height: 60px;
    --section-space: 60px;
  }

  html { scroll-padding-top: 80px; }
  body { font-size: 16px; }

  .site-header { width: calc(100% - (var(--gutter) * 2)); }
  .site-header__inner { height: 60px; padding: 0 8px 0 16px; background: rgba(17, 16, 15, .98); }
  .site-header.is-compact .site-header__inner { height: 60px; }
  .brand-wordmark { font-size: 21px; }

  .hero {
    min-height: min(760px, 100svh);
    max-height: none;
  }

  .hero__picture { top: auto; bottom: 0; height: clamp(230px, 36svh, 300px); }
  .hero__picture img { transform: translateY(10px) scale(1.015); object-position: center 72%; transition: transform 400ms var(--ease-out); }
  .hero.is-ready .hero__picture img { transform: translateY(0) scale(1.015); }
  .hero__shade {
    background:
      linear-gradient(180deg, var(--deep) 0, var(--deep) 48%, rgba(9, 9, 9, .88) 60%, rgba(9, 9, 9, .2) 80%, var(--bg) 100%),
      linear-gradient(90deg, rgba(9, 9, 9, .56), rgba(9, 9, 9, .12));
  }

  .hero__light { display: none; }
  .hero__inner { align-items: flex-start; min-height: inherit; padding-top: 108px; padding-bottom: 250px; }
  .hero__copy { width: 100%; }
  .eyebrow { margin-bottom: 16px; font-size: 12px; }
  .hero h1 { max-width: 420px; font-size: clamp(36px, 10vw, 46px); line-height: 1.02; }
  .hero__lead { max-width: 440px; margin: 20px 0 22px; font-size: 16px; }
  .hero__cta { width: 100%; min-height: 50px; }
  .hero__explore { margin-top: 15px; }
  .hero__note { display: none; }
  .hero__stamp { top: auto; right: 10%; bottom: 18.5%; font-size: 17px; }
  .hero__next { display: none; }

  .section-heading { margin-bottom: 30px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .section-heading h2 { font-size: clamp(28px, 8vw, 32px); line-height: 1.08; }
  .section-heading > p:last-child { font-size: 16px; }

  .categories { padding-top: 58px; }
  .gallery__viewport { width: 100%; padding-right: 30px; padding-left: var(--gutter); }
  .gallery__track { gap: 14px; }
  .category-card { flex-basis: min(82vw, 330px); width: min(82vw, 330px); height: 350px; }
  .category-card__title { top: 18px; left: 18px; font-size: 23px; }
  .category-card__caption { bottom: 18px; left: 18px; }
  .category-card__arrow { right: 14px; bottom: 14px; }
  .gallery__footer { width: calc(100% - (var(--gutter) * 2)); grid-template-columns: auto 1fr; gap: 16px; margin-top: 18px; }
  .gallery__status { gap: 9px; }
  .gallery__status small { font-size: 12px; }
  .gallery__exit { display: none; }

  .section--compact { padding-block: 60px; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-card { min-height: 88px; padding: 14px 8px 12px; gap: 8px; }
  .brand-card img { width: min(84px, 78%); height: 30px; }
  .brand-card span { font-size: 13px; }
  .brand-card::after { bottom: 8px; }

  .section-heading--process { margin-bottom: 26px; }
  .notebook {
    aspect-ratio: auto;
    min-height: 0;
    overflow: visible;
    color: var(--ink);
    background: var(--paper);
    border-radius: 3px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .38);
    transform: translateY(10px);
    transition-duration: 350ms;
  }

  .notebook::before {
    position: absolute;
    z-index: 2;
    top: 12px;
    bottom: 12px;
    left: 11px;
    width: 8px;
    background: repeating-linear-gradient(180deg, transparent 0 12px, #4e4438 12px 16px, transparent 16px 28px);
    content: "";
    opacity: .65;
  }

  .notebook__image { display: none; }
  .notebook__paper { position: relative; inset: auto; display: block; padding: 26px 22px 30px 40px; }
  .notebook__page:first-child { padding-left: 0; }
  .notebook__kicker { display: none; }
  .notebook__page + .notebook__page { margin-top: 24px; }
  .steps { gap: 24px; }
  .steps li { grid-template-columns: 32px 1fr; gap: 13px; }
  .steps h3 { font-size: 20px; }
  .steps p { max-width: none; font-size: 14px; }
  .notebook__note { position: static; margin-top: 30px; font-size: clamp(23px, 7vw, 27px); transform: rotate(-1deg); }
  .notebook__note span { width: 100%; transition: none; }

  .request-form { padding: 26px 20px 24px; }
  .request-layout { gap: 18px; }
  .contact-toggle { max-width: none; }
  .contact-toggle button { min-height: 44px; }
  .field input { min-height: 48px; font-size: 16px; }
  .field textarea { min-height: 112px; font-size: 16px; }
  .photo-field { grid-template-columns: 1fr; gap: 12px; }
  .photo-previews,
  .photo-field > .field-error { grid-column: 1; }
  .file-button { justify-content: center; }
  .more-fields { grid-template-columns: 1fr; gap: 0; }
  .request-aside { min-height: 300px; }
  .request-aside__photo img { object-position: center 48%; }
  .request-aside__stamp { top: 53%; right: 8%; }
  .request-aside__note { bottom: 20px; font-size: 28px; }
  .form-success { min-height: 420px; }

  .site-footer__inner { grid-template-columns: 1fr; gap: 16px; align-items: start; min-height: 0; padding-top: 42px; padding-bottom: 118px; }
  .site-footer__hand { font-size: 22px; }
  .site-footer__meta { justify-self: start; align-items: flex-start; }

  .mobile-bottom-cta {
    position: fixed;
    z-index: 45;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent, rgba(9, 9, 9, .96) 20%);
    transform: translateY(100%);
    transition: transform 200ms var(--ease-ui);
    pointer-events: none;
  }

  .mobile-bottom-cta[hidden] { display: none; }
  .mobile-bottom-cta.is-visible { transform: translateY(0); pointer-events: auto; }
  .mobile-bottom-cta .button { width: 100%; min-height: 50px; }
  body.menu-open .mobile-bottom-cta,
  body.is-keyboard .mobile-bottom-cta,
  body.is-form-visible .mobile-bottom-cta { transform: translateY(100%); pointer-events: none; }
}

@media (max-width: 359px) {
  :root { --gutter: 16px; --section-space: 56px; }
  .brand-wordmark { font-size: 20px; }
  .hero { min-height: 690px; }
  .hero__inner { padding-top: 100px; padding-bottom: 220px; }
  .hero__picture { height: 225px; }
  .hero__lead { margin-block: 16px 18px; }
  .hero__explore { font-size: 13px; }
  .category-card { flex-basis: min(82vw, 300px); width: min(82vw, 300px); height: 320px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .brand-card:nth-child(2n) { border-right: 0; }
  .brand-card:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .brand-card:nth-last-child(-n + 2) { border-bottom: 0; }
  .request-form { padding-inline: 16px; }
  .notebook__paper { padding-right: 16px; padding-left: 34px; }
}

@media (max-height: 759px) and (min-width: 768px) {
  .hero { min-height: 680px; }
  .notebook { max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal,
  .notebook { transform: none; opacity: 1; }
  .categories__runway.is-pinned .categories__stage { position: relative; top: auto; }
  .categories__runway.is-pinned .gallery__viewport { width: min(100% - (var(--gutter) * 2), var(--container)); padding: 0; overflow-x: auto; }
  .gallery__track { transform: none !important; }
}
