/* =========================
   AntHouse – Astra polish (KISS)
   ========================= */

body{
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a{ text-underline-offset: 3px; }

/* Work grid cards */
.anthouse-work-grid .case-card{
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  border-color: rgba(0,0,0,.08) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.anthouse-work-grid .case-card:hover{
  transform: translateY(-3px);
  border-color: rgba(0,0,0,.14) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}

.anthouse-work-grid .case-card .thumb img{
  transition: transform 220ms ease;
}
.anthouse-work-grid .case-card:hover .thumb img{
  transform: scale(1.02);
}

.anthouse-work-grid h3{ letter-spacing: -0.01em; }

/* Single case typography */
.single-case .site-main h1{ letter-spacing: -0.02em; }
.single-case .site-main p{ max-width: 72ch; }

/* oEmbed + iframe rounding */
.single-case .wp-block-embed,
.single-case iframe,
.single-case .wp-oembed-provider-vimeo,
.single-case .wp-oembed-provider-youtube,
.single-case .wp-block-embed__wrapper{
  border-radius: 16px;
  overflow: hidden;
}

/* CTA button polish (single-case.php uses inline border-radius:10px) */
.single-case .site-main a[style*="border-radius:10px"]{
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.single-case .site-main a[style*="border-radius:10px"]:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
