/* ============================================================
   BridgeSprout Learning - styles.css
   Palette taken from the logo (teal bridge, green sprout) and the
   bright 3D-printed products. Edit tokens in :root to re-theme.
   ============================================================ */

:root {
  /* Brand */
  --teal:        #2A8FA6;
  --teal-deep:   #1E7288;
  --teal-dark:   #16576a;
  --green:       #79C143;
  --green-deep:  #5DA82F;
  --green-dark:  #2E7D46;

  /* Product accent colors (design-doc color coding) */
  --c-yellow: #F5B301;   /* Touch Math        */
  --c-blue:   #2E7DC4;   /* Place Value       */
  --c-orange: #F2792E;   /* Number Bonds      */
  --c-green:  #5DA82F;   /* Time Builder      */
  --c-purple: #8153C4;   /* Fraction Builder  */
  --c-brown:  #B06A3F;   /* Fraction Towers   */
  --c-slate:  #64879A;   /* Skip Count Abacus */
  --c-teal:   var(--teal);

  /* Neutrals */
  --cream:   #FBF6EC;
  --cream-2: #F4ECDC;
  --ink:     #21393F;
  --muted:   #5D7178;
  --line:    #E9E2D3;
  --white:   #ffffff;

  /* System */
  --radius:   18px;
  --radius-lg:28px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(30,60,70,.06);
  --shadow:    0 14px 40px rgba(30,60,70,.10);
  --shadow-lg: 0 26px 60px rgba(30,60,70,.16);
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; color: var(--teal-dark); }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); border:0; }
.hp { position:absolute !important; left:-9999px !important; top:auto; width:1px; height:1px; overflow:hidden; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .72em 1.4em; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, filter .2s;
  box-shadow: 0 6px 16px rgba(42,143,166,.24);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 10px 22px rgba(42,143,166,.30); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; filter: none; }

.btn--primary { --btn-bg: var(--teal); }
.btn--accent  { --btn-bg: var(--accent, var(--teal)); box-shadow: none; }
.btn--white   { --btn-bg: #fff; --btn-fg: var(--teal-dark); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--teal-dark); border-color: rgba(42,143,166,.35); box-shadow: none; }
.btn--ghost:hover { background: rgba(42,143,166,.08); }
.btn--lg { font-size: 1.08rem; padding: .85em 1.7em; }
.btn--small { font-size: .9rem; padding: .55em 1.05em; }
.btn--block { width: 100%; }

.eyebrow {
  font-family: var(--font-display); font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; font-size: .82rem; color: var(--green-deep);
  margin: 0 0 .6rem;
}
.eyebrow--center { text-align: center; }

/* ============================================================
   Announcement bar
   ============================================================ */
.announce {
  background: linear-gradient(90deg, var(--teal-deep), var(--teal));
  color: #eafaf4; font-size: .86rem; text-align: center;
}
.announce__inner { padding: .5rem 24px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,246,236,.86);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 1.2rem; min-height: 74px; padding: 8px 0; }
.brand__logo { height: 150px; width: auto; }

.nav { margin-left: .5rem; }
.nav__list { display: flex; gap: .35rem; align-items: center; }
.nav__link {
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  color: var(--teal-dark); padding: .5rem .8rem; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: .25rem; transition: background .18s, color .18s;
}
.nav__link:hover { background: rgba(42,143,166,.10); }
.caret { font-size: .7em; opacity: .8; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all .18s var(--ease);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: .6rem .8rem; border-radius: 10px; font-weight: 600;
  font-size: .95rem; color: var(--ink);
}
.dropdown a:hover { background: var(--cream); color: var(--teal-deep); }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: .8rem; }
.cart-btn {
  position: relative; background: #fff; border: 1px solid var(--line);
  width: 44px; height: 44px; border-radius: 50%; color: var(--teal-dark);
  display: grid; place-items: center; cursor: pointer; transition: background .18s, transform .15s;
}
.cart-btn:hover { background: var(--cream-2); transform: translateY(-1px); }
.cart-btn__count {
  position: absolute; top: -4px; right: -4px; background: var(--c-orange); color: #fff;
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  min-width: 19px; height: 19px; padding: 0 4px; border-radius: 999px;
  display: grid; place-items: center; border: 2px solid var(--cream);
}

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.hamburger span { width: 26px; height: 3px; background: var(--teal-dark); border-radius: 3px; transition: .25s; }
.hamburger.is-open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity: 0; }
.hamburger.is-open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: .35rem; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); background: var(--cream); }
.mobile-menu a { font-family: var(--font-display); font-weight: 500; padding: .7rem .4rem; border-radius: 10px; color: var(--teal-dark); }
.mobile-menu a:hover { background: rgba(42,143,166,.08); }
.mobile-menu .btn { margin-top: .4rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 82% 18%, rgba(121,193,67,.14), transparent 60%),
    radial-gradient(55% 60% at 10% 90%, rgba(42,143,166,.12), transparent 60%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.01em; }
.hero__title .hl {
  color: var(--green-deep);
  /* Highlight that follows the text even when it wraps to a new line */
  background: linear-gradient(transparent 62%, rgba(121,193,67,.30) 0);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 .04em;
}
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin-top: 1.1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.8rem; font-weight: 700; color: var(--teal-dark); font-size: .95rem; }

.hero__media { position: relative; }
.hero__frame {
  position: relative; z-index: 2; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid #fff; transform: rotate(1.4deg);
}
.hero__frame img { width: 100%; aspect-ratio: 4/3.1; object-fit: cover; }
.hero__badge {
  position: absolute; z-index: 3; left: -18px; bottom: 26px;
  background: #fff; border-radius: 16px; padding: .7rem 1rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .6rem; transform: rotate(-2deg);
}
.hero__badge-emoji { font-size: 1.7rem; }
.hero__badge-text { display: flex; flex-direction: column; line-height: 1.15; font-size: .92rem; font-family: var(--font-display); }
.hero__badge-text strong { color: var(--green-deep); font-weight: 600; }

.blob { position: absolute; border-radius: 50%; z-index: 1; filter: blur(2px); opacity: .5; }
.blob--green { width: 150px; height: 150px; background: radial-gradient(circle at 35% 35%, #a6df6f, #79C143); top: -34px; right: 8px; }
.blob--teal  { width: 110px; height: 110px; background: radial-gradient(circle at 35% 35%, #57bcd4, #2A8FA6); bottom: -30px; right: 34%; opacity:.4; }

/* ============================================================
   Trust strip
   ============================================================ */
.trust { padding: 0 0 clamp(1.5rem,4vw,3rem); }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm);
}
.trust__item { display: flex; align-items: center; gap: .8rem; }
.trust__item + .trust__item { border-left: 1px solid var(--line); padding-left: 1rem; }
.trust__ico { font-size: 1.7rem; line-height: 1; }
.trust__item strong { display: block; font-family: var(--font-display); color: var(--teal-dark); font-size: 1rem; }
.trust__item small { color: var(--muted); font-size: .84rem; }

/* ============================================================
   Section heads
   ============================================================ */
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2rem,4vw,3rem); }
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; }
.section-title--left { text-align: left; }
.section-sub { color: var(--muted); font-size: 1.1rem; margin-top: .8rem; }

/* ============================================================
   Products
   ============================================================ */
.products { padding: clamp(2rem,5vw,4rem) 0; }
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.product {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .25s var(--ease);
  border-top: 5px solid var(--accent, var(--teal));
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product__media { background: linear-gradient(160deg, #fff, var(--cream)); aspect-ratio: 4/3; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__body { padding: 1rem 1.1rem .4rem; flex: 1; }
.product__name { font-size: 1.18rem; color: var(--accent, var(--teal-dark)); }
.product__tag { font-size: .92rem; color: var(--muted); margin: .35rem 0 .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chips li {
  font-size: .72rem; font-weight: 700; color: var(--teal-dark);
  background: var(--cream); border: 1px solid var(--line);
  padding: .2rem .55rem; border-radius: 999px;
}
.chips--light li { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.product__foot { display: flex; align-items: center; justify-content: space-between; padding: .6rem 1.1rem 1.1rem; gap: .5rem; }
.price { font-family: var(--font-display); font-weight: 600; color: var(--teal-dark); font-size: .95rem; }
.price--light { color: #fff; }

/* Kit feature card */
.product--kit {
  grid-column: span 1; border-top: 5px solid var(--green);
  background: linear-gradient(155deg, var(--teal), var(--teal-deep));
  color: #fff; justify-content: center;
}
.product--kit .product__name { color: #fff; font-size: 1.5rem; }
.product--kit .product__tag { color: rgba(255,255,255,.85); font-size: 1rem; }
.product--kit .product__body { padding: 1.6rem 1.3rem; }
.kit-badge {
  display: inline-block; background: var(--green); color: #10361b; font-family: var(--font-display);
  font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em;
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .7rem;
}
.product__foot--kit { padding: 1rem 0 0; }

/* ============================================================
   How it works
   ============================================================ */
.how { padding: clamp(3rem,6vw,5rem) 0; background:
  linear-gradient(180deg, transparent, rgba(121,193,67,.06) 40%, transparent),
  var(--cream); }
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.how__step {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.2rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.how__step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.how__num {
  width: 78px; height: 78px; margin: 0 auto 1.1rem; border-radius: 24px;
  display: grid; place-items: center; font-size: 2rem;
  background: color-mix(in srgb, var(--accent) 16%, #fff);
  border: 2px solid color-mix(in srgb, var(--accent) 45%, #fff);
  transform: rotate(-4deg);
}
.how__step h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.how__step p { color: var(--muted); margin: 0; }

/* ============================================================
   Story
   ============================================================ */
.story { padding: clamp(3rem,6vw,5.5rem) 0; }
.story__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.story__media { position: relative; }
.story__media > img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3.3; object-fit: cover; }
.story__logo-card {
  position: absolute; right: -14px; bottom: -22px; background: #fff; border-radius: 18px;
  padding: .8rem 1rem; box-shadow: var(--shadow); width: 150px;
}
.story__copy p { color: var(--muted); font-size: 1.06rem; }
.story__copy .btn { margin-top: .6rem; }
.story__meanings { display: grid; gap: 1rem; margin: 1.4rem 0 1.6rem; }
.story__meaning { display: flex; gap: .9rem; align-items: flex-start; }
.story__icon { font-size: 1.7rem; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.story__icon--bridge { background: rgba(42,143,166,.12); }
.story__icon--sprout { background: rgba(121,193,67,.16); }
.story__meaning strong { font-family: var(--font-display); color: var(--teal-dark); font-size: 1.1rem; }
.story__meaning p { margin: .1rem 0 0; font-size: .98rem; }

/* ============================================================
   Gallery strip
   ============================================================ */
.gallery { padding: 0 0 clamp(3rem,6vw,5rem); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery__item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }

/* ============================================================
   Waitlist
   ============================================================ */
.waitlist { padding: clamp(2.5rem,5vw,4rem) 0 clamp(3rem,6vw,5rem); }
.waitlist__inner {
  background: linear-gradient(150deg, var(--green-deep), var(--green-dark));
  border-radius: var(--radius-lg); padding: clamp(2rem,4vw,3.4rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
  box-shadow: var(--shadow); color: #fff; position: relative; overflow: hidden;
}
.waitlist__inner::after {
  content:"🌱"; position: absolute; right: -10px; bottom: -20px; font-size: 8rem; opacity: .12;
}
.waitlist__copy .section-title { color: #fff; }
.waitlist__copy p { color: rgba(255,255,255,.9); margin: .6rem 0 0; }
.waitlist__form { display: flex; flex-wrap: wrap; gap: .7rem; position: relative; z-index: 1; }
.waitlist__form input {
  flex: 1 1 45%; min-width: 0; padding: .85rem 1rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; font-family: var(--font-body); font-size: 1rem;
}
.waitlist__form input:focus-visible { outline: 3px solid #fff; }
.waitlist__form .btn { flex: 1 1 100%; }
.waitlist__msg { flex: 1 1 100%; margin: 0; font-weight: 700; min-height: 1.2em; color: #fff; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--teal-dark); color: #cfe6ec; padding: clamp(2.5rem,5vw,3.5rem) 0 1.4rem; }
.site-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer__logo { height: 54px; background: #fff; padding: 8px 12px; border-radius: 14px; margin-bottom: .9rem; }
.site-footer__brand p { color: #9cc6d1; max-width: 28ch; }
.site-footer__col h4 { color: #fff; font-size: 1.05rem; margin-bottom: .8rem; }
.site-footer__col a { display: block; padding: .28rem 0; color: #cfe6ec; transition: color .15s; }
.site-footer__col a:hover { color: #fff; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.2rem; padding-top: 1.2rem; }
.site-footer__legal p { color: #86b3bf; font-size: .8rem; margin: .3rem 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav, .site-header__actions .btn { display: none; }
  .hamburger { display: flex; }
  .site-header__actions { margin-left: 0; }
  .site-header__inner { gap: .5rem; }
  .brand { margin-right: auto; }
  .brand__logo { height: 120px; }
  .mobile-menu.is-open { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 520px; margin: 0 auto; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .how__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .story__inner { grid-template-columns: 1fr; }
  .story__media { max-width: 520px; }
  .gallery__grid { grid-template-columns: 1fr; }
  .waitlist__inner { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .hero__title { font-size: 1.95rem; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; padding-left: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .hero__badge { left: 0; }
}

/* ============================================================
   Product detail page (product.php)
   ============================================================ */
.breadcrumb { padding: 1.2rem 0 0; font-size: .9rem; color: var(--muted); }
.breadcrumb a { color: var(--teal-deep); font-weight: 700; }
.breadcrumb span { margin: 0 .45rem; opacity: .5; }

.pd-hero { padding: 1.2rem 0 clamp(2rem,5vw,3.5rem); }
.pd-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,4vw,3.5rem); align-items: center; }
.pd-hero__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid #fff; border-top: 8px solid var(--accent, var(--teal)); }
.pd-hero__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.pd-eyebrow { font-family: var(--font-display); font-weight: 600; color: var(--accent, var(--green-deep));
  text-transform: uppercase; letter-spacing: .04em; font-size: .82rem; margin: 0 0 .5rem; }
.pd-title { font-size: clamp(2rem,4.5vw,3rem); color: var(--teal-dark); }
.pd-lead { color: var(--muted); font-size: 1.15rem; margin-top: .8rem; }
.pd-buy { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0 1.2rem; flex-wrap: wrap; }
.pd-price { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--teal-dark); }

.pd-body { padding: clamp(2rem,5vw,3.5rem) 0; }
.pd-body__inner { max-width: 760px; margin: 0 auto; }
.pd-body p { font-size: 1.08rem; color: #3a5158; margin-bottom: 1.1rem; }

.pd-skills { background: var(--cream); padding: clamp(2.2rem,5vw,3.5rem) 0; }
.pd-skills__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: .8rem;
  max-width: 900px; margin: 0 auto; }
.pd-skill { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent,var(--teal));
  border-radius: 12px; padding: .9rem 1.1rem; font-weight: 700; color: var(--teal-dark); }

.pd-related { padding: clamp(2.2rem,5vw,3.5rem) 0; }
.pd-related__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.pd-rel-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--accent,var(--teal)); transition: transform .2s var(--ease), box-shadow .2s; }
.pd-rel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pd-rel-card img { width:100%; aspect-ratio: 4/3; object-fit: cover; display:block; }
.pd-rel-card span { display:block; padding: .8rem 1rem; font-family: var(--font-display); font-weight:600; color: var(--teal-dark); }

@media (max-width: 800px){
  .pd-hero__inner { grid-template-columns: 1fr; }
  .pd-hero__media { max-width: 520px; }
  .pd-related__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){ .pd-related__grid { grid-template-columns: 1fr; } }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
