/* ============================================================
   KARNEETI — CA Umesh Sharma | Tax Wisdom Through Stories
   Master stylesheet (vanilla, mobile-first, zero dependencies)
   ============================================================ */

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

:root {
  /* Brand palette — saffron, gold, krishna-blue, arjuna-warm */
  --saffron: #B8922F;
  --saffron-deep: #8F6F1E;
  --gold: #D4A843;
  --gold-bright: #F0C75E;
  --gold-soft: #EFD9A0;
  --deep: #0C0E1A;
  --navy: #111833;
  --royal: #1B2D5A;
  --cream: #FFF9F0;
  --warm-white: #FFFEF7;
  --krishna-blue: #1E4D8C;
  --krishna-blue-light: #3A6FA8;
  --arjuna-warm: #C75B20;
  --emerald: #1D8348;
  --teal: #17A589;
  --text-dark: #1A1A2E;
  --text-mid: #555570;
  --text-light: #8888AA;
  --border-soft: rgba(180, 150, 100, 0.15);
  --border-mid: rgba(180, 150, 100, 0.25);
  --shadow-sm: 0 4px 15px rgba(140, 100, 50, 0.08);
  --shadow-md: 0 10px 40px rgba(140, 100, 50, 0.12);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.15);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

::selection { background: var(--gold-bright); color: var(--deep); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1280px; margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900;
  box-shadow: 0 6px 20px rgba(184, 146, 47, 0.25);
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
}
.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 1.35rem;
  background: linear-gradient(135deg, var(--saffron) 10%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}
.brand-tag {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 0.7rem; color: var(--text-mid);
  margin-top: 4px;
  letter-spacing: 0.3px;
}
.nav-links {
  display: flex; gap: 2rem; align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-dark);
  position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--saffron); }
.nav-links a.active { color: var(--saffron); }
.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
}
.nav-cta {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600 !important;
  box-shadow: 0 6px 20px rgba(184, 146, 47, 0.3);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(184, 146, 47, 0.4); }
.nav-cta::after { display: none !important; }
.nav-links a.nav-cta { padding: 10px 22px; }  /* .nav-links a out-specified .nav-cta and zeroed the side padding */

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(184, 146, 47, 0.08);
  align-items: center; justify-content: center;
  color: var(--saffron);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(184, 146, 47, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 75%, rgba(212, 168, 67, 0.13) 0%, transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8 L46 32 L72 40 L46 48 L40 72 L34 48 L8 40 L34 32Z' fill='none' stroke='%23D4A84322' stroke-width='0.6'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  opacity: 0.6;
  animation: drift 60s linear infinite;
}
@keyframes drift {
  from { background-position: 0 0; }
  to { background-position: 120px 120px; }
}
.hero-chakra {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 67, 0.18);
  pointer-events: none;
}
.hero-chakra:nth-child(1) { width: 600px; height: 600px; top: -200px; right: -180px; }
.hero-chakra:nth-child(2) { width: 800px; height: 800px; bottom: -300px; left: -250px; border-color: rgba(184, 146, 47, 0.10); }

.hero-content { position: relative; z-index: 2; max-width: 880px; }

.hero-badge {
  display: inline-block;
  padding: 8px 22px;
  background: rgba(184, 146, 47, 0.10);
  border: 1px solid rgba(184, 146, 47, 0.28);
  color: var(--saffron);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  animation: fadeUp .9s ease both;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
  animation: fadeUp 1s .15s ease both;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--saffron) 10%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-devanagari {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--saffron);
  margin-bottom: 1rem;
  font-weight: 500;
  animation: fadeUp 1s .25s ease both;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-mid);
  max-width: 700px; margin: 0 auto 2.6rem;
  line-height: 1.7;
  animation: fadeUp 1s .35s ease both;
}
.hero-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1s .45s ease both;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform .25s, box-shadow .25s, background .25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #fff;
  box-shadow: 0 10px 30px rgba(184, 146, 47, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(184, 146, 47, 0.44); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-dark);
  border: 1px solid var(--border-mid);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--deep);
  box-shadow: 0 10px 30px rgba(212, 168, 67, 0.32);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(212, 168, 67, 0.44); }

.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center;
  margin-top: 3.5rem;
  animation: fadeUp 1s .6s ease both;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 8px;
}

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

/* ============================================================
   SECTION COMMON
   ============================================================ */
section { padding: 5rem 1.5rem; position: relative; }
.section-num {
  position: absolute; top: 2rem; left: 50%; transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 900;
  color: rgba(212, 168, 67, 0.10);
  line-height: 1;
  pointer-events: none;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}
.section-title .accent {
  background: linear-gradient(135deg, var(--saffron) 10%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   FEATURED ARTICLES STRIP (home)
   ============================================================ */
.featured-section { background: var(--warm-white); }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.article-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.article-card-top {
  padding: 1.6rem 1.6rem 0;
  position: relative;
}
.article-card-cat {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.article-card-cat[data-cat="GST"] { background: rgba(29, 131, 72, 0.12); color: var(--emerald); }
.article-card-cat[data-cat="Income Tax"] { background: rgba(184, 146, 47, 0.12); color: var(--saffron); }
.article-card-cat[data-cat="GST & Income Tax"] { background: rgba(212, 168, 67, 0.18); color: #b8860b; }
.article-card-cat[data-cat="VAT / MVAT"] { background: rgba(108, 92, 231, 0.14); color: #6c5ce7; }
.article-card-cat[data-cat="Company Law"] { background: rgba(30, 77, 140, 0.12); color: var(--krishna-blue); }
.article-card-cat[data-cat="Service Tax"] { background: rgba(231, 76, 60, 0.12); color: #c0392b; }
.article-card-cat[data-cat="Professional Tax"] { background: rgba(23, 165, 137, 0.13); color: var(--teal); }
.article-card-cat[data-cat="Finance & Wealth"] { background: rgba(155, 89, 182, 0.12); color: #8e44ad; }
.article-card-cat[data-cat="MSME"] { background: rgba(243, 156, 18, 0.14); color: #e67e22; }
.article-card-cat[data-cat="General"] { background: rgba(127, 140, 141, 0.14); color: #555; }

.article-card-part {
  position: absolute; top: 1.6rem; right: 1.6rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 700;
}
.article-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
  margin-bottom: 0.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-sub {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.2rem;
  min-height: 2.8em;
}
.article-card-foot {
  padding: 1rem 1.6rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}
.article-card-date {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex; align-items: center; gap: 6px;
}
.article-card-read {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--saffron);
  display: inline-flex; align-items: center; gap: 4px;
  transition: transform .2s;
}
.article-card:hover .article-card-read { transform: translateX(4px); }

/* ============================================================
   CATEGORIES GRID (home)
   ============================================================ */
.categories-section { background: var(--cream); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.cat-card {
  display: block;
  padding: 2rem 1.6rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  text-align: left;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.cat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.cat-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.cat-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}
.cat-card-count {
  font-size: 0.85rem;
  color: var(--text-mid);
  display: flex; align-items: center; gap: 6px;
}
.cat-card-count strong { color: var(--saffron); font-size: 1rem; }

/* ============================================================
   ABOUT / SIR PROFILE
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg, var(--cream) 0%, #f5e9d3 100%);
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.about-hero::after {
  content: '';
  position: absolute; bottom: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.18), transparent 70%);
  border-radius: 50%;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-portrait {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #fff 0%, #f5e9d3 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.about-portrait::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8 L46 32 L72 40 L46 48 L40 72 L34 48 L8 40 L34 32Z' fill='none' stroke='%23D4A84320' stroke-width='0.5'/%3E%3C/svg%3E");
  opacity: 0.7;
}
.about-portrait-mark {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: 7rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  line-height: 1;
}
.about-portrait-name {
  position: absolute;
  bottom: 2rem; left: 0; right: 0;
  text-align: center;
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
}
.about-portrait-name strong { display: block; font-size: 1.4rem; font-weight: 700; }
.about-portrait-name span { font-size: 0.85rem; color: var(--text-mid); letter-spacing: 1px; }

.about-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}
.about-text h1 .accent {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-tag { color: var(--saffron); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 1rem; display: block; }
.about-text p { color: var(--text-mid); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1rem; }

.about-meta {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.about-meta-item {
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}
.about-meta-item strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--saffron);
  font-weight: 800;
}
.about-meta-item span {
  font-size: 0.78rem;
  color: var(--text-mid);
  letter-spacing: 0.5px;
}

.creds-section { background: #fff; }
.creds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.cred-card {
  padding: 2rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--saffron);
}
.cred-card.gold { border-left-color: var(--gold); }
.cred-card.krishna { border-left-color: var(--krishna-blue); }
.cred-card.emerald { border-left-color: var(--emerald); }
.cred-year {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.cred-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}
.cred-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================================
   ARTICLES BROWSE PAGE
   ============================================================ */
.browse-hero {
  background: linear-gradient(135deg, var(--cream) 0%, #fff5e8 100%);
  padding: 4.5rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.browse-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}
.browse-hero h1 .accent {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.browse-hero p {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 2rem;
}

.browse-toolbar {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto;
  align-items: center;
}
.search-wrap {
  position: relative;
}
.search-wrap svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  width: 18px; height: 18px;
}
.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--cream);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color .2s, background .2s;
}
.search-input:focus { border-color: var(--gold); background: #fff; }
.filter-select {
  padding: 12px 38px 12px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--cream);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23D4A843' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  min-width: 150px;
}
.filter-select:focus { border-color: var(--gold); }

.browse-results {
  padding: 3rem 1.5rem 5rem;
}
.browse-meta {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1180px; margin: 0 auto 1.5rem;
  font-size: 0.9rem; color: var(--text-mid);
}
.browse-meta strong { color: var(--saffron); font-size: 1rem; }
.browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-mid);
}
.empty-state svg { width: 60px; height: 60px; margin: 0 auto 1rem; opacity: 0.4; }
.empty-state h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--text-dark); }

.load-more-wrap { text-align: center; margin-top: 3rem; }
.load-more {
  padding: 14px 36px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--gold);
  color: var(--saffron);
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.load-more:hover {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #fff;
  border-color: transparent;
}

/* ============================================================
   USP / WHY KARNEETI
   ============================================================ */
.usp-section {
  background: linear-gradient(135deg, var(--deep) 0%, var(--navy) 50%, var(--royal) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.usp-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L35 25 L55 30 L35 35 L30 55 L25 35 L5 30 L25 25Z' fill='none' stroke='%23D4A84318' stroke-width='0.5'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.usp-section .section-title { color: #fff; }
.usp-section .section-sub { color: rgba(255, 255, 255, 0.7); }
.usp-section .section-label { color: var(--gold-bright); }
.usp-section .section-num { color: rgba(212, 168, 67, 0.08); }
.usp-list {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.usp-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.usp-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}
.usp-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #fff;
}
.usp-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8 L46 32 L72 40 L46 48 L40 72 L34 48 L8 40 L34 32Z' fill='none' stroke='%23ffffff15' stroke-width='0.6'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.cta-jai {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.95);
  position: relative; z-index: 1;
}
.cta-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  position: relative; z-index: 1;
}
.cta-strip p {
  max-width: 540px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.92);
  position: relative; z-index: 1;
}
.cta-strip .btn {
  position: relative; z-index: 1;
  background: #fff;
  color: var(--saffron-deep);
  font-weight: 700;
}
.cta-strip .btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-card {
  padding: 2.4rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.contact-row {
  display: flex; gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.contact-row:last-child { border-bottom: none; }
.contact-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(184, 146, 47, 0.1), rgba(212, 168, 67, 0.15));
  color: var(--saffron);
  flex-shrink: 0;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-detail strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-detail p, .contact-detail a {
  font-size: 0.98rem;
  color: var(--text-dark);
  line-height: 1.5;
}
.contact-detail a:hover { color: var(--saffron); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8 L46 32 L72 40 L46 48 L40 72 L34 48 L8 40 L34 32Z' fill='none' stroke='%23D4A84310' stroke-width='0.5'/%3E%3C/svg%3E");
  opacity: 0.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1180px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}
.footer-brand .brand-name { font-size: 1.6rem; }
.footer-brand .brand-tag { color: rgba(255, 255, 255, 0.6); }
.footer-about {
  margin-top: 1.2rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color .2s;
}
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom .jai {
  font-family: 'Noto Serif Devanagari', serif;
  color: var(--gold-bright);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-portrait { max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem 2rem;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    transform: translateY(-200%);
      visibility: hidden;
    transition: transform .3s;
    align-items: stretch;
  }
  .nav-links.open {
      visibility: visible; transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 1rem;
  }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { color: var(--saffron); font-weight: 700; }
  .nav-cta { margin-top: 1rem; text-align: center; }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 4rem 1.2rem 3rem; }
  .hero-stats { gap: 1.5rem; margin-top: 2.5rem; }
  .hero-stat-num { font-size: 1.9rem; }

  section { padding: 4rem 1.2rem; }

  .browse-toolbar {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .filter-select { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .about-meta { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 1rem; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  section { padding: 3rem 1rem; }
  .article-card-top { padding: 1.3rem 1.3rem 0; }
  .article-card-foot { padding: 0.9rem 1.3rem 1.2rem; }
}

/* ============================================================
   ARTICLE READER (inline reading view)
   ============================================================ */
.reader {
  background: var(--warm-white);
  min-height: 100vh;
}
.reader-hero {
  background: linear-gradient(180deg, #fff5e8 0%, var(--cream) 100%);
  padding: 4rem 1.5rem 3rem;
  border-bottom: 1px solid var(--border-soft);
}
.reader-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  transition: color .2s;
}
.reader-back:hover { color: var(--saffron); }

.reader-meta-top {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  margin-bottom: 1rem;
}
.reader-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(184, 146, 47, 0.12);
  color: var(--saffron);
}
.reader-part-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 700;
}
.reader-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  max-width: 760px;
}
.reader-byline {
  display: flex; align-items: center; gap: 14px;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}
.reader-byline-photo {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-soft);
}
.reader-byline-text { font-size: 0.92rem; }
.reader-byline-text strong { color: var(--text-dark); display: block; }
.reader-byline-text span { color: var(--text-light); font-size: 0.8rem; }

.reader-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #2c2c44;
}
.reader-body p {
  margin-bottom: 1.4rem;
}

/* Dialogue blocks (Q&A format used in source articles) */
.dialogue {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.6rem;
  align-items: flex-start;
}
.dialogue-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.dialogue-q .dialogue-avatar {
  background: #EEF2F7;
  color: #5A6B82;
  border: 1px solid #D8E0EA;
}
.dialogue-a .dialogue-avatar {
  background: #1B2D5A;
  color: #fff;
  border: 1px solid #1B2D5A;
}
.dialogue-content {
  flex: 1;
  padding: 1.1rem 1.4rem;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  font-size: 1rem;
  line-height: 1.75;
  min-width: 0;
}
.dialogue-q .dialogue-content {
  background: #F8FAFC;
  color: #3A4858;
  border-color: #E1E8F0;
}
.dialogue-a .dialogue-content {
  background: #FFFEFA;
  color: #1A1A2E;
  border-color: #EFE3CB;
}
.dialogue-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
  color: var(--text-light);
}
.dialogue-q .dialogue-label { color: #6B7C92; }
.dialogue-a .dialogue-label { color: var(--krishna-blue); }
.dialogue-content p { margin-bottom: 0.8rem; }
.dialogue-content p:last-child { margin-bottom: 0; }
.dialogue-content ol, .dialogue-content ul { padding-left: 1.4rem; margin: 0.6rem 0; }
.dialogue-content li { margin-bottom: 0.4rem; }
/* Author's original emphasis restored from the source mail / PDF */
.reader-body strong { font-weight: 700; color: var(--text-dark); }

/* Reader footer (PDF download + share + prev/next) */
.reader-footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 2rem;
  margin-top: 3rem;
}
.reader-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.reader-prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.reader-nav-card {
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all .2s;
}
.reader-nav-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.reader-nav-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.reader-nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reader-nav-card.next { text-align: right; }

/* ============================================================
   WORLD RECORD HERO BANNER (top of home)
   ============================================================ */
.wr-hero {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(240, 199, 94, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(184, 146, 47, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, #12172b 0%, #0C0E1A 50%, #1B2D5A 100%);
  color: #fff;
  padding: 5.5rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.wr-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8 L46 32 L72 40 L46 48 L40 72 L34 48 L8 40 L34 32Z' fill='none' stroke='%23F0C75E18' stroke-width='0.6'/%3E%3C/svg%3E");
  opacity: 0.55;
  pointer-events: none;
}
.wr-hero::after {
  content: '';
  position: absolute;
  bottom: -250px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(240, 199, 94, 0.12), transparent 60%);
  pointer-events: none;
}
.wr-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.wr-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px;
  background: rgba(240, 199, 94, 0.12);
  border: 1px solid rgba(240, 199, 94, 0.35);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.8rem;
  animation: fadeUp 1s ease both;
}
.wr-tag::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 14px var(--gold-bright);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.wr-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.4rem;
  color: #fff;
  letter-spacing: -0.5px;
  animation: fadeUp 1s .15s ease both;
}
.wr-title .wr-accent {
  background: linear-gradient(135deg, var(--gold-bright) 0%, #FFE9A8 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wr-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 720px;
  margin: 0 auto 3rem;
  line-height: 1.75;
  animation: fadeUp 1s .3s ease both;
}
.wr-sub strong { color: #fff; font-weight: 600; }

.wr-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 760px;
  margin: 0 auto 3rem;
  animation: fadeUp 1s .45s ease both;
}
.wr-badge {
  padding: 1.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 199, 94, 0.25);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .3s, background .3s, border-color .3s;
}
.wr-badge:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--gold-bright);
}
.wr-badge-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  display: block;
}
.wr-badge-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.3;
}
.wr-badge-place {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .wr-badges { grid-template-columns: 1fr; gap: 0.8rem; }
  .wr-badge { padding: 1.2rem; }
}

.wr-big-number {
  display: inline-block;
  animation: fadeUp 1s .6s ease both;
}
.wr-big-number .num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright) 0%, #FFE9A8 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.wr-big-number .label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 0.8rem;
  font-weight: 500;
}

/* ============================================================
   NUMBERS SECTION v2 — redesigned with SVG icons + animations
   ============================================================ */
.numbers-v2 {
  background: linear-gradient(180deg, #fff8ec 0%, var(--cream) 100%);
  padding: 5.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.numbers-v2::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184, 146, 47, 0.08), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.numbers-v2::after {
  content: '';
  position: absolute; bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.10), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.numbers-v2 > .container { position: relative; z-index: 1; }

.nstat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.nstat {
  background: #fff;
  border: 1px solid rgba(180, 150, 100, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.nstat::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--brand-color, linear-gradient(90deg, var(--saffron), var(--gold)));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}
.nstat:hover::before { transform: scaleX(1); }
.nstat:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(184, 146, 47, 0.3);
}

.nstat-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 1.5rem;
}
.nstat-logo {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}
.nstat-logo svg { width: 26px; height: 26px; fill: currentColor; }
.nstat-logo.yt { background: linear-gradient(135deg, #FF0000, #CC0000); }
.nstat-logo.fb { background: linear-gradient(135deg, #1877F2, #0A5AC0); }
.nstat-logo.tw { background: linear-gradient(135deg, #000, #333); }
.nstat-logo.li { background: linear-gradient(135deg, #0A66C2, #004182); }
.nstat-logo.ig { background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%); }
.nstat-logo.tg { background: linear-gradient(135deg, #E74C3C, #C0392B); }
.nstat-logo.cc { background: linear-gradient(135deg, #2C3E50, #1A252F); }

.nstat-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}
.nstat-rows {
  display: flex; flex-direction: column; gap: 1rem;
}
.nstat-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(180, 150, 100, 0.12);
}
.nstat-row:first-child { border-top: none; padding-top: 0; }
.nstat-row-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-light);
  font-weight: 600;
}
.nstat-row-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Counter animation starting state */
[data-counter] { display: inline-block; min-width: 1ch; }

/* ============================================================
   INSIGHTS — Most Read & Hot Topic cards (auto from analytics)
   ============================================================ */
.insights-section {
  background: var(--warm-white);
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border-soft);
}
.insights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 820px) { .insights-grid { grid-template-columns: 1fr; } }

.insight-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.8rem 2rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.insight-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.insight-card.most-read::before { background: linear-gradient(90deg, var(--krishna-blue), var(--krishna-blue-light)); }
.insight-card.hot-topic::before { background: linear-gradient(90deg, var(--saffron), var(--gold-bright)); }
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.insight-card.most-read:hover { border-color: var(--krishna-blue-light); }
.insight-card.hot-topic:hover { border-color: var(--saffron); }

.insight-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.insight-card.most-read .insight-icon {
  background: rgba(30, 77, 140, 0.08);
}
.insight-card.hot-topic .insight-icon {
  background: rgba(184, 146, 47, 0.10);
}
.insight-body { min-width: 0; }
.insight-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.insight-card.most-read .insight-tag { color: var(--krishna-blue); }
.insight-card.hot-topic .insight-tag { color: var(--saffron); }
.insight-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 0.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-light);
}
.insight-meta span::before { content: '·'; margin-right: 14px; color: var(--text-light); }
.insight-meta span:first-child::before { display: none; }
.insight-cat { font-weight: 600; color: var(--saffron) !important; }
.insight-arrow {
  font-size: 1.6rem;
  color: var(--text-light);
  transition: transform .2s, color .2s;
  flex-shrink: 0;
}
.insight-card:hover .insight-arrow {
  transform: translateX(4px);
  color: var(--saffron);
}

/* ============================================================
   KARNEETI NUMBERS — platform reach grid (factual stats)
   ============================================================ */
.numbers-section {
  background: linear-gradient(135deg, var(--cream) 0%, #f5ece0 100%);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.numbers-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8 L46 32 L72 40 L46 48 L40 72 L34 48 L8 40 L34 32Z' fill='none' stroke='%23D4A84314' stroke-width='0.5'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.numbers-section > .container { position: relative; z-index: 1; }
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.platform-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform .25s, box-shadow .25s;
}
.platform-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.platform-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1.1rem;
}
.platform-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}
.platform-icon.yt { background: #FF0000; }
.platform-icon.fb { background: #1877F2; }
.platform-icon.tw { background: #000; }
.platform-icon.li { background: #0A66C2; }
.platform-icon.ig { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.platform-icon.tg { background: #E74C3C; }
.platform-icon.cc { background: #2C3E50; }
.platform-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}
.platform-stats {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.platform-stat {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(180, 150, 100, 0.10);
}
.platform-stat:last-child { border-bottom: none; padding-bottom: 0; }
.platform-stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.platform-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
}

.record-line {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid rgba(240, 199, 94, 0.4);
  border-radius: 100px;
  font-size: 0.86rem;
  color: var(--text-dark);
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}
.record-line strong { color: #B8860B; }

/* ============================================================
   WORLD RECORD ANNOUNCEMENT BANNER
   ============================================================ */
.record-banner {
  background: linear-gradient(135deg, #1B2D5A 0%, #0C1A3A 50%, #1B2D5A 100%);
  color: #fff;
  padding: 3.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.record-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8 L46 32 L72 40 L46 48 L40 72 L34 48 L8 40 L34 32Z' fill='none' stroke='%23F0C75E18' stroke-width='0.6'/%3E%3C/svg%3E");
  opacity: 0.6;
}
.record-banner::after {
  content: '';
  position: absolute; bottom: -150px; right: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240, 199, 94, 0.18), transparent 60%);
  border-radius: 50%;
}
.record-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
}
.record-medal {
  width: 110px; height: 110px;
  background: linear-gradient(135deg, #F0C75E 0%, #D4A843 50%, #B8860B 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.4rem;
  box-shadow:
    0 0 0 6px rgba(240, 199, 94, 0.15),
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 -8px 20px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  animation: medalSpin 8s ease-in-out infinite;
}
@keyframes medalSpin {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
.record-content .record-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(240, 199, 94, 0.12);
  border: 1px solid rgba(240, 199, 94, 0.35);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.record-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.8rem;
  color: #fff;
}
.record-title .record-accent {
  background: linear-gradient(135deg, var(--gold-bright), #FFE9A8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.record-desc {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 1.4rem;
}
.record-flags {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.record-flag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}
.record-flag .flag-emoji { font-size: 1rem; }

@media (max-width: 768px) {
  .record-card { grid-template-columns: 1fr; gap: 1.6rem; text-align: center; }
  .record-medal { justify-self: center; width: 90px; height: 90px; font-size: 2.6rem; }
  .record-flags { justify-content: center; }
}

/* ============================================================
   AUTHOR / SIR INTRO CARD (Sir-first home layout)
   ============================================================ */
.author-section {
  background: linear-gradient(135deg, #fff8ec 0%, var(--cream) 100%);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.author-section::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.12), transparent 60%);
  border-radius: 50%;
}
.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  align-items: center;
}
.author-photo-wrap {
  position: relative;
}
.author-photo {
  width: 240px; height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}
.author-photo-decoration {
  position: absolute; bottom: -16px; right: -16px;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(184, 146, 47, 0.3);
}
.author-content .role-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.8rem;
  padding: 6px 14px;
  background: rgba(184, 146, 47, 0.10);
  border-radius: 100px;
}
.author-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.author-creds {
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 500;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}
.author-creds strong { color: var(--saffron); }
.author-bio {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 1.6rem;
}
.author-roles {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.6rem;
}
.author-role-pill {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-dark);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.author-role-pill::before {
  content: '';
  width: 8px; height: 8px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 50%;
}

@media (max-width: 768px) {
  .author-card { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .author-photo-wrap { justify-self: center; }
  .author-photo { width: 200px; height: 240px; }
  .author-roles { justify-content: center; }
}

/* Reveal-on-scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Skip link for accessibility */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem;
  width: auto; height: auto; padding: 12px 18px;
  background: var(--saffron); color: #fff;
  border-radius: 8px; z-index: 9999;
}

/* ============================================================
   COMPANY SITE EXTENSIONS (v5) — split hero, solutions,
   trainings, blog, forms, admin-lite. Mobile-first.
   ============================================================ */

/* ---- Split hero (two wings) ---- */
.split-hero { padding: 2.5rem 1.5rem 3rem; max-width: 1280px; margin: 0 auto; }
.split-hero-head { text-align: center; max-width: 780px; margin: 0 auto 2.2rem; }
.split-hero-head h1 {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.15; color: var(--text-dark);
}
.split-hero-head h1 .accent {
  background: linear-gradient(135deg, var(--saffron) 10%, var(--gold) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.split-hero-head p { color: var(--text-mid); margin-top: 0.9rem; font-size: 1.05rem; }
.wings { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 880px) { .wings { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.wing {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 430px; box-shadow: var(--shadow-md);
  transition: transform .35s ease, box-shadow .35s ease;
}
.wing:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.wing-art { position: absolute; inset: 0; }
.wing-art img { width: 100%; height: 100%; object-fit: cover; }
.wing-overlay { position: absolute; inset: 0; }
.wing-knowledge .wing-overlay { background: linear-gradient(185deg, rgba(12,14,26,0) 30%, rgba(60,28,8,0.88) 78%); }
.wing-business .wing-overlay { background: linear-gradient(185deg, rgba(12,14,26,0) 30%, rgba(10,16,40,0.9) 78%); }
.wing-body { position: relative; padding: 1.8rem; color: #fff; }
.wing-kicker {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 0.8rem;
}
.wing-knowledge .wing-kicker { background: rgba(240,199,94,0.22); color: var(--gold-bright); border: 1px solid rgba(240,199,94,0.4); }
.wing-business .wing-kicker { background: rgba(58,111,168,0.28); color: #9CC4EE; border: 1px solid rgba(122,168,220,0.45); }
.wing-body h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.2; }
.wing-body p { margin: 0.6rem 0 1.1rem; color: rgba(255,255,255,0.82); font-size: 0.95rem; max-width: 46ch; }
.wing-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-light {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px;
  background: #fff; color: var(--text-dark); font-weight: 700; font-size: 0.9rem;
  border-radius: 999px; transition: transform .2s, box-shadow .2s;
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.btn-outline-light {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px;
  border: 1.5px solid rgba(255,255,255,0.55); color: #fff; font-weight: 600;
  font-size: 0.9rem; border-radius: 999px; transition: background .2s;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* ---- Trust strip ---- */
.trust-strip { background: var(--navy); color: rgba(255,255,255,0.85); padding: 1.1rem 1.5rem; }
.trust-strip-inner {
  max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap;
  gap: 0.6rem 2.2rem; align-items: center; justify-content: center;
  font-size: 0.85rem; text-align: center;
}
.trust-strip b { color: var(--gold-bright); font-weight: 700; }

/* ---- Product / solution cards ---- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 680px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  background: var(--warm-white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-art { height: 170px; overflow: hidden; background: var(--navy); }
.product-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-art img { transform: scale(1.05); }
.product-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--krishna-blue); margin-bottom: 6px; }
.product-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }
.product-body p { font-size: 0.9rem; color: var(--text-mid); flex: 1; }
.product-link { margin-top: 1rem; font-weight: 700; font-size: 0.88rem; color: var(--saffron); display: inline-flex; align-items: center; gap: 6px; }
.product-link:hover { color: var(--saffron-deep); }

/* ---- Case studies ---- */
.case-list { display: flex; flex-direction: column; gap: 1.4rem; }
.case-card {
  display: grid; grid-template-columns: 1fr; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--warm-white); border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm);
}
@media (min-width: 820px) { .case-card { grid-template-columns: 340px 1fr; } .case-card.flip { grid-template-columns: 1fr 340px; } .case-card.flip .case-art { order: 2; } }
.case-art { min-height: 210px; background: var(--navy); }
.case-art img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 1.5rem 1.7rem; }
.case-client { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--arjuna-warm); }
.case-body h3 { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 800; margin: 4px 0 8px; }
.case-body p { font-size: 0.92rem; color: var(--text-mid); }
.case-points { list-style: none; margin-top: 0.9rem; display: grid; gap: 6px; }
.case-points li { font-size: 0.88rem; color: var(--text-dark); padding-left: 22px; position: relative; }
.case-points li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }
.case-quote {
  margin-top: 1rem; padding: 0.9rem 1.1rem; background: var(--cream);
  border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; font-size: 0.9rem; color: var(--text-mid);
}

/* ---- Stats band / gallery / steps ---- */
.stat-band { background: linear-gradient(135deg, var(--navy), var(--royal)); color: #fff; padding: 3rem 1.5rem; }
.stat-band-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; text-align: center; }
@media (min-width: 760px) { .stat-band-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-band .num { font-family: 'Playfair Display', serif; font-size: 2.3rem; font-weight: 900; color: var(--gold-bright); }
.stat-band .label { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 4px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; counter-reset: step; }
@media (min-width: 760px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { background: var(--warm-white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.5rem; position: relative; }
.step-card::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--saffron), var(--gold)); color: #fff;
  font-weight: 800; border-radius: 10px; margin-bottom: 0.8rem; font-family: 'Playfair Display', serif;
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.step-card p { font-size: 0.88rem; color: var(--text-mid); }

/* ---- Video cards ---- */
.video-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 680px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--warm-white); border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm); transition: transform .3s; }
.video-card:hover { transform: translateY(-5px); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: var(--navy); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play {
  position: absolute; inset: 0; margin: auto; width: 54px; height: 54px;
  background: rgba(184,146,47,0.92); border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.video-thumb .play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.video-body { padding: 1rem 1.1rem 1.2rem; }
.video-body h3 { font-size: 0.98rem; font-weight: 700; line-height: 1.35; }
.video-body .video-date { font-size: 0.78rem; color: var(--text-light); margin-top: 6px; }

/* ---- Blog cards ---- */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 680px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.post-body { max-width: 760px; margin: 0 auto; font-size: 1.02rem; line-height: 1.75; }
.post-body h2 { font-family: 'Playfair Display', serif; margin: 1.6em 0 0.5em; }
.post-body p { margin-bottom: 1em; }
.post-body img { border-radius: var(--radius); margin: 1.2em 0; }

/* ---- Forms (lead / contact) ---- */
.lead-form { display: grid; gap: 14px; background: var(--warm-white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.lead-form label { font-size: 0.82rem; font-weight: 700; color: var(--text-dark); display: block; margin-bottom: 5px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-sm); background: #fff; font-size: 0.95rem; color: var(--text-dark);
  transition: border-color .2s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--saffron); }
.lead-form .hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: 0.8rem; color: var(--text-light); }
.form-success { background: #EAF7EF; border: 1px solid #BFE5CC; color: var(--emerald); padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-error { background: #FDEEEA; border: 1px solid #F5C9BB; color: var(--saffron-deep); padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; }

/* ---- WhatsApp float ---- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---- Profile cards (about) ---- */
.profile-duo { display: grid; grid-template-columns: 1fr; gap: 1.8rem; }
@media (min-width: 880px) { .profile-duo { grid-template-columns: 1fr 1fr; } }
.profile-card { background: var(--warm-white); border: 1px solid var(--border-soft); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-sm); text-align: center; }
.profile-card .photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 4px solid var(--gold-soft); }
.profile-card h3 { font-family: 'Playfair Display', serif; font-size: 1.45rem; font-weight: 800; }
.profile-card .creds { font-size: 0.85rem; color: var(--text-mid); margin: 6px 0 12px; }
.profile-card .bio { font-size: 0.92rem; color: var(--text-mid); text-align: left; }

/* ---- Page hero (inner pages) ---- */
.page-hero { position: relative; padding: 4rem 1.5rem 3.2rem; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--royal)); color: #fff; text-align: center; }
.page-hero .art { position: absolute; inset: 0; opacity: 0.35; }
.page-hero .art img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 900; }
.page-hero p { margin-top: 0.8rem; color: rgba(255,255,255,0.85); font-size: 1.02rem; }
.page-hero .wing-kicker { background: rgba(240,199,94,0.2); color: var(--gold-bright); border: 1px solid rgba(240,199,94,0.4); }

.section { padding: 3.6rem 0; }
.section-alt { background: var(--warm-white); }

/* Secondary (ghost) button inside the saffron CTA strip — outline style */
.cta-strip .btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.7); }
.cta-strip .btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* Tighter nav between tablet and mid-desktop so 8 items + CTA never clip */
@media (min-width: 769px) and (max-width: 1500px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.84rem; }
  .site-nav { padding-right: 2rem; }
}

/* Wing cards v2 — cream artwork on top, solid text panel below (no overlay) */
.wing { min-height: 0; justify-content: flex-start; }
.wing-art { position: static; }
.wing-art img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: center; }
.wing-overlay { display: none; }
.wing-body { position: static; padding: 1.5rem 1.7rem 1.7rem; flex: 1; }
.wing-knowledge .wing-body { background: linear-gradient(160deg, #4a2c10, #241505); }
.wing-business .wing-body { background: linear-gradient(160deg, var(--royal), var(--deep)); }

/* ---- Solutions v2: switcher, scroll-row, logo marquee, orbit ---- */
.aud-switch { display:flex; gap:8px; justify-content:center; padding:1.2rem 1.5rem 0; }
.aud-switch a { padding:10px 26px; border-radius:999px; font-weight:700; font-size:0.92rem; border:1.5px solid var(--border-mid); color:var(--text-mid); transition: all .2s; }
.aud-switch a.on { background:linear-gradient(135deg,var(--saffron),var(--gold)); color:#fff; border-color:transparent; box-shadow:0 8px 24px rgba(184,146,47,.3); }
.aud-switch a:not(.on):hover { border-color:var(--saffron); color:var(--saffron); }

.scroll-row { display:flex; gap:14px; overflow-x:auto; padding:6px 2px 14px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.scroll-row::-webkit-scrollbar { height:6px; }
.scroll-row::-webkit-scrollbar-thumb { background:var(--gold-soft); border-radius:99px; }
.mini-card { flex:0 0 240px; scroll-snap-align:start; background:var(--warm-white); border:1px solid var(--border-soft); border-radius:var(--radius-lg); padding:1.2rem 1.3rem; box-shadow:var(--shadow-sm); transition:transform .25s; }
.mini-card:hover { transform:translateY(-4px); }
.mini-card .mc-tag { font-size:0.66rem; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; color:var(--krishna-blue); }
.mini-card h3 { font-family:'Playfair Display',serif; font-size:1.05rem; font-weight:800; margin:4px 0 4px; }
.mini-card p { font-size:0.82rem; color:var(--text-mid); }

.logo-marquee { overflow:hidden; position:relative; padding:1.2rem 0; }
.logo-track { display:flex; gap:4rem; align-items:center; width:max-content; animation:marq 26s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state:paused; }
@keyframes marq { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.logo-track img { height:52px; width:auto; filter:grayscale(35%); opacity:.85; transition:all .25s; }
.logo-track img:hover { filter:none; opacity:1; }
.logo-badge { font-family:'Playfair Display',serif; font-weight:800; font-size:1.25rem; color:var(--royal); white-space:nowrap; opacity:.8; }

.problem-band { background:linear-gradient(160deg,var(--navy),var(--deep)); color:#fff; padding:3.6rem 1.5rem; }
.problem-band .quote { max-width:820px; margin:0 auto; font-family:'Playfair Display',serif; font-size:clamp(1.2rem,2.6vw,1.7rem); line-height:1.55; text-align:center; font-weight:600; }
.problem-band .quote em { color:var(--gold-bright); font-style:normal; }

.orbit-wrap { position:relative; width:min(420px,88vw); aspect-ratio:1; margin:0 auto; }
.orbit-center { position:absolute; inset:0; margin:auto; width:150px; height:150px; background:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-md); z-index:2; }
.orbit-center img { width:100px; height:auto; }
.orbit-ring { position:absolute; inset:0; border:1.5px dashed var(--border-mid); border-radius:50%; animation:spin 30s linear infinite; }
.orbit-ring .sat { position:absolute; left:50%; top:0; transform:translate(-50%,-50%); }
.orbit-ring .sat:nth-child(2){ left:97%; top:35%; } .orbit-ring .sat:nth-child(3){ left:79%; top:93%; }
.orbit-ring .sat:nth-child(4){ left:21%; top:93%; } .orbit-ring .sat:nth-child(5){ left:3%; top:35%; }
.sat-chip { display:inline-block; background:var(--warm-white); border:1.5px solid var(--gold); color:var(--royal); font-weight:700; font-size:0.78rem; padding:8px 14px; border-radius:999px; box-shadow:var(--shadow-sm); white-space:nowrap; animation:spinrev 30s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes spinrev { to { transform:rotate(-360deg); } }

/* Orbit: keep satellite chips inside the viewport on small screens */
.orbit-section { overflow-x: clip; }
@media (max-width: 560px) {
  .sat-chip { font-size: 0.66rem; padding: 6px 10px; }
  .orbit-ring .sat:nth-child(2) { left: 90%; top: 36%; }
  .orbit-ring .sat:nth-child(5) { left: 10%; top: 36%; }
  .orbit-ring .sat:nth-child(3) { left: 76%; top: 91%; }
  .orbit-ring .sat:nth-child(4) { left: 24%; top: 91%; }
}

/* ---- Article tables (block type "table") ---- */
.reader-table-wrap { overflow-x: auto; margin: 1.4rem 0; border-radius: var(--radius); border: 1px solid var(--border-mid); box-shadow: var(--shadow-sm); }
.reader-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: var(--warm-white); min-width: 480px; }
.reader-table th { background: linear-gradient(135deg, var(--navy), var(--royal)); color: #fff; text-align: left; padding: 10px 14px; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.3px; }
.reader-table td { padding: 9px 14px; border-top: 1px solid var(--border-soft); vertical-align: top; }
.reader-table tr:nth-child(even) td { background: rgba(212, 168, 67, 0.06); }

/* Gateway heading (homepage) */
.gateway-head { text-align: center; max-width: 760px; margin: 0 auto 2rem; padding-top: 1.2rem; }
.gateway-head h1 { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1.18; color: var(--text-dark); }
.gateway-head h1 .accent { background: linear-gradient(135deg, var(--saffron) 10%, var(--gold) 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gateway-head p { color: var(--text-mid); margin-top: 0.85rem; font-size: 1.02rem; }

/* Gateway card hover lift (motion where it converts) */
.wing { transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease; }
.wing:hover { transform: translateY(-8px) scale(1.008); box-shadow: 0 34px 90px rgba(0,0,0,.22); }
.wing-art img { transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.wing:hover .wing-art img { transform: scale(1.04); }
/* ICAI logo is taller (square-ish with text) — normalise marquee heights */
.logo-track img[alt^="ICAI"] { height: 78px; }

/* Company positioning band (homepage) */
.company-band { padding: 2.6rem 1.5rem 0.6rem; }
.company-band p { font-size: 1.02rem; line-height: 1.75; color: var(--text-mid); text-align: center; }
.company-band p strong { color: var(--text-dark); font-weight: 700; }
.company-band p a { color: var(--saffron-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.company-band-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }

/* ============================================================
   SOLUTIONS v3 — rhythm-breaking layouts, line-art icons, motion
   ============================================================ */

/* --- Editorial split: sticky heading left, content right --- */
.split-sec { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) {
  .split-sec { grid-template-columns: minmax(280px, 34%) 1fr; gap: 4rem; align-items: start; }
  .split-sec > .split-head { position: sticky; top: 96px; }
}
.split-head .eyebrow {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem;
}
.split-head h2 {
  font-family: 'Playfair Display', serif; font-weight: 900; line-height: 1.12;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--text-dark);
}
.split-head p { margin-top: 1rem; color: var(--text-mid); font-size: 0.98rem; }
.split-head .rule { width: 54px; height: 3px; background: var(--gold); margin-top: 1.4rem; border-radius: 2px; }

/* --- Numbered process list (replaces the boxed step cards) --- */
.proc { list-style: none; counter-reset: proc; display: grid; gap: 0; }
.proc li {
  counter-increment: proc; position: relative; padding: 1.7rem 0 1.7rem 4.2rem;
  border-top: 1px solid var(--border-soft);
}
.proc li:last-child { border-bottom: 1px solid var(--border-soft); }
.proc li::before {
  content: counter(proc, decimal-leading-zero);
  position: absolute; left: 0; top: 1.7rem;
  font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900;
  color: var(--gold); letter-spacing: -1px;
}
.proc h3 { font-size: 1.12rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.35rem; }
.proc p { font-size: 0.94rem; color: var(--text-mid); line-height: 1.65; }
.proc li { transition: padding-left .3s ease; }
.proc li:hover { padding-left: 4.6rem; }
.proc li:hover::before { color: var(--saffron); }

/* --- Bento: deliverables at different weights --- */
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 780px) { .bento { grid-template-columns: repeat(6, 1fr); } }
.bento-item {
  background: var(--warm-white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 1.6rem 1.7rem;
  transition: transform .32s cubic-bezier(.2,.7,.3,1), box-shadow .32s, border-color .32s;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
@media (min-width: 780px) {
  .bento-item.wide { grid-column: span 4; }
  .bento-item.norm { grid-column: span 2; }
  .bento-item.half { grid-column: span 3; }
}
.bento-item h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 800; color: var(--text-dark); }
.bento-item p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.6; }
.bento-item .tag { font-size: 0.66rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--krishna-blue); }
.bento-item.feature { background: linear-gradient(155deg, var(--royal), var(--deep)); border-color: transparent; }
.bento-item.feature h3, .bento-item.feature p { color: #fff; }
.bento-item.feature p { color: rgba(255,255,255,.8); }
.bento-item.feature .tag { color: var(--gold-bright); }

/* --- Line-art icon --- */
.ico { width: 34px; height: 34px; stroke: var(--gold); stroke-width: 1.5; fill: none;
       stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 44px; height: 44px; }

/* --- AI vs not-AI: three lanes --- */
.lanes { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--border-mid); }
@media (min-width: 880px) { .lanes { grid-template-columns: repeat(3, 1fr); } }
.lane { padding: 2rem 1.6rem; border-bottom: 1px solid var(--border-mid); position: relative; }
@media (min-width: 880px) {
  .lane { border-bottom: none; border-right: 1px solid var(--border-mid); }
  .lane:last-child { border-right: none; }
}
.lane .lane-no { font-size: 0.7rem; letter-spacing: 2px; font-weight: 700; color: var(--text-light); }
.lane h3 { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 800; margin: 0.5rem 0 0.2rem; }
.lane .verdict { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; padding: 4px 11px; border-radius: 999px; margin-bottom: 0.9rem; }
.lane.no-ai .verdict { background: rgba(29,131,72,.1); color: var(--emerald); border: 1px solid rgba(29,131,72,.25); }
.lane.yes-ai .verdict { background: rgba(184,146,47,.1); color: var(--saffron-deep); border: 1px solid rgba(184,146,47,.28); }
.lane p { font-size: 0.94rem; color: var(--text-mid); line-height: 1.7; }
.lane ul { list-style: none; margin-top: 0.9rem; display: grid; gap: 7px; }
.lane li { font-size: 0.88rem; color: var(--text-dark); padding-left: 20px; position: relative; }
.lane li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold); }
.lane .ico { margin-bottom: 0.9rem; }
.lane.yes-ai .ico { stroke: var(--saffron); }

/* punchline strip */
.punch { background: var(--deep); color: #fff; border-radius: var(--radius-lg); padding: 1.9rem 2rem;
  margin-top: 2.2rem; display: grid; gap: 0.5rem; }
.punch p { font-family: 'Playfair Display', serif; font-size: clamp(1.05rem, 2.2vw, 1.4rem); line-height: 1.5; }
.punch em { color: var(--gold-bright); font-style: normal; }
.punch small { color: rgba(255,255,255,.6); font-size: 0.85rem; }

/* --- staggered reveal --- */
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.3,1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 350ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal-stagger > *, .reveal, .wing, .bento-item, .proc li { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Intrinsic width/height are set on <img> for CLS; CSS keeps them fluid */
img[width][height] { max-width: 100%; height: auto; }
.logo-track img[width][height] { width: auto; }
.wing-art img[width][height], .product-art img[width][height], .case-art img[width][height] { height: 100%; width: 100%; }
.site-header .brand img[width][height], .site-footer .brand img[width][height] { width: auto; }

/* ============================================================
   LAYER STACK — the three-layer story, designed as a staircase
   that deepens in colour from foundation to intelligence
   ============================================================ */
.stack { position: relative; display: grid; gap: 18px; }

/* connector rail runs behind the rows on desktop */
@media (min-width: 900px) {
  .stack::before {
    content: ''; position: absolute; left: 92px; top: 60px; bottom: 60px; width: 2px;
    background: linear-gradient(180deg, var(--border-mid), var(--gold) 45%, var(--saffron));
    opacity: .5; border-radius: 2px;
  }
}

.layer {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  display: grid; grid-template-columns: 1fr; gap: 0.4rem;
  padding: 2rem 1.6rem;
  border: 1px solid var(--border-soft);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s;
}
@media (min-width: 900px) {
  .layer { grid-template-columns: 180px 1fr; gap: 2.4rem; padding: 2.6rem 2.6rem 2.6rem 2.2rem; align-items: start; }
}
.layer:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* progressive depth: foundation → rules → intelligence */
.layer.l1 { background: var(--warm-white); }
.layer.l2 { background: linear-gradient(135deg, #FFF6E4, #FFFDF6); border-color: var(--gold-soft); }
.layer.l3 { background: linear-gradient(140deg, var(--royal), var(--deep)); border-color: transparent; }

/* left rail: ghost numeral + label */
.layer-mark { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 0.8rem; }
@media (min-width: 900px) { .layer-mark { flex-direction: column; gap: 0.5rem; align-items: flex-start; } }
.layer-num {
  font-family: 'Playfair Display', serif; font-weight: 900; line-height: 0.82;
  font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -3px;
  -webkit-text-stroke: 1.5px var(--gold); color: transparent;
}
.layer.l3 .layer-num { -webkit-text-stroke-color: var(--gold-bright); }
.layer-tag {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.layer.l1 .layer-tag { background: rgba(27,45,90,.07); color: var(--royal); }
.layer.l2 .layer-tag { background: rgba(200,160,60,.16); color: #8a6a12; }
.layer.l3 .layer-tag { background: rgba(240,199,94,.18); color: var(--gold-bright); }

/* body */
.layer-body { position: relative; z-index: 1; }
.layer-body h3 {
  font-family: 'Playfair Display', serif; font-weight: 900; line-height: 1.12;
  font-size: clamp(1.45rem, 3.1vw, 2.1rem); color: var(--text-dark); margin-bottom: 0.6rem;
}
.layer.l3 .layer-body h3 { color: #fff; }
.layer-body > p { font-size: 1rem; line-height: 1.75; color: var(--text-mid); max-width: 62ch; }
.layer.l3 .layer-body > p { color: rgba(255,255,255,.82); }

/* the points — mapped as labelled rows, not plain bullets */
.pts { display: grid; gap: 1px; margin-top: 1.4rem; border-radius: var(--radius);
       overflow: hidden; background: var(--border-soft); }
@media (min-width: 700px) { .pts { grid-template-columns: repeat(3, 1fr); } }
.layer.l3 .pts { background: rgba(255,255,255,.12); }
.pt { background: var(--cream); padding: 1rem 1.1rem; display: grid; gap: 0.3rem; align-content: start; }
.layer.l2 .pt { background: #FFFDF7; }
.layer.l3 .pt { background: rgba(255,255,255,.05); }
.pt .k {
  font-size: 0.64rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 6px;
}
.pt .k::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pt .v { font-size: 0.9rem; line-height: 1.5; color: var(--text-dark); font-weight: 500; }
.layer.l3 .pt .v { color: rgba(255,255,255,.92); }
.layer.l3 .pt .k { color: var(--gold-bright); }

/* icon sits top-right as a watermark */
.layer-ico { position: absolute; right: 1.6rem; top: 1.6rem; opacity: .16; }
.layer-ico .ico { width: 74px; height: 74px; stroke-width: 1.1; }
.layer.l3 .layer-ico .ico { stroke: var(--gold-bright); }
@media (max-width: 620px) { .layer-ico { display: none; } }

/* closing statement */
.stack-close {
  margin-top: 1.6rem; text-align: center; padding: 2.2rem 1.5rem;
}
.stack-close p {
  font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: clamp(1.2rem, 2.8vw, 1.9rem); line-height: 1.4; color: var(--text-dark);
}
.stack-close p em { font-style: normal;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stack-close small { display: block; margin-top: 0.8rem; color: var(--text-mid); font-size: 0.92rem; }

/* ============================================================
   TYPEWRITER — rotating hero words (see assets/js/typewriter.js)
   ============================================================ */
.tw {
  display: inline-block;
  text-align: left;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--saffron) 10%, var(--gold) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tw-caret {
  display: inline-block;
  width: 3px; height: 0.95em;
  margin-left: 3px;
  vertical-align: -0.12em;
  background: var(--saffron);
  -webkit-text-fill-color: initial;
  animation: tw-blink 1s steps(1) infinite;
  border-radius: 1px;
}
@keyframes tw-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tw-caret { animation: none; } }

/* on the dark problem-band / navy sections */
.on-dark .tw-caret { background: var(--gold-bright); }

/* the line that carries a typewriter needs room on small screens */
.tw-line { display: block; }
@media (max-width: 560px) { .tw { white-space: normal; } }

/* ============================================================
   CLIENT TESTIMONIAL — a single, real, quotable review
   ============================================================ */
.testi {
  position: relative;
  background: linear-gradient(140deg, var(--royal), var(--deep));
  border-radius: var(--radius-xl);
  padding: 2.6rem 1.7rem 2.2rem;
  overflow: hidden;
}
@media (min-width: 900px) { .testi { padding: 3.4rem 3.6rem 2.8rem; } }
.testi::before {
  content: '\201C';
  position: absolute; left: 1.2rem; top: -1.4rem;
  font-family: 'Playfair Display', serif; font-size: 11rem; line-height: 1;
  color: var(--gold); opacity: .18; pointer-events: none;
}
.testi blockquote {
  position: relative; z-index: 1;
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: clamp(1.15rem, 2.3vw, 1.55rem); line-height: 1.55;
  color: #fff; margin: 0 0 1.4rem;
}
.testi blockquote em { font-style: normal; color: var(--gold-bright); }
.testi .testi-sub {
  position: relative; z-index: 1;
  color: rgba(255,255,255,.72); font-size: .95rem; line-height: 1.7;
  max-width: 68ch; margin-bottom: 1.6rem;
}
.testi-by {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.14);
}
.testi-by img[width][height] { height: 38px; width: auto; max-width: 130px; object-fit: contain;
  background: #fff; border-radius: 6px; padding: 5px 9px; flex: none; }
.testi-who b { display: block; color: #fff; font-size: .96rem; }
.testi-who span { display: block; color: rgba(255,255,255,.6); font-size: .82rem; margin-top: 2px; }
.testi-tag {
  margin-left: auto; font-size: .68rem; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--gold-bright);
  background: rgba(240,199,94,.14); border: 1px solid rgba(240,199,94,.3);
  padding: 6px 13px; border-radius: 999px;
}
@media (max-width: 560px) { .testi-tag { margin-left: 0; } }

/* the hero line that carries the typewriter */
p.tw-headline {
  margin-top: 1rem;
  display: flex; flex-direction: column; align-items: center; gap: .12rem;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
}
/* inner pages: the rotating word leads, the sentence sits under it */
p.tw-headline .tw { font-size: clamp(1.9rem, 5.6vw, 3.2rem); letter-spacing: -.8px; line-height: 1.1; }
p.tw-headline .tw-lead, p.tw-headline .tw-tail {
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  font-size: clamp(.92rem, 2.1vw, 1.05rem); letter-spacing: .2px;
  color: var(--text-mid); max-width: 46ch;
}
p.tw-headline .tw-lead { order: -1; }
/* homepage — the biggest one on the site */
p.tw-hero {
  margin: 1rem 0 0.9rem;
  font-size: clamp(1.5rem, 4.4vw, 2.7rem);
  line-height: 1.3;
}
.tw-hero .tw-caret { width: 4px; }


/* ============================================================
   HOMEPAGE HERO — the rotating word is the star of the page
   ============================================================ */
.hero-stage { position: relative; overflow: hidden; }

/* soft drifting light behind the type — decorative, never blocks reading */
.hero-aura { position: absolute; inset: -20% -10% auto; height: 130%; pointer-events: none; z-index: 0; }
.hero-aura i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(70px); opacity: .5;
}
.hero-aura i:nth-child(1) { width: 46vw; height: 46vw; max-width: 520px; max-height: 520px;
  left: -8%; top: 4%;  background: rgba(184,146,47,.28); animation: drift1 22s ease-in-out infinite; }
.hero-aura i:nth-child(2) { width: 40vw; height: 40vw; max-width: 460px; max-height: 460px;
  right: -6%; top: 0;   background: rgba(212,168,67,.34); animation: drift2 26s ease-in-out infinite; }
.hero-aura i:nth-child(3) { width: 34vw; height: 34vw; max-width: 400px; max-height: 400px;
  left: 42%; top: 44%;  background: rgba(27,45,90,.14);  animation: drift3 30s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: none } 50% { transform: translate(9%, 7%) scale(1.1) } }
@keyframes drift2 { 0%,100% { transform: none } 50% { transform: translate(-8%, 9%) scale(1.08) } }
@keyframes drift3 { 0%,100% { transform: none } 50% { transform: translate(6%, -9%) scale(1.12) } }
@media (prefers-reduced-motion: reduce) { .hero-aura i { animation: none } }

.hero-stage .gateway-head { position: relative; z-index: 1; }

.hero-eyebrow {
  display: block; text-align: center;
  font-size: .7rem; font-weight: 800; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--saffron-deep); margin-bottom: 1.1rem;
}

/* the headline: lead on its own line, the rotating word beneath it, huge */
h1.hero-line {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  text-align: center; margin: 0;
}
.hero-line .hero-lead {
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  font-size: clamp(1rem, 2.6vw, 1.45rem); letter-spacing: .3px;
  color: var(--text-mid);
}
/* the star — big enough to carry the page on its own */
.hero-line .tw {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(2.5rem, 9vw, 5.6rem);
  line-height: 1.06; letter-spacing: -1.5px;
  text-align: center;          /* ← keeps the word centred inside its reserved box */
  white-space: nowrap;
}
.hero-line .tw-caret { width: .055em; height: .78em; margin-left: .06em; vertical-align: -.06em; }

.hero-sub {
  text-align: center; max-width: 44ch; margin: 1.1rem auto 0;
  color: var(--text-mid); font-size: clamp(.95rem, 2.2vw, 1.08rem); line-height: 1.65;
}

/* the reserved box must stay centred, not left-aligned, in every typewriter */
.tw { text-align: center; }

/* ============================================================
   "WHAT WE DO" BAND — replaces the plain positioning paragraph
   ============================================================ */
.band-head { text-align: center; margin-bottom: 2rem; }
.band-head h2 {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem); line-height: 1.18;
  color: var(--text-dark); margin-top: .5rem;
}
.band-parent {
  margin-top: .5rem; font-size: .84rem; letter-spacing: .4px;
  color: var(--text-light); text-transform: uppercase; font-weight: 600;
}

.does { display: grid; gap: 16px; }
@media (min-width: 860px) { .does { grid-template-columns: 1fr 1fr; gap: 20px; } }

.does-card {
  position: relative; overflow: hidden; text-align: left;
  background: var(--warm-white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl); padding: 2rem 1.5rem 1.4rem;
  display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .35s;
}
.does-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }

.does-num {
  position: absolute; right: 1.1rem; top: .4rem;
  font-family: 'Playfair Display', serif; font-weight: 900; font-size: 4.6rem; line-height: 1;
  -webkit-text-stroke: 1.4px var(--gold); color: transparent; opacity: .5; pointer-events: none;
}
.does-kicker {
  font-size: .66rem; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--saffron-deep);
}
.does-card h3 {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(1.22rem, 2.8vw, 1.55rem); line-height: 1.22;
  color: var(--text-dark); margin: .45rem 0 .55rem; max-width: 18ch;
}
.does-card > p { font-size: .95rem; line-height: 1.7; color: var(--text-mid); }

.does-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 7px;
  margin: 1.1rem 0 0; padding: 0;
}
.does-list li {
  font-size: .8rem; font-weight: 600; color: var(--royal);
  background: rgba(27,45,90,.055); border: 1px solid var(--border-soft);
  padding: 5px 12px; border-radius: 999px;
}
.does-list li a { color: var(--saffron-deep); text-decoration: none; }
.does-list li a:hover { text-decoration: underline; }

.does-foot {
  margin-top: auto; padding-top: 1.2rem;
  border-top: 1px solid var(--border-soft);
}
.does-foot { margin-top: 1.4rem; }
.does-foot-k {
  display: block; font-size: .64rem; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: .3rem;
}
.does-foot-v { display: block; font-size: .87rem; line-height: 1.55; color: var(--text-mid); }
.does-foot-v b { color: var(--text-dark); font-weight: 700; }

/* ============================================================
   /articles — recognition strip + compact author bar
   (replaces the full-screen world-record hero and author card)
   ============================================================ */
.rec-strip {
  background: var(--deep); overflow: hidden;
  border-bottom: 1px solid rgba(240,199,94,.18);
}
.rec-track {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap; width: max-content;
  padding: 13px 0;
  animation: rec-slide 42s linear infinite;
}
.rec-strip:hover .rec-track { animation-play-state: paused; }
@keyframes rec-slide { from { transform: none } to { transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce) {
  .rec-track { animation: none; }
  .rec-strip { overflow-x: auto; }
}
.rec-track > span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; color: rgba(255,255,255,.8); padding: 0 1.1rem;
}
.rec-track > span i { font-style: normal; font-size: 1.02rem; }
.rec-track > span b { color: var(--gold-bright); font-weight: 700; }
.rec-track > span.dot { color: rgba(240,199,94,.4); padding: 0; font-size: 1rem; }

.author-bar { background: var(--warm-white); border-bottom: 1px solid var(--border-soft); }
.author-bar-inner {
  max-width: 900px; margin: 0 auto; padding: 1.6rem 1.3rem;
  display: flex; align-items: center; gap: 1.2rem;
}
@media (max-width: 560px) {
  .author-bar-inner { flex-direction: column; text-align: center; gap: .9rem; padding: 1.5rem 1.2rem; }
}
.author-bar-inner img[width][height] {
  width: 92px; height: 92px; flex: none; border-radius: 50%;
  object-fit: cover; object-position: top center;
  border: 2px solid var(--gold-soft); box-shadow: var(--shadow-sm);
}
.author-bar-text .k {
  font-size: .64rem; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--gold);
}
.author-bar-text h1 {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(1.35rem, 3.6vw, 1.9rem); line-height: 1.15;
  color: var(--text-dark); margin: .18rem 0 .3rem;
}
.author-bar-text p { font-size: .9rem; line-height: 1.6; color: var(--text-mid); max-width: 58ch; }
.author-bar-link {
  display: inline-block; margin-top: .5rem; font-size: .84rem; font-weight: 700;
  color: var(--saffron-deep); text-decoration: none;
}
.author-bar-link:hover { text-decoration: underline; }

/* the library heading is no longer the page's h1 — keep its look, trim its bulk */
.browse-hero .browse-h {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.15; color: var(--text-dark);
}
.browse-hero .browse-p { margin-top: .5rem; font-size: .95rem; color: var(--text-mid); }

/* ============================================================
   AFTER THE ARTICLE — subscribe, and a bridge to the other wing
   ============================================================ */
.after-read {
  display: grid; gap: 18px; margin: 2.6rem auto 0; max-width: 780px;
}
@media (min-width: 760px) { .after-read { grid-template-columns: 1.15fr 1fr; } }
.after-read > div {
  border: 1px solid var(--border-soft); border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem; background: var(--warm-white);
}
.after-read .ar-sub { background: linear-gradient(140deg, #FFF8EC, #FFFDF8); border-color: var(--gold-soft); }
.after-read .ar-k {
  display: block; font-size: .66rem; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--gold); margin-bottom: .5rem;
}
.after-read p { font-size: .93rem; line-height: 1.6; color: var(--text-mid); }
.ar-form { display: flex; gap: 8px; margin-top: 1rem; flex-wrap: wrap; }
.ar-form input {
  flex: 1 1 190px; min-width: 0; padding: 11px 15px; font-family: inherit; font-size: .92rem;
  border: 1.5px solid var(--border-mid); border-radius: 999px; background: #fff; color: var(--text-dark);
}
.ar-form input:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; border-color: var(--saffron); }
.ar-form button {
  flex: none; padding: 11px 22px; font-family: inherit; font-size: .92rem; font-weight: 700;
  border: none; border-radius: 999px; background: var(--royal); color: #fff; cursor: pointer;
}
.ar-form button:hover { background: var(--deep); }
.ar-status { margin-top: .7rem; font-size: .86rem; color: var(--text-mid); min-height: 1.2em; }
.ar-status.ok { color: #1E6B44; font-weight: 600; }
.ar-status.bad { color: #BC4816; }
.ar-status a { color: inherit; text-decoration: underline; font-weight: 700; }
.ar-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.ar-links a {
  font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--royal);
  border: 1px solid var(--border-mid); border-radius: 999px; padding: 9px 16px; background: #fff;
}
.ar-links a:hover { border-color: var(--saffron); color: var(--saffron-deep); }


/* ============================================================
   FOCUS — every interactive control must show where you are
   ============================================================ */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
  border-radius: 4px;
}
