/* =====================================================
   KALYANAM KAROTI — Design System
   Palette: ink navy, aged brass, deep forest, paper cream
   Type: Fraunces (display) / Inter (body) / IBM Plex Mono (data)
   ===================================================== */
:root {
  --ink: #1b2a4a;
  --ink-2: #131f38;
  --brass: #c89b3c;
  --brass-dark: #a87f28;
  --forest: #2f5233;
  --paper: #f7f4ec;
  --paper-2: #efe9db;
  --charcoal: #24272b;
  --muted: #6b7280;
  --white: #ffffff;
  --line: #e3ddca;
  --radius: 2px;
  --shadow: 0 10px 30px rgba(27, 42, 74, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: 'IBM Plex Mono', monospace; letter-spacing: .02em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

/* ---------- Eyebrow / Ledger numbering (signature device) ---------- */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--brass-dark);
  display: inline-block;
}
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: 38px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

.ledger-row {
  display: flex; align-items: baseline; gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.ledger-row .num {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--brass-dark);
  font-size: 13px;
  min-width: 34px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink-2); }
.btn-brass { background: var(--brass); color: var(--ink-2); }
.btn-brass:hover { background: var(--brass-dark); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 11.5px; }

/* ---------- Header ---------- */
.topbar {
  background: var(--ink-2); color: rgba(255,255,255,.75);
  font-size: 13px; padding: 9px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: rgba(255,255,255,.75); }
.topbar .tb-links { display: flex; gap: 22px; flex-wrap: wrap; min-width: 0; }
.topbar .tb-links span { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.topbar .tb-social { display: flex; gap: 14px; flex-shrink: 0; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex-shrink: 1; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--ink); color: var(--brass);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 17px;
  border: 1px solid var(--brass);
}
.brand-name { font-family: 'Fraunces', serif; font-size: 21px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name small { display: block; white-space: normal; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .12em; color: var(--brass-dark); font-weight: 400; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; position: relative; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { font-size: 14.5px; font-weight: 500; padding: 8px 0; }
.main-nav > ul > li:hover > a { color: var(--brass-dark); }
.main-nav .dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); box-shadow: var(--shadow); min-width: 230px; padding: 10px 0; border-top: 2px solid var(--brass); z-index: 50; }
.main-nav li:hover > .dropdown { display: block; }
.main-nav .dropdown li a { display: block; padding: 9px 22px; font-size: 14px; }
.main-nav .dropdown li a:hover { background: var(--paper); color: var(--brass-dark); }
.nav-toggle {
  display: none; background: none; border: none; font-size: 22px; cursor: pointer; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 6px; transition: background .2s ease;
}
.nav-toggle:hover { background: var(--paper); }
.nav-toggle .bar { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { position: static; }
  .main-nav > ul {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--white);
    box-shadow: 0 16px 30px rgba(27,42,74,.12);
    max-height: 0; opacity: 0; overflow: hidden; visibility: hidden;
    transition: max-height .38s ease, opacity .28s ease .05s, visibility 0s linear .4s;
    padding: 0 4px;
  }
  .main-nav > ul.nav-open {
    max-height: 80vh; opacity: 1; visibility: visible; overflow-y: auto;
    transition: max-height .4s ease, opacity .3s ease, visibility 0s;
  }
  .main-nav > ul > li { width: 100%; border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { display: block; padding: 14px 20px; }
  .main-nav .dropdown {
    display: none; position: static; box-shadow: none; border-top: none;
    padding: 0 0 8px 30px; min-width: 0; background: var(--paper);
  }
  .main-nav .dropdown.submenu-open { display: block; animation: submenuReveal .25s ease; }
  .header-apply-btn { display: none; }
  .brand-name { white-space: normal; overflow: visible; text-overflow: clip; font-size: 17px; line-height: 1.25; }
  .brand-name small { white-space: normal; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 15px; }
  .brand-mark, .brand-logo-img { max-height: 36px; }
}

@keyframes submenuReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Breadcrumb / Page banner ---------- */
.page-banner {
  background: var(--ink);
  background-image: radial-gradient(circle at 15% 20%, rgba(200,155,60,.18), transparent 45%);
  color: var(--white);
  padding: 64px 0;
  position: relative;
}
.page-banner h1 { color: var(--white); font-size: 40px; margin-bottom: 10px; }
.page-banner .crumbs { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; }
.page-banner .crumbs a { color: rgba(255,255,255,.85); }
.page-banner .crumbs span { color: var(--brass); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 22px; }
.card .tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--brass-dark); }
.card h3 { font-size: 19px; margin: 8px 0; }
.card p { color: var(--muted); font-size: 14.5px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--forest); color: var(--white); padding: 50px 0; }
.stats-strip .grid-4 { text-align: center; }
.stats-strip .num { font-family: 'Fraunces', serif; font-size: 42px; color: var(--brass); font-weight: 700; }
.stats-strip .label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
input, select, textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line);
  border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: 14.5px;
  background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }
.form-card { background: var(--white); border: 1px solid var(--line); padding: 36px; border-radius: var(--radius); }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14.5px; }
.alert-success { background: #e8f3ea; color: var(--forest); border: 1px solid #bfe0c6; }
.alert-error { background: #fbe9e7; color: #9c3b2e; border: 1px solid #f0c3ba; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.72); padding-top: 72px; }
.site-footer h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; }
.site-footer a:hover { color: var(--brass); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 14.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding: 22px 0; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.social-row a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }

/* ---------- Misc utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11.5px; font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; }
.badge-active { background: #e8f3ea; color: var(--forest); }
.badge-pending { background: #fdf3e0; color: var(--brass-dark); }
.badge-closed { background: #f3e3e1; color: #9c3b2e; }

.pagination { display: flex; gap: 8px; margin-top: 40px; justify-content: center; }
.pagination a, .pagination span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-family: 'IBM Plex Mono', monospace; font-size: 13px; }
.pagination .active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.sidebar-widget { background: var(--white); border: 1px solid var(--line); padding: 26px; margin-bottom: 26px; }
.sidebar-widget h4 { font-size: 16px; border-bottom: 2px solid var(--brass); padding-bottom: 12px; margin-bottom: 16px; }

.hero {
  background: var(--ink);
  color: var(--white);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 85% 30%, rgba(200,155,60,.15), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(47,82,51,.35), transparent 45%);
}
.hero .eyebrow { color: var(--brass); }
.hero h1 { color: var(--white); font-size: 52px; max-width: 640px; }
.hero p.lead { color: rgba(255,255,255,.75); font-size: 18px; max-width: 520px; margin-bottom: 32px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .page-banner h1 { font-size: 28px; }
  .section-head h2 { font-size: 28px; }
}

/* =====================================================
   PHASE 2 — Hero slider, animations, tickers, sliders,
   masonry gallery + lightbox, multi-step form
   ===================================================== */

/* ---------- Hero Slider ---------- */
.hero-slider { position: relative; overflow: hidden; padding: 0; }
.hero-slide {
  display: none;
  padding: 120px 0 96px;
  background-size: cover; background-position: center;
  position: relative;
}
.hero-slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(19,31,56,.94) 0%, rgba(19,31,56,.75) 45%, rgba(19,31,56,.35) 100%);
}
.hero-slide.active { display: block; }
.hero-slide .container { position: relative; z-index: 2; }
.hero-dots { display: flex; gap: 10px; position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: transparent; cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--brass); border-color: var(--brass); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 16px; }
.hero-arrow:hover { background: var(--brass); border-color: var(--brass); color: var(--ink-2); }
.hero-arrow.prev { left: 20px; } .hero-arrow.next { right: 20px; }
@media (max-width: 640px) { .hero-arrow { display: none; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: .05s; } .reveal-2 { transition-delay: .15s; } .reveal-3 { transition-delay: .25s; } .reveal-4 { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }

/* ---------- Ticker bar ---------- */
.ticker-bar { background: var(--forest); color: #fff; overflow: hidden; white-space: nowrap; position: relative; }
.ticker-bar .ticker-label { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink-2); color: var(--brass); padding: 10px 20px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; z-index: 3; display: flex; align-items: center; }
.ticker-track { display: inline-block; padding-left: 200px; animation: ticker-scroll 32s linear infinite; }
.ticker-track span { display: inline-block; padding: 10px 40px; font-size: 14px; }
.ticker-track span b { color: var(--brass); margin-right: 8px; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-bar:hover .ticker-track { animation-play-state: paused; }

/* ---------- Animated counters (reuses .stats-strip .num) ---------- */
.stats-strip .num[data-count] { }

/* ---------- Testimonial slider ---------- */
.testi-slider { position: relative; max-width: 760px; margin: 0 auto; min-height: 200px; }
.testi-slide { display: none; text-align: center; }
.testi-slide.active { display: block; }
.testi-slide p { font-size: 19px; color: rgba(255,255,255,.88); font-family: 'Fraunces', serif; font-style: italic; margin-bottom: 18px; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.testi-dots button { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--brass); background: transparent; cursor: pointer; }
.testi-dots button.active { background: var(--brass); }

/* ---------- Partner / recruiter logos ---------- */
.logo-strip { background: var(--white); padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; opacity: .7; }
.logo-row .logo-item { font-family: 'IBM Plex Mono', monospace; font-size: 14px; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; border: 1px solid var(--line); padding: 10px 18px; border-radius: 4px; }

/* ---------- Quick access cards ---------- */
.quick-links { display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; background: var(--line); }
.quick-links a { background: var(--white); padding: 28px 20px; text-align: center; transition: background .2s; }
.quick-links a:hover { background: var(--brass); color: var(--ink-2); }
.quick-links .qico { font-family: 'Fraunces', serif; font-size: 26px; color: var(--brass-dark); display: block; margin-bottom: 10px; }
.quick-links a:hover .qico { color: var(--ink-2); }
.quick-links span.qlabel { font-size: 13.5px; font-weight: 600; }
@media (max-width: 900px) { .quick-links { grid-template-columns: repeat(2,1fr); } }

/* ---------- Back to top ---------- */
#back-to-top {
  position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--brass); border: 1px solid var(--brass);
  display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; z-index: 200;
}
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--brass); color: var(--ink-2); }

/* ---------- Sticky Apply Now floating button ---------- */
.sticky-apply { position: fixed; right: 26px; bottom: 84px; z-index: 199; }
@media (max-width: 640px) { .sticky-apply, #back-to-top { right: 16px; } .sticky-apply { bottom: 74px; } #back-to-top { bottom: 16px; width: 40px; height: 40px; } }

/* ---------- Search overlay ---------- */
.search-toggle { background: none; border: none; cursor: pointer; font-size: 17px; color: var(--ink); padding: 6px; }
.search-overlay {
  position: fixed; inset: 0; background: rgba(19,31,56,.96); z-index: 300;
  display: none; align-items: flex-start; justify-content: center; padding-top: 12vh;
}
.search-overlay.open { display: flex; }
.search-overlay form { width: 100%; max-width: 620px; padding: 0 24px; }
.search-overlay input { background: transparent; border: none; border-bottom: 2px solid var(--brass); color: #fff; font-size: 28px; font-family: 'Fraunces', serif; padding: 12px 4px; }
.search-overlay input::placeholder { color: rgba(255,255,255,.4); }
.search-overlay input:focus { outline: none; }
.search-close { position: absolute; top: 28px; right: 32px; color: #fff; font-size: 26px; background: none; border: none; cursor: pointer; }

/* ---------- Mega menu (Academics) ---------- */
.mega-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 760px; background: #fff; box-shadow: var(--shadow); border-top: 2px solid var(--brass); padding: 30px; z-index: 60; }
.main-nav li:hover > .mega-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mega-menu .mega-col h5 { font-family: 'IBM Plex Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--brass-dark); margin-bottom: 12px; }
.mega-menu .mega-col a { display: block; padding: 6px 0; font-size: 14px; color: var(--charcoal); }
.mega-menu .mega-col a:hover { color: var(--brass-dark); }
@media (max-width: 960px) { .mega-menu { position: static; transform: none; width: auto; display: block !important; grid-template-columns: 1fr; box-shadow: none; border-top: none; padding: 10px 0 10px 14px; } }

/* ---------- Gallery masonry + filters + lightbox ---------- */
.gallery-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.gallery-filters button { padding: 9px 18px; border: 1px solid var(--line); background: #fff; border-radius: 30px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
.gallery-filters button.active, .gallery-filters button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.masonry { column-count: 4; column-gap: 18px; }
@media (max-width: 960px) { .masonry { column-count: 3; } }
@media (max-width: 640px) { .masonry { column-count: 2; } }
.masonry-item { break-inside: avoid; margin-bottom: 18px; position: relative; overflow: hidden; border-radius: 3px; cursor: pointer; }
.masonry-item img { width: 100%; display: block; transition: transform .4s ease; }
.masonry-item:hover img { transform: scale(1.06); }
.masonry-item .m-cat { position: absolute; bottom: 10px; left: 10px; background: rgba(19,31,56,.85); color: var(--brass); font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; padding: 4px 10px; text-transform: uppercase; letter-spacing: .06em; }

.lightbox { position: fixed; inset: 0; background: rgba(10,14,24,.95); z-index: 400; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 82vh; border: 4px solid #fff; }
.lightbox-close { position: absolute; top: 26px; right: 32px; color: #fff; font-size: 28px; background: none; border: none; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 18px; }
.lightbox-nav.prev { left: 24px; } .lightbox-nav.next { right: 24px; }

/* ---------- Multi-step form ---------- */
.step-progress { display: flex; margin-bottom: 40px; counter-reset: step; }
.step-progress .step { flex: 1; text-align: center; position: relative; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); }
.step-progress .step::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-family: 'Fraunces', serif; font-weight: 700; color: var(--muted);
}
.step-progress .step::after { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: -1; }
.step-progress .step:first-child::after { display: none; }
.step-progress .step.active::before, .step-progress .step.done::before { border-color: var(--brass); background: var(--brass); color: var(--ink-2); }
.step-progress .step.done::after, .step-progress .step.active::after { background: var(--brass); }
.step-progress .step.active, .step-progress .step.done { color: var(--ink); font-weight: 600; }

.form-step { display: none; }
.form-step.active { display: block; }
.step-nav { display: flex; justify-content: space-between; margin-top: 26px; }

.dropzone {
  border: 2px dashed var(--line); border-radius: 4px; padding: 34px; text-align: center; color: var(--muted);
  cursor: pointer; transition: all .2s ease; background: var(--paper);
}
.dropzone.drag-over { border-color: var(--brass); background: #fdf6e8; color: var(--brass-dark); }
.dropzone .file-list { margin-top: 14px; font-size: 13px; }
.dropzone .file-list span { display: inline-block; background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 20px; margin: 3px; }

/* ---------- CMS page body (admin-authored rich text) ---------- */
.page-body { color: var(--charcoal); font-size: 16px; line-height: 1.8; }
.page-body h1, .page-body h2, .page-body h3 { margin-top: 1.4em; }
.page-body h2 { font-size: 28px; }
.page-body h3 { font-size: 21px; }
.page-body p { margin: 0 0 1.1em; color: var(--muted); }
.page-body ul, .page-body ol { margin: 0 0 1.1em; padding-left: 1.4em; color: var(--muted); }
.page-body li { margin-bottom: .4em; }
.page-body img { border-radius: 2px; margin: 1em 0; }
.page-body a { color: var(--brass-dark); text-decoration: underline; }
.page-body blockquote { border-left: 3px solid var(--brass); padding-left: 18px; margin: 1.4em 0; font-style: italic; color: var(--ink); }
.page-body .ledger-row { border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; gap: 16px; align-items: baseline; }
.page-body .ledger-row .num { font-family: 'IBM Plex Mono', monospace; color: var(--brass-dark); font-size: 13px; min-width: 30px; }

/* ---------- Notifications widget (boxed panel, image-style) ---------- */
.notif-widget { background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.notif-widget .notif-head {
  display: flex; align-items: center; gap: 10px; padding: 16px 20px;
  border-bottom: 1px solid var(--line); background: var(--paper-2);
}
.notif-widget .notif-head .ico { font-size: 17px; }
.notif-widget .notif-head h3 { margin: 0; font-size: 17px; }
.notif-widget .notif-body { min-height: 190px; }
.notif-page { display: none; }
.notif-page.active { display: block; }
.notif-row {
  padding: 14px 20px 12px; font-size: 14.5px;
}
.notif-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.notif-row .notif-title { color: var(--charcoal); font-weight: 500; }
.notif-row .notif-readmore { color: var(--brass-dark); white-space: nowrap; font-size: 13.5px; }
.notif-row .notif-date { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.notif-divider { border-bottom: 1px dotted var(--line); margin: 0 20px; }
.notif-page > .notif-divider:last-child { display: none; }
.notif-foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-top: 1px solid var(--line); }
.notif-foot .notif-more { font-size: 13px; color: var(--ink); font-weight: 600; }
.notif-nav { display: flex; gap: 6px; }
.notif-nav button {
  width: 30px; height: 30px; border-radius: 4px; border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; font-size: 13px; color: var(--ink);
}
.notif-nav button:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.notif-nav button:disabled { opacity: .35; cursor: default; }

/* ---------- CMS section blocks (admin-managed, section-wise editing) ---------- */
.cms-blocks { margin-top: 20px; }
.cms-block { margin-bottom: 40px; }
.cms-block-imagetext { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.cms-block-imagetext .cms-block-img img { width: 100%; border-radius: 3px; }
@media (max-width: 720px) { .cms-block-imagetext { grid-template-columns: 1fr; } }
.cms-block-cta { text-align: center; background: var(--paper-2); padding: 46px 30px; border-radius: 3px; }
.cms-block-cta h2 { margin-bottom: 10px; }
.cms-block-cta p { color: var(--muted); max-width: 520px; margin: 0 auto 20px; }
.cms-block-card { border: 1px solid var(--line); border-radius: 3px; padding: 26px; background: var(--white); }
.cms-block-card .cms-block-img img { width: 100%; border-radius: 3px; margin-bottom: 16px; }
.cms-block-text h2 { margin-bottom: 12px; }

/* ---------- Uploaded logo (replaces monogram when set) ---------- */
.brand-logo-img { max-height: 46px; max-width: 180px; object-fit: contain; }

/* ---------- Homepage popup (events / festival wishes) ---------- */
.site-popup-overlay {
  position: fixed; inset: 0; background: rgba(19,31,56,.75); z-index: 500;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.site-popup-overlay.open { display: flex; }
.site-popup { background: #fff; border-radius: 6px; max-width: 480px; width: 100%; overflow: hidden; position: relative; text-align: center; }
.site-popup img { width: 100%; display: block; }
.site-popup-body { padding: 24px; }
.site-popup-body h3 { margin-bottom: 10px; }
.site-popup-close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(19,31,56,.85); color: #fff; border: none; font-size: 18px; cursor: pointer; z-index: 2;
}
.site-popup-close:hover { background: var(--brass); color: var(--ink-2); }

/* ---------- Social share row (blog/news detail pages) ---------- */
.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.share-label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-right: 6px; }
.share-btn { padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; color: #fff; }
.share-whatsapp { background: #25D366; }
.share-facebook { background: #1877F2; }
.share-twitter { background: #14171A; }
.share-linkedin { background: #0A66C2; }
.share-btn:hover { opacity: .85; }

/* ---------- Advanced blocks: video + columns ---------- */
.cms-block-video .cms-video-frame { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 3px; }
.cms-block-video .cms-video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.cms-columns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
@media (max-width: 720px) { .cms-columns-grid { grid-template-columns: 1fr; } }

/* ---------- Public document library (Downloads page) ---------- */
.document-list { margin-top: 36px; border-top: 1px solid var(--line); }
.document-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.document-icon { font-size: 24px; color: var(--brass-dark); }
.document-info { flex: 1; display: flex; flex-direction: column; }
.document-info strong { font-size: 15px; color: var(--ink); }
.document-date { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); margin-top: 2px; }
