/* QT-Supplement product imagery system
   Namespaced to avoid collisions with page-local .hero/.grid/.card rules. */

.qt-concept-note{
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:var(--text3,#7f9188);
  font-size:12px;
  line-height:1.6;
}
.qt-concept-note::before{
  content:"i";
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:17px;
  height:17px;
  margin-top:1px;
  border:1px solid currentColor;
  border-radius:50%;
  font-size:10px;
  font-weight:900;
}
.qt-media-frame{
  position:relative;
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line,#e6d3b3);
  border-radius:clamp(18px,2.5vw,30px);
  background:#e8ddca;
  box-shadow:0 24px 60px rgba(74,56,32,.18);
}
.qt-media-frame img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .7s cubic-bezier(.2,.7,.2,1);
}
.qt-media-frame:hover img{transform:scale(1.018)}

.qt-showcase-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(250px,.72fr);
  align-items:end;
  gap:32px;
  margin-bottom:30px;
}
.qt-showcase-head h2{
  margin-top:10px;
  max-width:650px;
  font-size:clamp(30px,4.2vw,48px);
  line-height:1.1;
  letter-spacing:-1.4px;
}
.qt-showcase-head p{
  color:var(--text2,#5a5148);
  font-size:15px;
  line-height:1.75;
}

.qt-home-lookbook{background:#2b241c;color:#fff}
.qt-home-lookbook .kicker{color:#9bd3b4}
.qt-home-lookbook .qt-showcase-head p{color:rgba(255,255,255,.68)}
.qt-home-lookbook .qt-concept-note{color:rgba(255,255,255,.54);margin-top:18px}
.qt-lookbook-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-auto-rows:190px;
  gap:14px;
}
.qt-lookbook-tile{
  position:relative;
  min-width:0;
  overflow:hidden;
  border-radius:22px;
  background:#3a3027;
  isolation:isolate;
  box-shadow:0 24px 58px -42px rgba(0,0,0,.9);
}
.qt-lookbook-tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .4s ease;
}
.qt-lookbook-tile:hover img{transform:scale(1.025)}
.qt-lookbook-tile::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:48%;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(0,0,0,.62));
}
.qt-lookbook-tile figcaption{
  position:absolute;
  z-index:2;
  left:18px;
  right:18px;
  bottom:15px;
  color:#fff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.01em;
}
.qt-lookbook-tile--lead{grid-column:span 8;grid-row:span 2}
.qt-lookbook-tile--portrait{grid-column:span 4;grid-row:span 3}
.qt-lookbook-tile--wide{grid-column:span 8;grid-row:span 2}
.qt-lookbook-tile--small{grid-column:span 4;grid-row:span 2}
.qt-lookbook-tile--full{grid-column:1/-1;grid-row:span 2}

.qt-product-preview{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(260px,.72fr);
  gap:0;
  overflow:hidden;
  margin-top:22px;
  border:1px solid var(--line,#e6d3b3);
  border-radius:22px;
  background:var(--card,#fffaf0);
  box-shadow:0 18px 48px -34px rgba(74,56,32,.42);
}
.qt-product-preview .qt-media-frame{
  min-height:310px;
  border:0;
  border-radius:0;
  box-shadow:none;
}
.qt-product-preview-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:30px;
}
.qt-product-preview-copy .eyebrow{
  color:var(--accent-d,#14603e);
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
}
.qt-product-preview-copy h2{
  margin-top:9px;
  font-size:27px;
  line-height:1.2;
  letter-spacing:-.6px;
}
.qt-product-preview-copy p{
  margin-top:10px;
  color:var(--text2,#5a5148);
  font-size:14px;
  line-height:1.75;
}
.qt-product-preview-copy .qt-concept-note{margin-top:15px}

.qt-premium-lookbook{
  background:#2b241c;
  color:#fff;
}
.qt-premium-lookbook .head h2{color:#fff}
.qt-premium-lookbook .head p{color:rgba(255,255,255,.62)}
.qt-premium-lookbook .qt-concept-note{color:rgba(255,255,255,.52);margin-top:16px}
.qt-premium-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-auto-rows:210px;
  gap:14px;
}
.qt-premium-grid .qt-lookbook-tile:nth-child(1){grid-column:span 7;grid-row:span 2}
.qt-premium-grid .qt-lookbook-tile:nth-child(2){grid-column:span 5;grid-row:span 2}
.qt-premium-grid .qt-lookbook-tile:nth-child(n+3){grid-column:span 4;grid-row:span 2}

@media(max-width:900px){
  .qt-showcase-head{grid-template-columns:1fr;gap:14px}
  .qt-lookbook-grid,.qt-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:220px}
  .qt-lookbook-tile--lead,.qt-lookbook-tile--wide,.qt-lookbook-tile--full,
  .qt-premium-grid .qt-lookbook-tile:nth-child(1){
    grid-column:1/-1;
    grid-row:span 2;
  }
  .qt-lookbook-tile--portrait,.qt-lookbook-tile--small,
  .qt-premium-grid .qt-lookbook-tile:nth-child(n+2){
    grid-column:span 1;
    grid-row:span 2;
  }
  .qt-product-preview{grid-template-columns:1fr}
  .qt-product-preview .qt-media-frame{min-height:0;aspect-ratio:16/9}
}

@media(max-width:560px){
  .qt-lookbook-grid,.qt-premium-grid{grid-template-columns:1fr;grid-auto-rows:auto}
  .qt-lookbook-tile--lead,.qt-lookbook-tile--wide,.qt-lookbook-tile--small,
  .qt-lookbook-tile--portrait,.qt-lookbook-tile--full,
  .qt-premium-grid .qt-lookbook-tile:nth-child(n){
    grid-column:1;
    grid-row:auto;
    aspect-ratio:4/5;
  }
  .qt-lookbook-tile--lead,.qt-lookbook-tile--wide,.qt-lookbook-tile--full,
  .qt-premium-grid .qt-lookbook-tile:nth-child(1){
    aspect-ratio:16/10;
  }
  .qt-product-preview-copy{padding:23px}
}

@media(prefers-reduced-motion:reduce){
  .qt-media-frame img,.qt-lookbook-tile img{transition:none}
  .qt-media-frame:hover img,.qt-lookbook-tile:hover img{transform:none}
}
