/* ============================================
   VIDYANKUR — Design System
   "Manuscript modern" — parchment, sage, gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=DM+Sans:wght@400;500;600&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

:root {
  /* Colors — as specified in brief */
  --cream: #F5F0E3;
  --ivory: #FDF8EF;
  --sage: #8B9A6B;
  --olive: #5C6B4A;
  --olive-dark: #4A5A3A;
  --gold: #C9A84C;
  --gold-dark: #B08930;
  --gold-soft: #D4B86A;
  --ink: #3D2B1F;
  --ink-soft: #5C4A3D;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-deva: 'Noto Sans Devanagari', serif;

  /* Spacing */
  --container: 1200px;
  --container-narrow: 960px;

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

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  /* Subtle parchment texture using SVG noise */
  background-image:
    radial-gradient(ellipse at top left, rgba(201, 168, 76, 0.04), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(139, 154, 107, 0.05), transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.17 0 0 0 0 0.12 0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--olive);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.devanagari { font-family: var(--font-deva); }

p { color: var(--ink-soft); }

a { color: var(--olive); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--gold-dark); }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; position: relative; }

.section-ivory { background: var(--ivory); }

/* ===== DECORATIVE ELEMENTS ===== */

/* Manuscript-style ornamental divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px auto;
  color: var(--gold);
}
.ornament::before,
.ornament::after {
  content: "";
  height: 1px;
  width: 60px;
  background: linear-gradient(to right, transparent, var(--gold-soft), transparent);
}
.ornament-icon {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

/* Eyebrow label — small uppercase tag */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 16px;
}

/* Gold stamp/badge */
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
  color: var(--olive);
  font-family: var(--font-display);
  text-align: center;
  padding: 10px;
  position: relative;
  transform: rotate(-6deg);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.15);
}
.stamp::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px dashed var(--gold-soft);
}
.stamp-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.35);
}

.explore-books {
  display: flex;
  float: right;
}

.btn-secondary {
  background: var(--olive);
  color: var(--cream);
}
.btn-secondary:hover {
  background: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(92, 107, 74, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--olive);
  border: 1.5px solid var(--olive);
}
.btn-ghost:hover {
  background: var(--olive);
  color: var(--cream);
}

.btn-arrow::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===== NAVBAR ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 227, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-price {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 20px;
}

.nav-logo-mark {
  width: 44px;
  height: 44px;
}

.nav-logo-icon {
  width: 50px;
  height: 50px;
}
.nav-logo-text {
  width: 100px;
  height: 25px;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--olive);
  letter-spacing: 0.05em;
}
.nav-logo-tag {
  font-size: 10px;
  color: var(--gold-dark);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  gap: 12px;
}
.nav-cta .btn {
  padding: 10px 20px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--olive);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
}

/* Faint fort silhouette background pattern */
.hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'><path d='M0,200 L0,140 L40,140 L40,110 L60,110 L60,90 L80,90 L80,110 L120,110 L120,80 L140,80 L140,60 L160,60 L160,80 L180,80 L180,100 L220,100 L220,70 L250,70 L250,50 L280,50 L280,70 L310,70 L310,110 L350,110 L350,130 L390,130 L390,100 L420,100 L420,80 L450,80 L450,100 L480,100 L480,120 L520,120 L520,90 L550,90 L550,60 L580,60 L580,40 L610,40 L610,60 L640,60 L640,90 L680,90 L680,110 L720,110 L720,80 L760,80 L760,100 L800,100 L800,120 L840,120 L840,90 L880,90 L880,70 L910,70 L910,90 L950,90 L950,110 L990,110 L990,80 L1030,80 L1030,100 L1070,100 L1070,120 L1110,120 L1110,140 L1160,140 L1160,160 L1200,160 L1200,200 Z' fill='%235C6B4A' opacity='0.06'/></svg>");
  background-size: cover;
  background-position: bottom;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--olive);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 400;
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(201, 168, 76, 0.3);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
}
.hero-meta-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--olive);
  line-height: 1;
}
.hero-meta-label {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Hero visual — stacked book covers in manuscript frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 540px;
}

.hero-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  background: var(--ivory);
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 8px;
  pointer-events: none;
}

.hero-book {
  position: absolute;
  width: 220px;
  height: 300px;
  border-radius: 4px;
  box-shadow:
    0 4px 8px rgba(61, 43, 31, 0.1),
    0 20px 40px rgba(61, 43, 31, 0.2);
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}

.hero-book-1 {
  transform: rotate(-8deg) translate(-90px, 0);
  z-index: 1;
}
.hero-book-2 {
  transform: rotate(2deg) translate(0, -10px);
  z-index: 3;
}
.hero-book-3 {
  transform: rotate(8deg) translate(90px, 0);
  z-index: 2;
}

.hero-visual:hover .hero-book-1 { transform: rotate(-12deg) translate(-110px, -8px); }
.hero-visual:hover .hero-book-2 { transform: rotate(0deg) translate(0, -20px); }
.hero-visual:hover .hero-book-3 { transform: rotate(12deg) translate(110px, -8px); }

.hero-stamp {
  position: absolute;
  bottom: -20px;
  right: 20px;
  z-index: 5;
}

/* ===== MISSION / VALUE PROPS ===== */
.mission-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.mission-intro h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}
.mission-intro p {
  font-size: 18px;
  color: var(--ink-soft);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: var(--ivory);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.4s var(--ease);
}
.value-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 12px;
  pointer-events: none;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(92, 107, 74, 0.12);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--sage);
}
.value-icon svg { width: 32px; height: 32px; }

.value-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.value-card p {
  font-size: 15px;
  line-height: 1.65;
}

/* ===== BOOKS SECTION ===== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 12px 0;
}
.section-header p {
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.book-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease);
}
.book-card:hover { transform: translateY(-6px); }

.book-cover {
  aspect-ratio: 3/4;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--olive), var(--sage));
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(61, 43, 31, 0.08),
    0 8px 20px rgba(61, 43, 31, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: var(--cream);
}
.book-cover::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(245, 240, 227, 0.3);
  border-radius: 4px;
  pointer-events: none;
}
.book-cover-decor {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
}
.book-cover-decor svg { width: 40px; height: 40px; fill: var(--gold); }

.book-cover-meta {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  position: relative;
  z-index: 1;
}
.book-cover-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--cream);
  position: relative;
  z-index: 1;
}

/* alternate cover gradient for variety */
.book-card:nth-child(2) .book-cover { background: linear-gradient(135deg, #6B4A2F, var(--ink)); }
.book-card:nth-child(3) .book-cover { background: linear-gradient(135deg, #8B3A2C, #5C2419); }
.book-card:nth-child(4) .book-cover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
}
.book-card:nth-child(4) .book-cover-title,
.book-card:nth-child(4) .book-cover-meta { color: var(--ink); }
.book-card:nth-child(4) .book-cover-decor { border-color: var(--olive); background: rgba(92, 107, 74, 0.15); }
.book-card:nth-child(4) .book-cover-decor svg { fill: var(--olive); }

.book-info { padding: 0 4px; }
.book-info h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--olive);
}
.book-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.book-price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold-dark);
  font-weight: 600;
}
.book-card .btn {
  width: 100%;
  justify-content: center;
  padding: 11px 16px;
  font-size: 13px;
}

/* ===== SCHOOLS TEASER ===== */
.schools-teaser {
  background: var(--olive);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.schools-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(201, 168, 76, 0.15), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(201, 168, 76, 0.1), transparent 40%);
  pointer-events: none;
}

.schools-teaser .container { position: relative; z-index: 1; }

.schools-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}

.schools-teaser .eyebrow { color: var(--gold-soft); }

.schools-teaser h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--cream);
  margin-bottom: 24px;
}
.schools-teaser p {
  color: rgba(245, 240, 227, 0.85);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 540px;
}

.school-bullets {
  list-style: none;
  margin-bottom: 36px;
}
.school-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: rgba(245, 240, 227, 0.9);
  font-size: 15px;
}
.school-bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.schools-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.schools-cert {
  width: 280px;
  height: 280px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  position: relative;
  background: rgba(245, 240, 227, 0.05);
}
.schools-cert::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(201, 168, 76, 0.5);
  border-radius: 50%;
}
.schools-cert-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 12px;
}
.schools-cert-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 8px;
  line-height: 1.2;
}
.schools-cert-sub {
  font-size: 13px;
  color: rgba(245, 240, 227, 0.7);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial {
  background: var(--cream);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 80px;
  color: var(--gold-soft);
  line-height: 1;
  opacity: 0.6;
}

.testimonial-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  margin: 20px 0 24px;
  position: relative;
  z-index: 1;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}
.testimonial-name {
  font-weight: 600;
  color: var(--olive);
  font-size: 15px;
}
.testimonial-role {
  font-size: 12px;
  color: var(--ink-soft);
}

/* ===== ACTIVITY CENTRES TEASER ===== */
.ac-teaser {
  background: var(--ivory);
  position: relative;
}
.ac-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.ac-teaser h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--olive);
  margin-bottom: 20px;
}
.ac-teaser-sub {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 540px;
  line-height: 1.65;
}
.ac-teaser-points {
  list-style: none;
  margin-bottom: 36px;
}
.ac-teaser-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.ac-teaser-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Stacked books visual */
.ac-teaser-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-teaser-stack {
  position: relative;
  width: 240px;
  height: 320px;
}
.ac-teaser-book {
  position: absolute;
  width: 190px;
  height: 260px;
  border-radius: 10px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--cream);
  box-shadow: 0 10px 36px rgba(61, 43, 31, 0.2);
  transition: transform 0.4s var(--ease);
}
.ac-teaser-book::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(245, 240, 227, 0.25);
  border-radius: 6px;
  pointer-events: none;
}
.ac-teaser-book:hover { transform: translateY(-6px) rotate(0deg) !important; }
.ac-teaser-book-1 {
  top: 0; left: 0;
  background: linear-gradient(135deg, #5C6B4A, #3D4730);
  transform: rotate(-5deg);
  z-index: 2;
}
.ac-teaser-book-2 {
  top: 30px; left: 45px;
  background: linear-gradient(135deg, #8B3A2C, #5C2419);
  transform: rotate(4deg);
  z-index: 1;
}
.ac-teaser-vol {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.ac-teaser-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

/* ===== INSTAGRAM SECTION ===== */
.instagram {
  text-align: center;
}
.insta-handle {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--gold-dark);
  margin: 16px 0 32px;
}
.insta-handle a { color: inherit; }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.insta-tile {
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sage), var(--olive));
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}
.insta-tile:hover { transform: scale(0.96); }
.insta-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(61, 43, 31, 0.4));
  opacity: 0;
  transition: opacity 0.3s;
}
.insta-tile:hover::after { opacity: 1; }
.insta-tile:nth-child(2) { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.insta-tile:nth-child(3) { background: linear-gradient(135deg, #8B3A2C, #5C2419); }
.insta-tile:nth-child(4) { background: linear-gradient(135deg, var(--olive), var(--ink)); }
.insta-tile:nth-child(5) { background: linear-gradient(135deg, var(--gold-dark), #6B4A2F); }
.insta-tile:nth-child(6) { background: linear-gradient(135deg, var(--sage), var(--gold-soft)); }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .nav-logo-name { color: var(--cream); }
.footer-brand .nav-logo-tag { color: var(--gold-soft); }
.footer-brand p {
  color: rgba(245, 240, 227, 0.7);
  margin-top: 20px;
  max-width: 320px;
  font-size: 14px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(245, 240, 227, 0.7);
  font-size: 14px;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 240, 227, 0.1);
  font-size: 13px;
  color: rgba(245, 240, 227, 0.5);
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-headline,
.hero-sub,
.hero-ctas,
.hero-meta {
  animation: fadeUp 0.9s var(--ease) backwards;
}
.hero-sub { animation-delay: 0.1s; }
.hero-ctas { animation-delay: 0.2s; }
.hero-meta { animation-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { height: 440px; }
  .value-grid { grid-template-columns: 1fr; gap: 20px; }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .schools-grid { grid-template-columns: 1fr; gap: 50px; }
  .ac-teaser-grid { grid-template-columns: 1fr; gap: 40px; }
  .ac-teaser-visual { order: -1; }
  .ac-teaser-stack { width: 200px; height: 270px; }
  .ac-teaser-book { width: 160px; height: 220px; padding: 22px 18px; }
  .ac-teaser-book-2 { left: 35px; }
  .ac-teaser-title { font-size: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  section { padding: 70px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 24px;
    border-bottom: 1px solid var(--gold-soft);
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .books-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-meta { flex-wrap: wrap; gap: 20px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero { padding: 60px 0 80px; }
  .ac-teaser-stack { width: 180px; height: 240px; }
  .ac-teaser-book { width: 145px; height: 195px; padding: 18px 14px; }
  .ac-teaser-book-2 { top: 25px; left: 30px; }
  .ac-teaser-title { font-size: 14px; }
  .ac-teaser-vol { font-size: 9px; }
}

