/* Responsive adaptations only. Desktop styles remain the source of truth. */

@media (max-width: 1100px) {
  .site-header {
    padding-right: 24px;
    padding-left: 24px;
  }

  .page {
    padding-right: 24px;
    padding-left: 24px;
  }

  .page > *,
  .product-page .product-content > * {
    min-width: 0;
  }

  .hero-video-wrap {
    width: min(100%, 900px);
  }

  .collection-intro,
  .about {
    gap: 26px;
  }

  .lookbook-grid {
    gap: 10px;
  }

  .site-footer {
    padding-right: 24px;
    padding-left: 24px;
  }

  #about {
    gap: clamp(28px, 4vw, 56px);
    padding-right: 24px;
    padding-left: 24px;
  }

  .product-page .product-content {
    max-width: 1050px;
    padding-right: 24px;
    padding-left: 24px;
    gap: 48px;
  }
}

/* Keep a full navigation row on wider tablets; the compact menu begins at 760px. */
@media (min-width: 761px) and (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
  }

  .site-header .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-header .nav-link {
    min-height: 0;
    padding: 5px 0;
    border: 0;
  }

  .site-header .header-meta {
    display: block;
  }

  .site-header .menu-button {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .shop-page .shop-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
    gap: 28px 20px;
  }

  .product-page .product-content {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  }

  .product-main-image {
    max-height: 72svh;
  }
}

/* Lookbook has its own editorial header and image systems. */
@media (min-width: 701px) and (max-width: 1100px) {
  .header {
    padding-right: 24px;
    padding-left: 24px;
  }

  .header nav {
    gap: 22px;
  }

  .season {
    padding-right: clamp(32px, 6vw, 72px);
    padding-left: clamp(32px, 6vw, 72px);
  }

  #looks {
    margin-right: clamp(32px, 6vw, 72px);
    margin-left: clamp(32px, 6vw, 72px);
  }

  .contact-six {
    width: 72%;
    margin-left: 4%;
  }

  .object {
    width: 82%;
    margin-right: 2%;
  }

  .sequence-four {
    width: 58%;
    margin-right: 5%;
  }

  .triptych {
    width: 74%;
    margin-left: 1%;
  }

  .campaign {
    width: 84%;
  }

  .contact-nine {
    width: 72%;
    margin-right: 3%;
  }
}

@media (max-width: 760px) {
  html {
    overflow-x: hidden;
  }

  body {
    min-width: 0;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 60px;
    padding: 12px 16px 10px;
  }

  .site-header .main-nav {
    top: 60px;
    right: 16px;
    left: 16px;
    padding: 6px 14px;
  }

  .site-header .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 0;
  }

  .site-header .menu-button {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 0 8px 8px;
  }

  .page {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    min-height: auto;
    gap: 18px;
    padding-top: 12px;
    padding-bottom: 56px;
  }

  .hero-video-wrap {
    width: 100%;
  }

  .hero-copy {
    width: min(100%, 320px);
    padding: 16px 0 24px;
    font-size: 11px;
    line-height: 1.7;
  }

  .hero-copy strong {
    margin-bottom: 18px;
  }

  .hero-copy .hero-discovery {
    margin-top: 24px;
  }

  .collection-intro {
    display: block;
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 46px;
  }

  .season-copy {
    margin-bottom: 28px;
    padding-left: 0;
    font-size: 11px;
    line-height: 1.35;
  }

  .collection-title .small-label {
    margin-bottom: 14px;
  }

  .collection-title h1 {
    font-size: clamp(25px, 8vw, 32px);
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 90px;
  }

  .feature-grid .visual {
    aspect-ratio: 4 / 5;
  }

  .lookbook-heading {
    display: block;
    padding: 48px 0 36px;
  }

  .lookbook-copy {
    width: 100%;
  }

  .lookbook-heading h2 {
    font-size: clamp(25px, 9vw, 34px);
  }

  .lookbook-heading p {
    max-width: 32em;
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.55;
  }

  .lookbook-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(7, minmax(150px, 50vw));
    gap: 8px;
  }

  .about {
    display: block;
    padding-top: 46px;
    padding-bottom: 76px;
  }

  #about {
    display: block;
    padding: 46px 0 72px;
  }

  #about > .small-label {
    display: block;
    margin-bottom: 28px;
    padding-top: 0;
  }

  #about .about-copy {
    max-width: 100%;
    margin: 0;
  }

  #about .about-copy p {
    max-width: 36em;
    font-size: 12px;
    line-height: 1.65;
  }

  #about .about-copy p + p {
    margin-top: 10px;
  }

  #about .about-copy .about-signature {
    margin-top: 32px;
    font-size: 10px;
    line-height: 1.7;
    letter-spacing: 0.12em;
  }

  .site-footer {
    display: block;
    padding: 18px 16px 25px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
  }

  .footer-nav .nav-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
  }

  .footer-meta {
    margin-top: 16px;
    text-align: left;
  }

  .product-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
    gap: 8px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 680px) {
  .shop-page .shop-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
    gap: 28px 14px;
    padding-right: 0;
    padding-left: 0;
  }

  .shop-page .collection-intro {
    padding-top: 48px;
    padding-bottom: 38px;
  }

  .shop-page .season-copy {
    margin-bottom: 28px;
  }

  .shop-page .shop-products {
    padding-bottom: 72px;
  }

  .product-page .product-content {
    display: flex;
    flex-direction: column;
    max-width: 640px;
    margin: 30px auto 72px;
    padding-right: 16px;
    padding-left: 16px;
    gap: 28px;
  }

  .product-gallery {
    width: 100%;
  }

  .product-info {
    position: static;
    padding-top: 0;
  }

  .product-info h1 {
    margin: 0 0 10px;
    font-size: 16px;
  }

  .product-info p {
    font-size: 12px;
    line-height: 1.65;
  }

  .product-main-image {
    max-height: none;
  }

  .product-thumbnails {
    gap: 10px;
    padding: 14px 2px 8px;
    margin-top: 8px;
  }

  .product-thumbnail {
    flex: 0 0 58px;
    min-height: 44px;
  }

  .product-thumbnail img {
    width: 58px;
    height: 72px;
  }

  .image-count {
    margin-top: 10px;
    text-align: left;
  }
}

/* Lookbook mobile navigation and image rhythm. */
@media (max-width: 700px) {
  .header {
    position: relative;
    min-height: 60px;
    padding: 0 16px;
  }

  .header nav {
    position: absolute;
    top: 60px;
    right: 16px;
    left: 16px;
    z-index: 20;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 6px 14px;
    border: 1px solid var(--line);
    background: var(--paper);
  }

  .header nav.is-open {
    display: flex;
  }

  .header nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .header nav a:last-child {
    border-bottom: 0;
  }

  .header .menu-button {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 0 8px 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .header .origin {
    display: none;
  }

  .season {
    padding: 28px 16px 24px;
  }

  #looks {
    margin-right: 16px;
    margin-left: 16px;
  }

  .study {
    gap: 8px;
    margin-bottom: clamp(90px, 24vw, 140px);
  }

  .contact-six {
    width: 100%;
    margin-left: 0;
  }

  .object {
    width: 94%;
    margin-right: auto;
    margin-left: auto;
  }

  .sequence-four {
    width: 100%;
    margin-right: 0;
  }

  .triptych {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    margin-left: 0;
  }

  .triptych .frame:nth-child(2) {
    margin-top: 24px;
  }

  .triptych .frame:nth-child(3) {
    grid-column: 1 / -1;
    width: 68%;
    margin: 0 auto;
  }

  .campaign {
    width: 100%;
  }

  .contact-nine {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 450px;
    margin-right: auto;
    margin-left: auto;
    gap: 10px;
  }

  .contact-nine .frame:nth-child(n + 7) {
    display: none;
  }

  .contact-nine .image-surface {
    aspect-ratio: 4 / 5;
  }

  .contact-nine .image-surface img {
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .archive {
    display: block;
    margin-right: 16px;
    margin-left: 16px;
    padding: 24px 0 36px;
  }

  .archive #archive-links {
    margin-top: 20px;
  }

  .archive a {
    min-height: 44px;
    padding: 12px 0;
  }

  body > footer:not(.site-footer) {
    padding: 24px 16px 30px;
  }

  body > footer:not(.site-footer) > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    align-items: end;
  }

  body > footer:not(.site-footer) > div a:last-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
  }
}

@media (min-width: 701px) {
  .header .menu-button {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-card img,
  .image-surface::after {
    transition: none;
  }
}

/* The HOME collage keeps its asymmetric composition on smaller screens. */
@media (max-width: 900px) {
  .page .lookbook-grid {
    gap: 6px;
  }
}

@media (max-width: 760px) {
  .page .lookbook-grid {
    grid-template-rows: repeat(7, minmax(160px, 48vw));
    gap: 6px;
  }

  .page .lookbook-grid .photo-1 { grid-column: 1; grid-row: 1 / 3; }
  .page .lookbook-grid .photo-2 { grid-column: 2; grid-row: 1 / 2; }
  .page .lookbook-grid .photo-3 { grid-column: 1 / 3; grid-row: 3 / 4; }
  .page .lookbook-grid .photo-4 { grid-column: 2; grid-row: 2 / 3; }
  .page .lookbook-grid .photo-5 { grid-column: 1; grid-row: 4 / 5; }
  .page .lookbook-grid .photo-6 { grid-column: 2; grid-row: 4 / 6; }
  .page .lookbook-grid .photo-7 { grid-column: 1; grid-row: 5 / 6; }
  .page .lookbook-grid .photo-8 { grid-column: 1 / 3; grid-row: 6 / 7; }
  .page .lookbook-grid .photo-9 { grid-column: 1 / 3; grid-row: 7 / 8; }
}

/* HOME uses the same first six Shopify photographs on every screen. */
.page .lookbook-grid{grid-template-rows:clamp(180px,18vw,250px) repeat(2,clamp(180px,19vw,260px))}
.page .lookbook-grid .photo-card{display:block}
.page .lookbook-grid .photo-1{grid-column:1/4;grid-row:1}
.page .lookbook-grid .photo-2{grid-column:4/7;grid-row:1}
.page .lookbook-grid .photo-3{grid-column:7/13;grid-row:1}
.page .lookbook-grid .photo-4{grid-column:1/7;grid-row:2/4}
.page .lookbook-grid .photo-5{grid-column:7/13;grid-row:2}
.page .lookbook-grid .photo-6{grid-column:7/13;grid-row:3}
@media(max-width:760px){
.page .lookbook-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(130px,39vw) repeat(2,minmax(125px,35vw));gap:14px 12px}
.page .lookbook-grid .photo-1{grid-column:1;grid-row:1}
.page .lookbook-grid .photo-2{grid-column:2;grid-row:1}
.page .lookbook-grid .photo-3{grid-column:3/5;grid-row:1}
.page .lookbook-grid .photo-4{grid-column:1/3;grid-row:2/4}
.page .lookbook-grid .photo-5{grid-column:3/5;grid-row:2}
.page .lookbook-grid .photo-6{grid-column:3/5;grid-row:3}
}

/* HOME: uncropped original ratios, equal-height editorial columns. */
.page .lookbook-grid{display:grid;grid-template-columns:0.4444444444fr 0.7336303143fr 0.4274176088fr;grid-template-rows:auto;aspect-ratio:auto;gap:clamp(24px,2.3vw,32px);align-items:start}
.page .lookbook-grid .home-photo-group{display:flex;flex-direction:column;gap:clamp(24px,2.3vw,32px);min-width:0}
.page .lookbook-grid .photo-card{display:block;flex:none;width:100%;height:auto;min-width:0;min-height:0;grid-column:auto;grid-row:auto;margin:0;padding:0;border:0;background:none;overflow:hidden}
.page .lookbook-grid .photo-1{aspect-ratio:1024/1536}
.page .lookbook-grid .photo-2{aspect-ratio:1672/941}
.page .lookbook-grid .photo-3{aspect-ratio:1672/941}
.page .lookbook-grid .photo-4{aspect-ratio:1448/1086}
.page .lookbook-grid .photo-5{aspect-ratio:1402/1122}
.page .lookbook-grid .photo-6{aspect-ratio:941/1672}
.page .lookbook-grid .photo-card img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transform:none;background:none}
.page .lookbook-grid .photo-card:hover img{transform:none}
@media(max-width:760px){
.page .lookbook-grid{grid-template-columns:minmax(0,1.2678504fr) minmax(0,1fr);gap:12px}
.page .lookbook-grid .home-photo-group{gap:12px}
.page .lookbook-grid .home-photo-group:nth-child(3){display:none}
}

/* Mobile HOME headings follow the existing restrained text hierarchy. */
@media(max-width:760px){
.page .collection-title h1,.page .lookbook-heading h2{font-size:22px;line-height:1.2;letter-spacing:-0.02em}
.page .lookbook-heading h2{margin-top:14px;margin-bottom:20px}
.page .lookbook-grid{width:100%;max-width:100%;justify-self:stretch}
}
