/* ==========================================================================
   LAB RATS — shared stylesheet
   Design tokens
   ========================================================================== */

:root {
  --navy: #1B1464;
  --navy-deep: #120D46;
  --orange: #E8934F;
  --orange-deep: #D97C34;
  --pale-blue: #CFE2F7;
  --pale-blue-soft: #EAF2FC;
  --white: #FFFFFF;
  --ink: #1E1B3A;
  --ink-soft: #514C74;
  --line: #DFE1EC;

  --serif: "Source Serif 4", Georgia, "Iowan Old Style", serif;
  --sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; max-width: 62ch; color: var(--ink-soft); }

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

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

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--orange-deep);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
}

.brand img { height: 34px; width: auto; }

.brand .sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 1px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.25rem);
}

nav.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--navy);
  border-color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--navy);
}

.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 760px) {
  nav.main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  }
  nav.main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  nav.main-nav a {
    width: 100%;
    padding: 1rem var(--pad);
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
  }
  nav.main-nav a.active,
  nav.main-nav a:hover {
    border-color: transparent;
    border-left-color: var(--orange);
    background: var(--pale-blue-soft);
  }
  .nav-toggle { display: block; }
}

/* Division switch strip */
.division-strip {
  background: var(--navy);
  color: var(--pale-blue-soft);
}
.division-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  font-size: 0.85rem;
  text-align: center;
  flex-wrap: wrap;
}
.division-strip a {
  color: var(--orange);
  font-weight: 600;
  border-bottom: 1px solid rgba(232, 147, 79, 0.5);
}
.division-strip a:hover { border-color: var(--orange); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-deep); }

.btn-accent {
  background: var(--orange);
  color: var(--white);
}
.btn-accent:hover { background: var(--orange-deep); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

.btn-whatsapp {
  background: #1F8B4C;
  color: var(--white);
}
.btn-whatsapp:hover { background: #176B3A; }

/* ==========================================================================
   Section rhythm
   ========================================================================== */

section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section-pale { background: var(--pale-blue-soft); }
.section-navy { background: var(--navy); color: var(--pale-blue-soft); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(234, 242, 252, 0.82); }

.eyebrow {
  color: var(--orange-deep);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: block;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.hero-home {
  padding-top: clamp(3.5rem, 9vw, 6.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-home::after {
  content: "";
  position: absolute;
  width: clamp(300px, 38vw, 560px);
  height: clamp(420px, 52vw, 760px);
  right: clamp(-180px, -10vw, -70px);
  top: 50%;
  transform: translateY(-48%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 520'%3E%3Cpath d='M132 26h96M150 27v130L61 339c-38 78 8 155 94 155h50c86 0 132-77 94-155l-89-182V27' fill='none' stroke='%23e99a56' stroke-width='9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.hero-home .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .hero-home::after {
    width: 320px;
    height: 470px;
    right: -210px;
    opacity: 0.09;
  }
}
.hero-home .flask {
  width: 74px;
  margin: 0 auto 1.75rem;
}
.hero-home h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 0.6rem;
}
.hero-home .lede {
  max-width: 46ch;
  margin: 0 auto 0;
  color: var(--ink-soft);
}
.home-brand-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 2rem auto 0;
}
.home-brand-logos img {
  width: auto;
  height: clamp(76px, 9vw, 106px);
  max-width: 150px;
  object-fit: contain;
  border-radius: 6px;
}
.home-brand-logos img:last-child {
  height: clamp(84px, 10vw, 118px);
}
@media (max-width: 520px) {
  .home-brand-logos { gap: 0.8rem; }
  .home-brand-logos img { max-width: 122px; }
}

.divisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
@media (max-width: 820px) {
  .divisions { grid-template-columns: 1fr; }
}

.division-panel {
  position: relative;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.75rem, 5vw, 4rem);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.division-panel + .division-panel { border-left: 1px solid var(--line); }
@media (max-width: 820px) {
  .division-panel + .division-panel { border-left: none; border-top: 1px solid var(--line); }
}

.division-panel.academy { background: var(--pale-blue-soft); }
.division-panel.stationery { background: #FBF3EA; }

.division-mark {
  position: absolute;
  top: clamp(2rem, 5vw, 3rem);
  right: clamp(1.5rem, 5vw, 3rem);
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 600;
  color: rgba(27, 20, 100, 0.06);
  z-index: -1;
  line-height: 1;
  user-select: none;
}
.division-panel.stationery .division-mark { color: rgba(216, 122, 40, 0.09); }

.division-logo {
  position: absolute;
  top: clamp(1.6rem, 4vw, 2.6rem);
  right: clamp(1.5rem, 4vw, 3rem);
  width: auto;
  height: clamp(88px, 10vw, 128px);
  max-width: 165px;
  object-fit: contain;
  border-radius: 7px;
  opacity: 0.96;
}
.division-panel.stationery .division-logo {
  height: clamp(98px, 11vw, 140px);
}

.division-panel .kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--orange-deep);
  margin-bottom: 0.9rem;
}
.division-panel h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 0.5rem;
}
.division-panel p { margin-bottom: 1.75rem; }

.home-strip {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.home-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
@media (max-width: 700px) {
  .home-strip .wrap { grid-template-columns: 1fr; gap: 2rem; }
}
.home-strip h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.home-strip p { font-size: 0.95rem; margin-bottom: 0; }

/* ==========================================================================
   Academy page
   ========================================================================== */

.academy-hero {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.academy-hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .academy-hero .wrap { grid-template-columns: 1fr; }
}
.academy-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
}
.academy-hero-mark {
  background: var(--pale-blue-soft);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}
.academy-hero-mark img { width: 100%; max-width: 220px; }

.about-academy .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 860px) {
  .about-academy .wrap { grid-template-columns: 1fr; }
}

.levels {
  display: grid;
  gap: 1.75rem;
}

.level-panel {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.level-panel-head {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.level-panel:nth-child(2) .level-panel-head { background: var(--orange-deep); }
.level-panel:nth-child(3) .level-panel-head { background: #2A2178; }

.level-panel-head h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.4rem;
}
.level-panel-head span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
}
.subject-cell {
  background: var(--white);
  padding: 1.35rem 1.5rem;
}
.subject-cell .subject-name {
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 0.3rem;
}
.subject-cell .subject-meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.subject-cell .subject-meta .status {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 100px;
  background: var(--pale-blue-soft);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 760px) {
  .difference-grid { grid-template-columns: 1fr; }
}
.difference-item .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--pale-blue);
  margin-bottom: 0.4rem;
  display: block;
}

.photo-placeholder {
  background: var(--pale-blue-soft);
  border: 1px dashed var(--pale-blue);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: center;
  padding: 1.5rem;
}
.photo-placeholder span { max-width: 24ch; }


.environment-photo {
  margin: 0;
  min-height: 320px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--pale-blue-soft);
}
.environment-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 760px) {
  .environment-photo,
  .environment-photo img { min-height: 280px; }
}
.environment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 760px) {
  .environment-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .environment-grid { grid-template-columns: 1fr; }
}

.enrol-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
}
.enrol-box h2 { color: var(--white); margin-bottom: 0.35rem; }
.enrol-box p { color: rgba(234, 242, 252, 0.82); margin-bottom: 0; }
.enrol-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* ==========================================================================
   Stationery page
   ========================================================================== */

.stationery-hero {
  padding-top: clamp(3rem, 7vw, 4.5rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}
.stationery-hero h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }

.shop-toolbar {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.shop-toolbar .wrap {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-field {
  flex: 1 1 260px;
  position: relative;
}
.search-field input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: var(--pale-blue-soft);
  color: var(--ink);
}
.search-field input:focus { outline: 2px solid var(--orange-deep); outline-offset: 1px; }
.search-field svg {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--ink-soft);
}

.filter-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s var(--ease), color 0.15s var(--ease), border-color 0.15s var(--ease);
  white-space: nowrap;
}
.chip:hover { border-color: var(--navy); }
.chip.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.result-count {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 1.25rem 0 0.25rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.product-image {
  aspect-ratio: 1 / 1;
  background: var(--pale-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pale-blue);
}
.product-image svg { width: 40%; height: 40%; }
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 0.35rem;
}

.product-body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.product-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--orange-deep);
}
.product-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  flex: 1;
}
.product-price {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-style: italic;
}
.product-add {
  margin-top: 0.15rem;
  width: 100%;
  padding: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 3px;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.product-add:hover { background: var(--navy); color: var(--white); }

.no-results {
  padding: 3rem 0;
  text-align: center;
  color: var(--ink-soft);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 1rem 0 3rem;
}

.shop-notice {
  background: #FBF3EA;
  border: 1px solid #F0D8BC;
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.shop-notice svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--orange-deep); margin-top: 2px; }
.shop-notice p { margin: 0; font-size: 0.9rem; color: var(--ink); }
.shop-notice strong { color: var(--navy); }

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .roadmap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .roadmap-grid { grid-template-columns: 1fr; } }
.roadmap-item {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.5rem;
}
.roadmap-item h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.roadmap-item p { font-size: 0.85rem; margin-bottom: 0; }
.roadmap-item .soon {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--orange-deep);
  background: #FBF3EA;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
}

/* ==========================================================================
   Cart drawer (front-end structure only — "coming soon")
   ========================================================================== */

.cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.5rem 0.9rem 0.5rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.cart-toggle svg { width: 18px; height: 18px; }
.cart-count {
  background: var(--orange);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.68rem;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 92vw);
  background: var(--white);
  box-shadow: -12px 0 32px rgba(20, 16, 60, 0.14);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-head h3 { margin: 0; font-size: 1.15rem; }
.cart-drawer-close {
  background: none; border: none; color: var(--ink-soft); font-size: 1.4rem; line-height: 1; padding: 0.25rem;
}
.cart-drawer-body {
  padding: 1.5rem;
  flex: 1;
  overflow-y: auto;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.cart-drawer-body .soon-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange-deep);
  background: #FBF3EA;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 13, 70, 0.35);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Contact section (shared)
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-detail {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.contact-detail svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--orange-deep); margin-top: 2px; }
.contact-detail h4 { font-size: 0.95rem; margin-bottom: 0.2rem; color: var(--navy); }
.contact-detail p { margin: 0; font-size: 0.92rem; }

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 100px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.social-row a:hover { background: var(--navy); color: var(--white); }
.social-row svg { width: 19px; height: 19px; }

/* ==========================================================================
   Footer
   ========================================================================== */

footer.site-footer {
  background: var(--navy);
  color: rgba(234, 242, 252, 0.75);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
}
footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.footer-links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.9rem; color: rgba(234, 242, 252, 0.78); }
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(234, 242, 252, 0.15);
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(234, 242, 252, 0.55);
}

/* ==========================================================================
   Reveal-on-load hero motion (single orchestrated moment only)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-in 0.7s var(--ease) forwards;
}
.reveal-delay-1 { animation-delay: 0.08s; }
.reveal-delay-2 { animation-delay: 0.16s; }
.reveal-delay-3 { animation-delay: 0.24s; }

@keyframes reveal-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
}

/* Designed for learning — Academy V7 */
.learning-design-section { padding: clamp(4.5rem, 8vw, 7rem) 0; background: var(--white); }
.learning-design-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.85fr); gap:clamp(3rem,8vw,8rem); align-items:center; }
.learning-design-title { font-size:clamp(2.8rem,5vw,5rem); line-height:1.08; max-width:760px; margin:1.25rem 0 0; }
.learning-feature-list { list-style:none; margin:0; padding:0; display:grid; gap:1.65rem; }
.learning-feature-list li { position:relative; padding-left:2rem; font-size:clamp(1.05rem,1.7vw,1.45rem); line-height:1.35; color:var(--muted); }
.learning-feature-list li::before { content:""; position:absolute; left:0; top:.7em; width:.85rem; height:2px; background:#7564c7; }
@media (max-width: 800px) { .learning-design-grid { grid-template-columns:1fr; gap:2.5rem; } .learning-design-title { font-size:clamp(2.4rem,10vw,3.5rem); } }


/* ==========================================================================\n   V8 — functional COD cart + WhatsApp checkout\n   ========================================================================== */
body.cart-open { overflow: hidden; }
.cart-drawer { width: min(480px, 96vw); }
.cart-drawer-body { padding: 1.25rem 1.5rem 2rem; }
.cart-empty { text-align:center; padding:3rem 1rem; border:1px dashed var(--line); border-radius:6px; }
.cart-empty p { margin:0 0 .3rem; color:var(--navy); font-weight:700; }
.cart-empty span { font-size:.85rem; }
.cart-items { display:grid; gap:1rem; }
.cart-line { display:grid; grid-template-columns:72px 1fr; gap:.85rem; padding-bottom:1rem; border-bottom:1px solid var(--line); }
.cart-line img { width:72px; height:72px; object-fit:contain; border:1px solid var(--line); border-radius:4px; background:#f7f8fa; }
.cart-line-main { min-width:0; }
.cart-line-main strong { display:block; color:var(--navy); font-size:.88rem; line-height:1.35; }
.cart-line-main small { display:block; margin:.3rem 0 .55rem; color:var(--ink-soft); }
.qty-control { display:flex; align-items:center; gap:.45rem; }
.qty-control button { width:28px; height:28px; border:1px solid var(--line); background:white; border-radius:50%; color:var(--navy); font-size:1rem; }
.qty-control span { min-width:24px; text-align:center; font-weight:700; color:var(--navy); }
.qty-control .remove-line { width:auto; height:auto; border:0; border-radius:0; margin-left:auto; font-size:.73rem; color:var(--ink-soft); text-decoration:underline; }
.cart-summary { margin:1.2rem 0 1.5rem; padding:1rem; background:var(--pale-blue-soft); border-radius:5px; }
.cart-summary > div:not(.cart-total-note) { display:flex; justify-content:space-between; gap:1rem; color:var(--navy); margin-bottom:.45rem; }
.cart-total-note { font-size:.78rem; line-height:1.45; color:var(--ink-soft); padding-top:.4rem; border-top:1px solid rgba(0,0,0,.07); }
.checkout-block { border-top:1px solid var(--line); padding-top:1.5rem; }
.checkout-block h4 { margin:.3rem 0 1rem; color:var(--navy); }
.checkout-block form { display:grid; gap:.9rem; }
.checkout-block label { display:grid; gap:.35rem; color:var(--navy); font-size:.78rem; font-weight:700; }
.checkout-block label span { font-weight:400; color:var(--ink-soft); }
.checkout-block input, .checkout-block textarea { width:100%; border:1px solid var(--line); border-radius:4px; padding:.78rem .85rem; font:inherit; color:var(--ink); background:white; resize:vertical; }
.checkout-block input:focus, .checkout-block textarea:focus { outline:2px solid rgba(117,100,199,.18); border-color:#7564c7; }
.payment-method { display:flex; gap:.75rem; align-items:center; padding:.9rem 1rem; background:#f7f8fa; border:1px solid var(--line); border-radius:4px; }
.payment-dot { width:12px; height:12px; border-radius:50%; background:var(--orange); box-shadow:0 0 0 4px rgba(239,126,55,.14); flex:0 0 auto; }
.payment-method strong, .payment-method small { display:block; }
.payment-method strong { color:var(--navy); font-size:.85rem; }
.payment-method small { margin-top:.15rem; color:var(--ink-soft); font-size:.73rem; }
.checkout-whatsapp { width:100%; justify-content:center; margin-top:.25rem; border:0; cursor:pointer; }
.checkout-help { margin:0; text-align:center; font-size:.72rem; line-height:1.45; color:var(--ink-soft); }
@media (max-width:520px) { .cart-drawer-head,.cart-drawer-body { padding-left:1rem; padding-right:1rem; } .cart-line { grid-template-columns:62px 1fr; } .cart-line img { width:62px; height:62px; } }


/* V9 — COD notice, visible cart total & bottom cart CTA */
.shop-notice { border-left:4px solid var(--orange); }
.shop-notice strong { color:var(--navy); }
.cart-grand-total { margin-top:.55rem; padding-top:.65rem; border-top:1px solid rgba(0,0,0,.1); font-size:1.03rem; }
.cart-grand-total strong { font-size:1.12rem; }
.shop-bottom-cart-wrap { padding-top:2rem; padding-bottom:3rem; }
.shop-bottom-cart { width:100%; border:0; border-radius:6px; background:var(--navy); color:white; padding:1rem 1.2rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; text-align:left; cursor:pointer; font:inherit; box-shadow:0 10px 26px rgba(0,22,122,.12); }
.shop-bottom-cart > span:first-child { font-weight:800; font-size:1rem; }
.shop-bottom-cart-meta { display:flex; align-items:flex-end; flex-direction:column; gap:.1rem; }
.shop-bottom-cart-meta strong { color:white; font-size:.82rem; }
.shop-bottom-cart-meta span { color:rgba(255,255,255,.72); font-size:.72rem; }
.shop-bottom-cart:hover { transform:translateY(-1px); }
@media (max-width:520px) { .shop-bottom-cart { padding:.9rem 1rem; } .shop-bottom-cart-meta { max-width:55%; } }


/* V10 — clear stationery ordering choices */
.order-choice-section { padding: 3.75rem 0 3.25rem; }
.order-choice-intro { max-width: 760px; margin-bottom: 1.75rem; }
.order-choice-intro h2 { margin-bottom: .65rem; }
.order-choice-intro p { margin: 0; color: var(--muted, #5f6470); font-size: 1.02rem; line-height: 1.7; }
.order-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.order-choice-card { border: 1px solid rgba(0,22,122,.14); border-radius: 10px; padding: 2rem; background: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.order-choice-card.order-choice-featured { border-top: 5px solid #f58220; padding-top: calc(2rem - 4px); }
.order-choice-number { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: #00167a; margin-bottom: .85rem; }
.order-choice-card h3 { margin: 0 0 .85rem; font-size: clamp(1.35rem,2.2vw,1.8rem); }
.order-choice-card p { line-height: 1.65; margin: 0 0 .8rem; }
.order-choice-note { color: var(--muted, #5f6470); }
.order-choice-card .btn { margin-top: auto; }
.order-choice-help { display: block; margin-top: .7rem; color: var(--muted, #5f6470); line-height: 1.45; }
#browse-stationery { scroll-margin-top: 90px; }
@media (max-width:760px) {
  .order-choice-section { padding: 2.5rem 0; }
  .order-choice-grid { grid-template-columns: 1fr; }
  .order-choice-card { padding: 1.5rem; }
  .order-choice-card .btn { width: 100%; text-align: center; }
}

/* V11 page-specific brand logos */
.brand img { object-fit: contain; background: #fff; }


/* V12 cart placement refinement */
.shop-toolbar-cart-wrap {
  display: flex;
  justify-content: flex-end;
  padding-top: 1rem;
}
.shop-toolbar-cart-wrap .cart-toggle {
  position: relative;
  z-index: 2;
}
@media (max-width: 760px) {
  .shop-toolbar-cart-wrap .cart-toggle { width: 100%; justify-content: center; }
}


/* V13 — brand logo visibility and homepage spacing */
.home-brand-logos {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 2rem auto 0;
  flex-wrap: wrap;
}
.home-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(132px, 15vw, 176px);
  height: clamp(132px, 15vw, 176px);
  padding: .4rem;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.home-logo-card img,
.home-brand-logos .home-logo-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  border-radius: 6px;
}
/* Keep the homepage logos fully below the centered text, never over it. */
.hero-home .lede { position: relative; z-index: 2; }
.hero-home h1 { position: relative; z-index: 2; }

/* Division-card logos now occupy real layout space rather than floating over text. */
.division-logo,
.division-panel.stationery .division-logo {
  position: static;
  display: block;
  width: clamp(104px, 12vw, 146px);
  height: auto;
  max-width: 146px;
  margin: 0 0 1.5rem 0;
  object-fit: contain;
  border-radius: 7px;
  opacity: 1;
  align-self: flex-start;
}
.division-panel { justify-content: flex-end; }

/* Give Stationery its own clearly visible brand mark, matching the Academy treatment. */
.stationery-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.stationery-hero-mark {
  background: #FBF3EA;
  border-radius: 8px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.stationery-hero-mark img {
  display: block;
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: contain;
}

/* Header logos: keep both brand marks legible rather than tiny/cropped. */
.site-header .brand img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-logo-wrap img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  margin-bottom: .75rem;
}
.footer-logo-pair {
  display: flex;
  gap: .65rem;
  margin-bottom: .75rem;
}
.footer-logo-pair img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

@media (max-width: 860px) {
  .stationery-hero-grid { grid-template-columns: 1fr; }
  .stationery-hero-mark { min-height: 220px; }
  .stationery-hero-mark img { max-width: 210px; }
}
@media (max-width: 600px) {
  .home-logo-card {
    width: 124px;
    height: 124px;
  }
  .division-logo,
  .division-panel.stationery .division-logo {
    width: 110px;
    margin-bottom: 1.15rem;
  }
  .site-header .brand img { width: 40px; height: 40px; }
}


/* V20 — aligned contact WhatsApp buttons */
.contact-whatsapp-buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .55rem;
  margin-top: .5rem;
  width: min(100%, 270px);
}
.contact-whatsapp-buttons .btn {
  width: 100%;
  margin: 0;
  justify-content: center;
  text-align: center;
}

/* V20 — phone-only compact two-column stationery catalogue.
   Tablet/iPad and desktop layouts remain unchanged. */
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
  }
  .product-body {
    padding: .65rem .6rem .75rem;
    gap: .4rem;
  }
  .product-cat {
    font-size: .61rem;
  }
  .product-name {
    font-size: .78rem;
    line-height: 1.25;
  }
  .product-price {
    font-size: .72rem;
  }
  .product-add {
    padding: .48rem .3rem;
    font-size: .72rem;
  }
  .product-image img {
    padding: .25rem;
  }
}

/* Academy schedule enquiry links — keep existing status-pill appearance */
a.status { text-decoration: none; cursor: pointer; }
