/* ==============================================
   THE INDIC BELT SOCIETY — Institutional Modern
   style.css
   ============================================== */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-font-smoothing: antialiased; }
body { font-family: 'Source Sans 3', system-ui, sans-serif; font-size: 1rem; line-height: 1.75; color: #1c1c2e; background: #fff; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid #7a5c10; outline-offset: 3px; }

/* Design tokens */
:root {
  --navy: #0d1b2a;
  --navy2: #14253d;
  --gold: #8b6914;
  --gold-lt: #c9a227;
  --gold-pale: #f5edd6;
  --off-white: #f7f5f0;
  --text: #1c1c2e;
  --muted: #5a5a72;
  --border: rgba(28,28,46,0.10);
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 8px rgba(13,27,42,0.07);
  --shadow-md: 0 6px 24px rgba(13,27,42,0.11);
  --shadow-lg: 0 16px 48px rgba(13,27,42,0.15);
  --trans: 200ms cubic-bezier(0.16,1,0.3,1);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, sans-serif;
}

/* Utilities */
.container { width: min(calc(100% - 2.5rem), 1180px); margin-inline: auto; }
.section { padding: clamp(4rem,8vw,7rem) 0; }
.bg-white { background: #fff; }
.bg-light { background: var(--off-white); }
.bg-dark-navy { background: var(--navy); }

/* Section headers */
.sec-hd { text-align: center; margin-bottom: clamp(2.5rem,5vw,4rem); }
.sec-hd.light h2, .sec-hd.light .sec-sub { color: #fff; }
.sec-hd.light .sec-tag { color: var(--gold-lt); }
.sec-tag { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.sec-hd h2 { font-family: var(--serif); font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: var(--navy); line-height: 1.1; margin-bottom: 0.75rem; }
.sec-rule { width: 3rem; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); border-radius: 99px; margin: 0.75rem auto 1.25rem; }
.sec-sub { font-size: 1.05rem; color: var(--muted); max-width: 62ch; margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.8rem 1.6rem; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; transition: all var(--trans); min-height: 44px; cursor: pointer; }
.btn-primary { background: var(--gold); color: #fff; box-shadow: 0 3px 12px rgba(139,105,20,0.35); }
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(139,105,20,0.4); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-outline:hover { background: var(--gold-pale); transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.82rem; min-height: 38px; }

/* Hero */
.hero-header { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 5rem; overflow: hidden; }
.hero-img-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(0.6); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,27,42,0.25) 0%, rgba(13,27,42,0.78) 70%, rgba(13,27,42,0.92) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.hero-headline { font-family: var(--serif); font-size: clamp(2.4rem,5.5vw,4.2rem); font-weight: 700; color: #fff; line-height: 1.08; text-shadow: 0 2px 16px rgba(0,0,0,0.35); margin-bottom: 1.5rem; }
.hero-rule { width: 4rem; height: 3px; background: var(--gold-lt); border-radius: 2px; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Navigation */
.topnav { position: fixed; top: 0; left: 0; right: 0; z-index: 120; padding: 1rem 0; background: rgba(13,27,42,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.topnav-inner { display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 2.5rem), 1180px); margin-inline: auto; gap: 1.5rem; }
.topnav-brand { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.nav-logo { height: 52px; width: auto; object-fit: contain; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-title { font-family: var(--serif); font-size: clamp(1.25rem,2vw,1.75rem); font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: 0.01em; }
.nav-sub { font-size: 0.7rem; color: rgba(255,255,255,0.65); letter-spacing: 0.06em; margin-top: 0.15rem; }
.nav-links { display: flex; align-items: center; gap: 0.1rem; flex-wrap: wrap; }
.nav-links li { position: relative; }
.nav-links a, .drop-trigger { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.45rem 0.7rem; font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.88); border-radius: 4px; white-space: nowrap; transition: color var(--trans), background var(--trans); }
.nav-links a:hover, .drop-trigger:hover { color: #fff; background: rgba(255,255,255,0.12); }
.caret { font-size: 0.55rem; transition: transform var(--trans); }
.drop-trigger.open .caret { transform: rotate(180deg); }
.dropdown { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 175px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); flex-direction: column; overflow: hidden; z-index: 200; }
.dropdown.open { display: flex; }
.dropdown li a { display: block; padding: 0.7rem 1rem; font-size: 0.85rem; color: var(--text); transition: background var(--trans), color var(--trans); }
.dropdown li a:hover { background: var(--gold-pale); color: var(--gold); }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 0.45rem; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 4px; border: 1px solid rgba(255,255,255,0.28); }
.nav-burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: var(--trans); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Story */
.lead { font-size: 1.08rem; color: var(--muted); max-width: 76ch; margin: 0 auto 3rem; text-align: center; line-height: 1.8; }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.story-card { padding: 2rem; background: var(--off-white); border-radius: var(--radius-lg); border: 1px solid var(--border); transition: transform var(--trans), box-shadow var(--trans); }
.story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.story-icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--gold-pale), #fffbf2); border: 1px solid rgba(139,105,20,0.2); color: var(--gold); font-size: 1.1rem; margin-bottom: 1.1rem; }
.story-card h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); margin-bottom: 0.6rem; }
.story-card p { font-size: 0.93rem; color: var(--muted); }

/* Leadership */
.founder-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    align-items: center; /* add this */
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
}
.founder-img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.role-badge { display: inline-flex; padding: 0.28rem 0.8rem; background: var(--gold-pale); color: var(--gold); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 99px; border: 1px solid rgba(139,105,20,0.2); margin-bottom: 0.85rem; }
.founder-name { font-family: var(--serif); font-size: clamp(1.4rem,2.5vw,1.9rem); color: var(--navy); margin-bottom: 0.3rem; }
.founder-name a { color: var(--navy); transition: color var(--trans); }
.founder-name a:hover { color: var(--gold); }
.founder-desig { font-size: 0.88rem; color: var(--gold); font-style: italic; margin-bottom: 1rem; }
.founder-bio-col p { font-size: 0.95rem; color: var(--muted); margin-bottom: 0.85rem; }
.founder-email { font-size: 0.87rem; display: flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.founder-email i { color: var(--gold); }
.founder-email a { color: var(--gold); }
.founder-email a:hover { text-decoration: underline; }

/* Focus */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.focus-card { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--off-white); border: 1px solid var(--border); transition: transform var(--trans), box-shadow var(--trans); }
.focus-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.focus-ico { font-size: 1.5rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.focus-card h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--navy); margin-bottom: 0.55rem; }
.focus-card p { font-size: 0.9rem; color: var(--muted); }

/* Journal */
.journal-banner { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 2rem; margin-bottom: 2.5rem; }
.journal-title-main { font-family: var(--serif); font-size: clamp(1.3rem,2.2vw,1.75rem); color: var(--navy); margin-bottom: 0.4rem; }
.journal-issn { font-size: 0.8rem; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 1rem; }
.journal-meta-block p { font-size: 0.93rem; color: var(--muted); margin-bottom: 1.25rem; }
.journal-detail-table { border-top: 1px solid var(--border); padding-top: 1rem; display: grid; gap: 0.45rem; }
.jd-row { display: grid; grid-template-columns: 140px 1fr; font-size: 0.875rem; }
.jd-row span:first-child { color: var(--muted); }
.jd-row span:last-child { color: var(--text); font-weight: 500; }
.jd-row a { color: var(--gold); }
.jd-row a:hover { text-decoration: underline; }
.issues-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.issue-card { padding: 1.75rem; border-radius: var(--radius-lg); border: 1px solid var(--border); position: relative; background: #fff; }
.issue-card.forthcoming { background: var(--off-white); border-style: dashed; }
.issue-badge { position: absolute; top: 1.1rem; right: 1.1rem; padding: 0.25rem 0.7rem; border-radius: 99px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; background: #d4edda; color: #1a6930; border: 1px solid #a3d7b0; }
.forthcoming-badge { background: var(--gold-pale); color: var(--gold); border-color: rgba(139,105,20,0.25); }
.issue-vol { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); font-weight: 700; margin-bottom: 0.2rem; }
.issue-year { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.85rem; }
.issue-image { margin: 0.85rem 0 1rem; }
.issue-image img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); object-fit: cover; }
.issue-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.25rem; }
.issue-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.issue-status-note { font-size: 0.82rem; color: var(--gold); display: flex; align-items: center; gap: 0.45rem; font-weight: 500; }

/* Editorial board */
.editorial-section { border-top: 1px solid var(--border); padding-top: 2.5rem; }
.ed-title { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); margin-bottom: 2rem; }
.ed-category { margin-bottom: 2rem; }
.ed-cat-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.85rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--gold-pale); }
.ed-member { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1rem; background: var(--off-white); border-radius: var(--radius); border-left: 3px solid var(--gold); margin-bottom: 0.65rem; }
.ed-member strong { font-size: 0.93rem; color: var(--navy); }
.ed-member strong a { color: var(--gold); }
.ed-member strong a:hover { text-decoration: underline; }
.ed-member span { font-size: 0.82rem; color: var(--muted); }
.ed-member a:not(strong a) { font-size: 0.8rem; color: var(--gold); }
.ed-member a:not(strong a):hover { text-decoration: underline; }
.ed-members-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

/* Dialogues */
.upcoming-notice { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; align-items: start; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 2.5rem; }
.upcoming-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: rgba(201,162,39,0.15); border: 1px solid rgba(201,162,39,0.3); color: var(--gold-lt); font-size: 1.5rem; }
.upcoming-text h3 { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin-bottom: 0.75rem; }
.upcoming-text p { font-size: 0.95rem; color: rgba(255,255,255,0.72); margin-bottom: 0.5rem; }
.upcoming-sub { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.upcoming-sub a { color: var(--gold-lt); }
.upcoming-sub a:hover { text-decoration: underline; }

/* Insights */
.forthcoming-block { text-align: center; padding: 3rem 2rem; background: var(--off-white); border-radius: var(--radius-lg); border: 1px solid var(--border); margin-bottom: 2rem; }
.forthcoming-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-pale); color: var(--gold); font-size: 1.4rem; margin: 0 auto 1.25rem; }
.forthcoming-block h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-bottom: 0.75rem; }
.forthcoming-block p { font-size: 0.95rem; color: var(--muted); max-width: 58ch; margin-inline: auto; }
.insights-placeholders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.insight-ph-card { padding: 1.75rem; border-radius: var(--radius-lg); background: var(--off-white); border: 1px dashed rgba(139,105,20,0.3); text-align: center; }
.insight-ph-type { display: inline-flex; padding: 0.3rem 0.8rem; background: var(--gold-pale); color: var(--gold); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 99px; margin-bottom: 0.85rem; }
.insight-ph-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.25rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.gallery-fig { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--off-white); }
.gallery-fig img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 450ms ease, filter 450ms ease; }
.gallery-fig:hover img { transform: scale(1.05); filter: brightness(0.9); }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.work-card { padding: 2rem; border-radius: var(--radius-lg); background: var(--off-white); border: 1px solid var(--border); transition: transform var(--trans), box-shadow var(--trans); }
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.work-ico { font-size: 1.5rem; color: var(--gold); display: block; margin-bottom: 1rem; }
.work-card h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); margin-bottom: 0.55rem; }
.work-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.25rem; }
.work-note { padding: 1.25rem 1.75rem; background: var(--gold-pale); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.92rem; color: var(--muted); }
.work-note strong { color: var(--navy); }

/* Footer */
.footer { background: linear-gradient(160deg, var(--navy) 0%, #0a1628 100%); color: rgba(255,255,255,0.8); }
.footer-top { padding: clamp(3rem,6vw,5rem) 0 3rem; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr; gap: 3rem; }
.footer-logo { height: 50px; width: auto; object-fit: contain; margin-bottom: 0.85rem; }
.brand-col h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 0.6rem; }
.brand-col p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 1.25rem; }
.social-row { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.soc-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); font-size: 0.85rem; transition: background var(--trans), color var(--trans), transform var(--trans); }
.soc-btn:hover { background: var(--gold); color: #fff; transform: translateY(-2px); border-color: var(--gold); }
.links-col h4, .contact-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 1.1rem; }
.links-col ul { display: grid; gap: 0.55rem; }
.links-col a { font-size: 0.875rem; color: rgba(255,255,255,0.7); transition: color var(--trans); }
.links-col a:hover { color: var(--gold-lt); }
.contact-col p { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-bottom: 0.65rem; }
.contact-col i { color: var(--gold-lt); flex-shrink: 0; margin-top: 0.25rem; }
.contact-col a { color: rgba(255,255,255,0.7); transition: color var(--trans); }
.contact-col a:hover { color: var(--gold-lt); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.4rem 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom-inner p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-tag { font-style: italic; }

/* Back to top */
.back-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 1rem; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(139,105,20,0.45); opacity: 0; pointer-events: none; transition: opacity var(--trans), transform var(--trans); z-index: 99; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); background: var(--gold-lt); }

/* Responsive */
@media (max-width: 1050px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .founder-card { grid-template-columns: 1fr; }
  .cfp-box { flex-direction: column; gap: 1rem; }
}

@media (max-width: 768px) {
  .story-grid, .work-grid, .issues-row { grid-template-columns: 1fr; }
  .focus-grid, .insights-placeholders { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-burger { display: flex; }
  .nav-links { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: min(82%, 300px); background: var(--navy); padding: 5rem 1.5rem 2rem; flex-direction: column; overflow-y: auto; z-index: 9; gap: 0.1rem; }
  .nav-links.open { display: flex; }
  .nav-links a, .drop-trigger { padding: 0.7rem 0.9rem; width: 100%; }
  .dropdown { position: relative; top: 0; box-shadow: none; border: none; background: rgba(255,255,255,0.07); border-radius: var(--radius); margin-top: 0.2rem; }
  .dropdown li a { color: rgba(255,255,255,0.8); }
  .dropdown li a:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .upcoming-notice { grid-template-columns: 1fr; }
  .hero-header { min-height: 90vh; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
  .btn { width: max-content; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}