/* v2.12.14 — Home editorial collections + discovery cards
   Scope: homepage only. Preserves all cover proportions and gives each
   discovery card its own independent gold frame. */

.home-editorial-section{
  padding:0 0 19px;
}
.home-editorial-grid{
  display:grid;
  grid-template-columns:minmax(0,2.18fr) minmax(320px,.92fr);
  gap:20px;
  align-items:stretch;
}
.home-collections-panel{
  min-width:0;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 50% 108%,rgba(201,154,61,.055),transparent 45%),
    linear-gradient(180deg,#060606 0%,#030303 100%);
  padding:0 18px 18px;
  box-shadow:inset 0 0 50px rgba(0,0,0,.52);
}
.home-collections-panel .section-heading{
  height:43px;
}
.home-collections-panel .collections-row{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:22px 20px;
  align-items:start;
  width:100%;
}
.home-collections-panel .collection-card{
  grid-column:span 2;
  width:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  text-align:center;
}
.home-collections-panel .collection-card:nth-child(4){
  grid-column:2 / span 2;
}
.home-collections-panel .collection-card:nth-child(5){
  grid-column:4 / span 2;
}
.home-collections-panel .collection-cover{
  width:100%;
  aspect-ratio:640 / 1023;
  border:1px solid rgba(201,154,61,.62);
  background:#000;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.home-collections-panel .collection-cover img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  background:#000;
  border:0;
}
.home-collections-panel .collection-card h3{
  min-height:2.7em;
  margin:9px 3px 6px;
  font-size:12px;
  line-height:1.32;
  font-weight:normal;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
.home-collections-panel .collection-card a{
  margin-top:auto;
}

.home-discovery-stack{
  min-width:0;
  display:grid;
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:20px;
}
.home-discovery-card{
  position:relative;
  min-height:0;
  overflow:hidden;
  isolation:isolate;
  border:1px solid var(--line);
  background:#050505;
  box-shadow:inset 0 0 52px rgba(0,0,0,.65);
}
.home-discovery-card::before{
  content:"";
  position:absolute;
  inset:8px;
  z-index:3;
  pointer-events:none;
  border:1px solid rgba(201,154,61,.34);
  box-shadow:inset 0 0 28px rgba(201,154,61,.025);
}
.home-discovery-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(1,1,1,.98) 0%,rgba(2,2,2,.94) 45%,rgba(2,2,2,.52) 70%,rgba(2,2,2,.13) 100%),
    linear-gradient(180deg,rgba(0,0,0,.13),rgba(0,0,0,.52));
}
.home-discovery-media{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:74% center;
  filter:saturate(.83) contrast(1.05) brightness(.79);
  transition:opacity .24s ease;
}
.home-discovery-content{
  position:relative;
  z-index:2;
  width:67%;
  height:100%;
  min-height:100%;
  padding:29px 18px 24px 24px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
}
.home-discovery-eyebrow{
  color:var(--gold2);
  font-size:10px;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.045em;
  margin:0 0 12px;
}
.home-discovery-title{
  color:var(--gold2);
  font-size:clamp(20px,1.9vw,28px);
  line-height:1.08;
  font-weight:normal;
  text-transform:uppercase;
  margin:0 0 12px;
}
.home-discovery-card.is-journal .home-discovery-title{
  font-size:clamp(18px,1.55vw,24px);
  text-transform:none;
  line-height:1.16;
}
.home-discovery-copy{
  color:#d9d1c4;
  font-size:12px;
  line-height:1.48;
  margin:0 0 10px;
}
.home-discovery-points{
  display:flex;
  flex-wrap:wrap;
  gap:5px 9px;
  color:#c9bda9;
  font-size:10px;
  line-height:1.3;
  margin:0 0 15px;
}
.home-discovery-points span::before{
  content:"◇";
  color:var(--gold2);
  margin-right:5px;
}
.home-discovery-date{
  color:#9f9382;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin:-2px 0 13px;
}
.home-discovery-card .gold-button{
  margin-top:auto;
  position:relative;
  z-index:4;
}
.home-discovery-card.is-loading .home-discovery-media{
  opacity:.62;
}

@media(max-width:1080px){
  .home-editorial-grid{
    grid-template-columns:1fr;
  }
  .home-discovery-stack{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:none;
  }
  .home-discovery-card{
    min-height:340px;
  }
}

@media(max-width:760px){
  .home-collections-panel{
    padding:0 16px 18px;
  }
  .home-collections-panel .collections-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px 18px;
  }
  .home-collections-panel .collection-card,
  .home-collections-panel .collection-card:nth-child(4){
    grid-column:auto;
  }
  .home-collections-panel .collection-card:nth-child(5){
    grid-column:1 / -1;
    width:min(100%,250px);
    justify-self:center;
  }
  .home-discovery-stack{
    grid-template-columns:1fr;
  }
  .home-discovery-card{
    min-height:330px;
  }
  .home-discovery-content{
    width:72%;
  }
}

@media(max-width:460px){
  .home-collections-panel{
    padding:0 14px 18px;
  }
  .home-collections-panel .collections-row{
    grid-template-columns:1fr;
  }
  .home-collections-panel .collection-card,
  .home-collections-panel .collection-card:nth-child(4),
  .home-collections-panel .collection-card:nth-child(5){
    grid-column:auto;
    width:min(100%,250px);
    justify-self:center;
  }
  .home-discovery-card{
    min-height:360px;
  }
  .home-discovery-card::after{
    background:
      linear-gradient(90deg,rgba(1,1,1,.98) 0%,rgba(2,2,2,.88) 62%,rgba(2,2,2,.40) 100%),
      linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.55));
  }
  .home-discovery-content{
    width:82%;
    padding:28px 18px 24px 22px;
  }
  .home-discovery-title{
    font-size:22px;
  }
}

@media(prefers-reduced-motion:reduce){
  .home-discovery-media{transition:none}
}
