/* Idea 3 only: editorial practice tiles. No other homepage changes. */
body.page-home #practices .feature{
  position:relative;
  display:flex;
  flex-direction:column;
  counter-increment:feat;
  color:var(--ink);
  text-decoration:none;
}
body.page-home #practices .feature img,
body.page-home #practices a.feature img{
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:center;
  width:100%;
  display:block;
}
body.page-home #practices .feature:hover img,
body.page-home #practices a.feature:hover img{
  object-position:50% 52%;
  filter:none;
}
body.page-home #practices .feature::before,
body.page-home #practices a.feature::before{
  position:static;
  display:block;
  margin:20px 0 0;
  padding:0;
  background:none;
  border-radius:0;
  min-width:0;
  height:auto;
  font-size:15px;
  color:var(--gold-deep);
  content:counter(feat,upper-roman);
  font-family:var(--serif);
  font-style:italic;
}
body.page-home #practices .feature-body{padding:8px 0 0}
body.page-home #practices a.feature-body{
  display:flex;
  flex-direction:column;
  flex:1;
  color:inherit;
  text-decoration:none;
}
body.page-home #practices .feature-body h3{
  font-family:var(--serif);
  font-size:clamp(32px,2.8vw,42px);
  font-weight:500;
  padding-bottom:14px;
  margin:0;
  border-bottom:1px solid var(--gold);
  transition:border-width .25s var(--ease);
}
body.page-home #practices .feature:hover a.feature-body h3,
body.page-home #practices a.feature-body:hover h3,
body.page-home #practices a.feature-body:focus-visible h3{
  border-bottom-width:2px;
}
body.page-home #practices .feature-body p{
  margin:14px 0 18px;
  color:var(--muted);
  font-family:var(--sans);
}

/* Option C hero-mock overlay on the practice-card thumbnails.
   Gradient and type follow area-images/_work/preview.py hero_mock:
   navy tint .93 → .78 at 50% → .35 at 100%; Manrope 11px gold eyebrow;
   Cormorant SemiBold 30px ivory title; flat gold button, ink sans label. */
body.page-home #practices .feature-media{
  position:relative;
  display:block;
  overflow:hidden;
  container-type:inline-size;
  container-name:thumb;
}
body.page-home #practices .feature-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(12,24,44,.93) 0%,rgba(12,24,44,.78) 50%,rgba(12,24,44,.35) 100%);
}
body.page-home #practices .card-overlay{
  position:absolute;
  left:0;right:0;bottom:0;
  z-index:2;
  box-sizing:border-box;
  /* 26/600 left, 22/338 bottom — same inset as the mock */
  padding:0 10% 6.5% 4.33%;
}
body.page-home #practices .card-mock-eyebrow{
  margin:0;
  font-family:var(--sans);
  font-weight:400;
  font-size:clamp(9px,1.83cqi,11px);
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#B89452;
  line-height:1.2;
}
body.page-home #practices .card-kicker{
  margin:.2em 0 .5em;
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(22px,5cqi,30px);
  line-height:1.05;
  letter-spacing:-.02em;
  color:#FBF8F2;
}
body.page-home #practices .card-book{
  display:inline-block;
  font-family:var(--sans);
  font-weight:400;
  font-size:clamp(10px,1.83cqi,11px);
  letter-spacing:0;
  text-transform:none;
  line-height:1.2;
  color:#0C182C;
  background:#B89452;
  text-decoration:none;
  border:0;
  border-radius:0;
  /* mock button was 24px tall, 10px text inset */
  padding:.55em .9em;
  min-height:24px;
}
@media (max-width:900px){
  body.page-home #practices .card-mock-eyebrow{font-size:10px;letter-spacing:.12em}
  body.page-home #practices .card-kicker{font-size:clamp(22px,7vw,26px)}
  body.page-home #practices .card-book{font-size:11px;padding:8px 12px;min-height:32px}
  body.page-home #practices .card-overlay{padding:0 8% 8% 5%}
}
