/* ==========================================================================
   Dr. Abid Ali Malik — "Teal & Gold · Classic Trust"
   Design system stylesheet (static preview / WordPress theme)
   Palette: petrol teal #0E4749 · gold #C9A227 · ivory #FAF7F0 · ink #1C2B2D
   Type: Fraunces (display serif) · Figtree (body sans)
   ========================================================================== */

/* ---------------------------------- Tokens ------------------------------ */
:root {
  --teal-950: #062628;
  --teal-900: #082E2F;
  --teal-800: #0A3536;
  --teal-700: #0E4749;
  --teal-600: #176062;
  --teal-500: #2A7A7C;
  --teal-400: #5B9B9C;
  --teal-100: #DCE9E7;
  --teal-50:  #F0F6F5;

  --gold-700: #8F7015;
  --gold-600: #A9851B;
  --gold-500: #C9A227;
  --gold-300: #E6CF8C;
  --gold-100: #F4EBD4;

  --ivory: #FAF7F0;
  --paper: #FFFFFF;
  --ink:   #1C2B2D;
  --slate: #55686A;
  --mist:  #8A9A9B;

  --wa-green: #1FAF54;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;

  --shadow-soft: 0 18px 44px -20px rgba(14, 71, 73, 0.22);
  --shadow-card: 0 10px 30px -18px rgba(14, 71, 73, 0.18);
  --hairline: 1px solid rgba(14, 71, 73, 0.1);

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* ---------------------------------- Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); }
a:hover { color: var(--teal-500); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.14;
  color: var(--teal-800);
  margin: 0 0 0.55em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
button { font-family: inherit; }
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Subtle grain over ivory — keeps flat backgrounds from feeling sterile */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------ Accessibility ---------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-700);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 12px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------- Utilities ------------------------------ */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}
.lede { font-size: 1.16rem; color: var(--slate); max-width: 62ch; }

/* Squiggle underline for the emphasised word in headings */
.accent-word {
  position: relative;
  white-space: nowrap;
  font-style: italic;
  font-weight: 480;
  color: var(--teal-700);
}
.accent-word svg {
  position: absolute;
  left: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.32em;
  overflow: visible;
}
.accent-word path {
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 7;
  stroke-linecap: round;
}

/* Heart-line ornament (ECG pulse into a heart) */
.heartline { display: inline-block; width: 148px; height: 26px; color: var(--gold-500); }
.heartline path, .heartline polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.heartline .heart-fill { fill: currentColor; stroke: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; width: 18px; height: 18px; }
.btn--gold {
  background: var(--gold-500);
  color: var(--ink);
  box-shadow: 0 12px 26px -12px rgba(201, 162, 39, 0.65);
}
.btn--gold:hover { background: var(--gold-600); color: var(--teal-950); }
.btn--teal {
  background: var(--teal-700);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(14, 71, 73, 0.55);
}
.btn--teal:hover { background: var(--teal-600); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--teal-700);
  border-color: rgba(14, 71, 73, 0.35);
}
.btn--ghost:hover { border-color: var(--teal-700); color: var(--teal-700); }
.btn--white {
  background: #fff;
  color: var(--teal-800);
}
.btn--white:hover { background: var(--gold-100); color: var(--teal-900); }
.btn--whatsapp {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(31, 175, 84, 0.6);
}
.btn--whatsapp:hover { background: #179a49; color: #fff; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--sm { padding: 9px 18px; font-size: 0.88rem; }

/* --------------------------------- Header -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(14, 71, 73, 0.08);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(14, 71, 73, 0.28); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--teal-700);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}
.brand__mark svg { width: 28px; height: 28px; }
.brand__mark .pulse { stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand__mark .heart { fill: var(--gold-500); }
.brand__text { line-height: 1.18; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--teal-900);
  letter-spacing: 0;
}
.brand__tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-top: 2px;
}

.nav { margin-left: auto; display: flex; align-items: center; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__item { position: relative; }
.nav__link {
  display: block;
  padding: 10px 13px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav__link:hover { background: var(--teal-50); color: var(--teal-700); text-decoration: none; }
.nav__item--active > .nav__link,
.nav__item--active .nav__link[aria-current="page"] {
  color: var(--teal-700);
}
.nav__item--active > .nav__link::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  margin: 1px auto 0;
  border-radius: 3px;
  background: var(--gold-500);
}
/* Dropdown */
.nav__item--has-children > .nav__link::after { content: ""; }
.nav__item--has-children .nav__link .caret {
  display: inline-block;
  margin-left: 5px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}
.nav__sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--paper);
  border: var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav__item--has-children:hover .nav__sub,
.nav__item--has-children:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__sub a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
}
.nav__sub a:hover { background: var(--teal-50); color: var(--teal-700); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn--sm { padding: 10px 20px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--teal-700);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
}
.header-phone:hover { background: var(--teal-50); color: var(--teal-700); text-decoration: none; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(14, 71, 73, 0.25);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  place-items: center;
}
.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--teal-800);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 92px) clamp(56px, 8vw, 104px);
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(201, 162, 39, 0.13), transparent 62%),
    radial-gradient(820px 520px at -12% 110%, rgba(14, 71, 73, 0.1), transparent 60%),
    var(--ivory);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.35rem, 4.6vw, 3.65rem);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 0.4em;
}
.hero__lede { font-size: 1.17rem; color: var(--slate); max-width: 54ch; margin-bottom: 1.6em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.1em; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 22px;
  border-top: var(--hairline);
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate);
}
.hero__trust-item svg { width: 17px; height: 17px; color: var(--gold-600); flex: none; }

/* Arched portrait composition */
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__visual::before {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 0.82;
  border-radius: 50% 50% 26px 26px / 42% 42% 26px 26px;
  background: linear-gradient(160deg, var(--teal-100), rgba(220, 233, 231, 0.35));
  transform: translate(22px, 26px) rotate(2.5deg);
}
.portrait-frame {
  position: relative;
  width: min(84%, 400px);
  aspect-ratio: 0.78;
  border-radius: 48% 48% 24px 24px / 40% 40% 24px 24px;
  overflow: hidden;
  border: 7px solid var(--paper);
  box-shadow: var(--shadow-soft);
  background: var(--teal-100);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero__badge {
  position: static;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 13px 18px;
  max-width: 300px;
}
.hero__badge-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--gold-100);
  display: grid;
  place-items: center;
  color: var(--gold-600);
}
.hero__badge-icon svg { width: 24px; height: 24px; }
.hero__badge b { display: block; font-size: 0.92rem; color: var(--teal-900); line-height: 1.3; }
.hero__badge span { font-size: 0.8rem; color: var(--slate); }
.hero__chip {
  position: absolute;
  left: -2%;
  top: 9%;
  background: var(--teal-700);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 26px -12px rgba(14, 71, 73, 0.55);
}
.hero__chip::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  margin-right: 8px;
  vertical-align: 1px;
}

/* ------------------------------ Credential band -------------------------- */
.cred-band { background: var(--teal-900); color: #fff; }
.cred-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-block: 30px;
}
.cred-band__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.cred-band__item:last-child { border-right: 0; }
.cred-band__icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: rgba(201, 162, 39, 0.16);
  display: grid;
  place-items: center;
  color: var(--gold-500);
}
.cred-band__icon svg { width: 25px; height: 25px; }
.cred-band__item b { display: block; font-family: var(--font-display); font-size: 1.02rem; font-weight: 560; line-height: 1.3; }
.cred-band__item span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.68); }

/* -------------------------------- Sections -------------------------------- */
.sec { padding-block: clamp(56px, 8vw, 96px); }
.sec--tint { background: var(--teal-50); }
.sec--white { background: var(--paper); }
.sec--deep { background: var(--teal-900); color: #fff; }
.sec-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lede { margin-inline: auto; }
.sec-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 0.35em;
}
.sec-head__ornament { margin-top: 14px; }

/* ------------------------------- Card grid -------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--paper);
  border: var(--hairline);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: 0 4px 18px -14px rgba(14, 71, 73, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.card:hover .card__icon { background: var(--teal-700); color: var(--gold-500); }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.28rem; margin-bottom: 0.4em; }
.card p { color: var(--slate); font-size: 0.96rem; margin-bottom: 0.9em; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-700);
  text-decoration: none;
}
.card__link svg { width: 15px; height: 15px; transition: transform 0.18s ease; }
.card__link:hover svg { transform: translateX(4px); }

/* ------------------------------ Split section ----------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split__media { position: relative; }
.split__media img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
.split__media--arch img {
  border-radius: 46% 46% 22px 22px / 36% 36% 22px 22px;
  border: 6px solid var(--paper);
}
.split__media::after {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 46%;
  height: 46%;
  border-radius: 0 0 var(--r-lg) 0;
  border-right: 3px solid var(--gold-500);
  border-bottom: 3px solid var(--gold-500);
  pointer-events: none;
}
.checklist { list-style: none; margin: 1.4em 0 1.6em; padding: 0; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 0;
  font-weight: 550;
}
.checklist li svg { width: 21px; height: 21px; flex: none; margin-top: 3px; color: var(--gold-600); }

/* ------------------------------- Stats row -------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat {
  text-align: center;
  background: var(--paper);
  border: var(--hairline);
  border-radius: var(--r-lg);
  padding: 30px 20px;
  box-shadow: 0 4px 18px -14px rgba(14, 71, 73, 0.12);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 560;
  color: var(--teal-700);
  line-height: 1;
}
.stat__num .plus { color: var(--gold-600); }
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ------------------------------ CTA banner -------------------------------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 64px);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.cta-banner::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.25), transparent 70%);
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 22ch;
  margin-bottom: 0.3em;
}
.cta-banner p { color: rgba(255, 255, 255, 0.78); max-width: 58ch; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }
.cta-banner .heartline { position: absolute; right: 34px; bottom: 26px; color: rgba(201, 162, 39, 0.75); }

/* ------------------------------- Testimonials ----------------------------- */
.testimonial {
  display: flex;
  flex-direction: column;
}
.testimonial__stars { display: flex; gap: 3px; color: var(--gold-500); margin-bottom: 14px; }
.testimonial__stars svg { width: 17px; height: 17px; }
.testimonial__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 18px;
  flex: 1;
}
.testimonial__quote::before { content: "\201C"; color: var(--gold-500); font-size: 1.6em; line-height: 0; vertical-align: -0.32em; margin-right: 3px; }
.testimonial__person { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: var(--hairline); }
.testimonial__avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}
.testimonial__person b { display: block; font-size: 0.94rem; color: var(--teal-900); line-height: 1.3; }
.testimonial__person span { font-size: 0.8rem; color: var(--slate); }

/* ------------------------------- Listings --------------------------------- */
.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
  padding: 14px 18px;
  background: var(--paper);
  border: var(--hairline);
  border-radius: var(--r-md);
}
.listing-toolbar .eyebrow { margin: 0; }
.listing-note { font-size: 0.86rem; color: var(--slate); }

.pub-card { display: flex; flex-direction: column; }
.pub-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pub-chip {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-50);
  border-radius: 999px;
  padding: 5px 12px;
}
.pub-chip--gold { color: var(--gold-700); background: var(--gold-100); }
.pub-card h3 { font-size: 1.2rem; line-height: 1.35; }
.pub-card__authors { font-size: 0.88rem; color: var(--slate); margin-bottom: 16px; }
.pub-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 16px;
  border-top: var(--hairline);
}

.book-card { display: grid; grid-template-columns: 128px 1fr; gap: 22px; align-items: start; }
.book-card__cover {
  aspect-ratio: 2 / 3;
  border-radius: 8px 14px 14px 8px;
  background:
    linear-gradient(150deg, rgba(201, 162, 39, 0.22), rgba(201, 162, 39, 0.05)),
    var(--teal-800);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 14px;
  box-shadow: 6px 8px 20px -10px rgba(14, 71, 73, 0.45);
  position: relative;
}
.book-card__cover::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 4px;
  background: var(--gold-500);
  border-radius: 4px;
}
.book-card__cover span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.book-card__cover b {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 0.95rem;
  line-height: 1.3;
}
.book-card__body h3 { font-size: 1.3rem; }
.book-card__body p { color: var(--slate); font-size: 0.96rem; }

/* ------------------------------ FAQ accordion ----------------------------- */
.faq { border: var(--hairline); border-radius: var(--r-md); background: var(--paper); margin-bottom: 14px; overflow: hidden; transition: box-shadow 0.2s ease; }
.faq[open] { box-shadow: var(--shadow-card); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 560;
  color: var(--teal-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-700);
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  margin-left: auto;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.faq[open] summary::after { transform: rotate(45deg); background: var(--gold-500); color: var(--ink); }
.faq__body { padding: 0 24px 22px; color: var(--slate); font-size: 0.97rem; }
.faq__body p:last-child { margin-bottom: 0; }

/* ------------------------------ Page hero --------------------------------- */
.page-hero {
  background:
    radial-gradient(760px 380px at 90% -30%, rgba(201, 162, 39, 0.14), transparent 62%),
    linear-gradient(180deg, var(--teal-50), var(--ivory));
  border-bottom: var(--hairline);
  padding-block: clamp(44px, 6vw, 72px);
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 0.25em;
}
.page-hero .lede { margin-bottom: 0; }
.page-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
}
.page-hero__crumbs a { color: var(--teal-700); text-decoration: none; }
.page-hero__crumbs a:hover { text-decoration: underline; }
.page-hero__crumbs span { color: var(--gold-600); }

/* ------------------------------ Side layout ------------------------------- */
.layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(34px, 5vw, 64px); align-items: start; }
.side-card {
  position: sticky;
  top: 96px;
  background: var(--paper);
  border: var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 18px -14px rgba(14, 71, 73, 0.12);
}
.side-card__img { aspect-ratio: 4/3; object-fit: cover; object-position: top center; width: 100%; }
.side-card__body { padding: 24px; }
.side-card__body h3 { font-size: 1.15rem; }
.side-card__rows { display: grid; gap: 12px; margin: 14px 0 18px; }
.side-card__row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--slate); }
.side-card__row svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--gold-600); }
.side-card__row b { color: var(--teal-900); font-weight: 650; }

/* --------------------------------- Forms ---------------------------------- */
.form-card {
  background: var(--paper);
  border: var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}
.form-card h3 { font-size: 1.45rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.form-field label .req { color: var(--gold-600); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--ivory);
  border: 1.5px solid rgba(14, 71, 73, 0.18);
  border-radius: 12px;
  padding: 12px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18);
}
.form-hint {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--slate);
  background: var(--teal-50);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  margin-top: 20px;
}
.form-hint svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--wa-green); }

/* --------------------------------- Map ----------------------------------- */
.map-wrap { position: relative; border-radius: var(--r-lg); overflow: hidden; border: var(--hairline); box-shadow: var(--shadow-card); background: var(--teal-50); }
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 13px 18px;
  background: var(--paper);
  border-top: var(--hairline);
  font-size: 0.9rem;
  color: var(--slate);
}
.map-bar a { font-weight: 650; }

/* ------------------------------- Info chips ------------------------------- */
.contact-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper);
  border: var(--hairline);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: 0 4px 14px -12px rgba(14, 71, 73, 0.15);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.contact-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); }
.contact-chip__icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  display: grid;
  place-items: center;
}
.contact-chip__icon--teal { background: var(--teal-50); color: var(--teal-700); }
.contact-chip__icon--gold { background: var(--gold-100); color: var(--gold-700); }
.contact-chip__icon--green { background: #E3F5E9; color: var(--wa-green); }
.contact-chip__icon svg { width: 23px; height: 23px; }
.contact-chip b { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.contact-chip span { font-size: 0.98rem; font-weight: 650; color: var(--teal-900); }
.contact-chips { display: grid; gap: 14px; }

/* ------------------------------- Hours table ------------------------------ */
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table td { padding: 11px 4px; border-bottom: var(--hairline); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:first-child { font-weight: 650; color: var(--teal-900); }
.hours-table td:last-child { text-align: right; color: var(--slate); }
.hours-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--gold-100);
  color: var(--gold-700);
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 12px;
}

/* ------------------------------ Steps (how-to) ----------------------------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--paper);
  border: var(--hairline);
  border-radius: var(--r-md);
  padding: 22px 24px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-700);
  color: var(--gold-500);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.step b { display: block; font-size: 1.02rem; color: var(--teal-900); margin-bottom: 2px; }
.step p { margin: 0; font-size: 0.93rem; color: var(--slate); }

/* ------------------------------ Floating buttons --------------------------- */
.float-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: grid;
  gap: 12px;
}
.float-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -10px rgba(6, 38, 40, 0.5);
  transition: transform 0.18s ease;
}
.float-btn:hover { transform: scale(1.07); }
.float-btn svg { width: 28px; height: 28px; }
.float-btn--wa { background: var(--wa-green); color: #fff; }
.float-btn--call { background: var(--teal-700); color: #fff; }
.float-btn__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  white-space: nowrap;
  padding: 7px 13px;
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}
.float-btn:hover .float-btn__tip,
.float-btn:focus-visible .float-btn__tip { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }

/* --------------------------------- Footer ---------------------------------- */
.site-footer { background: var(--teal-900); color: rgba(255, 255, 255, 0.75); margin-top: 0; }
.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1.1fr;
  gap: clamp(30px, 4vw, 56px);
  padding-block: clamp(48px, 6vw, 76px) 40px;
}
.site-footer h4 {
  color: var(--gold-300);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { font-size: 0.92rem; margin-top: 16px; max-width: 34ch; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { font-size: 0.94rem; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 0.92rem; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--gold-500); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.8);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.social-btn:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--teal-950); }
.social-btn svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom .heartline { width: 90px; height: 16px; color: rgba(201, 162, 39, 0.5); }

/* --------------------------------- Misc ----------------------------------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-500), var(--teal-100));
}
.timeline__item { position: relative; padding-bottom: 30px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--gold-500);
}
.timeline__item b { display: block; font-family: var(--font-display); font-size: 1.14rem; font-weight: 560; color: var(--teal-800); }
.timeline__item span { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-600); margin: 3px 0 6px; }
.timeline__item p { margin: 0; font-size: 0.95rem; color: var(--slate); }

.note-sample {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--slate);
  background: var(--gold-100);
  border: 1px dashed var(--gold-500);
  border-radius: var(--r-md);
  padding: 13px 16px;
}
.note-sample svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--gold-700); }

/* ---------------------------- Reveal animation ----------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .reveal.in { opacity: 1; transform: none; }
}

/* ------------------------------- Responsive -------------------------------- */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cred-band__grid { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .cred-band__item:nth-child(2) { border-right: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: var(--paper);
    border-bottom: var(--hairline);
    box-shadow: 0 24px 40px -24px rgba(14, 71, 73, 0.35);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0.3s;
  }
  .nav.is-open { max-height: calc(100vh - 70px); overflow-y: auto; visibility: visible; }
  .nav__list { display: block; padding: 14px var(--gutter) 20px; }
  .nav__item { border-bottom: var(--hairline); }
  .nav__link { padding: 13px 6px; border-radius: 0; font-size: 1rem; }
  .nav__item--active > .nav__link::after { display: none; }
  .nav__sub {
    position: static;
    transform: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: var(--ivory);
    border-radius: var(--r-sm);
    opacity: 1;
    visibility: visible;
    display: none;
    margin: 0 0 10px;
    padding: 6px;
  }
  .nav__item--has-children.is-open > .nav__sub { display: block; }
  .nav__item--has-children .nav__link .caret { display: none; }
  /* The desktop dropdown centres itself with translateX(-50%). Tapping a parent
     link on a touch device leaves :hover/:focus-within active, so that shift
     leaked into the accordion and cropped the submenu off the left edge. */
  .nav__item--has-children:hover > .nav__sub,
  .nav__item--has-children:focus-within > .nav__sub {
    transform: none;
    left: auto;
  }
  .header-cta { margin-left: 0; }
  .header-cta .btn { display: none; }
  .header-phone span { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; margin-inline: auto; }
  .hero__chip { left: 0; }
  .split { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .book-card { grid-template-columns: 108px 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .grid--4 { grid-template-columns: 1fr; }
  .cred-band__grid { grid-template-columns: 1fr; }
  .cred-band__item { border-right: 0; padding-inline: 10px; }
  .footer-main { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 1fr; }
  .book-card__cover { max-width: 150px; }
  .cta-banner .heartline { display: none; }
  .float-stack { right: 14px; bottom: 14px; }
  .float-btn { width: 52px; height: 52px; }
  .hero__badge { position: static; margin-top: 18px; max-width: none; }
  .hero__visual::before { display: none; }
}

/* ---------------------------------- Print ---------------------------------- */
@media print {
  .site-header, .float-stack, .cta-banner, .map-wrap iframe { display: none; }
  body { background: #fff; }
  .sec { padding-block: 24px; }
}

/* -------------------- WooCommerce (future monetization) -------------------- */
/* The theme declares WooCommerce support; these rules make the shop,
   cart and checkout match the Teal & Gold design when the plugin is
   installed later — no rebuild needed. */
.woocommerce #content,
.woocommerce-page { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 26px; list-style: none; padding: 0; }
.woocommerce ul.products li.product { background: var(--paper); border: var(--hairline); border-radius: var(--r-lg); padding: 18px; box-shadow: 0 4px 18px -14px rgba(14,71,73,.12); transition: transform .2s ease, box-shadow .2s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); color: var(--teal-800); }
.woocommerce ul.products li.product .price { color: var(--gold-700); font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--gold-500) !important; color: var(--ink) !important; border-radius: 999px !important; font-weight: 650 !important; padding: 10px 22px !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--gold-600) !important; }
.woocommerce-info, .woocommerce-message { border-top-color: var(--gold-500); }
.woocommerce-info::before, .woocommerce-message::before { color: var(--gold-600); }


/* ---- Client revisions ---- */
.brand__mark--photo img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.portrait-frame--rounded {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
}


/* ---- Feedback round 3 ---- */
.brand__mark { overflow: hidden; }
.brand__mark--photo { padding: 0; }
.brand__mark--photo img { border-radius: 50%; }
.media-thumb { position: relative; border-radius: 14px; overflow: hidden; }
.media-thumb img { aspect-ratio: 16/9; width: 100%; object-fit: cover; border-radius: 14px; }
.media-thumb__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(14, 71, 73, 0.82); color: var(--gold-500); display: grid; place-items: center; }
.book-card__cover--img { padding: 0; border-radius: 10px; overflow: hidden; }
.book-card__cover--img::before { display: none; }
.book-card__cover--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Hero badge sits below the image so it never covers the artwork text */
.hero__visual .hero__badge { position: static; margin: 20px auto 0; max-width: 360px; width: 100%; }

/* Mobile: keep the header from widening the page (header overflow guard) */
@media (max-width: 900px) {
  .site-header .header-inner { flex-wrap: nowrap; min-width: 0; }
  .site-header .brand { min-width: 0; flex: 1 1 auto; }
  .site-header .brand__text { min-width: 0; }
  .site-header .brand__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
}

/* Small phones: drop the long tagline so the brand stays clean instead of truncating */
@media (max-width: 620px) {
  .site-header .brand__tag { display: none; }
}

/* ============================ Books slider ============================= */
.slider { position: relative; }
.slider__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.slider__nav { display: flex; gap: 10px; flex: none; }
.slider__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(14,71,73,.25); background: var(--paper); color: var(--teal-700);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.slider__btn:hover { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.slider__btn svg { width: 20px; height: 20px; }
.slider__track {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 14px; margin: -4px -4px 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__item { flex: 0 0 clamp(210px, 24%, 280px); scroll-snap-align: start; }

/* Book slide */
.book-slide { display: flex; flex-direction: column; height: 100%; }
.book-slide__cover {
  position: relative; aspect-ratio: 2/3; border-radius: 12px; overflow: hidden;
  background: var(--teal-800); box-shadow: 8px 10px 26px -12px rgba(14,71,73,.5);
  transition: transform .28s ease, box-shadow .28s ease;
}
.book-slide:hover .book-slide__cover { transform: translateY(-6px); box-shadow: 12px 16px 34px -14px rgba(14,71,73,.55); }
.book-slide__cover img { width: 100%; height: 100%; object-fit: cover; }
.book-slide__flag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--gold-500); color: var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.book-slide__body { padding: 16px 4px 0; display: flex; flex-direction: column; flex: 1; }
.book-slide__body h3 { font-size: 1.02rem; line-height: 1.3; margin-bottom: 4px; }
.book-slide__body p { font-size: .84rem; color: var(--slate); margin-bottom: 12px; flex: 1; }
.book-slide__body .card__link { margin-top: auto; }

/* ========================= Video / media slider ======================== */
.video-slide { display: block; text-decoration: none; color: inherit; }
.video-slide__thumb { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: var(--teal-100); }
.video-slide__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-slide:hover .video-slide__thumb img { transform: scale(1.05); }
.video-slide__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(14,71,73,.85); color: var(--gold-500);
  display: grid; place-items: center;
  transition: background-color .2s ease, transform .2s ease;
}
.video-slide:hover .video-slide__play { background: var(--gold-500); color: var(--teal-950); transform: translate(-50%,-50%) scale(1.08); }
.video-slide h3 { font-size: 1.02rem; margin: 14px 0 4px; line-height: 1.35; }
.video-slide p { font-size: .84rem; color: var(--slate); margin: 0; }

/* ============================ Photo gallery ============================ */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.gallery__item {
  position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  border: 0; padding: 0; background: var(--teal-100); cursor: zoom-in; display: block;
  box-shadow: 0 6px 18px -12px rgba(14,71,73,.35);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,38,40,.45));
  opacity: 0; transition: opacity .25s ease;
}
.gallery__item:hover::after { opacity: 1; }
.gallery--wide { grid-template-columns: repeat(3, 1fr); }
.gallery__more {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px;
  background: var(--teal-700); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: 1.1rem; text-align: center; padding: 12px;
}
.gallery__more:hover { background: var(--teal-600); color: #fff; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(6,38,40,.94);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  transition: background-color .18s ease;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: var(--gold-500); color: var(--teal-950); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__close svg, .lightbox__prev svg, .lightbox__next svg { width: 22px; height: 22px; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .85rem; }

/* Convocation / feature image */
.feature-portrait { border-radius: 46% 46% 22px 22px / 36% 36% 22px 22px; border: 6px solid var(--paper); box-shadow: var(--shadow-soft); }

@media (max-width: 900px) {
  .slider__item { flex: 0 0 clamp(180px, 44%, 240px); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .slider__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .slider__item { flex: 0 0 70%; }
}