/* Editorial Collage Section — Jesmina Reference Inspired with Karimi Green Aesthetics */
.house-editorial{
  position:relative;
  background:#f7f2e7;
  color:#193f32;
  padding:72px clamp(24px,5.2vw,96px) 90px;
  border-top:1px solid #afba9e;
  overflow:hidden;
}

.house-editorial-seal{
  position:absolute;
  width:68px;
  height:68px;
  object-fit:contain;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  z-index:10;
  pointer-events:none;
}

.house-editorial-grid{
  max-width:1420px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1.14fr 1fr;
  grid-template-areas:
    "woods title silk"
    "copy portrait picks";
  gap:0;
  align-items:stretch;
  position:relative;
}

/* Photo Cards in the grid */
.house-editorial-photo{
  position:relative;
  display:block;
  overflow:hidden;
  min-width:0;
  height:clamp(340px,28vw,460px);
  background:#193f32;
  color:#f7f2e7;
  text-decoration:none;
  z-index:1;
}

.house-editorial-photo>img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .75s cubic-bezier(.22,.61,.36,1);
}

.house-editorial-photo>span{
  position:absolute;
  bottom:16px;
  left:18px;
  right:18px;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font:600 12px/1.5 var(--sans);
  letter-spacing:.06em;
  color:#fbf7ee;
  text-shadow:0 1px 6px rgba(0,0,0,.6);
}

.house-editorial-photo>span svg{
  width:18px;
  height:18px;
  transition:transform .25s ease;
}

.house-editorial-photo:hover>img{
  transform:scale(1.03);
}

.house-editorial-photo:hover>span svg{
  transform:translateX(3px);
}

.house-editorial-woods{grid-area:woods}
.house-editorial-silk{grid-area:silk}

/* Top Center Column: Editorial Brand Heading with Overlapping Stroke */
.house-editorial-title{
  grid-area:title;
  position:relative;
  z-index:4;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  min-width:0;
  text-align:center;
  padding:50px 0 38px;
  background:#f7f2e7;
}

.house-editorial-eyebrow{
  display:block;
  font:700 clamp(16px,1.8vw,26px)/1.2 var(--display),sans-serif;
  letter-spacing:.22em;
  color:#2e5c43;
  text-transform:uppercase;
  margin-bottom:12px;
  padding-left:.22em;
}

.house-editorial-brand-row{
  position:relative;
  width:100%;
  height:clamp(80px,10vw,155px);
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Background stroke layer: spans across left & right columns over the photos */
.brand-stroke{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  font-family:var(--display),sans-serif;
  font-weight:800;
  font-size:clamp(80px,10.5vw,165px);
  letter-spacing:-.015em;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;
  color:transparent;
  -webkit-text-stroke:1.8px #a8c8ae;
  z-index:6;
  pointer-events:none;
}

/* Solid fill box: strictly clipped to the center column width */
.brand-fill-box{
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:7;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}

.brand-fill{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  font-family:var(--display),sans-serif;
  font-weight:800;
  font-size:clamp(80px,10.5vw,165px);
  letter-spacing:-.015em;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;
  color:#193f32;
  pointer-events:none;
}

/* Bottom Left: Editorial Copy & CTA */
.house-editorial-copy{
  grid-area:copy;
  padding:36px 36px 12px 0;
  align-self:start;
}

.house-editorial-copy h3{
  font:800 clamp(28px,2.7vw,42px)/1.08 var(--display),sans-serif;
  letter-spacing:-.02em;
  text-transform:uppercase;
  color:#193f32;
  margin:0 0 20px;
}

.house-editorial-copy p{
  font:400 15px/1.65 var(--sans);
  color:#4a5c4d;
  margin:0 0 16px;
  max-width:320px;
}

.house-editorial-collection{
  display:inline-flex;
  align-items:center;
  gap:16px;
  border-top:1px solid #9dad8c;
  margin-top:22px;
  padding-top:16px;
  text-decoration:none;
  color:#193f32;
  font:700 13px/1.2 var(--display),sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.house-editorial-arrow{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:#193f32;
  color:#f7f2e7;
  flex-shrink:0;
  transition:transform .3s ease,background .25s ease;
}

.house-editorial-arrow svg{
  width:18px;
  height:18px;
}

.house-editorial-collection:hover .house-editorial-arrow{
  transform:rotate(-35deg) scale(1.08);
  background:#265440;
}

/* Bottom Center: Model holding Karimi Matloob */
.house-editorial-portrait{
  grid-area:portrait;
  width:100%;
  height:auto;
  aspect-ratio:1;
  align-self:start;
  z-index:2;
}

.house-editorial-portrait>img{
  object-fit:cover;
  object-position:center 30%;
}

/* Bottom Right: Arched Pill Capsules & Circular Badges */
.house-editorial-picks{
  grid-area:picks;
  padding:34px 0 0 34px;
  align-self:start;
}

.house-editorial-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:22px;
}

.house-editorial-pick-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:0;
  color:#193f32;
  text-align:center;
  text-decoration:none;
}

.house-editorial-capsule-wrap{
  position:relative;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
}

.house-editorial-capsule{
  display:block;
  width:clamp(120px,9.5vw,150px);
  height:clamp(160px,13.5vw,210px);
  border:1.5px solid #a3b59a;
  border-radius:999px 999px 999px 999px;
  overflow:hidden;
  padding:0;
  background:radial-gradient(circle at 50% 40%,#f0eee6 0%,#e4e8dc 100%);
  transition:border-color .35s ease,background .35s ease,transform .35s ease,box-shadow .35s ease;
}

.house-editorial-capsule img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  mix-blend-mode:normal;
  transform:scale(1.12);
  transition:transform .4s ease;
}

.house-editorial-pick-item:hover .house-editorial-capsule{
  transform:translateY(-4px);
  border-color:#2a5740;
  box-shadow:0 12px 24px rgba(25,63,50,.15);
  background:radial-gradient(circle at 50% 40%,#faf8f0 0%,#dbe2d1 100%);
}

.house-editorial-pick-item:hover .house-editorial-capsule img{
  transform:scale(1.17);
}

.house-editorial-mood{
  font:700 9.5px/1.3 var(--sans);
  letter-spacing:.08em;
  color:#596d5b;
  text-transform:uppercase;
  margin-bottom:4px;
}

.house-editorial-pick-item strong{
  font:700 16px/1.3 var(--display),sans-serif;
  color:#193f32;
}

.house-editorial-picks>p{
  font:400 14px/1.6 var(--sans);
  color:#526454;
  margin:0;
  max-width:320px;
}

/* Accessibility focus outline */
.house-editorial a:focus-visible{
  outline:2px solid #193f32;
  outline-offset:4px;
}

/* Responsive Breakpoints */
@media(max-width:1024px){
  .house-editorial-copy{padding-right:20px}
  .house-editorial-picks{padding-left:20px}
  .house-editorial-copy p,.house-editorial-picks>p{font-size:13.5px}
  .house-editorial-pair{gap:12px}
  .brand-stroke,.brand-fill{font-size:clamp(64px,9.8vw,120px)}
}

@media(max-width:820px){
  .house-editorial{
    padding:80px 20px 60px;
  }
  .house-editorial-grid{
    grid-template-columns:1fr 1fr;
    grid-template-areas:
      "title title"
      "woods silk"
      "copy portrait"
      "picks picks";
    gap:18px;
  }
  .house-editorial-title{
    padding:16px 0 10px;
  }
  .house-editorial-brand-row{
    height:90px;
  }
  .brand-stroke,.brand-fill{
    font-size:clamp(60px,11vw,95px);
  }
  .brand-stroke{
    -webkit-text-stroke:1.2px #a8c8ae;
  }
  .house-editorial-photo{
    height:340px;
  }
  .house-editorial-portrait{
    height:auto;
  }
  .house-editorial-picks{
    padding:16px 0 0;
    max-width:440px;
    margin:auto;
    text-align:center;
  }
  .house-editorial-picks>p{
    margin-inline:auto;
  }
}

@media(max-width:540px){
  .house-editorial{
    padding:70px 16px 50px;
  }
  .house-editorial-grid{
    grid-template-columns:1fr;
    grid-template-areas:
      "title"
      "woods"
      "copy"
      "portrait"
      "silk"
      "picks";
    gap:20px;
  }
  .house-editorial-brand-row{
    height:70px;
  }
  .brand-stroke,.brand-fill{
    font-size:58px;
  }
  .brand-fill-box{
    overflow:visible;
  }
  .brand-stroke{
    display:none;
  }
  .house-editorial-photo{
    height:auto;
    aspect-ratio:4/5;
  }
  .house-editorial-portrait{
    aspect-ratio:1/1;
  }
  .house-editorial-copy{
    padding:0;
  }
  .house-editorial-copy p{
    max-width:none;
  }
  .house-editorial-picks{
    padding:0;
  }
  .house-editorial-capsule{
    width:130px;
    height:175px;
  }
}

/* Reduced motion accessibility */
html[data-motion="reduced"] .house-editorial-photo>img,
html[data-motion="reduced"] .house-editorial-arrow,
html[data-motion="reduced"] .house-editorial-capsule,
html[data-motion="reduced"] .house-editorial-capsule img{
  transition:none;
}

@media(prefers-reduced-motion:reduce){
  .house-editorial-photo>img,
  .house-editorial-arrow,
  .house-editorial-capsule,
  .house-editorial-capsule img{
    transition:none;
  }
}
