:root {
  --red: #c32026;
  --red-dark: #9f111c;
  --purple: #43339a;
  --orange: #f7941d;
  --green: #0a7d52;
  --ink: #222;
  --muted: #615d68;
  --line: #ececec;
  --paper: #fff9f5;
  --soft-red: #fff0f1;
  --soft-purple: #f2efff;
  --white: #fff;
  --shadow: 0 18px 42px rgba(79, 44, 44, .12);
  --soft-shadow: 0 10px 26px rgba(76, 40, 40, .08);
  --radius: 8px;
}

.youtube-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #f0e3e5;
  border-radius: var(--radius);
}

.featured-video-section,
.youtube-library-section {
  background: #f7f5f1;
}

.featured-video-head {
  align-items: start;
}

.featured-video-head h2 {
  color: #082d5d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: 0;
}

.featured-video-head p {
  color: #647087;
}

.featured-video-head .btn {
  min-width: 126px;
  min-height: 48px;
  color: #082d5d;
  border-color: #e1c79e;
  border-radius: 8px;
}

.featured-video-slider {
  position: relative;
}

.featured-video-row {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 3px 6px 12px;
}

.featured-video-row[data-seamless-slider] {
  scroll-snap-type: none;
}

.featured-video-duplicates {
  display: contents;
}

.featured-video-row::-webkit-scrollbar {
  display: none;
}

.featured-video-row .youtube-card {
  flex: 0 0 calc((100% - 56px) / 3);
  scroll-snap-align: start;
}

.featured-video-slider .slider-btn {
  top: 46%;
  z-index: 2;
}

.featured-video-slider .slider-btn.prev {
  left: -18px;
}

.featured-video-slider .slider-btn.next {
  right: -18px;
}

.youtube-toolbar .field {
  max-width: 430px;
}

.youtube-toolbar span {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.home-youtube-preview {
  display: grid;
  gap: 14px;
}

.youtube-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #ead8bc;
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(12, 36, 70, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.youtube-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.youtube-card.is-hidden,
.youtube-card.is-filtered-out {
  display: none;
}

.youtube-thumb {
  position: relative;
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  background: #06101b;
  border: 0;
  cursor: pointer;
}

.youtube-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease, opacity .25s ease;
}

.youtube-thumb:hover img {
  opacity: .84;
  transform: scale(1.04);
}

.youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #082d5d;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 15px 28px rgba(0, 0, 0, .22);
  transform: translate(-50%, -50%);
}

.youtube-play i {
  margin-left: 4px;
}

.youtube-card__body {
  padding: 24px 26px 26px;
}

.youtube-card__tag {
  display: grid;
  min-height: 30px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 12px;
  color: #c79843;
  background: #f7f0e2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.youtube-card h3 {
  min-height: 56px;
  margin: 0 0 12px;
  color: #082d5d;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 800;
}

.youtube-card__date {
  min-height: 0;
  margin: 0 0 20px;
  color: #657187;
  font-size: 15px;
  font-weight: 700;
}

.youtube-card .btn {
  min-height: 50px;
  color: #fff;
  background: #082d5d;
  border-color: #082d5d;
  border-radius: 7px;
  box-shadow: 0 12px 24px rgba(8, 45, 93, .15);
}

.youtube-card .btn:hover {
  background: #0d3d7d;
  border-color: #0d3d7d;
}

.home-youtube-preview .youtube-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: stretch;
}

.home-youtube-preview .youtube-thumb {
  height: 100%;
  aspect-ratio: auto;
}

.home-youtube-preview .youtube-card__body {
  padding: 14px;
}

.home-youtube-preview .youtube-card h3 {
  min-height: 0;
  margin-bottom: 8px;
  font-size: 15px;
}

.home-youtube-preview .youtube-card p {
  display: none;
}

.home-youtube-preview .youtube-card .btn {
  min-height: 32px;
}

.youtube-load-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.youtube-empty,
.youtube-empty-state {
  text-align: center;
}

.youtube-empty-state {
  padding: 28px;
}

.youtube-empty-state h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
}

.youtube-empty-state p {
  margin: 0;
  color: var(--muted);
}

.youtube-video-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
}

.youtube-video-modal .modal-dialog {
  width: min(820px, calc(100% - 28px));
  max-width: 820px;
}

.youtube-video-modal .modal-header {
  align-items: center;
  padding: 10px 14px;
}

.youtube-video-modal .modal-title {
  max-width: calc(100% - 48px);
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.youtube-video-modal .modal-body {
  padding: 0;
  background: #000;
}

.youtube-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 980px) {
  .youtube-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-video-row .youtube-card {
    flex-basis: calc((100% - 28px) / 2);
  }

  .home-youtube-preview .youtube-card {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 680px) {
  .youtube-toolbar {
    display: grid;
  }

  .youtube-toolbar .field {
    max-width: none;
  }

  .youtube-grid,
  .home-youtube-preview .youtube-card {
    grid-template-columns: 1fr;
  }

  .featured-video-row .youtube-card {
    flex-basis: 100%;
  }

  .home-youtube-preview .youtube-thumb {
    aspect-ratio: 16 / 9;
  }

  .youtube-card h3,
  .youtube-card__date {
    min-height: 0;
  }

  .youtube-card h3 {
    font-size: 18px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(1320px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: -999px;
  z-index: 30;
  padding: 10px 14px;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
}

.skip-link:focus {
  left: 12px;
}

.topbar {
  background: #fbf1ef;
  border-bottom: 1px solid #f2e5e2;
  font-size: 13px;
}

.topbar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tagline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--purple);
  font-weight: 800;
}

.tagline i {
  font-size: 16px;
}

.topbar nav,
.socials {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar nav > a {
  position: relative;
}

.topbar nav > a + a::before {
  content: "";
  width: 1px;
  height: 13px;
  background: #b6a5a5;
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
}

.topbar a:hover,
.primary-nav a:hover {
  color: var(--red);
}

.socials {
  gap: 8px;
}

.socials a,
.footer-socials a {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--purple);
  border-radius: 50%;
  font-size: 12px;
}

.socials a:nth-child(2),
.footer-socials a:nth-child(2) {
  background: var(--red);
}

.socials a:nth-child(3),
.footer-socials a:nth-child(3) {
  background: #b33071;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #f4eded;
  box-shadow: 0 8px 22px rgba(66, 37, 37, .05);
  backdrop-filter: blur(16px);
}

.header__inner {
  min-height: 95px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.5vw, 24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 198px;
  height: auto;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 22px);
  font-size: 14px;
  font-weight: 700;
  flex: 1 1 auto;
}

.primary-nav > a,
.nav-group > a {
  position: relative;
  min-height: 95px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.primary-nav .active {
  color: var(--red);
}

.primary-nav .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  height: 3px;
  background: var(--red);
  border-radius: 3px;
}

.nav-group {
  position: relative;
}

.nav-group i {
  font-size: 10px;
}

.nav-menu {
  position: absolute;
  top: 82px;
  left: -18px;
  min-width: 220px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}

.mega-menu {
  width: 440px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu strong {
  display: block;
  padding: 8px 12px 4px;
  color: var(--purple);
  font-size: 12px;
  text-transform: uppercase;
}

.nav-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  border-radius: 6px;
  font-size: 14px;
}

.nav-menu a:hover {
  color: var(--red);
  background: var(--soft-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header,
.header-actions .store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: var(--red);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(195, 32, 38, 0.3);
  transition: all 0.2s ease;
  flex-shrink: 0;
  width: auto !important;
}

.btn-header i,
.btn-header span,
.header-actions .store-btn i,
.header-actions .store-btn span {
  color: #ffffff !important;
}

.btn-header:hover,
.header-actions .store-btn:hover {
  background: #a3181d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(195, 32, 38, 0.4);
}

.icon-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--red);
  background: #fff;
  border: 1px solid #f1dede;
  border-radius: 50%;
  box-shadow: var(--soft-shadow);
  transition: .2s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.icon-btn:hover,
.store-btn:hover,
.btn:hover {
  transform: translateY(-2px);
}

.cart-dot span {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.store-btn,
.btn {
  height: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 13px 24px rgba(195, 32, 38, .18);
  transition: .2s ease;
  flex-shrink: 0;
}

.btn:hover,
.store-btn:hover {
  color: #fff;
  background: var(--red-dark);
}

.btn-light {
  color: var(--red);
  background: #fff;
  border-color: #c58f97;
  box-shadow: none;
}

.btn-light:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.btn-white {
  color: var(--red);
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}

.btn-small {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 7px 4px;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 58%, rgba(255, 246, 238, .8) 0 24%, transparent 42%),
    linear-gradient(98deg, #fff8f2 0%, #fffaf6 48%, #fff1df 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  left: -285px;
  bottom: -178px;
  border: 44px solid var(--red);
  border-top-color: var(--orange);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(18deg);
}

.hero::after {
  content: "";
  position: absolute;
  right: -146px;
  top: -92px;
  width: 210px;
  height: 330px;
  background: linear-gradient(140deg, var(--red), var(--orange));
  border-radius: 0 0 0 180px;
  transform: rotate(32deg);
  opacity: .9;
}

.hero__grid {
  min-height: 410px;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding: 38px 0 34px;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-weight: 800;
}

.hero-kicker {
  color: var(--ink);
  font-size: 16px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  color: var(--red);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 50px;
  line-height: 1;
  font-weight: 800;
}

.hero-copy h1 span {
  display: block;
  color: var(--purple);
}

.hero-copy p:not(.hero-kicker) {
  max-width: 540px;
  margin: 0 0 20px;
  font-size: 18px;
}

.hero-copy strong {
  color: var(--red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 28px;
}

.hero .btn {
  will-change: transform;
}

.hero .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(195, 32, 38, .2);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-points div {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
}

.round-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  font-size: 21px;
}

.round-icon.red {
  background: var(--red);
}

.round-icon.purple {
  background: var(--purple);
}

.round-icon.orange {
  background: var(--orange);
}

.hero-visual {
  align-self: stretch;
  position: relative;
  display: grid;
  align-items: end;
  justify-items: end;
  padding: 28px 0 46px;
}

.hero-stage {
  position: relative;
  width: min(820px, 100%);
  height: 332px;
  isolation: isolate;
  will-change: transform;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 36px 8px 52px 4px;
  z-index: -2;
  background:
    radial-gradient(circle at 48% 52%, rgba(255, 255, 255, .86), transparent 52%),
    linear-gradient(90deg, rgba(255, 249, 245, .18), rgba(255, 238, 220, .82));
  border-radius: 44% 56% 38% 62% / 52% 40% 60% 48%;
  filter: blur(.2px);
  opacity: var(--hero-stage-glow, 1);
}

.hero-stage::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 7%;
  bottom: 56px;
  height: 24px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(64, 42, 42, .24), transparent 68%);
  filter: blur(8px);
}

.hero-platform {
  position: absolute;
  left: 12%;
  right: 11%;
  bottom: 68px;
  z-index: 0;
  height: 62px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(119, 71, 37, .12)),
    linear-gradient(90deg, #a87048, #e3b483 52%, #8b5c3d);
  border-radius: 50%;
  box-shadow: inset 0 8px 18px rgba(255, 255, 255, .38), 0 22px 34px rgba(93, 56, 32, .18);
}

.hero-book {
  position: absolute;
  z-index: 2;
  bottom: 100px;
  width: 112px;
  aspect-ratio: .72;
  transform-style: preserve-3d;
  filter: drop-shadow(16px 22px 18px rgba(47, 28, 30, .22));
  transition: transform .25s ease, filter .25s ease;
  will-change: transform;
}

.hero-book::after {
  content: "";
  position: absolute;
  top: 7px;
  right: -9px;
  width: 11px;
  height: calc(100% - 12px);
  background: linear-gradient(90deg, rgba(255, 255, 255, .72), #c9d7d5);
  transform: skewY(-5deg);
  border-radius: 0 4px 4px 0;
  box-shadow: inset -2px 0 4px rgba(0, 0, 0, .16);
}

.hero-book img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px 3px 3px 5px;
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: inset -8px 0 8px rgba(0, 0, 0, .08);
}

.hero-book:hover {
  filter: drop-shadow(18px 26px 20px rgba(47, 28, 30, .26));
  transform: translateY(-8px) rotate(var(--rotate, 0deg));
}

.hero-book--math {
  left: 9%;
  width: 118px;
  --rotate: -3deg;
  transform: rotate(var(--rotate));
}

.hero-book--english {
  left: 25%;
  bottom: 106px;
  width: 124px;
  --rotate: 2deg;
  transform: rotate(var(--rotate));
  animation-delay: .35s;
}

.hero-book--science {
  left: 42%;
  bottom: 112px;
  width: 128px;
  --rotate: -1deg;
  transform: rotate(var(--rotate));
  animation-delay: .7s;
}

.hero-book--urdu {
  left: 60%;
  bottom: 106px;
  width: 116px;
  --rotate: 2deg;
  transform: rotate(var(--rotate));
  animation-delay: 1.05s;
}

.hero-book--islamiyat {
  left: 75%;
  width: 116px;
  --rotate: -2deg;
  transform: rotate(var(--rotate));
  animation-delay: 1.4s;
}

.hero-globe {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 90px;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  color: #2871a7;
  background:
    radial-gradient(circle at 38% 28%, #f6fbff 0 10%, transparent 11%),
    radial-gradient(circle at 45% 44%, #8ed0f4 0 42%, #5da5d5 43% 64%, #2c6f9f 65%);
  border: 8px solid #c48248;
  border-radius: 50%;
  box-shadow: 0 18px 26px rgba(65, 37, 23, .18);
  font-size: 54px;
  opacity: .95;
  will-change: transform;
}

.hero-globe::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 16px;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  border: 7px solid #a66c40;
  border-top: 0;
  border-radius: 0 0 40px 40px;
}

.hero-pencil-pot {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: 52px;
  width: 58px;
  height: 46px;
  background: linear-gradient(180deg, #fff, #ece2dc);
  border: 1px solid #e5d3c9;
  border-radius: 9px 9px 16px 16px;
  box-shadow: 0 12px 18px rgba(61, 38, 23, .16);
  will-change: transform;
}

.hero-pencil-pot span {
  position: absolute;
  bottom: 30px;
  left: 14px;
  width: 7px;
  height: 58px;
  background: var(--orange);
  border-radius: 999px;
  transform: rotate(-14deg);
  transform-origin: bottom;
}

.hero-pencil-pot span:nth-child(2) {
  left: 27px;
  height: 68px;
  background: var(--purple);
  transform: rotate(3deg);
}

.hero-pencil-pot span:nth-child(3) {
  left: 39px;
  height: 54px;
  background: var(--red);
  transform: rotate(16deg);
}

.stats-card {
  position: absolute;
  left: 5%;
  right: 2%;
  bottom: 16px;
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  align-items: center;
  padding: 16px 22px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(236, 236, 236, .95);
  border-radius: 16px;
  box-shadow: var(--shadow);
  will-change: transform;
}

.stat {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 12px;
  align-items: center;
  border-right: 1px solid #ededed;
}

.stat:last-child {
  border-right: 0;
}

.stat i {
  grid-row: span 2;
  color: var(--red);
  font-size: 26px;
}

.stat:nth-child(3) i,
.stat:nth-child(3) b,
.stat:nth-child(4) b {
  color: var(--purple);
}

.stat:nth-child(4) i {
  color: var(--orange);
}

.stat b {
  display: block;
  color: var(--purple);
  font-size: 22px;
  line-height: 1;
}

.stat span {
  font-size: 11px;
}

.panel {
  background: #fff;
  border: 1px solid #f1e8e8;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.category-strip,
.featured-books {
  position: relative;
  z-index: 2;
  padding: 14px 22px 18px;
}

.category-strip {
  margin-top: 0;
}

.featured-books {
  margin-top: 10px;
  margin-bottom: 10px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head.compact {
  align-items: center;
  margin-bottom: 14px;
}

.section-head h2,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
}

.section-head.compact h2 {
  font-size: 20px;
}

.section-head p {
  max-width: 700px;
  margin: 8px 0 0;
  color: var(--muted);
}

.view-link,
.blog-card a,
.auth-links a {
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  min-width: 0;
  min-height: 78px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 10px 6px;
  text-align: center;
  color: var(--red);
  background: var(--soft-red);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
  transition: .2s ease;
}

.category-card i {
  font-size: 27px;
}

.category-card small {
  display: block;
  color: currentColor;
  font-size: 11px;
  font-weight: 700;
  opacity: .72;
}

.category-card:nth-child(2n) {
  color: #c05a17;
  background: #fff4ea;
}

.category-card:nth-child(3n) {
  color: var(--purple);
  background: var(--soft-purple);
}

.category-card:nth-child(4n) {
  color: #087097;
  background: #eef7fb;
}

.category-card:nth-child(5n) {
  color: var(--green);
  background: #edf8f2;
}

.category-card:hover,
.book-card:hover,
.feature-card:hover,
.blog-card:hover,
.download-row:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.book-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 2px;
}

.book-row::-webkit-scrollbar {
  display: none;
}

.book-row .book-card {
  flex: 0 0 205px;
  grid-template-columns: 78px 1fr;
  scroll-snap-align: start;
}

.book-row .book-cover-img img {
  width: 78px;
  height: 112px;
}

.book-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 132px;
  padding: 12px;
  background: #fff;
  border: 1px solid #eee1e4;
  border-radius: var(--radius);
  transition: .2s ease;
}

.book-cover-img img {
  width: 86px;
  height: 116px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 7px 9px 15px rgba(0, 0, 0, .14);
}

.book-copy span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.book-copy h3 {
  margin: 1px 0 1px;
  font-size: 15px;
  font-weight: 800;
}

.book-copy p {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 13px;
}

.book-copy strong,
.detail-price {
  display: block;
  margin-bottom: 9px;
  font-weight: 900;
}

.book-card .btn-small {
  min-width: 98px;
  padding-inline: 12px;
  white-space: nowrap;
}

.featured-books .book-row {
  gap: 18px;
  padding: 4px 2px 8px;
  align-items: stretch;
}

.featured-books .book-row .featured-book-card {
  flex: 0 0 226px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 352px;
  padding: 12px;
  border-radius: 12px;
  border-color: #eadde0;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
}

.featured-books .featured-book-card .book-cover-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  background: #f7f9fc;
  border: 1px solid #eef2f7;
  border-radius: 10px;
}

.featured-books .featured-book-card .book-cover-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  box-shadow: none;
  filter: drop-shadow(0 8px 12px rgba(15, 23, 42, .14));
}

.featured-books .featured-book-card--square .book-cover-img img {
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.featured-books .featured-book-card .book-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 0 4px 0;
}

.featured-books .featured-book-card .book-copy span {
  margin-bottom: 4px;
  color: #6f6a76;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.featured-books .featured-book-card .book-copy h3 {
  min-height: 2.65em;
  margin: 0 0 6px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 16px;
  line-height: 1.32;
  font-weight: 850;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-books .featured-book-card .book-copy p {
  margin: 0 0 8px;
  color: #2f2d35;
  font-size: 13px;
  line-height: 1.3;
}

.featured-books .featured-book-card .book-copy strong {
  min-height: 1.25em;
  margin: auto 0 12px;
  color: var(--red);
  font-size: 19px;
  line-height: 1.25;
}

.featured-books .featured-book-card .btn-small {
  width: 100%;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  gap: 7px;
  color: #fff !important;
  background: var(--red);
  border-color: var(--red);
  border-radius: 9px;
  box-shadow: 0 10px 18px rgba(195, 32, 38, .18);
}

.featured-books .featured-book-card .btn-small:hover {
  color: #fff !important;
  background: #a3181d;
  border-color: #a3181d;
}

.featured-books .featured-book-card .btn-small i {
  color: inherit;
  font-size: 13px;
}

.slider-btn {
  position: absolute;
  top: 58%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #a9a0a0;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: var(--soft-shadow);
  transform: translateY(-50%);
}

.slider-btn.prev {
  left: -14px;
}

.slider-btn.next {
  right: -14px;
}

.recent-publishes {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
  background: #fff;
}

.recent-publishes__head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.recent-publishes__head .eyebrow {
  color: var(--red);
}

.recent-publishes__head h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 900;
}

.recent-publishes__grid {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 76px 64px;
  align-items: end;
  justify-items: center;
}

.recent-publish-book {
  position: relative;
  width: min(138px, 100%);
  aspect-ratio: .68;
  display: block;
  border-radius: 5px;
  transform: perspective(720px) rotateY(-7deg);
  transition: transform .25s ease, filter .25s ease;
  filter: drop-shadow(18px 18px 16px rgba(44, 30, 22, .16));
}

.recent-publish-book::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 6px;
  right: -9px;
  bottom: 5px;
  width: 12px;
  background: linear-gradient(90deg, #f8f8f8 0%, #bfc2c7 58%, #737780 100%);
  border-radius: 0 5px 5px 0;
  transform: skewY(3deg);
}

.recent-publish-book::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 8%;
  right: -18%;
  bottom: -16px;
  height: 16px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .22), transparent 68%);
  transform: rotate(-2deg);
}

.recent-publish-book img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 5px 3px 3px 5px;
  box-shadow: inset -6px 0 8px rgba(0, 0, 0, .12);
}

.recent-publish-book:hover {
  transform: perspective(720px) rotateY(0deg) translateY(-8px);
  filter: drop-shadow(20px 24px 18px rgba(44, 30, 22, .2));
}

.recent-publishes__action {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.recent-publishes__action .btn {
  min-width: 170px;
  min-height: 50px;
  box-shadow: 0 16px 30px rgba(195, 32, 38, .24);
}

.kids-learning-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0 76px;
  color: #fff;
  background:
    linear-gradient(180deg, #fff9f0 0 18px, transparent 18px calc(100% - 18px), #fff9f0 calc(100% - 18px)),
    linear-gradient(105deg, #43339a 0%, #7a2f74 46%, #c32026 100%);
}

.kids-learning-section::before {
  content: "";
  position: absolute;
  inset: 18px 0;
  background:
    radial-gradient(circle at 16% 24%, rgba(247, 148, 29, .18), transparent 25%),
    radial-gradient(circle at 86% 74%, rgba(255, 255, 255, .12), transparent 28%);
  pointer-events: none;
}

.kids-learning-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 56px;
  min-height: 410px;
}

.kids-learning-copy {
  max-width: 640px;
}

.kids-learning-eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  color: #ffca63;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.kids-learning-copy h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 48px;
  line-height: 1.16;
  font-weight: 900;
}

.kids-learning-copy p {
  max-width: 650px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .9);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 650;
}

.kids-learning-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.kids-learning-actions .btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-width: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #df2631 0%, #bd1d25 58%, #9f1721 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .34),
    0 16px 30px rgba(195, 32, 38, .28),
    0 5px 12px rgba(57, 25, 44, .16);
}

.kids-learning-actions .btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 28%, rgba(255, 255, 255, .45) 45%, transparent 62% 100%);
  transform: translateX(-135%);
  transition: transform .55s ease;
}

.kids-learning-actions .btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px 12px auto;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.kids-learning-actions .btn:hover {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #ef3440 0%, #c32026 55%, #9c151f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    0 20px 36px rgba(195, 32, 38, .34),
    0 7px 16px rgba(57, 25, 44, .2);
  transform: translateY(-2px);
}

.kids-learning-actions .btn:hover::before {
  transform: translateX(135%);
}

.btn-yellow,
.kids-learning-actions .btn.btn-yellow {
  color: #3b2332;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 46%),
    linear-gradient(135deg, #ffe27b 0%, #ffca63 48%, #f6a91d 100%);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .68),
    0 16px 28px rgba(247, 148, 29, .28),
    0 5px 12px rgba(57, 25, 44, .16);
}

.btn-yellow:hover,
.kids-learning-actions .btn.btn-yellow:hover {
  color: #3b2332;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, 0) 46%),
    linear-gradient(135deg, #ffe98f 0%, #ffc94f 48%, #f7a31a 100%);
  border-color: transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .76),
    0 20px 34px rgba(247, 148, 29, .34),
    0 7px 16px rgba(57, 25, 44, .18);
}

.kids-learning-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: 22px 0 30px;
}

.kids-learning-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 44px 64px 42px 74px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .32), transparent 24%),
    linear-gradient(135deg, #ffdc72 0%, #ffc33f 58%, #f7a91d 100%);
  border: 8px solid rgba(255, 255, 255, .2);
  border-radius: 28px;
  box-shadow: 0 30px 58px rgba(0, 0, 0, .22);
}

.kids-photo-card {
  position: relative;
  z-index: 2;
  width: min(500px, 72%);
  aspect-ratio: 1.5;
  overflow: hidden;
  background:
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, .25), transparent 24%),
    linear-gradient(135deg, #ffdc72 0%, #ffc33f 62%, #f7a91d 100%);
  border: 0;
  border-radius: 22px;
  box-shadow: none;
}

.kids-photo-card::after,
.school-photo-card::after {
  display: none;
}

.kids-person-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  transform: none;
}

.kids-art {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.kids-art--palette {
  top: 64px;
  right: 76px;
  width: 54px;
  height: 54px;
  color: var(--purple);
  background: rgba(255, 255, 255, .88);
  border-radius: 22px;
  box-shadow: 0 15px 24px rgba(0, 0, 0, .14);
  transform: rotate(10deg);
}

.kids-art--palette i {
  font-size: 25px;
}

.kids-floating-book {
  position: absolute;
  z-index: 3;
  object-fit: cover;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, .75);
  border-radius: 8px;
  box-shadow: 0 20px 28px rgba(0, 0, 0, .24);
  pointer-events: none;
}

.kids-floating-book--left {
  left: 14%;
  top: 5%;
  width: 102px;
  height: 142px;
  transform: rotate(-5deg);
}

.kids-floating-book--right {
  right: 9%;
  bottom: 12%;
  width: 96px;
  height: 134px;
  transform: rotate(7deg);
}

.school-cta {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  color: #fff;
  background:
    linear-gradient(180deg, #fff4dc 0 34px, transparent 34px calc(100% - 34px), #fff9f5 calc(100% - 34px)),
    linear-gradient(105deg, #43339a 0%, #7b245f 48%, #c32026 100%);
}

.school-cta::before {
  content: "";
  position: absolute;
  inset: 34px 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .08), transparent 28%),
    radial-gradient(circle at 86% 80%, rgba(247, 148, 29, .22), transparent 24%);
  pointer-events: none;
}

.school-cta__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 52px;
  min-height: 492px;
}

.school-cta__copy {
  max-width: 570px;
}

.school-cta__eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  color: #ffca63;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.school-cta h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 54px;
  line-height: 1.16;
  font-weight: 900;
}

.school-cta p {
  max-width: 640px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .92);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 600;
}

.school-cta p strong {
  color: #ffca63;
}

.school-cta em {
  display: block;
  margin-bottom: 34px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.school-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.school-cta__actions .btn {
  min-width: 242px;
  height: 56px;
  background: var(--red);
  border-color: #ffca63;
  box-shadow: 0 13px 28px rgba(255, 202, 99, .22);
}

.school-cta__visual {
  min-height: 430px;
  display: grid;
  place-items: center;
}

.school-cta__stage {
  position: relative;
  width: min(720px, 100%);
  min-height: 450px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.school-cta__stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 58px 70px 54px 90px;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, .28), transparent 24%),
    linear-gradient(135deg, #ffdc72 0%, #ffc33f 60%, #f7a91d 100%);
  border: 8px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  box-shadow: 0 30px 58px rgba(0, 0, 0, .2);
}

.school-photo-card {
  position: relative;
  z-index: 2;
  width: min(490px, 70%);
  aspect-ratio: 1.5;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 18%, rgba(255, 255, 255, .25), transparent 24%),
    linear-gradient(135deg, #ffdc72 0%, #ffc33f 62%, #f7a91d 100%);
  border: 0;
  border-radius: 22px;
  box-shadow: none;
}

.school-person-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}

.school-floating-book {
  position: absolute;
  z-index: 4;
  object-fit: cover;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, .78);
  border-radius: 8px;
  box-shadow: 0 20px 28px rgba(0, 0, 0, .25);
  pointer-events: none;
}

.school-floating-book--left {
  left: 10%;
  top: 28%;
  width: 122px;
  height: 170px;
  transform: rotate(-6deg);
}

.school-floating-book--right {
  right: 8%;
  bottom: 12%;
  width: 106px;
  height: 148px;
  transform: rotate(7deg);
}

.cta-stat {
  position: absolute;
  z-index: 5;
  display: grid;
  grid-template-columns: 36px auto;
  gap: 8px 10px;
  align-items: center;
  min-width: 148px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .16);
  font-size: 12px;
  font-weight: 800;
}

.cta-stat i {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
}

.cta-stat strong {
  line-height: 1;
  font-size: 16px;
}

.cta-stat span {
  color: var(--muted);
  font-size: 10px;
}

.cta-stat--top {
  top: 30%;
  right: 0;
}

.cta-stat--bottom {
  left: 2%;
  bottom: 7%;
}

.audience-band {
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(105deg, #c91624 0%, #e34a23 36%, #43339a 100%);
  border-radius: 18px 18px 0 0;
  padding: 22px 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.audience {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 2px 28px;
  border-right: 1px solid rgba(255, 255, 255, .25);
}

.audience:last-child {
  border-right: 0;
}

.audience > i {
  font-size: 43px;
}

.audience h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.audience p {
  margin: 3px 0 14px;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
}

.section {
  padding: 72px 0;
}

.soft-section,
.image-band {
  background: var(--paper);
}

.grid-3,
.catalog-grid,
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card,
.blog-card,
.testimonial,
.portal-card,
.filter-block,
.contact-cards article,
.success-card,
.article-body,
.auth-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #f0e3e5;
  border-radius: var(--radius);
  transition: .2s ease;
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  color: var(--red);
  background: var(--soft-red);
  border-radius: 50%;
  font-size: 24px;
}

.feature-card:nth-child(3n + 2) .feature-icon {
  color: var(--purple);
  background: var(--soft-purple);
}

.feature-card:nth-child(3n) .feature-icon {
  color: #c05a17;
  background: #fff4ea;
}

.feature-card h3,
.blog-card h3,
.portal-card h3,
.contact-cards h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 900;
}

.feature-card p,
.blog-card p,
.portal-card p,
.testimonial p,
.contact-cards p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(420px, 1fr);
  align-items: center;
  gap: 40px;
}

.support-copy {
  max-width: 590px;
}

.support-copy .btn {
  margin-top: 8px;
}

.split-section h2,
.detail-copy h2,
.article-body h2 {
  margin: 0 0 12px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
}

.split-section p {
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.pill-list span {
  padding: 8px 12px;
  color: var(--purple);
  background: #fff;
  border: 1px solid #e8e0f8;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.preview-panel {
  display: grid;
  gap: 16px;
}

.video-card {
  min-height: 250px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(195, 32, 38, .9), rgba(67, 51, 154, .92)),
    url("img/approved-hero-books.jpg") center / cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-card i {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff;
  border-radius: 50%;
  font-size: 22px;
}

.resource-mini,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.resource-mini span,
.resource-grid a {
  padding: 14px 16px;
  color: var(--purple);
  background: #fff;
  border: 1px solid #e8e0f8;
  border-radius: var(--radius);
  font-weight: 800;
}

.resource-grid {
  grid-template-columns: repeat(4, 1fr);
}

.resource-grid.compact {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.page-hero {
  padding: 58px 0;
  background: linear-gradient(105deg, #fff7f1, #fff, #f5efff);
  border-bottom: 1px solid #f2e3e6;
}

.page-hero p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--red);
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 122px;
  display: grid;
  gap: 14px;
}

.filter-block h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.filter-block label,
.filter-block a {
  display: block;
  margin: 9px 0;
  color: var(--muted);
}

.filter-block .filter-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.filter-block .filter-link:hover,
.filter-block .filter-link.active {
  color: var(--red);
  background: var(--soft-red);
  border-color: #f2d4d6;
}

.filter-block label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-block label input {
  flex: 0 0 auto;
}

.filter-count {
  margin-left: auto;
  min-width: 26px;
  padding: 2px 7px;
  color: var(--purple);
  background: var(--soft-purple);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.field,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #e3d5d8;
  border-radius: var(--radius);
}

textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}

.support-form {
  position: relative;
}

.panel.support-form {
  padding: 22px;
  border-color: #eed8db;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(64, 42, 42, .1);
}

.support-form__header {
  display: grid;
  gap: 5px;
  margin-bottom: 4px;
}

.support-form__header span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.support-form__header h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 900;
}

.support-form__header p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.panel.support-form .field,
.panel.support-form select,
.panel.support-form textarea {
  min-height: 52px;
  border-radius: 12px;
}

.panel.support-form textarea {
  min-height: 118px;
}

.panel.support-form .btn {
  grid-column: 1 / -1;
  width: min(280px, 100%);
  min-height: 52px;
  justify-self: end;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-message {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.form-message--success {
  color: #166534;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
}

.form-message--error {
  color: #991b1b;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #f0e3e5;
  border-radius: var(--radius);
}

.toolbar span {
  color: var(--muted);
}

.view-toggle {
  display: flex;
  gap: 8px;
}

.view-toggle button {
  width: 40px;
  height: 40px;
  color: var(--red);
  background: #fff;
  border: 1px solid #ead8dc;
  border-radius: var(--radius);
}

.view-toggle button.active {
  color: #fff;
  background: var(--red);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.catalog-grid .book-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.catalog-grid.list-view {
  grid-template-columns: 1fr;
}

.catalog-grid.list-view .book-card {
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.pagination-ui {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 30px;
}

.pagination-ui a {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff;
  border: 1px solid #ead8dc;
  border-radius: var(--radius);
  font-weight: 800;
}

.pagination-ui a.active {
  color: #fff;
  background: var(--red);
}

.detail-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 44px;
  align-items: start;
}

.detail-cover {
  padding: 34px;
  background: var(--paper);
  border: 1px solid #f2e4de;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-cover img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 15px 18px 28px rgba(0, 0, 0, .18);
}

.qr-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  color: var(--purple);
  background: #fff;
  border: 1px solid #eadff3;
  border-radius: var(--radius);
  font-weight: 800;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 18px;
}

.tab {
  padding: 9px 15px;
  color: var(--red);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.tab.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.info-panel {
  padding: 22px;
  background: var(--paper);
  border: 1px solid #f2e4de;
  border-radius: var(--radius);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li::before {
  content: "\f00c";
  margin-right: 9px;
  color: var(--red);
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
}

.downloads-grid {
  grid-template-columns: repeat(2, 1fr);
}

.download-row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid #f0e3e5;
  border-radius: var(--radius);
  transition: .2s ease;
}

.download-row i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: var(--soft-red);
  border-radius: 50%;
}

.download-row span {
  color: var(--red);
  font-weight: 800;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}

.blog-list,
.contact-cards,
.faq-list {
  display: grid;
  gap: 18px;
}

.blog-card img,
.article-body img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 6px;
}

.blog-card > span {
  display: block;
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-body {
  max-width: 840px;
}

.article-body p {
  color: var(--muted);
}

.article-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  color: var(--purple);
  background: var(--soft-purple);
  border-left: 4px solid var(--purple);
  border-radius: var(--radius);
  font-weight: 800;
}

.contact-grid,
.checkout-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-cards article,
.whatsapp-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
}

.contact-cards i,
.whatsapp-card i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
}

.contact-cards h3,
.contact-cards p {
  grid-column: 2;
}

.whatsapp-card {
  padding: 18px 24px;
  color: #fff;
  background: #19c45b;
  border-radius: var(--radius);
  font-weight: 900;
}

.whatsapp-card i {
  background: rgba(255, 255, 255, .18);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.form-grid .full,
.auth-card label,
.auth-card button {
  grid-column: 1 / -1;
}

.map-placeholder {
  min-height: 250px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--purple);
  background: #f4f1ff;
  border: 1px dashed #cabff1;
  border-radius: var(--radius);
}

.map-placeholder i {
  font-size: 38px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius);
}

.table th,
.table td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.table th {
  color: var(--purple);
  background: var(--paper);
}

.coupon-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 18px;
}

.success-card {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}

.success-card > i {
  color: var(--red);
  font-size: 58px;
}

.auth-card {
  width: min(520px, 100%);
  display: grid;
  gap: 16px;
  margin-inline: auto;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #f0e3e5;
  border-radius: var(--radius);
}

.faq-list summary {
  cursor: pointer;
  color: var(--purple);
  font-weight: 900;
}

.footer {
  padding: 0 0 86px;
  color: #fff;
  background: #211a32;
}

.newsletter {
  position: relative;
  top: -1px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.newsletter h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.newsletter p,
.footer p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter-form .form-message {
  grid-column: 1 / -1;
  margin: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
  padding: 52px 0 34px;
}

.brand--footer {
  display: inline-flex;
  padding: 8px 10px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: var(--radius);
}

.brand--footer img {
  width: 178px;
}

.footer h2 {
  margin: 0 0 15px;
  font-size: 18px;
}

.footer a {
  display: block;
  margin: 9px 0;
  color: rgba(255, 255, 255, .78);
}

.footer a:hover {
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: rgba(255, 255, 255, .65);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
}

.footer__bottom a {
  display: inline;
  margin: 0;
}

.whatsapp-button {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(37, 211, 102, .34);
  font-size: 31px;
  line-height: 1;
  isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
  animation: whatsapp-pulse 4s ease-in-out infinite;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  color: #fff;
  background: #25D366;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 18px 42px rgba(37, 211, 102, .46), 0 0 0 8px rgba(37, 211, 102, .12);
}

.whatsapp-button:focus-visible {
  outline: 3px solid rgba(37, 211, 102, .42);
  outline-offset: 4px;
}

.whatsapp-button__tooltip {
  position: absolute;
  right: calc(100% + 13px);
  top: 50%;
  width: max-content;
  max-width: 220px;
  padding: 9px 12px;
  color: #fff;
  background: #211a32;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(33, 26, 50, .18);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity .3s ease, transform .3s ease;
}

.whatsapp-button__tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 12px;
  height: 12px;
  background: #211a32;
  transform: translateY(-50%) rotate(45deg);
}

.whatsapp-button:hover .whatsapp-button__tooltip,
.whatsapp-button:focus-visible .whatsapp-button__tooltip {
  opacity: 1;
  transform: translate(0, -50%);
}

@media (max-width: 680px) {
  .footer {
    padding-bottom: 78px;
  }

  .whatsapp-button {
    width: 55px;
    height: 55px;
    right: 25px;
    bottom: 25px;
    font-size: 28px;
  }

  .whatsapp-button__tooltip {
    display: none;
  }
}

@keyframes whatsapp-pulse {
  0%,
  72%,
  100% {
    box-shadow: 0 14px 32px rgba(37, 211, 102, .34);
  }

  82% {
    box-shadow: 0 14px 32px rgba(37, 211, 102, .34), 0 0 0 12px rgba(37, 211, 102, .12);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Site-wide motion system: native, lightweight and layout-safe. */
.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--purple));
  box-shadow: 0 1px 5px rgba(195, 32, 38, .22);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.site-header {
  transition: box-shadow .3s ease, background-color .3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .985);
  box-shadow: 0 12px 32px rgba(66, 37, 37, .1);
}

.motion-ready .motion-item {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity .7s cubic-bezier(.22, 1, .36, 1),
    transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready .motion-item[data-motion-direction="left"] {
  transform: translate3d(-30px, 0, 0);
}

.motion-ready .motion-item[data-motion-direction="right"] {
  transform: translate3d(30px, 0, 0);
}

.motion-ready .motion-item.motion-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card,
  .blog-card,
  .download-card,
  .category-card,
  .resource-grid > a,
  .trust-badge,
  .audience {
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease, border-color .3s ease;
  }

  .feature-card:hover,
  .blog-card:hover,
  .download-card:hover,
  .category-card:hover,
  .resource-grid > a:hover,
  .trust-badge:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(76, 40, 40, .12);
  }

  .motion-ready .motion-item.motion-in.feature-card:hover,
  .motion-ready .motion-item.motion-in.blog-card:hover,
  .motion-ready .motion-item.motion-in.download-card:hover,
  .motion-ready .motion-item.motion-in.category-card:hover,
  .motion-ready .resource-grid > .motion-item.motion-in:hover,
  .motion-ready .motion-item.motion-in.trust-badge:hover {
    transform: translateY(-6px);
  }

  .audience:hover {
    transform: translateY(-4px);
  }

  .motion-ready .motion-item.motion-in.audience:hover {
    transform: translateY(-4px);
  }

  .blog-card img,
  .book-cover-img img,
  .recent-publish-book img {
    transition: transform .45s cubic-bezier(.22, 1, .36, 1), filter .35s ease;
  }

  .blog-card:hover img,
  .book-card:hover .book-cover-img img,
  .recent-publish-book:hover img {
    transform: translateY(-4px) scale(1.025);
    filter: saturate(1.04);
  }

  .btn i,
  .view-link,
  .blog-card > a {
    transition: transform .25s ease, color .25s ease;
  }

  .btn:hover i {
    transform: translateX(4px);
  }

  .socials a,
  .footer-socials a,
  .icon-btn {
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease;
  }

  .socials a:hover,
  .footer-socials a:hover,
  .icon-btn:hover {
    transform: translateY(-3px) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .whatsapp-button {
    animation: none;
  }

  .reveal,
  .motion-ready .motion-item,
  .motion-ready .motion-item[data-motion-direction] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .scroll-progress {
    display: none;
  }
}

/* Trusted education community */
.trusted-community {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 92px 0 76px;
  background: #fff;
  border-block: 1px solid #f0ece7;
}

.trusted-community__map {
  position: absolute;
  z-index: 0;
  top: 15px;
  left: 50%;
  width: min(1120px, 92vw);
  height: 420px;
  color: #dfd9d2;
  opacity: .48;
  transform: translateX(-50%);
  pointer-events: none;
}

.trusted-community__inner {
  position: relative;
  z-index: 1;
}

.trusted-community__head {
  max-width: 810px;
  margin: 0 auto 54px;
  text-align: center;
}

.trusted-community__eyebrow {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.trusted-community__squiggle {
  display: block;
  width: 116px;
  height: 12px;
  margin: 18px auto 25px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='116' height='12' viewBox='0 0 116 12'%3E%3Cpath d='M1 5c4-7 8 7 12 0s8 7 12 0 8 7 12 0 8 7 12 0 8 7 12 0 8 7 12 0 8 7 12 0 8 7 12 0 8 7 12 0' fill='none' stroke='%23ba2534' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.trusted-community__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.trusted-community__head p {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.trusted-community__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.trust-badge {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  text-align: center;
}

.trust-badge__icon {
  display: grid;
  width: 84px;
  height: 84px;
  margin-bottom: 17px;
  place-items: center;
  color: var(--red);
  border: 2px solid #eadadd;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 9px 26px rgba(79, 32, 38, .08);
  font-size: 30px;
  transition: transform .25s ease, color .25s ease, border-color .25s ease;
}

.trust-badge:hover .trust-badge__icon {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-5px);
}

.trust-badge strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

.trust-badge > span:last-child {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
}

.trusted-community__action {
  margin-top: 49px;
  text-align: center;
}

.trusted-community__action .btn {
  border-color: #dfc7cb;
  background: #fff;
}

@media (max-width: 980px) {
  .trusted-community {
    padding: 72px 0 64px;
  }

  .trusted-community__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 18px;
  }
}

@media (max-width: 680px) {
  .trusted-community {
    padding: 58px 0 52px;
  }

  .trusted-community__map {
    top: 84px;
    width: 980px;
    opacity: .3;
  }

  .trusted-community__head {
    margin-bottom: 38px;
  }

  .trusted-community__eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .trusted-community__head h2 {
    font-size: 34px;
    letter-spacing: -1.2px;
  }

  .trusted-community__head p {
    font-size: 14px;
  }

  .trust-badge {
    padding-inline: 4px;
  }

  .trust-badge__icon {
    width: 68px;
    height: 68px;
    font-size: 24px;
  }

  .trust-badge strong {
    font-size: 19px;
  }

  .trust-badge > span:last-child {
    font-size: 11px;
  }

  .trusted-community__action {
    margin-top: 38px;
  }
}

.submitted {
  outline: 2px solid rgba(32, 211, 91, .45);
  outline-offset: 3px;
}

/* Leadership message pages */
.about-menu {
  min-width: 270px;
}

.nav-menu a.active {
  color: var(--red);
  background: var(--soft-red);
}

.nav-menu a.active::after {
  display: none;
  content: none;
}

.leadership-page {
  background: linear-gradient(180deg, #fff 0%, #fff 52%, #fff9f5 100%);
}

.leadership-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 88px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(67, 51, 154, .94), rgba(151, 24, 59, .94) 54%, rgba(195, 32, 38, .94)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 14px);
  border-bottom: 0;
}

.leadership-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .12), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 88px);
  opacity: .45;
  pointer-events: none;
}

.leadership-hero__inner {
  position: relative;
  z-index: 1;
}

.leadership-hero .eyebrow,
.leadership-hero h1,
.leadership-hero p,
.leadership-breadcrumbs,
.leadership-breadcrumbs a {
  color: #fff;
}

.leadership-hero .eyebrow {
  color: #ffd175;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.leadership-hero h1 {
  max-width: 860px;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 900;
}

.leadership-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
}

.leadership-breadcrumbs {
  width: fit-content;
  align-items: center;
  padding: 9px 14px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.leadership-breadcrumbs a {
  font-weight: 900;
}

.leadership-profile-section {
  padding-top: 88px;
}

.leadership-layout {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.leader-card,
.leadership-message-card,
.leadership-value {
  border: 1px solid #f0e3e5;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(67, 51, 154, .1);
}

.leader-card {
  position: sticky;
  top: 126px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.leader-card:hover,
.leadership-value:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 68px rgba(67, 51, 154, .14);
}

.leader-portrait-wrap {
  position: relative;
  min-height: 372px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: linear-gradient(145deg, #fff5ea 0%, #fff 46%, #f2efff 100%);
}

.leader-portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(195, 32, 38, .16);
  border-radius: 14px;
  pointer-events: none;
}

.leader-portrait-wrap img {
  width: 100%;
  height: 100%;
  min-height: 372px;
  object-fit: cover;
  object-position: center top;
  transition: transform .35s ease;
}

.leader-card:hover .leader-portrait-wrap img {
  transform: scale(1.035);
}

.leader-portrait-placeholder {
  position: relative;
  width: min(290px, 72%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 44px auto;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--red));
  border: 10px solid #fff;
  border-radius: 50%;
  box-shadow: 0 22px 42px rgba(67, 51, 154, .18);
}

.leader-portrait-placeholder span {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(54px, 8vw, 84px);
  font-weight: 900;
}

.leader-card__body {
  padding: 28px 30px 32px;
}

.leader-card__label {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.leader-card h2,
.leadership-message-head h2,
.leadership-value h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  line-height: 1.14;
  font-weight: 900;
}

.leader-card h2 {
  font-size: 30px;
}

.leader-card p {
  margin: 8px 0 0;
  color: var(--purple);
  font-weight: 900;
}

.leadership-message-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
}

.leadership-message-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--purple));
}

.leadership-message-head {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}

.leader-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(195, 32, 38, .2);
  font-size: 30px;
}

.leadership-message-head .eyebrow {
  margin-bottom: 8px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.leadership-message-head h2 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.decorative-divider {
  width: 112px;
  height: 4px;
  display: block;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  border-radius: 999px;
}

.leadership-message-card blockquote {
  margin: 0 0 28px;
  padding: 22px 26px;
  color: var(--purple);
  background: linear-gradient(135deg, #f2efff, #fff6eb);
  border-left: 5px solid var(--orange);
  border-radius: 14px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.42;
  font-weight: 900;
}

.leadership-copy {
  display: grid;
  gap: 20px;
}

.leadership-copy p {
  margin: 0;
  color: #4e4858;
  font-size: 18px;
  line-height: 1.86;
}

.leadership-copy p:first-child::first-letter {
  float: left;
  margin: 8px 10px 0 0;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  line-height: .82;
  font-weight: 700;
}

.leadership-values-section {
  padding-top: 0;
}

.leadership-value {
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.leadership-value i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--red);
  border-radius: 14px;
  font-size: 24px;
}

.leadership-value:nth-child(2) i {
  background: var(--purple);
}

.leadership-value:nth-child(3) i {
  background: var(--green);
}

.leadership-value h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.leadership-value p {
  margin: 0;
  color: var(--muted);
}

.about-leadership {
  background: #fff;
}

.leadership-link-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #f0e3e5;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(67, 51, 154, .09);
  transition: transform .25s ease, box-shadow .25s ease;
}

.leadership-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 58px rgba(67, 51, 154, .13);
}

.leadership-link-card img,
.leadership-link-card__initials {
  width: 100%;
  height: 260px;
}

.leadership-link-card img {
  object-fit: cover;
  object-position: center top;
}

.leadership-link-card__initials {
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(67, 51, 154, .96), rgba(195, 32, 38, .92)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .1) 0 1px, transparent 1px 16px);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 74px;
  font-weight: 900;
}

.leadership-link-card > div:last-child {
  padding: 24px;
}

.leadership-link-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.leadership-link-card h3 {
  min-height: 58px;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

@media (max-width: 1240px) {
  .header__inner {
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 76px;
    padding: 12px 0;
  }

  .recent-publishes__grid {
    width: min(820px, 100%);
    gap: 64px 44px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
  }

  .primary-nav,
  .header-actions {
    flex-basis: 100%;
    width: 100%;
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .primary-nav {
    order: 3;
  }

  .header-actions {
    order: 4;
    padding-bottom: 18px;
  }

  .primary-nav.open,
  .header-actions.open {
    display: flex;
  }

  .primary-nav > a,
  .nav-group > a {
    min-height: auto;
    padding: 10px 0;
  }

  .primary-nav .active::after,
  .nav-menu {
    display: none;
  }

  .primary-nav.open .nav-group {
    width: 100%;
  }

  .primary-nav.open .nav-group .nav-menu {
    position: static;
    width: 100%;
    min-width: 0;
    display: grid;
    margin: 0 0 8px;
    padding: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .featured-books .book-row .featured-book-card {
    flex-basis: 218px;
  }
}

@media (max-width: 980px) {
  .topbar__inner,
  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__grid,
  .kids-learning-grid,
  .school-cta__grid,
  .split-section,
  .content-grid,
  .detail-grid,
  .blog-layout,
  .contact-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    padding-top: 24px;
  }

  .hero-visual {
    display: grid;
    justify-items: center;
    padding-top: 0;
  }

  .hero-stage {
    width: min(760px, 100%);
    height: 320px;
  }

  .stats-card {
    position: static;
    margin: 12px auto 0;
    width: min(760px, 96%);
  }

  .audience-grid,
  .footer__grid,
  .newsletter,
  .grid-3,
  .catalog-grid,
  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recent-publishes {
    padding: 64px 0 62px;
  }

  .recent-publishes__grid {
    width: min(560px, 100%);
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 54px 44px;
  }

  .audience {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    padding: 22px;
  }

  .sidebar {
    position: static;
  }

  .school-cta {
    padding: 62px 0;
  }

  .kids-learning-section {
    padding: 62px 0;
  }

  .kids-learning-copy h2 {
    font-size: 40px;
  }

  .kids-learning-visual {
    min-height: 390px;
  }

  .school-cta h2 {
    font-size: 42px;
  }

  .school-cta__visual {
    min-height: auto;
  }

  .school-cta__stage {
    width: min(640px, 94vw);
    min-height: 390px;
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leadership-layout {
    grid-template-columns: 1fr;
  }

  .leader-card {
    position: static;
    display: grid;
    grid-template-columns: minmax(240px, 360px) 1fr;
    align-items: stretch;
  }

  .leader-portrait-wrap,
  .leader-portrait-wrap img {
    min-height: 320px;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 26px, 1320px);
  }

  .topbar nav {
    display: none;
  }

  .brand img {
    width: 170px;
  }

  .header__inner {
    min-height: 76px;
    gap: 12px;
  }

  .hero::before {
    width: 300px;
    height: 300px;
    left: -190px;
  }

  .hero::after {
    display: none;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .recent-publishes {
    padding: 54px 0 56px;
  }

  .recent-publishes__head {
    margin-bottom: 30px;
  }

  .recent-publishes__head h2 {
    font-size: 34px;
  }

  .recent-publishes__grid {
    grid-template-columns: repeat(2, minmax(112px, 1fr));
    gap: 40px 26px;
  }

  .recent-publish-book {
    width: min(122px, 100%);
  }

  .recent-publishes__action {
    margin-top: 42px;
  }

  .recent-publishes__action .btn {
    width: min(100%, 230px);
  }

  .kids-learning-section {
    padding: 54px 0;
  }

  .kids-learning-eyebrow {
    font-size: 12px;
    letter-spacing: 1.8px;
  }

  .kids-learning-copy h2 {
    font-size: 31px;
  }

  .kids-learning-copy p {
    font-size: 15px;
  }

  .kids-learning-actions .btn {
    width: 100%;
  }

  .kids-learning-visual::before {
    inset: 58px 28px 50px;
    border-width: 5px;
    border-radius: 20px;
  }

  .kids-photo-card {
    width: min(350px, 70%);
  }

  .kids-person-photo {
    transform: none;
  }

  .kids-art--palette {
    top: 52px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .kids-art--palette i {
    font-size: 22px;
  }

  .kids-floating-book--left {
    left: 7%;
    top: 17%;
    width: 68px;
    height: 96px;
  }

  .kids-floating-book--right {
    right: 7%;
    bottom: 16%;
    width: 64px;
    height: 90px;
  }

  .school-cta {
    padding: 54px 0;
  }

  .school-cta__eyebrow {
    font-size: 12px;
    letter-spacing: 1.8px;
  }

  .school-cta h2 {
    font-size: 32px;
  }

  .school-cta p {
    font-size: 15px;
  }

  .school-cta__actions .btn {
    width: 100%;
  }

  .school-cta__stage {
    width: min(480px, 100%);
    min-height: 340px;
  }

  .school-cta__stage::before {
    inset: 56px 28px 48px;
    border-width: 5px;
    border-radius: 20px;
  }

  .school-photo-card {
    width: min(330px, 68%);
  }

  .school-floating-book--left {
    left: 6%;
    top: 29%;
    width: 68px;
    height: 96px;
  }

  .school-floating-book--right {
    right: 7%;
    bottom: 16%;
    width: 66px;
    height: 92px;
  }

  .cta-stat {
    grid-template-columns: 28px auto;
    min-width: 112px;
    padding: 7px 8px;
    gap: 5px 8px;
  }

  .cta-stat i {
    width: 28px;
    height: 28px;
  }

  .cta-stat strong {
    font-size: 13px;
  }

  .cta-stat span {
    font-size: 9px;
  }

  .cta-stat--top {
    top: 30%;
    right: 0;
  }

  .cta-stat--bottom {
    left: 2%;
    bottom: 7%;
  }

  .hero-copy p:not(.hero-kicker),
  .page-hero p {
    font-size: 15px;
    overflow-wrap: break-word;
  }

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-stage {
    height: 250px;
  }

  .hero-stage::before {
    inset: 20px 0 38px;
  }

  .hero-platform {
    left: 7%;
    right: 7%;
    bottom: 54px;
    height: 46px;
  }

  .hero-book {
    bottom: 78px;
    width: 68px;
  }

  .hero-book--math {
    left: 5%;
    width: 72px;
  }

  .hero-book--english {
    left: 22%;
    bottom: 82px;
    width: 76px;
  }

  .hero-book--science {
    left: 40%;
    bottom: 88px;
    width: 78px;
  }

  .hero-book--urdu {
    left: 59%;
    bottom: 82px;
    width: 72px;
  }

  .hero-book--islamiyat {
    left: 75%;
    width: 72px;
  }

  .hero-book::after {
    right: -6px;
    width: 7px;
  }

  .hero-globe {
    right: -2px;
    bottom: 74px;
    width: 74px;
    height: 74px;
    border-width: 5px;
    font-size: 32px;
  }

  .hero-globe::after {
    bottom: -18px;
    width: 40px;
    height: 12px;
    border-width: 5px;
  }

  .hero-pencil-pot {
    right: 2%;
    bottom: 42px;
    width: 42px;
    height: 34px;
  }

  .hero-pencil-pot span {
    height: 42px;
    bottom: 23px;
  }

  .hero-pencil-pot span:nth-child(2) {
    height: 48px;
  }

  .stats-card,
  .category-grid,
  .audience-grid,
  .grid-3,
  .grid-2,
  .catalog-grid,
  .downloads-grid,
  .footer__grid,
  .newsletter,
  .newsletter-form,
  .form-grid,
  .resource-grid,
  .resource-grid.compact,
  .resource-mini {
    grid-template-columns: 1fr;
  }

  .panel.support-form .btn {
    width: 100%;
    justify-self: stretch;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid #ededed;
    padding: 8px 0;
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .category-strip,
  .featured-books {
    padding-inline: 14px;
  }

  .featured-books .book-row {
    gap: 14px;
  }

  .featured-books .book-row .featured-book-card {
    flex-basis: min(78vw, 246px);
  }

  .section {
    padding: 48px 0;
  }

  .leadership-hero {
    padding: 58px 0 62px;
  }

  .leadership-breadcrumbs {
    flex-wrap: wrap;
    width: 100%;
    border-radius: 14px;
  }

  .leader-card,
  .leadership-message-head {
    grid-template-columns: 1fr;
  }

  .leader-card__body,
  .leadership-message-card,
  .leadership-value {
    padding: 24px;
  }

  .leader-portrait-wrap,
  .leader-portrait-wrap img {
    min-height: 290px;
  }

  .leader-mark {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    font-size: 23px;
  }

  .leadership-copy p {
    font-size: 16px;
    line-height: 1.78;
  }

  .leadership-copy p:first-child::first-letter {
    font-size: 46px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .section-head h2,
  .page-hero h1,
  .split-section h2,
  .detail-copy h2,
  .article-body h2 {
    font-size: 27px;
  }

  .book-card,
  .catalog-grid .book-card,
  .catalog-grid.list-view .book-card {
    grid-template-columns: 88px 1fr;
  }

  .book-cover-img img,
  .catalog-grid .book-cover-img img {
    width: 88px;
    height: 128px;
  }

  .slider-btn {
    display: none;
  }

  .coupon-box,
  .toolbar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .auth-links {
    flex-direction: column;
  }
}

/* Executive leadership redesign */
.leadership-page {
  --executive-navy: #082d5d;
  --executive-navy-deep: #061f40;
  --executive-gold: #b98a3f;
  --executive-gold-soft: #ead7b6;
  --executive-ink: #172033;
  --executive-muted: #647084;
  --executive-line: #e6e9ef;
  --executive-bg: #f6f7f9;
  background: #fff;
}

.leadership-hero {
  min-height: auto;
  padding: 26px 0 30px;
  color: var(--executive-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(246, 247, 249, .96)),
    repeating-linear-gradient(90deg, rgba(8, 45, 93, .045) 0 1px, transparent 1px 96px);
  border-bottom: 1px solid var(--executive-line);
}

.leadership-hero::before {
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--executive-gold), transparent);
  opacity: 1;
}

.executive-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: end;
}

.leadership-hero .eyebrow,
.leadership-hero h1,
.leadership-hero p,
.leadership-breadcrumbs,
.leadership-breadcrumbs a {
  color: var(--executive-ink);
}

.leadership-hero .eyebrow {
  margin-bottom: 6px;
  color: var(--executive-gold);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.leadership-hero h1,
.executive-message-head h2,
.executive-identity-card h2 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.leadership-hero h1 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--executive-navy-deep);
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: .98;
  font-weight: 700;
}

.leadership-breadcrumbs {
  width: fit-content;
  gap: 9px;
  padding: 0;
  margin-bottom: 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  color: var(--executive-muted);
}

.leadership-breadcrumbs a {
  color: var(--executive-navy);
  font-weight: 700;
}

.executive-hero-card {
  padding: 16px 18px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(185, 138, 63, .28);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(8, 45, 93, .05);
}

.executive-hero-card span,
.executive-identity-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--executive-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.executive-hero-card strong {
  display: block;
  color: var(--executive-navy-deep);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.1;
}

.executive-profile-section {
  padding: 76px 0 92px;
  background: linear-gradient(180deg, #fff 0%, #fff 70%, var(--executive-bg) 100%);
}

.executive-layout {
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(0, 850px);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
  justify-content: center;
}

.executive-portrait-panel,
.executive-message-card {
  background: #fff;
  border: 1px solid var(--executive-line);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(8, 45, 93, .08);
}

.executive-portrait-panel {
  position: sticky;
  top: 124px;
  overflow: hidden;
}

.executive-portrait-panel .executive-portrait-frame {
  border-radius: 14px;
}

.executive-portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #edf1f5;
}

.executive-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .42);
  pointer-events: none;
}

.executive-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.92) contrast(1.02);
  transition: transform .45s ease;
}

.executive-portrait-panel:hover .executive-portrait-frame img {
  transform: scale(1.025);
}

.executive-portrait-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--executive-navy);
  background:
    linear-gradient(180deg, rgba(8, 45, 93, .04), rgba(185, 138, 63, .09)),
    #f3f5f7;
}

.executive-portrait-placeholder span {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 138, 63, .38);
  border-radius: 50%;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 700;
}

.executive-identity-card {
  padding: 26px 28px 30px;
}

.executive-identity-card h2 {
  margin: 0;
  color: var(--executive-navy-deep);
  font-size: 34px;
  line-height: 1.04;
}

.executive-identity-card p {
  margin: 10px 0 0;
  color: var(--executive-muted);
  font-weight: 700;
}

.executive-message-card {
  max-width: 850px;
  padding: clamp(34px, 4vw, 58px);
}

.executive-message-card::before,
.leadership-message-card::before {
  display: none;
}

.executive-message-head {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}

.executive-message-head .eyebrow {
  margin: 0 0 8px;
  color: var(--executive-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.executive-message-head h2 {
  margin: 0;
  color: var(--executive-navy-deep);
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1.02;
  font-weight: 700;
}

.executive-divider {
  width: 96px;
  height: 2px;
  display: block;
  background: var(--executive-gold);
}

.executive-message-card blockquote {
  position: relative;
  margin: 0 0 34px;
  padding: 26px 30px 26px 34px;
  color: var(--executive-navy-deep);
  background: #f8f9fb;
  border: 1px solid var(--executive-line);
  border-left: 3px solid var(--executive-gold);
  border-radius: 12px;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.4vw, 35px);
  line-height: 1.28;
  font-weight: 700;
}

.executive-message-card blockquote::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 26px;
  width: 38px;
  height: 28px;
  border-top: 2px solid rgba(185, 138, 63, .4);
  border-bottom: 2px solid rgba(185, 138, 63, .4);
}

.leadership-copy {
  max-width: 800px;
  display: grid;
  gap: 22px;
}

.leadership-copy p {
  margin: 0;
  color: #3f4858;
  font-size: 17px;
  line-height: 1.9;
}

.leadership-copy p:first-child::first-letter {
  float: left;
  margin: 8px 10px 0 0;
  color: var(--executive-gold);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 58px;
  line-height: .78;
  font-weight: 700;
}

.about-leadership {
  background: #f6f7f9;
}

.about-leadership .section-head h2 {
  color: var(--executive-navy-deep, #061f40);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 3.4vw, 48px);
  letter-spacing: 0;
}

.leadership-link-card {
  border-color: #e6e9ef;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(8, 45, 93, .07);
}

.leadership-link-card span {
  color: #b98a3f;
}

.leadership-link-card h3 {
  color: #061f40;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 28px;
  letter-spacing: 0;
}

.leadership-link-card .btn {
  color: #fff;
  background: #082d5d;
  border-color: #082d5d;
  box-shadow: none;
}

.leadership-link-card .btn:hover {
  background: #061f40;
  border-color: #061f40;
}

.leadership-link-card__initials {
  color: #082d5d;
  background:
    linear-gradient(180deg, rgba(8, 45, 93, .04), rgba(185, 138, 63, .09)),
    #f3f5f7;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

@media (max-width: 980px) {
  .executive-layout {
    grid-template-columns: 1fr;
  }

  .executive-portrait-panel {
    position: static;
    width: min(520px, 100%);
  }
}

@media (max-width: 680px) {
  .leadership-hero {
    padding: 24px 0 28px;
  }

  .leadership-breadcrumbs {
    width: 100%;
    flex-wrap: wrap;
  }

  .leadership-hero h1 {
    font-size: 32px;
  }

  .executive-profile-section {
    padding: 46px 0 64px;
  }

  .executive-message-card,
  .executive-identity-card,
  .executive-hero-card {
    padding: 24px;
  }

  .executive-message-card blockquote {
    padding: 22px;
  }

  .leadership-copy p {
    font-size: 16px;
    line-height: 1.82;
  }
}

/* Premium checkout redesign */
.checkout-page {
  --checkout-primary: #c32026;
  --checkout-primary-light: #9f111c;
  --checkout-secondary: #f7941d;
  --checkout-bg: #fff9f5;
  --checkout-text: #222;
  --checkout-muted: #615d68;
  --checkout-border: #f1e8e8;
  --checkout-success: #22C55E;
  --checkout-danger: #DC2626;
  --checkout-shadow: 0 24px 70px rgba(195, 32, 38, .11);
  --checkout-soft-shadow: 0 16px 42px rgba(195, 32, 38, .08);
  color: var(--checkout-text);
  background: var(--checkout-bg);
  font-family: "Poppins", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.checkout-shell {
  width: min(1280px, calc(100% - 40px));
}

.checkout-hero {
  padding: 44px 0 18px;
  background:
    linear-gradient(180deg, rgba(255, 249, 245, .96), #fff9f5),
    linear-gradient(90deg, rgba(247, 148, 29, .12), rgba(195, 32, 38, .06));
  border-bottom: 1px solid var(--checkout-border);
}

.checkout-page .breadcrumbs {
  margin-bottom: 12px;
  color: var(--checkout-muted);
  font-family: "Poppins", Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.checkout-page .breadcrumbs a {
  color: var(--checkout-primary);
  font-weight: 700;
}

.checkout-hero h1 {
  color: var(--checkout-primary);
  font-family: "Poppins", Inter, sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: 0;
}

.checkout-hero p {
  max-width: 620px;
  margin-top: 10px;
  color: var(--checkout-muted);
  font-size: 16px;
  font-weight: 400;
}

.checkout-section {
  padding: clamp(48px, 6vw, 78px) 0 clamp(64px, 7vw, 96px);
  background: var(--checkout-bg);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(320px, .38fr) minmax(0, .62fr);
  gap: clamp(40px, 4vw, 56px);
  align-items: start;
}

.checkout-summary-card,
.checkout-form-card {
  background: #fff;
  border: 1px solid rgba(229, 231, 235, .88);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.checkout-summary-card {
  position: sticky;
  top: 124px;
  padding: 30px;
  border-radius: 18px;
  box-shadow: var(--checkout-soft-shadow);
}

.checkout-form-card {
  padding: 35px;
  border-radius: 22px;
  box-shadow: var(--checkout-shadow);
}

.checkout-summary-card:hover,
.checkout-form-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247, 148, 29, .36);
  box-shadow: 0 30px 76px rgba(195, 32, 38, .14);
}

.checkout-card-title,
.checkout-form-head,
.checkout-payment-box,
.checkout-secure-badge,
.checkout-total-row,
.checkout-total-highlight {
  display: flex;
  align-items: center;
}

.checkout-card-title {
  gap: 14px;
  margin-bottom: 26px;
}

.checkout-title-icon,
.checkout-payment-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--checkout-primary);
  background: rgba(195, 32, 38, .07);
}

.checkout-title-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 20px;
}

.checkout-card-title h2,
.checkout-form-head h2 {
  margin: 0;
  color: var(--checkout-primary);
  font-family: "Poppins", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.checkout-card-title h2 {
  font-size: 24px;
  line-height: 1.18;
}

.checkout-card-title p,
.checkout-form-head p {
  margin: 6px 0 0;
  color: var(--checkout-muted);
  font-size: 14px;
  font-weight: 400;
}

.checkout-summary-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--checkout-border);
  border-bottom: 1px solid var(--checkout-border);
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto minmax(94px, auto);
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--checkout-border);
}

.checkout-summary-item:last-child {
  border-bottom: 0;
}

.checkout-summary-item img {
  width: 74px;
  height: 92px;
  object-fit: cover;
  background: #F3F4F6;
  border: 1px solid var(--checkout-border);
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(31, 41, 55, .08);
}

.checkout-summary-copy {
  min-width: 0;
}

.checkout-summary-copy h3 {
  margin: 0 0 7px;
  color: var(--checkout-text);
  font-family: "Poppins", Inter, sans-serif;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}

.checkout-summary-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--checkout-primary);
  background: rgba(195, 32, 38, .06);
  border: 1px solid rgba(195, 32, 38, .1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.checkout-qty-badge {
  min-width: 38px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--checkout-primary);
  background: rgba(247, 148, 29, .16);
  border: 1px solid rgba(247, 148, 29, .34);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.checkout-summary-item > strong {
  justify-self: end;
  color: var(--checkout-text);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.checkout-summary-totals {
  display: grid;
  gap: 12px;
  padding: 22px 0 18px;
}

.checkout-total-row,
.checkout-total-highlight {
  justify-content: space-between;
  gap: 18px;
}

.checkout-total-row span,
.checkout-payment-box span {
  color: var(--checkout-muted);
  font-size: 14px;
  font-weight: 500;
}

.checkout-total-row strong {
  color: var(--checkout-text);
  font-size: 15px;
  font-weight: 700;
}

.checkout-total-highlight {
  min-height: 70px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(195, 32, 38, .07), rgba(247, 148, 29, .13));
  border: 1px solid rgba(247, 148, 29, .28);
  border-radius: 16px;
}

.checkout-total-highlight span {
  color: var(--checkout-primary);
  font-size: 17px;
  font-weight: 700;
}

.checkout-total-highlight strong {
  color: var(--checkout-primary);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 700;
  white-space: nowrap;
}

.checkout-payment-box {
  gap: 13px;
  margin-top: 4px;
  padding: 16px;
  background: #FBFCFE;
  border: 1px solid var(--checkout-border);
  border-radius: 16px;
}

.checkout-payment-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.checkout-payment-box strong {
  display: block;
  margin-top: 3px;
  color: var(--checkout-text);
  font-size: 15px;
  font-weight: 700;
}

.checkout-secure-badge {
  width: fit-content;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 13px;
  color: #166534;
  background: rgba(34, 197, 94, .1);
  border: 1px solid rgba(34, 197, 94, .22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.checkout-secure-badge i {
  color: var(--checkout-success);
}

.checkout-form-head {
  display: block;
  margin-bottom: 28px;
}

.checkout-form-head h2 {
  font-size: 30px;
  line-height: 1.16;
}

.checkout-alert {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 24px;
  padding: 15px 16px;
  color: #991B1B;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
}

.checkout-alert i {
  margin-top: 2px;
}

.checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.checkout-field {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0;
}

.checkout-field--full {
  grid-column: 1 / -1;
}

.checkout-field > span {
  color: var(--checkout-text);
  font-size: 14px;
  font-weight: 600;
}

.checkout-field b {
  color: var(--checkout-danger);
  font-weight: 700;
}

.checkout-control {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  color: var(--checkout-text);
  background: #fff;
  border: 1px solid var(--checkout-border);
  border-radius: 12px;
  outline: 0;
  box-shadow: 0 1px 2px rgba(31, 41, 55, .02);
  font-size: 15px;
  font-weight: 400;
  transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease, transform .3s ease;
}

.checkout-control::placeholder {
  color: #9CA3AF;
  font-weight: 400;
}

.checkout-control:focus {
  border-color: var(--checkout-primary);
  box-shadow: 0 0 0 4px rgba(195, 32, 38, .12), 0 10px 24px rgba(195, 32, 38, .07);
}

textarea.checkout-control {
  padding-top: 16px;
  resize: vertical;
}

.checkout-control--address {
  min-height: 142px;
}

.checkout-control--notes {
  min-height: 116px;
}

.checkout-field .invalid-feedback {
  display: none;
  margin: -2px 0 0;
  color: var(--checkout-danger);
  font-size: 12px;
  font-weight: 500;
}

.checkout-form-card.was-validated .checkout-control:invalid {
  border-color: var(--checkout-danger);
  background: #FFFBFB;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .08);
}

.checkout-form-card.was-validated .checkout-control:invalid + .invalid-feedback,
.checkout-field.is-invalid .invalid-feedback {
  display: block;
}

.checkout-submit {
  width: 100%;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--checkout-primary), var(--checkout-primary-light) 58%, var(--checkout-secondary));
  border: 0;
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(195, 32, 38, .24);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}

.checkout-submit:hover,
.checkout-submit:focus-visible {
  color: #fff;
  filter: brightness(1.04);
  transform: translateY(-3px);
  box-shadow: 0 24px 42px rgba(195, 32, 38, .28);
}

.checkout-submit:focus-visible {
  outline: 3px solid rgba(247, 148, 29, .42);
  outline-offset: 3px;
}

.checkout-submit:disabled {
  cursor: progress;
  opacity: .9;
}

.checkout-submit__icon {
  display: inline-flex;
  transition: transform .3s ease;
}

.checkout-submit:hover .checkout-submit__icon {
  transform: translateX(4px);
}

.checkout-submit__spinner {
  width: 19px;
  height: 19px;
  display: none;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: checkout-spin .75s linear infinite;
}

.checkout-submit.is-loading .checkout-submit__icon {
  display: none;
}

.checkout-submit.is-loading .checkout-submit__spinner {
  display: inline-block;
}

@keyframes checkout-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .checkout-layout {
    grid-template-columns: minmax(300px, .4fr) minmax(0, .6fr);
    gap: 40px;
  }

  .checkout-summary-card,
  .checkout-form-card {
    padding: 28px;
  }
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .checkout-shell {
    width: min(100% - 26px, 1280px);
  }

  .checkout-hero {
    padding: 34px 0 12px;
  }

  .checkout-section {
    padding: 34px 0 58px;
  }

  .checkout-layout {
    gap: 24px;
  }

  .checkout-summary-card,
  .checkout-form-card {
    padding: 22px;
    border-radius: 18px;
  }

  .checkout-card-title {
    margin-bottom: 20px;
  }

  .checkout-form-head h2 {
    font-size: 25px;
  }

  .checkout-fields {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .checkout-summary-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .checkout-summary-item img {
    width: 64px;
    height: 82px;
  }

  .checkout-summary-item > strong {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .checkout-total-highlight {
    min-height: 62px;
    padding: 14px;
  }
}

/* Premium cart redesign */
.cart-page {
  --cart-primary: #c32026;
  --cart-primary-light: #9f111c;
  --cart-secondary: #f7941d;
  --cart-bg: #fff9f5;
  --cart-white: #FFFFFF;
  --cart-text: #222;
  --cart-muted: #615d68;
  --cart-border: #f1e8e8;
  --cart-success: #22C55E;
  --cart-danger: #EF4444;
  --cart-shadow: 0 15px 35px rgba(0, 0, 0, .08);
  color: var(--cart-text);
  background: var(--cart-bg);
  font-family: "Poppins", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cart-shell {
  width: min(1280px, calc(100% - 40px));
}

.cart-section {
  padding: clamp(34px, 5vw, 58px) 0 clamp(70px, 8vw, 104px);
  background: var(--cart-bg);
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 3fr);
  gap: 35px;
  align-items: stretch;
}

.cart-items-card,
.cart-summary-card,
.cart-empty-card {
  background: var(--cart-white);
  border: 1px solid rgba(229, 231, 235, .92);
  border-radius: 18px;
  box-shadow: var(--cart-shadow);
  animation: cart-fade-up .45s ease both;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.cart-items-card:hover,
.cart-summary-card:hover,
.cart-empty-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247, 148, 29, .34);
  box-shadow: 0 24px 52px rgba(195, 32, 38, .12);
}

.cart-items-card {
  padding: 30px;
}

.cart-items-card,
.cart-summary-card {
  height: 100%;
}

.cart-card-head,
.cart-summary-head,
.cart-actions,
.cart-product-meta,
.cart-secure-note {
  display: flex;
  align-items: center;
}

.cart-card-head {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.cart-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--cart-secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.cart-card-head h2,
.cart-summary-head h2,
.cart-empty-card h2 {
  margin: 0;
  color: var(--cart-primary);
  font-family: "Poppins", Inter, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.cart-card-head h2 {
  font-size: 28px;
  line-height: 1.18;
}

.cart-count-badge {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--cart-primary);
  background: rgba(195, 32, 38, .07);
  border: 1px solid rgba(195, 32, 38, .12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.cart-update-form {
  display: none;
}

.cart-item-list {
  display: grid;
  gap: 18px;
}

.cart-product-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 158px 150px 48px;
  gap: 22px;
  align-items: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--cart-border);
  border-radius: 18px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.cart-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(247, 148, 29, .36);
  box-shadow: 0 18px 38px rgba(195, 32, 38, .09);
}

.cart-product-thumb {
  width: 90px;
  height: 120px;
  display: block;
  overflow: hidden;
  background: #F3F4F6;
  border: 1px solid var(--cart-border);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(31, 41, 55, .1);
}

.cart-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.cart-product-card:hover .cart-product-thumb img {
  transform: scale(1.05);
}

.cart-product-details {
  min-width: 0;
}

.cart-product-meta {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.cart-product-meta span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: var(--cart-primary);
  background: rgba(195, 32, 38, .06);
  border: 1px solid rgba(195, 32, 38, .1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.cart-product-meta .cart-stock-badge {
  color: #166534;
  background: rgba(34, 197, 94, .1);
  border-color: rgba(34, 197, 94, .22);
}

.cart-product-meta .cart-stock-badge i {
  color: var(--cart-success);
}

.cart-product-details h3 {
  margin: 0 0 10px;
  color: var(--cart-text);
  font-family: "Poppins", Inter, sans-serif;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}

.cart-product-details h3 a {
  color: inherit;
  transition: color .3s ease;
}

.cart-product-details h3 a:hover {
  color: var(--cart-primary);
}

.cart-product-details p {
  margin: 0;
  color: var(--cart-muted);
  font-size: 14px;
  font-weight: 500;
}

.cart-product-details p strong {
  color: var(--cart-text);
  font-weight: 700;
}

.cart-quantity-block {
  display: grid;
  gap: 10px;
}

.cart-quantity-block label,
.cart-price-block span {
  color: var(--cart-muted);
  font-size: 13px;
  font-weight: 600;
}

.cart-quantity-stepper {
  width: 148px;
  min-height: 46px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  overflow: hidden;
  background: #FBFCFE;
  border: 1px solid var(--cart-border);
  border-radius: 999px;
  transition: border-color .3s ease, box-shadow .3s ease, transform .18s ease;
}

.cart-quantity-stepper:focus-within {
  border-color: var(--cart-primary);
  box-shadow: 0 0 0 4px rgba(195, 32, 38, .12);
}

.cart-quantity-stepper.is-changing {
  transform: scale(1.025);
}

.cart-quantity-stepper button {
  width: 42px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--cart-primary);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color .3s ease, background-color .3s ease;
}

.cart-quantity-stepper button:hover,
.cart-quantity-stepper button:focus-visible {
  color: #fff;
  background: var(--cart-primary);
}

.cart-quantity-stepper button:disabled {
  color: #A7AFBD;
  background: transparent;
  cursor: not-allowed;
}

.cart-quantity-stepper input {
  width: 100%;
  min-height: 46px;
  padding: 0;
  color: var(--cart-text);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  appearance: textfield;
}

.cart-quantity-stepper input::-webkit-outer-spin-button,
.cart-quantity-stepper input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.cart-price-block {
  display: grid;
  justify-items: end;
  gap: 7px;
  text-align: right;
}

.cart-price-block strong {
  color: var(--cart-primary);
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
}

.cart-remove-form {
  justify-self: end;
}

.cart-remove-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--cart-danger);
  background: #fff;
  border: 1px solid rgba(239, 68, 68, .28);
  border-radius: 50%;
  cursor: pointer;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.cart-remove-btn:hover,
.cart-remove-btn:focus-visible {
  color: #fff;
  background: var(--cart-danger);
  border-color: var(--cart-danger);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(239, 68, 68, .22);
}

.cart-actions {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--cart-border);
}

.cart-btn,
.cart-summary-checkout {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, color .3s ease, background-color .3s ease, border-color .3s ease, filter .3s ease;
}

.cart-btn::after,
.cart-summary-checkout::after {
  content: "";
  position: absolute;
  inset: auto auto 0 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, .28);
  border-radius: 50%;
  transform: translate(-50%, 50%);
  transition: width .35s ease, height .35s ease;
}

.cart-btn:active::after,
.cart-summary-checkout:active::after {
  width: 220px;
  height: 220px;
}

.cart-btn:hover,
.cart-btn:focus-visible,
.cart-summary-checkout:hover,
.cart-summary-checkout:focus-visible {
  transform: translateY(-3px);
}

.cart-btn--outline {
  color: var(--cart-primary);
  background: #fff;
  border-color: rgba(195, 32, 38, .28);
  box-shadow: 0 10px 20px rgba(195, 32, 38, .06);
}

.cart-btn--outline:hover,
.cart-btn--outline:focus-visible {
  color: var(--cart-primary);
  border-color: var(--cart-primary);
  box-shadow: 0 16px 30px rgba(195, 32, 38, .12);
}

.cart-btn--soft {
  color: var(--cart-primary);
  background: rgba(195, 32, 38, .07);
  border-color: rgba(195, 32, 38, .12);
}

.cart-btn--soft:hover,
.cart-btn--soft:focus-visible {
  color: #fff;
  background: var(--cart-primary);
  box-shadow: 0 16px 30px rgba(195, 32, 38, .2);
}

.cart-btn--soft.is-loading {
  pointer-events: none;
  opacity: .82;
}

.cart-btn--primary,
.cart-summary-checkout {
  color: #fff;
  background: linear-gradient(135deg, var(--cart-primary), var(--cart-primary-light) 55%, var(--cart-secondary));
  box-shadow: 0 18px 34px rgba(195, 32, 38, .22);
}

.cart-btn--primary:hover,
.cart-btn--primary:focus-visible,
.cart-summary-checkout:hover,
.cart-summary-checkout:focus-visible {
  color: #fff;
  filter: brightness(1.04);
  box-shadow: 0 24px 42px rgba(195, 32, 38, .28);
}

.cart-btn:focus-visible,
.cart-summary-checkout:focus-visible,
.cart-remove-btn:focus-visible {
  outline: 3px solid rgba(247, 148, 29, .42);
  outline-offset: 3px;
}

.cart-summary-card {
  position: sticky;
  top: 124px;
  padding: 30px;
}

.cart-summary-head {
  gap: 14px;
  margin-bottom: 24px;
}

.cart-summary-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--cart-primary);
  background: rgba(195, 32, 38, .07);
  border-radius: 14px;
  font-size: 20px;
}

.cart-summary-head h2 {
  font-size: 24px;
  line-height: 1.18;
}

.cart-summary-head p {
  margin: 5px 0 0;
  color: var(--cart-muted);
  font-size: 14px;
  font-weight: 500;
}

.cart-summary-lines {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--cart-border);
  border-bottom: 1px solid var(--cart-border);
}

.cart-summary-lines > div {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--cart-border);
}

.cart-summary-lines > div:last-child {
  border-bottom: 0;
}

.cart-summary-lines span {
  color: var(--cart-muted);
  font-size: 14px;
  font-weight: 500;
}

.cart-summary-lines strong {
  color: var(--cart-text);
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.cart-grand-total {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 13px 16px;
  background: linear-gradient(135deg, rgba(195, 32, 38, .07), rgba(247, 148, 29, .15));
  border: 1px solid rgba(247, 148, 29, .28);
  border-radius: 14px;
}

.cart-grand-total span {
  color: var(--cart-primary);
  font-size: 14px;
  font-weight: 700;
}

.cart-grand-total strong {
  color: var(--cart-primary);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.cart-summary-checkout {
  width: 100%;
  margin-top: 20px;
}

.cart-secure-note {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  justify-content: start;
  margin-top: 14px;
  color: #166534;
  text-align: left;
}

.cart-secure-note i {
  margin-top: 3px;
  color: var(--cart-success);
}

.cart-secure-note strong,
.cart-secure-note span {
  display: block;
}

.cart-secure-note strong {
  color: #166534;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
}

.cart-secure-note span {
  margin-top: 2px;
  color: var(--cart-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.cart-empty-card {
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(34px, 5vw, 56px);
  text-align: center;
}

.cart-empty-visual {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  color: var(--cart-primary);
  background: linear-gradient(135deg, rgba(195, 32, 38, .08), rgba(247, 148, 29, .16));
  border: 1px solid rgba(247, 148, 29, .24);
  border-radius: 28px;
  font-size: 42px;
}

.cart-empty-card h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.cart-empty-card p {
  max-width: 440px;
  margin: 12px auto 26px;
  color: var(--cart-muted);
  font-size: 16px;
}

@keyframes cart-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-page *,
  .cart-page *::before,
  .cart-page *::after {
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1180px) {
  .cart-layout {
    grid-template-columns: minmax(0, 6fr) minmax(290px, 4fr);
  }

  .cart-product-card {
    grid-template-columns: 90px minmax(0, 1fr) 148px 132px 46px;
    gap: 16px;
  }

  .cart-product-details h3 {
    font-size: 20px;
  }
}

@media (max-width: 940px) {
  .cart-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cart-summary-card {
    position: static;
  }

  .cart-items-card,
  .cart-summary-card {
    height: auto;
  }
}

@media (max-width: 720px) {
  .cart-shell {
    width: min(100% - 26px, 1280px);
  }

  .cart-section {
    padding: 28px 0 62px;
  }

  .cart-items-card,
  .cart-summary-card {
    padding: 22px;
  }

  .cart-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-card-head h2 {
    font-size: 24px;
  }

  .cart-product-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .cart-product-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: 260px;
  }

  .cart-product-details h3 {
    font-size: 22px;
  }

  .cart-quantity-stepper {
    width: 100%;
  }

  .cart-price-block {
    justify-items: start;
    text-align: left;
  }

  .cart-remove-form {
    justify-self: start;
  }

  .cart-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cart-btn,
  .cart-summary-checkout {
    width: 100%;
  }

  .cart-grand-total {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* Vision & Mission page */
.vision-mission-page {
  background: #fff;
}

.vision-mission-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(255, 249, 245, .96), rgba(255, 255, 255, .98)),
    linear-gradient(135deg, rgba(195, 32, 38, .08), rgba(247, 148, 29, .12));
}

.vision-mission-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -70px;
  width: 270px;
  height: 140px;
  border: 1px solid rgba(247, 148, 29, .22);
  border-radius: 30px;
  background: rgba(247, 148, 29, .09);
  transform: rotate(-10deg);
}

.vision-mission-hero .wrap {
  position: relative;
  z-index: 1;
}

.vision-mission-hero .eyebrow {
  color: var(--orange);
}

.vision-mission-section {
  padding: clamp(58px, 7vw, 92px) 0;
  background: #fff;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 44px);
  align-items: stretch;
}

.vision-mission-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: grid;
  align-content: start;
  padding: clamp(30px, 4vw, 44px);
  background: #fff;
  border: 1px solid #f1e8e8;
  border-radius: 18px;
  box-shadow: 0 20px 54px rgba(76, 40, 40, .09);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.vision-mission-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--orange));
}

.vision-mission-card::after {
  content: "";
  position: absolute;
  right: -58px;
  top: -58px;
  width: 170px;
  height: 170px;
  background: rgba(67, 51, 154, .06);
  border-radius: 50%;
}

.vision-mission-card:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 148, 29, .32);
  box-shadow: 0 28px 70px rgba(76, 40, 40, .13);
}

.vision-mission-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(195, 32, 38, .18);
  font-size: 26px;
}

.mission-card .vision-mission-icon {
  background: linear-gradient(135deg, var(--purple), var(--red));
  box-shadow: 0 16px 32px rgba(67, 51, 154, .16);
}

.vision-mission-kicker {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.vision-mission-card h2 {
  margin: 10px 0 18px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 900;
}

.vision-mission-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #4f4858;
  font-size: 18px;
  line-height: 1.85;
  font-weight: 500;
}

.vision-mission-values {
  padding: 72px 0 88px;
  background: var(--paper);
}

.vision-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.vision-value {
  padding: 26px;
  background: #fff;
  border: 1px solid #f1e8e8;
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}

.vision-value:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.vision-value i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--red);
  border-radius: 14px;
  font-size: 22px;
}

.vision-value:nth-child(2) i {
  background: var(--purple);
}

.vision-value:nth-child(3) i {
  background: var(--orange);
}

.vision-value h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 21px;
  font-weight: 900;
}

.vision-value p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .vision-mission-grid,
  .vision-values-grid {
    grid-template-columns: 1fr;
  }

  .vision-mission-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .vision-mission-hero::after {
    display: none;
  }

  .vision-mission-section {
    padding: 46px 0;
  }

  .vision-mission-card {
    padding: 26px;
    border-radius: 16px;
  }

  .vision-mission-icon {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    font-size: 22px;
  }

  .vision-mission-card p {
    font-size: 16px;
    line-height: 1.75;
  }

  .vision-mission-values {
    padding: 52px 0 64px;
  }
}

/* CMS content modules */
.cms-page {
  background: #fffaf7;
}

.about-cms-page {
  background: #ffffff;
}

.cms-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 110px) 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.cms-hero__grid,
.cms-split,
.team-detail-grid,
.author-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.cms-hero__copy .breadcrumbs {
  margin-bottom: 24px;
}

.cms-hero__copy h1,
.cms-split__copy h2,
.team-detail-copy h1,
.author-detail-copy h1 {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cms-hero__copy p,
.cms-split__copy p,
.team-detail-copy p,
.author-detail-copy p {
  margin: 0;
  color: #475569;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  max-width: 640px;
}

.cms-hero__stats {
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding: 16px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.cms-hero__stats strong {
  color: var(--red);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.cms-hero__stats span {
  max-width: 220px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.cms-hero__media,
.cms-split__media,
.team-detail-photo,
.author-detail-photo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.07);
}

.cms-hero__media img,
.cms-split__media img,
.team-detail-photo img,
.author-detail-photo img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 480px;
  display: block;
  object-fit: cover;
}

.about-intro-section,
.team-org-section,
.author-detail-section,
.team-detail-section {
  padding: clamp(70px, 8vw, 110px) 0;
  background: #ffffff;
}

.about-services-section,
.about-choice-section {
  padding: clamp(70px, 8vw, 110px) 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.about-strengths-section {
  padding: clamp(70px, 8vw, 110px) 0;
  background: #ffffff;
}

.cms-split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.cms-split__copy {
  padding: 10px 0;
}

.cms-card-grid {
  display: grid;
  gap: 28px;
}

.cms-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cms-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cms-card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cms-info-card,
.cms-choice-card,
.cms-strength-card,
.team-profile-card,
.author-card,
.profile-info-panel,
.author-book-card,
.author-featured-card,
.cms-empty-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .3s ease;
}

.cms-info-card:hover,
.cms-choice-card:hover,
.cms-strength-card:hover,
.team-profile-card:hover,
.author-card:hover,
.profile-info-panel:hover,
.author-book-card:hover,
.author-featured-card:hover {
  transform: translateY(-5px);
  border-color: rgba(195, 32, 38, 0.25);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.cms-info-card,
.cms-choice-card {
  padding: 32px 28px;
}

.cms-info-card__icon,
.cms-choice-card span {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--red);
  background: rgba(195, 32, 38, 0.08);
  border: 1px solid rgba(195, 32, 38, 0.15);
  border-radius: 14px;
  font-size: 20px;
  transition: background .3s ease, color .3s ease;
}

.cms-info-card:hover .cms-info-card__icon,
.cms-choice-card:hover span {
  color: #ffffff;
  background: var(--red);
}

.cms-info-card__image {
  width: 100%;
  height: 180px;
  margin-bottom: 22px;
  border-radius: 12px;
  object-fit: cover;
}

.cms-info-card h3,
.cms-choice-card h3,
.cms-strength-card h3,
.team-profile-card h3,
.author-card h3,
.profile-info-panel h2,
.author-book-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cms-info-card p,
.cms-choice-card p,
.cms-strength-card p,
.team-profile-card p,
.author-card p,
.profile-info-panel p,
.author-book-card p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.68;
}

.cms-strength-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cms-strength-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
}

.cms-strength-card > i {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: rgba(195, 32, 38, 0.08);
  border: 1px solid rgba(195, 32, 38, 0.15);
  border-radius: 14px;
  font-size: 20px;
  flex-shrink: 0;
}

.cms-choice-card:nth-child(2n) span,
.cms-info-card:nth-child(2n) .cms-info-card__icon {
  color: var(--red);
  background: rgba(195, 32, 38, 0.08);
}

.team-hero__panel,
.authors-hero__stats {
  display: grid;
  gap: 14px;
  padding: 34px;
  background: #fff;
  border: 1px solid #f0ddd8;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.team-hero__panel span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 20px;
  font-size: 30px;
}

.team-hero__panel strong,
.authors-hero__stats strong {
  color: var(--red);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
}

.team-hero__panel p,
.authors-hero__stats span {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.team-org-chart {
  display: grid;
  gap: 16px;
}

.team-org-level {
  position: relative;
  padding: 0;
  border: 1px solid #efd7ca;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.team-org-level summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  color: var(--red);
  cursor: pointer;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 20px;
  font-weight: 900;
  list-style: none;
}

.team-org-level summary::-webkit-details-marker {
  display: none;
}

.team-org-level summary i {
  transition: transform .3s ease;
}

.team-org-level[open] summary i {
  transform: rotate(180deg);
}

.team-org-level__members {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 24px 24px;
}

.team-mini-card,
.author-featured-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
}

.team-mini-card img,
.team-mini-card span,
.author-featured-card img,
.author-featured-card > span {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  object-fit: cover;
  background: var(--soft-red);
  color: var(--red);
  font-weight: 900;
}

.team-mini-card strong,
.author-featured-card strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.team-mini-card small,
.author-featured-card small {
  color: var(--muted);
  font-weight: 700;
}

.team-card-grid,
.author-card-grid,
.author-books-grid,
.author-featured-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.author-featured-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-profile-card,
.author-card {
  overflow: hidden;
}

.team-profile-card__media,
.author-card__photo {
  min-height: 250px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff1ec, #f5f0ff);
  color: var(--red);
  text-decoration: none;
  font-size: 44px;
  font-weight: 900;
}

.team-profile-card__media img,
.author-card__photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-profile-card__body,
.author-card__body {
  padding: 24px;
}

.team-profile-card__body > span,
.author-card__body > span,
.author-book-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.team-profile-card h3 a,
.author-card h3 a,
.author-book-card h3 a {
  color: inherit;
  text-decoration: none;
}

.team-profile-card strong,
.author-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
}

.team-profile-card__meta,
.profile-contact-row,
.profile-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.team-profile-card__meta a,
.profile-contact-row a,
.profile-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--red);
  background: var(--soft-red);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .3s ease, background .3s ease;
}

.team-profile-card__meta a:hover,
.profile-contact-row a:hover,
.profile-social-links a:hover {
  transform: translateY(-2px);
  background: #ffe2d4;
}

.team-detail-photo,
.author-detail-photo {
  min-height: 480px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: linear-gradient(135deg, #fff1ec, #f5f0ff);
  font-size: 80px;
  font-weight: 900;
}

.team-detail-copy > strong,
.author-detail-copy > strong {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 22px;
}

.profile-info-panel {
  padding: 28px;
}

.author-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.author-detail-meta div {
  padding: 16px;
  background: #fff7f2;
  border: 1px solid #f0ddd8;
  border-radius: 14px;
}

.author-detail-meta span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.author-detail-meta strong {
  color: var(--ink);
  font-weight: 900;
}

.author-filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  margin-bottom: 26px;
  padding: 20px;
  background: #fff;
  border: 1px solid #f0ddd8;
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

.author-filter-bar label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.author-filter-bar input,
.author-filter-bar select {
  min-height: 52px;
  border: 1px solid #efd7ca;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 700;
}

.author-card[hidden] {
  display: none;
}

.author-card dl {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.author-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid #f2e3df;
}

.author-card dt,
.author-card dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.author-card dd {
  color: var(--ink);
  text-align: right;
}

.author-book-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.author-book-card__cover img {
  width: 130px;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
}

.authors-hero__stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cms-empty-card,
.author-filter-empty {
  padding: 24px;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .cms-card-grid--four,
  .author-featured-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-org-level__members,
  .team-card-grid,
  .author-card-grid,
  .author-books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .cms-hero__grid,
  .cms-split,
  .team-detail-grid,
  .author-detail-grid {
    grid-template-columns: 1fr;
  }

  .cms-split__media {
    order: 2;
  }

  .cms-card-grid--three,
  .cms-card-grid--two,
  .cms-strength-grid {
    grid-template-columns: 1fr;
  }

  .author-filter-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .cms-hero {
    padding: 42px 0;
  }

  .cms-hero__copy h1,
  .cms-split__copy h2,
  .team-detail-copy h1,
  .author-detail-copy h1 {
    font-size: 38px;
  }

  .cms-hero__media,
  .cms-split__media,
  .team-detail-photo,
  .author-detail-photo {
    min-height: 290px;
    border-radius: 18px;
  }

  .cms-hero__media img,
  .cms-split__media img,
  .team-detail-photo img,
  .author-detail-photo img {
    min-height: 290px;
  }

  .cms-card-grid--four,
  .team-org-level__members,
  .team-card-grid,
  .author-card-grid,
  .author-books-grid,
  .author-featured-row,
  .authors-hero__stats,
  .author-detail-meta {
    grid-template-columns: 1fr;
  }

  .author-book-card {
    grid-template-columns: 1fr;
  }

  .author-book-card__cover img {
    width: 100%;
    height: 240px;
  }

  .cms-strength-card {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Modern Store / Books Page & Product Grid System
   ========================================================================== */
.store-page {
  background: #f8fafc;
}

.store-main-section {
  padding: clamp(28px, 4vw, 48px) 0;
}

.store-header {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-filter-count {
  color: #64748b;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.store-filter-count strong {
  color: var(--ink);
  font-weight: 800;
}

.store-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 32px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  flex-wrap: nowrap;
}

.store-search-box {
  position: relative;
  flex: 1 1 280px;
  min-width: 200px;
}

.store-search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
}

.store-search-box input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 38px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13.5px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.store-search-box input:focus {
  background: #ffffff;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(195, 32, 38, 0.12);
}

.store-select-wrap {
  position: relative;
  flex: 0 1 auto;
  min-width: 125px;
}

.store-select-wrap select {
  width: 100%;
  height: 42px;
  padding: 0 30px 0 12px;
  color: #334155;
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.store-select-wrap select:hover {
  background-color: #ffffff;
  border-color: #94a3b8;
}

.store-select-wrap select:focus {
  background-color: #ffffff;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(195, 32, 38, 0.12);
}

.store-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
}

.store-filter-reset:hover {
  color: var(--red);
  border-color: var(--red);
  background: rgba(195, 32, 38, 0.05);
}

.store-view-toggle {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.store-view-toggle button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.store-view-toggle button:hover {
  color: var(--ink);
}

.store-view-toggle button.active {
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 2px 6px rgba(195, 32, 38, 0.3);
}

.store-filter-bar__controls select {
  height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.store-filter-bar__controls select:focus {
  background: #ffffff;
  border-color: var(--red);
}

.store-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  color: #64748b;
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.store-filter-reset:hover {
  color: var(--red);
  border-color: var(--red);
  background: rgba(195, 32, 38, 0.05);
}

.store-filter-bar__right {
  display: flex;
  align-items: center;
}

.store-view-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.store-view-toggle button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.2s ease;
}

.store-view-toggle button:hover {
  color: var(--ink);
}

.store-view-toggle button.active {
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 2px 6px rgba(195, 32, 38, 0.3);
}

/* Store Grid & Card Styling */
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.store-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  height: 100%;
  min-height: 0;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-sizing: border-box;
}

.store-card:hover {
  transform: translateY(-5px);
  border-color: rgba(195, 32, 38, 0.3);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.content-grid .store-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.store-card .book-cover-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 16px;
  background: #f7f9fc;
  border: 1px solid #eef2f7;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
}

.store-card .book-cover-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.12));
  transition: transform 0.25s ease;
}

.store-card--square-cover .book-cover-img img {
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.store-card:hover .book-cover-img img {
  transform: scale(1.04);
}

.store-card .book-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  padding: 0 6px 2px;
  box-sizing: border-box;
}

.store-card__category {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--red);
  margin-bottom: 4px;
}

.store-card__title {
  margin: 0 0 6px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.store-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.store-card__title a:hover {
  color: var(--red);
}

.store-card__class {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.store-card__price {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.01em;
  display: block;
  margin-top: 4px;
  margin-bottom: 12px;
}

.store-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  width: 100%;
}

.store-card__cart-form {
  margin: 0;
  width: 100%;
  display: block;
  min-width: 0;
}

.store-btn {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-sizing: border-box;
  min-width: 0;
}

.store-card__actions .store-btn span {
  display: inline;
  color: inherit !important;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.store-card__actions .store-btn i {
  flex: 0 0 auto;
  font-size: 13px;
}

.store-btn--cart,
a.store-btn--cart,
a.store-btn--cart:link,
a.store-btn--cart:visited,
button.store-btn--cart {
  background: #f1f5f9;
  color: #1e293b !important;
  border: 1px solid #cbd5e1;
  width: 100%;
}

.store-btn--cart i,
.store-btn--cart span {
  color: #1e293b !important;
}

.store-btn--cart:hover {
  background: #e2e8f0;
  color: #0f172a !important;
  border-color: #94a3b8;
}

.store-btn--buy,
a.store-btn--buy,
a.store-btn--buy:link,
a.store-btn--buy:visited,
button.store-btn--buy {
  background: var(--red);
  color: #ffffff !important;
  border: 1px solid var(--red);
  width: 100%;
}

.store-btn--buy i,
.store-btn--buy span {
  color: #ffffff !important;
}

.store-btn--buy:hover {
  background: #a3181d;
  color: #ffffff !important;
  border-color: #a3181d;
  box-shadow: 0 4px 12px rgba(195, 32, 38, 0.3);
}

/* List View Variant */
.store-grid.list-view {
  grid-template-columns: 1fr;
  gap: 20px;
}

.store-grid.list-view .store-card {
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.store-grid.list-view .book-cover-img {
  width: 160px;
  height: 180px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.store-grid.list-view .book-copy {
  flex: 1 1 auto;
}

.store-grid.list-view .store-card__actions {
  width: min(100%, 280px);
  min-width: 260px;
  flex-shrink: 0;
}

/* No Results Box */
.store-no-results {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.store-no-results i {
  font-size: 44px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.store-no-results h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}

.store-no-results p {
  color: #64748b;
  margin: 0 0 20px;
}

/* Responsive Grid Breakpoints */
@media (max-width: 1199px) {
  .store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 899px) {
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  
  .store-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .store-filter-bar__left,
  .store-filter-bar__right {
    justify-content: space-between;
  }
}

@media (max-width: 599px) {
  .store-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .store-filter-bar__controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .store-filter-bar__controls select,
  .store-filter-reset {
    width: 100%;
  }

  .store-btn--buy,
  .store-card__cart-form {
    width: 100%;
  }
}
