/* A — a cinematic campaign, followed by a quiet product gallery. */
.theme-a .a-header-actions>a{border-bottom:1px solid #fff8;padding-block:8px;font-size:13px}
.theme-a .a-campaign h1{font-size:clamp(42px,5.5vw,82px);font-weight:400;line-height:1.05;max-width:1050px;margin:22px auto 34px}
.theme-a .a-campaign>p{font-size:12px;letter-spacing:.25em}
.theme-a .a-campaign>a{display:inline-block;font-size:12px;letter-spacing:.08em;padding:10px 0;border-color:#fff8;transition:letter-spacing .25s}
.theme-a .a-campaign>a:hover{letter-spacing:.15em}
.theme-a .collection{padding:90px 6vw 100px;background:#fff;color:#1f211d}
.theme-a .section-heading{border-color:#ddd;padding-bottom:24px}
.theme-a .section-heading .eyebrow{font-size:11px;letter-spacing:.16em;color:#666;margin-bottom:14px}
.theme-a .collection h2{font:400 clamp(42px,4.5vw,64px)/1.05 Georgia,serif;letter-spacing:-.05em}
.theme-a .result-count{font-size:12px;color:#666}
.theme-a .product-grid{gap:46px 32px}
.theme-a .product-media{aspect-ratio:1/1.08}
.theme-a .product-info{border-top:1px solid #eee;margin-top:12px;padding-top:16px;display:flex;align-items:start;justify-content:space-between;gap:16px}
.theme-a .product-info h3{font:400 17px/1.3 Georgia,serif;letter-spacing:0;margin:0}
.theme-a .price{white-space:nowrap;font-size:13px}
.theme-a .price small{display:block;text-align:right;font-size:10px;margin:3px 0 0}
.theme-a .filters{gap:25px;margin:26px 0 36px}
.theme-a .filters button{font-size:12px;color:#666;min-height:44px}
.theme-a .filters button[aria-pressed=true]{color:#111}
.theme-a .a-detail-story{display:grid;grid-template-columns:1.05fr 1fr;background:#e9e8e2;color:#262820;align-items:stretch}
.theme-a .a-detail-photo{overflow:hidden;min-width:0}
.theme-a .a-detail-photo img{width:100%;height:100%;aspect-ratio:1;object-fit:cover;object-position:55% 62%}
.theme-a .a-detail-copy{align-self:center;padding:60px 12%}
.theme-a .a-detail-copy .eyebrow{font-size:11px;letter-spacing:.14em}
.theme-a .a-detail-copy h2{font:italic 400 clamp(40px,5vw,76px)/1 Georgia,serif;letter-spacing:-.05em;margin:30px 0}
.theme-a .a-detail-copy>p:not(.eyebrow){font-size:14px;line-height:1.9;margin-bottom:30px}
.theme-a .a-detail-copy>a{display:inline-block;font-size:12px;letter-spacing:.08em;padding-bottom:8px;border-bottom:1px solid}
.theme-a .visual{background:#191b18;padding:85px 6vw 50px}
.theme-a .visual .section-heading{border-color:#ffffff30}.theme-a .visual .section-heading>span{font-size:12px;letter-spacing:.08em;color:#aaa}
.theme-a .visual h2{font:italic 400 clamp(35px,4vw,58px)/1.05 Georgia,serif;letter-spacing:-.035em}
.theme-a .visual-grid{grid-template-columns:1.3fr 1fr;gap:24px}
.theme-a .visual-grid .look:first-child{grid-row:span 2}.theme-a .visual-grid .look:first-child img{height:100%;aspect-ratio:auto;object-position:55% 50%}
.theme-a .visual-grid .look:not(:first-child) img{aspect-ratio:4/3;object-position:50% 28%}
.theme-a .a-brand-story{padding:65px 20px 75px}.theme-a .a-brand-story p{color:#b7b9b2;font-size:14px}
.theme-a footer{border-color:#ffffff30;color:#b7b9b2;font-size:12px}
@media(max-width:1000px){.theme-a .a-header-actions>a{display:none}.theme-a .product-info{display:block}.theme-a .price small{text-align:left}.theme-a .price{margin-top:10px}}
@media(max-width:650px){.theme-a .a-campaign{bottom:16%}.theme-a .a-campaign h1{font-size:clamp(41px,10vw,60px);max-width:420px}.theme-a .a-campaign>p{font-size:10px;letter-spacing:.14em}.theme-a .collection{padding:55px 18px 60px}.theme-a .product-grid{gap:32px 16px}.theme-a .product-info h3{font-size:16px}.theme-a .a-detail-story{grid-template-columns:1fr}.theme-a .a-detail-photo img{aspect-ratio:5/4;object-position:55% 60%}.theme-a .a-detail-copy{padding:38px 25px 44px}.theme-a .a-detail-copy h2{font-size:50px;margin:20px 0}.theme-a .visual{padding:55px 18px 30px}.theme-a .visual-grid{gap:14px}.theme-a .visual-grid .look:first-child{grid-row:auto;grid-column:1/-1}.theme-a .visual-grid .look:first-child img{aspect-ratio:4/3;object-position:50% 35%}.theme-a .visual-grid .look:not(:first-child) img{aspect-ratio:3/4}.theme-a .a-brand-story{padding-top:40px}}
@media(prefers-reduced-motion:reduce){.theme-a *{animation:none!important;transition:none!important}}

/* Refine the selected direction for touch browsing. */
.theme-a .a-hero-links{display:flex;justify-content:center;align-items:center;gap:28px}.theme-a .a-hero-links a{font-size:12px;letter-spacing:.08em;border-bottom:1px solid #fff8;min-height:44px;display:inline-flex;align-items:center;transition:border-color .25s}.theme-a .a-hero-links a:hover{border-color:white}
.theme-a .a-product-meta{font-family:Arial,sans-serif;font-size:12px;line-height:1.6;color:#777;margin-top:8px}.theme-a .a-product-meta span{display:block;font-size:11px;margin-top:3px}
.theme-a #product-dialog{background:#faf9f6}.theme-a #product-dialog .detail-copy h2{font:400 clamp(28px,3vw,40px)/1.15 Georgia,serif;letter-spacing:-.03em}.theme-a #product-dialog .detail-image{background:white}.theme-a #product-dialog .note{font-size:12px}.theme-a .detail-buy{border-color:#d8d8d0}.theme-a .demo-sizes button{background:transparent}.theme-a .demo-sizes button[aria-pressed=true]{background:#1c211a}
@media(max-width:650px){.theme-a .filters{flex-wrap:nowrap;overflow-x:auto;gap:24px;scrollbar-width:none;padding-bottom:6px;margin-bottom:22px}.theme-a .filters::-webkit-scrollbar{display:none}.theme-a .filters button{white-space:nowrap;flex-shrink:0;font-size:13px}.theme-a .a-hero-links{gap:26px}.theme-a .a-product-meta{font-size:11px}.theme-a .a-campaign{bottom:15%}}
.theme-a .visual-grid .look:last-child{display:block}
.theme-a #product-dialog{padding-bottom:max(24px,env(safe-area-inset-bottom))}
/* Cinematic pacing, without taking over native scrolling. */
.theme-a .a-pictures{transform:none}
.theme-a .a-pictures img{animation:none}
.theme-a .a-hero:after{background:linear-gradient(180deg,#0005,transparent 40%,#0009)}
.theme-a .a-scroll:before{content:'';display:block;width:1px;height:28px;background:linear-gradient(transparent,#fff);margin:0 auto 12px;animation:a-scroll-line 2.4s ease-in-out infinite;transform-origin:top}
@keyframes a-scroll-line{0%,100%{transform:scaleY(.45);opacity:.3}50%{transform:scaleY(1);opacity:1}}
.theme-a .product-card .product-media{transition:box-shadow .5s}.theme-a .product-card:hover .product-media{box-shadow:0 16px 35px #2221}
.theme-a .product-card .product-info{transition:border-color .45s}.theme-a .product-card:hover .product-info{border-color:#777}
.theme-a .a-detail-photo img{transition:transform 1.4s cubic-bezier(.2,.7,.2,1)}.theme-a .a-detail-photo:hover img{transform:scale(1.035)}
.theme-a .a-brand-story{position:relative}.theme-a .a-brand-story:before{content:'';display:block;width:42px;height:1px;background:#ffffff50;margin:0 auto 50px}
@media(prefers-reduced-motion:reduce){.theme-a .a-pictures{transform:none;will-change:auto}.theme-a .a-scroll:before{animation:none}.theme-a .product-card:hover .product-media{box-shadow:none}}
/* Refined monochrome gallery proportions. */
.theme-a .a-campaign h1{font-size:clamp(42px,4.5vw,68px);letter-spacing:-.04em;max-width:980px}
.theme-a .a-campaign>p {
  letter-spacing: .2em;
  font-size: 11px;
  text-align: center;
  /* Balance the tracking added after the last character. */
  text-indent: .2em;
}
.theme-a .product-info{display:block;border-top:0;text-align:center;padding-top:14px;margin-top:0}
.theme-a .product-info h3{font:400 13px/1.6 Arial,sans-serif;letter-spacing:.06em}
.theme-a .a-product-meta{display:none}.theme-a .product-info .price{font-size:14px;margin-top:7px;color:#555}.theme-a .product-info .price small{display:inline;font-size:10px;margin-left:6px}
.theme-a .product-grid{gap:55px 38px}.theme-a .product-media{aspect-ratio:1/1.13}
.theme-a .a-detail-story{background:#e7e8e5}.theme-a #product-dialog{background:white}.theme-a .a-scroll{font-size:10px;letter-spacing:.15em}
@media(max-width:650px){.theme-a .a-header .wordmark{width:190px}.theme-a .a-campaign h1{font-size:43px;line-height:1.12;max-width:330px}.theme-a .product-grid{gap:34px 18px}.theme-a .product-info h3{font-size:12px;letter-spacing:.025em}.theme-a .product-info .price{font-size:13px}.theme-a .collection{padding-top:62px}.theme-a .a-hero-links a{font-size:11px;letter-spacing:.1em}}

/* Product and denim detail motion. */
@media (prefers-reduced-motion: no-preference) {
  .theme-a #product-dialog[open] .detail-copy {
    animation: detail-arrive 320ms ease-out both;
  }
  .theme-a .product-card:active .product-media {
    scale: .985;
  }
  .theme-a .product-media {
    transition: scale 180ms ease-out, box-shadow 350ms;
  }
  @supports (animation-timeline: view()) {
    .theme-a .a-detail-photo img {
      animation: denim-focus linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .theme-a .product-card .alternate {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 480ms cubic-bezier(.2,.8,.2,1), opacity 200ms;
  }
  .theme-a .product-card:is(:hover,:focus-visible) .alternate {
    clip-path: inset(0);
    opacity: 1;
  }
}
@keyframes detail-arrive {
  from {opacity:.5;translate:0 10px}
  to {opacity:1;translate:0 0}
}
@keyframes denim-focus {
  from {scale:1.09}
  to {scale:1}
}

.theme-a footer.a-signoff {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0 24px;
  background: #101111;
  color: #eee;
  padding: 0 5% 80px;
  border: 0;
  font: 11px/1.5 Arial, sans-serif;
  letter-spacing: .07em;
}
.theme-a .a-signoff-brand {
  width: 100%;
  border-top: 1px solid #2e3030;
  padding: 32px 0 10px;
}
.theme-a .a-signoff-brand .wordmark {
  display: block;
  width: 168px;
  filter: brightness(0) invert(1);
}
.theme-a .a-signoff > a:not(.a-signoff-brand) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.theme-a .a-signoff small {
  width: 100%;
  margin: 8px 0 0;
  color: #999;
  font-size: 10px;
}

.theme-a #denim-story .a-detail-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  transform: none;
}
.theme-a #denim-story .a-detail-copy {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  align-content: center;
  overflow: hidden;
}
.theme-a #denim-story .a-detail-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("assets/logo-symbol-outline.svg") right -2rem center / auto 90% no-repeat;
  opacity: .08;
  pointer-events: none;
}

.theme-a .a-footer-row { display:flex; width:100%; align-items:center; justify-content:space-between; }
.theme-a .a-footer-row small { width:auto; margin:0; }
.a-social { display:flex; align-items:center; }
.a-social a { display:grid; place-items:center; width:56px; height:56px; }
.a-social svg { width:44px; height:44px; }
.a-social a:not([href]) { opacity:.5; cursor:default; }
.a-social a[href]:focus-visible { outline:1px solid currentColor; }

.theme-a .a-detail-copy > [data-category-link] {
  --denim-fill: 0%;
  padding: 12px 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  border-color: #242622;
  background: linear-gradient(#242622, #242622) bottom / 100% var(--denim-fill) no-repeat;
  transition: background-size 180ms ease-out, color 150ms ease-out;
}
@media (hover: hover) {
  .theme-a .a-detail-copy > [data-category-link]:hover {
    --denim-fill: 100%;
    color: white;
  }
}
.theme-a .a-detail-copy > [data-category-link]:is(:active, :focus-visible) {
  --denim-fill: 100%;
  color: white;
  transition-duration: 0s;
}
.theme-a .a-detail-copy > [data-category-link]:focus-visible {
  outline: 2px solid #242622;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .theme-a .a-detail-copy > [data-category-link] { transition: none; }
}

.theme-a .visual-grid .look.a-womens-look img { display:block; width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; object-position:center; }

.theme-a .a-paired-portraits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  width: min(100%, 68svh);
  justify-self: center;
}
.theme-a .visual-grid .look.a-joined-look { display:block; grid-area:auto; }
.theme-a .visual-grid .look.a-joined-look img {
  display:block; width:100%; height:auto; aspect-ratio:1108 / 2954; object-fit:contain;
}

.theme-a #visual .visual-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(10px,2vw,24px);
  align-items: start;
}
.theme-a #visual .visual-grid > .look { grid-area:auto; display:block; }
.theme-a #visual .visual-grid > .look img {
  display:block; width:100%; height:auto; aspect-ratio:3/4; object-fit:cover;
}

.theme-a .a-campaign h1 span {display:inline-block;}
@media (max-width:700px) {
  .theme-a .a-campaign h1 span {display:block;}
}

.theme-a .cover-panel {position:relative; min-width:0; min-height:0;}
.theme-a .cover-panel > img,.theme-a .cover-panel > canvas {
  position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:center 35%;
}
.theme-a .cover-panel > canvas {filter:grayscale(1); pointer-events:none;}
@media(max-width:700px) {.theme-a .cover-panel:first-child {display:none;}}

.theme-a .preparing-thread .cover-panel > img {filter:grayscale(1);}

@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .theme-a .a-pictures {
    inset: 0;
    transition: none;
    transform: none;
  }
}

@media (max-width: 700px) {
  .theme-a :is(.a-detail-copy, .a-newsletter, .detail-copy, .a-guide-panel, .policy-text, .a-contact-dialog, .bag-content) p,
  .theme-a :is(.a-guide-panel dd, .collection > .note, .a-delivery-strip span) {
    line-break: strict;
    overflow-wrap: anywhere;
    text-wrap: pretty;
    line-height: 1.75;
  }
  .theme-a :is(.product-info h3, .detail-copy h2) {
    text-wrap: balance;
    overflow-wrap: anywhere;
  }
}
.theme-a .cover-panel {overflow:hidden;}
.theme-a .cover-panel > :is(img,canvas) {transform:scale(1.065);}
.theme-a .cover-panel > .hero-wall {
  transform:translate3d(var(--wall-x,0px),var(--wall-y,0px),0) scale(1.065);
}
.theme-a .cover-panel > :is(.hero-wall,.hero-people) {pointer-events:none;}
@media(prefers-reduced-motion:reduce){
  .theme-a .cover-panel > :is(.hero-wall,.hero-people){display:none;}
}

@media (max-width:700px) and (prefers-reduced-motion:no-preference) {
  .theme-a .a-hero { touch-action:pan-y; }
  .theme-a .cover-panel > :is(img,canvas) {transform:scale(1.13);}
  .theme-a .cover-panel > .hero-wall {transform:translate3d(var(--wall-x,0px),var(--wall-y,0px),0) scale(1.13);}
}

html:has(body.theme-a), body.theme-a {overflow-x:clip; overscroll-behavior-x:none;}
html:has(body.theme-a):not(:has(#product-dialog[open],#shop-zoom[open])) {touch-action:pan-x pan-y;}

#denim-story {--denim-pin-top:76px;--denim-hold:90px;--denim-travel:180px;}
.denim-spread {position:relative;}
@media(prefers-reduced-motion:no-preference) {
  .theme-a #denim-story .a-detail-photo {
    overflow:clip;
  }
  .theme-a #denim-story .a-detail-photo::after {
    content:"";
    display:block;
    height:calc(2 * (var(--denim-hold) + var(--denim-travel)));
  }
  .theme-a #denim-story .denim-spread {
    position:sticky;
    top:var(--denim-pin-top);
    width:min(100%,calc((100svh - var(--denim-pin-top) - 12px) * 1108 / 1477));
    margin-inline:auto;
  }
}
.theme-a #denim-story .denim-spread :is(.denim-street,.denim-closeup) {
  position:absolute;inset:0;height:100%;object-fit:cover;
  clip-path:inset(var(--denim-edge,100%) 0 0);
}
.theme-a #denim-story .denim-spread .denim-street {
  object-fit:contain;background:#191a18;--denim-edge:var(--denim-street-edge,100%);
}
@media(prefers-reduced-motion:reduce) {
  .denim-spread {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
  .theme-a #denim-story .denim-spread :is(.denim-street,.denim-closeup) {position:static;clip-path:none;background:none;}
}

@media (prefers-reduced-motion: no-preference) {
  .theme-a .a-hero.headline-pending h1 {opacity: 0;}
}
