@media (max-width: 1100px) {
  .collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-split--inset {
    width: calc(100% - 40px);
  }
}

@media (max-width: 980px) {
  .cd-nav-toggle {
    display: grid;
    place-items: center;
    position: relative;
    z-index: 45;
  }
  .cd-header__logo,
  .cd-header__tools {
    z-index: 45;
  }
  body.cd-nav-open .cd-header {
    color: var(--cd-ink);
  }

  .home-split {
    width: min(1180px, calc(100% - 32px));
  }
  .home-split__copy {
    padding: 28px 7%;
  }
  .home-split__copy h2 {
    font-size: clamp(22px, 2.6vw, 30px);
  }
  .home-split .cd-btn {
    letter-spacing: 0.12em;
  }

  .cd-nav {
    position: fixed;
    inset: 0;
    background: #fff;
    color: var(--cd-ink);
    transform: translateX(-105%);
    transition: transform 0.3s ease;
    padding: 110px 28px 40px;
    overflow: auto;
    z-index: 30;
  }

  .cd-nav.is-open {
    transform: none;
  }
  body.cd-nav-open .cd-nav-toggle__icon {
    background: transparent;
  }
  body.cd-nav-open .cd-nav-toggle__icon::before {
    top: 0;
    transform: rotate(45deg);
  }
  body.cd-nav-open .cd-nav-toggle__icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .cd-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .cd-nav__row {
    justify-content: space-between;
    border-bottom: 1px solid var(--cd-line);
  }
  .cd-nav__link {
    font-size: 16px;
    letter-spacing: 0.12em;
    padding: 16px 0;
  }
  .cd-nav__item:not(.cd-nav__item--has-sub) .cd-nav__link {
    display: block;
    border-bottom: 1px solid var(--cd-line);
  }

  .cd-nav {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .cd-nav__subtoggle {
    width: 44px;
    height: 44px;
    flex: none;
  }

  .cd-nav__subtoggle::before {
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -3px;
    transition: transform 0.3s ease;
  }

  .cd-nav__item.is-open > .cd-nav__row .cd-nav__subtoggle::before {
    transform: rotate(225deg);
    margin-top: -2px;
  }

  .cd-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    padding: 0;
    min-width: 0;
    width: auto;
    border-radius: 0;
    border-top: 0;
  }

  .cd-nav__item.is-open > .cd-dropdown {
    display: block;
  }

  .cd-dropdown--mega {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    max-width: 100%;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    transition:
      grid-template-rows 0.4s ease,
      opacity 0.3s ease,
      padding 0.4s ease;
  }

  .cd-dropdown--mega > .cd-mega,
  .cd-dropdown--mega > .cd-edu {
    min-height: 0;
    overflow: hidden;
  }

  .cd-nav__item.is-open > .cd-dropdown--mega {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    padding: 6px 0 16px;
  }

  .cd-mega,
  .cd-edu {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .cd-mega {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 8px;
    align-items: start;
  }

  .cd-edu {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }

  .cd-mega__title {
    margin: 10px 0 4px;
    padding-top: 14px;
    border-top: 1px solid #ece8e3;
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .cd-mega__col:first-child .cd-mega__title {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .cd-mega__col {
    min-width: 0;
    padding: 0;
    border-left: 0;
    border-top: 0;
  }

  .cd-mega__col:first-child {
    padding-left: 0;
  }

  .cd-dropdown .cd-mega__row {
    align-items: center;
    min-height: 48px;
    gap: 10px;
    padding: 12px 0;
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .cd-dropdown .cd-mega__row img,
  .cd-dropdown .cd-mega__row svg {
    flex: none;
  }

  .cd-dropdown .cd-mega__row > span {
    flex: 1;
    min-width: 0;
    white-space: normal;
  }

  .cd-edu {
    gap: 18px 16px;
  }

  .cd-edu__media {
    aspect-ratio: 1;
  }

  .cd-edu__media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }

  .cd-edu__label {
    margin-top: 10px;
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1.3;
  }

  .cd-edu__label svg {
    width: 22px;
    height: 22px;
    flex: none;
  }

  .collection-hero,
  .product-layout,
  .story-grid,
  .story-grid--reverse,
  .contact-layout,
  .edu-block {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .collection-hero {
    padding-top: 130px;
  }
  .collection-hero__art {
    justify-self: start;
    width: 180px;
  }
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cd-footer__inner {
    width: min(100% - 64px, 860px);
  }
  .cd-footer__main {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 0;
    padding: 52px 0 0;
  }
  .cd-footer__brand {
    width: 100%;
    padding-bottom: 28px;
    border-bottom: 1px solid #2a2a2a;
  }
  .cd-footer__brand img {
    width: 176px;
  }
  .cd-footer__social {
    margin-top: 18px;
  }
  .cd-footer__cols {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
    justify-items: center;
    text-align: center;
    padding: 36px 6% 32px;
  }
  .cd-footer__col h2,
  .cd-footer__col a {
    text-align: center;
  }
  .cd-footer__bar {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "copy legal"
      "powered powered";
    gap: 12px 24px;
    align-items: center;
    padding: 18px 72px 28px 0;
    font-size: 12px;
    text-align: left;
  }
  .cd-footer__bar p:first-child {
    grid-area: copy;
    text-align: left;
  }
  .cd-footer__legal {
    grid-area: legal;
    justify-content: flex-end;
    gap: 0;
  }
  .cd-footer__legal a + a::before {
    content: "|";
    margin: 0 12px;
    color: #5c5c5c;
  }
  .cd-footer__powered {
    grid-area: powered;
    text-align: center;
    margin-top: 4px;
  }
  .home-vision {
    min-height: 540px;
  }
  .home-vision__copy {
    padding: 72px 0;
  }
  .home-vision__copy h2 {
    font-size: clamp(32px, 5vw, 46px);
  }
}

@media (max-width: 640px) {
  .cd-header__inner {
    padding: 0 12px;
  }
  .cd-header__logo {
    padding: 8px 10px;
    border-radius: 0px 0px 12px 12px;
  }
  .cd-header__logo img {
    width: 78px;
  }
  .collection-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .collection-toolbar__filters,
  .collection-toolbar__sort {
    flex-wrap: wrap;
  }
  .collection-grid {
    width: calc(100% - 24px);
    gap: 10px;
  }
  .collection-card,
  .collection-card__link,
  .collection-promo {
    min-height: 280px;
  }
  .collection-card__name {
    font-size: 10px;
  }
  .page-section {
    width: calc(100% - 32px);
  }
  .home-split--inset {
    width: calc(100% - 24px);
  }
  .cd-nav {
    padding: 100px 20px 36px;
  }

  .cd-mega {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
  }

  .cd-edu {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }

  .cd-mega__title {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #ece8e3;
  }

  .cd-mega__col:first-child .cd-mega__title {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .cd-dropdown .cd-mega__row {
    min-height: 48px;
  }

  .cd-edu__label {
    font-size: 10px;
    letter-spacing: 0.06em;
    gap: 6px;
  }
  .home-intro {
    padding: 56px 20px 28px;
  }
  .home-intro h1 {
    font-size: 32px;
  }
  .home-split {
    width: 100%;
    grid-template-columns: 1fr;
  }
  .home-split__media {
    order: -1;
    aspect-ratio: 1.25 / 1;
  }
  .home-split__copy {
    padding: 36px 20px 42px;
  }
  .home-split .cd-btn {
    letter-spacing: 0.12em;
  }
  .home-vision {
    min-height: 480px;
  }
  .home-vision__copy {
    width: calc(100% - 32px);
    padding: 56px 0;
  }
  .home-vision__copy .cd-eyebrow {
    letter-spacing: 0.28em;
    font-size: 11px;
  }
  .home-vision__copy p {
    font-size: 14px;
  }
  .cd-footer__inner {
    width: min(100% - 48px, 420px);
  }
  .cd-footer__main {
    padding: 40px 0 0;
  }
  .cd-footer__brand {
    padding-bottom: 22px;
  }
  .cd-footer__brand img {
    width: 158px;
  }
  .cd-footer__social {
    margin-top: 14px;
    font-size: 13px;
  }
  .cd-footer__cols {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 32px;
    padding: 32px 0 28px;
  }
  .cd-footer__col h2 {
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: 0.22em;
  }
  .cd-footer__col a {
    font-size: 14px;
    padding: 6px 0;
  }
  .cd-footer__bar {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "legal"
      "powered";
    justify-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 0 28px;
    font-size: 12.5px;
  }
  .cd-footer__bar p:first-child,
  .cd-footer__legal,
  .cd-footer__powered {
    text-align: center;
    justify-content: center;
  }
  .cd-footer__powered {
    margin-top: 2px;
  }
}
