@media (min-width: 981px) {
  :root {
    --ivory: var(--black-blue);
    --charcoal: var(--black-blue);
    --line: rgba(157, 163, 166, 0.72);
    --soft-line: rgba(157, 163, 166, 0.28);
    --header-height: 50px;
    --lookbook-top-gap: 100px;
    --lookbook-bottom-gap: 50px;
    --lookbook-frame-width: min(863.2px, 42.15vw);
    --lookbook-frame-height: calc(100vh - 150px);
    --right-rail-width: 454px;
    --side-drawer-width: 505px;
    --radius-large: 10px;
    --radius-small: 6px;
    --motion-sidebar: 1s ease-in-out;
    --motion-dropdown-duration: 500ms;
    --motion-dropdown-ease: linear;
    --motion-dropdown-fade-in: 800ms ease-in-out;
    --motion-dropdown-fade-out: 500ms linear;
  }

  html,
  body {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  body {
    background: var(--white);
    font-size: 16px;
    line-height: 24px;
    transition: background 1s;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: 500px 1fr 500px;
    width: 100vw;
    height: 50px;
    padding: 0 44px;
    overflow: hidden;
    background: var(--ivory);
    border-bottom: 0;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 0 0 1px;
  }

  .site-header .icon-button,
  .site-header #menuButton {
    color: var(--white);
  }

  .site-header .icon-button span,
  .site-header #menuButton span {
    background: var(--white);
  }

  .site-header .wordmark img {
    filter: brightness(0) invert(1);
  }

  .header-left,
  .header-actions {
    height: 50px;
    gap: 10px;
  }

  .header-left {
    justify-self: start;
    width: 500px;
    transform: translateY(0);
  }

  .header-actions {
    justify-self: end;
    width: 500px;
    gap: 20px;
    padding-top: 7px;
    transform: translateY(-2.5px);
  }

  .icon-button {
    width: 30px;
    height: 38px;
    padding: 10px 6px;
    border-radius: 0;
  }

  .icon-button span {
    width: 24px;
    height: 1px;
    margin: 3.2px 0;
  }

  .icon-button svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.25;
  }

  .rail-button {
    gap: 7px;
  }

  .rail-button span {
    flex: 0 0 1px;
    min-width: 1px;
    width: 1px;
    height: 18px;
    margin: 0;
  }

  .wordmark {
    justify-self: center;
    width: 150px;
    height: 50px;
    border-radius: 0;
  }

  .page-shell {
    position: absolute;
    inset: 0;
    height: 100vh;
    min-height: 100vh;
    padding: var(--lookbook-top-gap) 0 var(--lookbook-bottom-gap);
    overflow: hidden;
    background: var(--white);
    z-index: 0;
  }

  body:not(.route-home):not(.route-gallery) .page-shell {
    overflow: auto;
  }

  body.route-home .page-shell,
  body.route-gallery .page-shell {
    height: 100vh;
    min-height: 100vh;
  }

  .home-canvas,
  .studio-canvas,
  .product-stage {
    width: var(--lookbook-frame-width);
    height: var(--lookbook-frame-height);
    max-height: var(--lookbook-frame-height);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .content-box,
  .contact-box {
    width: var(--lookbook-frame-width);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .product-main,
  .product-main img,
  .studio-rendering {
    border-radius: 0;
  }

  .display-title {
    font-size: clamp(48px, 4.1vw, 84px);
    line-height: 0.98;
  }

  .intro-copy p {
    font-size: clamp(12px, 1.05vw, 21px);
    line-height: 1.38;
  }

  .drawer {
    top: 0;
    bottom: auto;
    z-index: 1110;
    width: 505px;
    height: 100vh;
    overflow: hidden auto;
    background: var(--white);
    border: 0;
    border-radius: 0;
    box-shadow: rgba(0, 0, 0, 0.1) -1px -1px 10px 0;
    transform: translateX(-100%);
    transition:
      transform 1s ease-in-out,
      opacity 0.8s ease-in-out;
  }

  .drawer.open {
    transform: translateX(0);
  }

  .drawer-inner {
    width: 505px;
    padding: 68px 47px 50px 50px;
  }

  .drawer-search {
    display: grid;
    grid-template-columns: 33px 1fr;
    align-items: center;
    width: 408px;
    margin: 0 0 24px;
  }

  .drawer-search svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--charcoal);
    stroke-width: 1.2;
  }

  .drawer-search span {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 9px 12px 4px;
    border: 1px solid rgb(222, 226, 230);
    border-radius: 6px;
    color: rgba(55, 49, 49, 0.68);
    font-size: 14px;
    line-height: 21px;
  }

  .category-toggle,
  .drawer-static button {
    width: 408px;
    min-height: 39px;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 0;
  }

  .category-toggle::before {
    width: 4px;
    height: 4px;
    margin-right: 8px;
    border-top-width: 1px;
    border-right-width: 1px;
    transition: transform 0.5s linear;
  }

  .category {
    width: 408px;
    border-bottom: 1px solid rgba(55, 49, 49, 0.14);
  }

  .category-panel {
    transition:
      height 0.5s linear,
      padding 0.5s linear,
      opacity 0.8s ease-in-out,
      visibility 0ms linear 0.5s;
  }

  .category.open .category-panel {
    padding: 0;
    transition:
      height 0.5s linear,
      padding 0.5s linear,
      opacity 0.8s ease-in-out,
      visibility 0ms linear 0ms;
  }

  .subcategory-grid {
    width: 408px;
    grid-template-columns: repeat(2, 194px);
    gap: 14px 12px;
    padding: 10px 4px 28px;
  }

  .subcategory-card {
    justify-self: center;
    width: 194px;
    aspect-ratio: 1 / 1;
    border: 0;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.3) 1px 1px 4px;
    padding: 0 10px 14px;
    transition: border-color 1.5s ease-out, box-shadow 1.5s ease-out;
  }

  .subcategory-card img {
    border-radius: 6px;
    transform-origin: center;
    transition: transform 1.5s ease-out;
  }

  .subcategory-card:hover img,
  .subcategory-card:focus-visible img {
    transform: scale(1.04);
  }

  .subcategory-card span {
    font-size: 16px;
    line-height: 24px;
  }

  .drawer-action-card.has-icon svg,
  .drawer-action-card.has-icon svg.brand-icon {
    width: 38px;
    height: 38px;
  }

  .right-rail {
    top: 100px;
    right: 50px;
    bottom: auto;
    left: auto;
    z-index: 1100;
    width: 454px;
    height: calc(100vh - 148px);
    max-height: none;
    overflow: hidden auto;
    background: var(--white);
    border: 0;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 5px 0;
    transform: translateX(calc(100% + 70px));
    transition:
      transform 1s ease-in-out,
      opacity 0.8s ease-in-out;
  }

  .right-rail.open {
    transform: translateX(0) !important;
  }

  .rail-header {
    position: sticky;
    top: 0;
    z-index: 200;
    min-height: 66px;
    height: 66px;
    padding: 4px 0 0;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 20px 20px 0 0;
    transition: opacity 0.2s;
  }

  .rail-header .close-button {
    top: 14px;
    right: 22px;
    font-size: 24px;
  }

  .rail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 0;
    padding: 16px 6px 24px;
    transition: opacity 0.2s ease-in-out;
  }

  .rail-card {
    justify-self: center;
    width: 135.33px;
    max-width: calc(100% - 12px);
    aspect-ratio: 135.33 / 169.16;
    border: 1px solid rgba(55, 49, 49, 0.14);
    background: var(--white);
    border-radius: 6px;
    box-shadow: none;
    overflow: hidden;
    transition:
      transform 1s,
      border-color 1s;
  }

  .rail-card:hover,
  .rail-card.active {
    transform: scale(1.01);
  }

  .rail-card img {
    border-radius: 6px;
  }

  .rail-card-caption {
    height: 199px;
    grid-template-rows: 169.16px 30px;
    padding-bottom: 0;
  }

  .rail-card-label {
    min-height: 30px;
    padding: 4px 0 1px;
    color: rgb(136, 136, 136);
    font-size: 16px;
    line-height: 24px;
  }

  .rail-card.active .rail-card-label {
    color: var(--charcoal);
  }

  .gallery-controls {
    display: none;
  }

  .gallery-arrow {
    width: 44px;
    height: 44px;
  }

  .gallery-arrow span {
    width: 16px;
    height: 16px;
    border-width: 2px;
  }

  .gallery-more-info {
    display: none;
  }

  .share-modal {
    width: 600px;
    height: 600px;
    min-height: 600px;
    margin: 0 auto;
    padding: 40px 40px 0;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 3px 0;
    transform: none;
  }

  .modal-backdrop {
    display: block;
    z-index: 3000;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    transition: opacity 1s ease-in-out, visibility 0ms linear 1s;
  }

  .modal-backdrop.open .share-modal {
    transform: none;
  }

  .share-options button {
    width: 70px;
    height: 68px;
    min-height: 68px;
    grid-template-rows: 30px 24px;
    gap: 5px;
    font-size: 16px;
    line-height: 24px;
  }

  .share-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
  }

  .share-options svg,
  .share-options svg.brand-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0;
  }

  .watermark {
    left: 26px;
    bottom: 28px;
    width: 72px;
  }
}
