/* ============================================================
   B. Nagendra — Personal Website
   Theme: Saffron + White + Green (Indian tricolor inspired)
   ============================================================ */

:root {
  --saffron: #ff9933;
  --saffron-dark: #e67e22;
  --saffron-light: #ffd9b3;
  --green: #138808;
  --green-dark: #0f6b06;
  --green-light: #d4edd4;
  --white: #ffffff;
  --off-white: #fdfaf5;
  --cream: #fff8ed;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-muted: #7a7a7a;
  --line: #e8e2d6;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 80px;
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Page transition overlay ---------- */
.page-fade {
  position: fixed; inset: 0;
  background: var(--saffron);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease-soft);
}
.page-fade.show { opacity: 1; }
body.is-loading .page-fade { opacity: 1; }
body { opacity: 0; transition: opacity .5s var(--ease-soft); }
body.ready { opacity: 1; }

/* ---------- Top bar (tricolor) ---------- */
.tricolor-bar {
  height: 4px;
  background: linear-gradient(to right,
    var(--saffron) 0%, var(--saffron) 33.33%,
    #ffffff 33.33%, #ffffff 66.66%,
    var(--green) 66.66%, var(--green) 100%);
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1001;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 4px; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled {
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--green));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.1rem;
  font-family: var(--font-body);
  box-shadow: var(--shadow-sm);
}
.brand-sub { font-size: .72rem; color: var(--ink-muted); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-body); display: block; }

.nav-links {
  display: flex; gap: 4px; align-items: center; list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--saffron-dark); font-weight: 600; }

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--saffron-dark); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 8px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); position: relative;
  transition: transform .3s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Layout: page top spacer ---------- */
main { padding-top: calc(var(--nav-h) + 4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--saffron);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: 0 6px 18px rgba(255, 153, 51, 0.35);
}
.btn:hover { background: var(--saffron-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 153, 51, 0.4); }
.btn.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: none;
}
.btn.btn-outline:hover { background: var(--ink); color: #fff; }
.btn.btn-green { background: var(--green); box-shadow: 0 6px 18px rgba(19, 136, 8, 0.3); }
.btn.btn-green:hover { background: var(--green-dark); box-shadow: 0 10px 24px rgba(19, 136, 8, 0.35); }

/* ---------- Section base ---------- */
section { padding: 96px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--saffron-dark);
  padding: 6px 14px;
  background: var(--saffron-light);
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.section-sub { font-size: 1.05rem; color: var(--ink-muted); max-width: 620px; margin: 0 auto; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.reveal.delay-5 { transition-delay: .40s; }

/* ============================================================
   HOME — Hero
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  padding-top: 60px; padding-bottom: 60px;
  background:
    radial-gradient(ellipse at top left, rgba(255, 153, 51, 0.12), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(19, 136, 8, 0.10), transparent 50%),
    var(--off-white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 153, 51, 0.06), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(19, 136, 8, 0.06), transparent 30%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(19, 136, 8, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(19, 136, 8, 0); }
}
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--saffron-dark); }
.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 30px;
  background: linear-gradient(160deg, var(--saffron) 0%, var(--green) 100%);
  box-shadow: var(--shadow-lg);
  /* overflow visible so floating stat cards can overhang */
}
.hero-portrait::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.30));
  pointer-events: none;
  border-radius: 30px;
  z-index: 1;
}
.hero-portrait .portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border-radius: 30px;
  z-index: 0;
}
.hero-portrait .silhouette {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.95);
  text-align: center; padding: 30px;
  z-index: 2;
}
.hero-portrait .silhouette .initials {
  font-size: 6rem; font-weight: 800; line-height: 1; margin-bottom: 12px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.hero-portrait .silhouette .name { font-size: 1.4rem; letter-spacing: .04em; }
.hero-portrait .silhouette .title { font-size: .9rem; opacity: .9; margin-top: 6px; font-family: var(--font-body); letter-spacing: .12em; text-transform: uppercase; }

.hero-stats-card {
  position: absolute;
  bottom: -28px; left: -28px;
  background: #fff;
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  border: 1px solid var(--line);
}
.hero-stats-card .num { font-family: var(--font-display); font-size: 2rem; color: var(--saffron-dark); line-height: 1; font-weight: 800; }
.hero-stats-card .lbl { font-size: .8rem; color: var(--ink-muted); margin-top: 4px; }

.hero-mini-card {
  position: absolute;
  top: 30px; right: -22px;
  background: #fff;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  border: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.hero-mini-card .icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--green-light); color: var(--green-dark);
  display: grid; place-items: center; font-weight: 700;
}
.hero-mini-card .txt .l1 { font-weight: 700; font-size: .9rem; }
.hero-mini-card .txt .l2 { font-size: .75rem; color: var(--ink-muted); }

/* ---------- Quick stats strip ---------- */
.stats-strip {
  background: var(--ink);
  color: #fff;
  padding: 60px 0;
}
.stats-strip .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-strip .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--saffron);
  line-height: 1;
}
.stats-strip .stat-lbl {
  font-size: .85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Highlight cards ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.highlight-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.highlight-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--saffron), var(--green));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.highlight-card:hover::before { transform: scaleX(1); }
.highlight-card .icon-box {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--saffron-light);
  color: var(--saffron-dark);
  display: grid; place-items: center;
  font-size: 1.6rem; font-weight: 700;
  margin-bottom: 20px;
}
.highlight-card.green .icon-box { background: var(--green-light); color: var(--green-dark); }
.highlight-card h3 { font-size: 1.3rem; }
.highlight-card p { font-size: .96rem; margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer p, .footer a { color: rgba(255,255,255,0.7); font-size: .92rem; }
.footer a:hover { color: var(--saffron); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand p { max-width: 320px; margin-top: 16px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.footer-social a:hover { background: var(--saffron); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 12px;
}

/* ============================================================
   ABOUT page
   ============================================================ */
.page-hero {
  padding: 60px 0 80px;
  background:
    radial-gradient(ellipse at top left, rgba(255, 153, 51, 0.12), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(19, 136, 8, 0.10), transparent 50%),
    var(--off-white);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 16px; }
.page-hero .lead { font-size: 1.1rem; max-width: 700px; margin: 0 auto; color: var(--ink-soft); }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: .82rem; color: var(--ink-muted);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--saffron-dark); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.about-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--nav-h) + 20px);
}
.about-card .portrait-block {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--saffron) 0%, var(--green) 100%);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.about-card .portrait-block::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.about-card .portrait-block .ini { font-size: 5rem; font-weight: 800; }
.about-card .portrait-block .portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  z-index: 0;
}
.about-card dl { margin: 0; }
.about-card dt {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.about-card dd { margin: 0 0 16px; font-weight: 600; color: var(--ink); }
.about-content h2 { font-size: 2rem; margin-bottom: 16px; margin-top: 32px; }
.about-content h2:first-child { margin-top: 0; }
.about-content p { font-size: 1.05rem; }
.about-content .quote {
  border-left: 3px solid var(--saffron);
  padding: 8px 0 8px 24px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
}

/* ============================================================
   POLITICAL JOURNEY — Timeline
   ============================================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--saffron), var(--green));
  transform: translateX(-50%);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 30px 50px;
}
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-item::before {
  content: '';
  position: absolute;
  top: 38px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--saffron);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.15);
}
.tl-item:nth-child(odd)::before { right: -9px; }
.tl-item:nth-child(even)::before { left: -9px; }
.tl-card {
  background: #fff;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tl-year {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--saffron-dark);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.tl-card h3 { font-size: 1.15rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 700; }
.tl-card p { font-size: .94rem; margin-bottom: 0; }
.tl-meta {
  display: inline-block;
  font-size: .75rem; font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 10px;
}
.tl-meta.won { background: var(--green-light); color: var(--green-dark); }
.tl-meta.role { background: var(--saffron-light); color: var(--saffron-dark); }

/* ---------- Election Results table ---------- */
.results-wrap {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 8px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.results-table {
  width: 100%; border-collapse: collapse;
}
.results-table th, .results-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.results-table th {
  background: var(--cream);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
}
.results-table tr:last-child td { border-bottom: none; }
.results-table .result-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700; font-size: .8rem;
}

/* ============================================================
   CONSTITUENCY WORK
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-card .img {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--saffron-light), var(--green-light));
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(255,255,255,0.9);
  position: relative; overflow: hidden;
}
.work-card .img.alt-1 { background: linear-gradient(135deg, #ffb877, #ff9933); }
.work-card .img.alt-2 { background: linear-gradient(135deg, #4caf50, #138808); }
.work-card .img.alt-3 { background: linear-gradient(135deg, #ff9933, #138808); }
.work-card .img.alt-4 { background: linear-gradient(135deg, #1a1a1a, #4a4a4a); }
.work-card .img.alt-5 { background: linear-gradient(135deg, #138808, #0f6b06); }
.work-card .img.alt-6 { background: linear-gradient(135deg, #e67e22, #ff9933); }
.work-card .img::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 60%);
}
.work-card .body { padding: 24px; }
.work-card .tag {
  display: inline-block;
  font-size: .75rem; font-weight: 600;
  color: var(--saffron-dark);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 10px;
}
.work-card h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; }
.work-card p { font-size: .95rem; margin-bottom: 0; }

/* ============================================================
   VISION
   ============================================================ */
.vision-hero {
  padding: 80px 0;
  background:
    radial-gradient(ellipse at top, rgba(255, 153, 51, 0.10), transparent 50%),
    var(--cream);
  text-align: center;
}
.vision-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pillar {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--line);
  display: flex;
  gap: 20px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar .num-box {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--saffron-light);
  color: var(--saffron-dark);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}
.pillar:nth-child(even) .num-box { background: var(--green-light); color: var(--green-dark); }
.pillar h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; }
.pillar p { margin-bottom: 0; font-size: .95rem; }

.promise-band {
  margin-top: 80px;
  padding: 60px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--saffron) 0%, var(--green) 100%);
  color: #fff;
  text-align: center;
}
.promise-band h2 { color: #fff; font-size: 2.2rem; }
.promise-band p { color: rgba(255,255,255,0.92); font-size: 1.1rem; max-width: 700px; margin: 0 auto 0; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-tabs {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.gallery-tab {
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .92rem;
  transition: all .25s var(--ease);
}
.gallery-tab:hover { color: var(--ink); border-color: var(--ink); }
.gallery-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  grid-auto-flow: dense;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  cursor: pointer;
  transition: transform .4s var(--ease);
}
.gallery-item.tall { aspect-ratio: 3 / 4; grid-row: span 2; }
.gallery-item.wide { aspect-ratio: 16 / 9; grid-column: span 2; }
.gallery-item .ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--saffron-light), var(--green-light));
  display: grid; place-items: center;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-display);
  font-size: 1.8rem;
  position: relative;
}
.gallery-item .ph::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
  transition: opacity .35s var(--ease);
}
.gallery-item .label {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item:hover .label { opacity: 1; transform: translateY(0); }

/* Color variants */
.gallery-item:nth-child(6n+1) .ph { background: linear-gradient(135deg, #ffb877, #ff9933); }
.gallery-item:nth-child(6n+2) .ph { background: linear-gradient(135deg, #4caf50, #138808); }
.gallery-item:nth-child(6n+3) .ph { background: linear-gradient(135deg, #ff9933, #138808); }
.gallery-item:nth-child(6n+4) .ph { background: linear-gradient(135deg, #1a1a1a, #4a4a4a); }
.gallery-item:nth-child(6n+5) .ph { background: linear-gradient(135deg, #138808, #0f6b06); }
.gallery-item:nth-child(6n+6) .ph { background: linear-gradient(135deg, #e67e22, #ff9933); }

/* ============================================================
   NEWS / PRESS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.news-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card .img {
  background: linear-gradient(135deg, var(--saffron), var(--green));
  display: grid; place-items: center;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  text-align: center;
  padding: 16px;
}
.news-card:nth-child(2) .img { background: linear-gradient(135deg, var(--ink), var(--ink-soft)); }
.news-card:nth-child(3) .img { background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.news-card:nth-child(4) .img { background: linear-gradient(135deg, var(--saffron-dark), var(--saffron)); }
.news-card:nth-child(5) .img { background: linear-gradient(135deg, #4a4a4a, var(--green)); }
.news-card:nth-child(6) .img { background: linear-gradient(135deg, var(--saffron), var(--ink)); }
.news-card .body { padding: 22px 24px; }
.news-card .source {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--saffron-dark);
  margin-bottom: 8px;
}
.news-card .date { font-size: .8rem; color: var(--ink-muted); margin-left: 12px; }
.news-card h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.news-card p { font-size: .92rem; margin-bottom: 12px; }
.news-card a.read { font-weight: 600; color: var(--saffron-dark); font-size: .9rem; }
.news-card a.read:hover { color: var(--ink); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.contact-info {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--line);
}
.contact-info h3 { font-size: 1.4rem; margin-bottom: 24px; }
.info-row {
  display: flex; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: none; }
.info-row .icn {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--saffron-light);
  color: var(--saffron-dark);
  display: grid; place-items: center;
  font-size: 1.1rem;
}
.info-row .meta { font-size: .78rem; color: var(--ink-muted); margin-bottom: 4px; letter-spacing: .08em; text-transform: uppercase; }
.info-row .val { font-weight: 600; color: var(--ink); font-size: .95rem; }
.info-row a.val:hover { color: var(--saffron-dark); }

.contact-form {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 20px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label { font-size: .82rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: 8px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--off-white);
  color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--saffron);
  background: #fff;
}
.form-row textarea { min-height: 130px; resize: vertical; }
.contact-form button { margin-top: 8px; }

.social-band {
  margin-top: 80px;
  text-align: center;
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.social-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 20px;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: block;
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.social-card .ico {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid; place-items: center;
}
.social-card.tw .ico { background: #000; color: #fff; }
.social-card.fb .ico { background: #1877f2; color: #fff; }
.social-card.ig .ico { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.social-card.yt .ico { background: #ff0000; color: #fff; }
.social-card .h { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.social-card .sub { font-size: .82rem; color: var(--ink-muted); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-portrait { max-width: 420px; margin: 0 auto; }
  .hero-stats-card, .hero-mini-card { display: none; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; max-width: 400px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  section { padding: 64px 0; }
  .container { padding: 0 18px; }

  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 24px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    border-top: 1px solid var(--line);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 12px; text-align: center; }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 30px 0 60px; }
  .hero-portrait { max-width: 320px; }
  .highlight-grid, .work-grid, .vision-pillars, .gallery-grid, .social-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4 / 3; }
  .news-card { grid-template-columns: 1fr; }
  .news-card .img { aspect-ratio: 16 / 10; min-height: 140px; }

  .timeline::before { left: 18px; }
  .tl-item { width: 100%; left: 0 !important; text-align: left !important; padding-left: 50px; padding-right: 0; }
  .tl-item::before { left: 9px !important; right: auto !important; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-strip .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row.two { grid-template-columns: 1fr; }
  .results-table th:nth-child(4),
  .results-table td:nth-child(4),
  .results-table th:nth-child(5),
  .results-table td:nth-child(5) { display: none; }
  .promise-band { padding: 40px 24px; }
  .vision-pillars .pillar { flex-direction: column; gap: 14px; }
  .brand-sub { display: none; }
}

/* Honor reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
