/* ============================================================
   DESIGN TOKENS
   Palette pulled from the S.S. Agrawal College crest (maroon +
   gold flame), paired with a warm paper background instead of
   stark white, plus a quiet sage accent for the Humanities thread.
   ============================================================ */
:root {
  --maroon-900: #5e0f23;
  --maroon-700: #8f1733;
  --maroon-600: #9c1c3c;
  --maroon-500: #b32849;
  --gold-500:   #cf9f4f;
  --gold-300:   #e6c688;
  --sage-600:   #4c6b52;
  --ink-900:    #221d1f;
  --ink-700:    #4a4244;
  --paper-0:    #fffdfa;
  --paper-50:   #fbf6ee;
  --paper-100:  #f4ecdd;
  --line:       #e7dcc6;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 4px;
  --shadow-card: 0 1px 2px rgba(34,29,31,0.04), 0 8px 24px rgba(34,29,31,0.06);
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon-600); text-decoration: none; }
a:hover { color: var(--maroon-700); }
ul { padding: 0; margin: 0; list-style: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--maroon-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size:1.1rem;
  color: var(--maroon-600);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.9em;
   font-weight:600;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--maroon-600);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   TOPBAR + HEADER
   ============================================================ */
.topbar {
  background: var(--ink-900);
  color: var(--paper-100);
  font-family: var(--font-mono);
  font-size:0.85rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 24px;
  flex-wrap: wrap;
}
.topbar__item { opacity: 0.85; }
.topbar__sep { opacity: 0.4; }
.topbar__right { margin-left: auto; }
.topbar a { color: var(--gold-300); }
.topbar a:hover { color: var(--gold-500); }

.site-header {
  background: var(--paper-0);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  gap: 28px;
  max-width: 1480px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand__logo { width: 140px; height: 140px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; gap: 4px; }
.brand__text strong {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1.1;
  color: var(--maroon-900);
  letter-spacing: 0.01em;
}
.brand__text small {
  font-size:1.05rem;
  color: var(--ink-700);
}

.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.site-nav > ul > li { position: relative; }
.site-nav a {
  display: inline-block;
  padding: 14px 16px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--radius);
  white-space: nowrap;
}
.site-nav a:hover { color: var(--maroon-700); background: var(--paper-50); }
.site-nav a.is-active {
  color: var(--maroon-700);
  background: var(--paper-100);
}

/* Dropdown submenus (Committee & Dates, Papers) */
.nav-parent-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink-700);
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 16px;
  border-radius: var(--radius);
}
.nav-caret { font-size: 0.75em; transition: transform 0.2s ease; }
.has-submenu:hover .nav-parent-toggle,
.has-submenu.is-open .nav-parent-toggle,
.has-submenu.is-active .nav-parent-toggle { color: var(--maroon-700); background: var(--paper-100); }
.has-submenu.is-open .nav-caret { transform: rotate(180deg); }

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
  padding: 6px;
  z-index: 60;
  flex-direction: column;
  gap: 0;
}
.submenu li { width: 100%; }
.submenu a {
  display: block;
  font-size: 1.05rem;
  padding: 11px 14px;
  border-radius: 6px;
}

@media (min-width: 861px) {
  .has-submenu:hover .submenu,
  .has-submenu.is-open .submenu { display: flex; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink-900); margin: 0 auto; }

@media (max-width: 860px) {
  .brand__logo { width: 96px; height: 96px; }
  .brand__text strong { font-size: 1.8rem; }
  .brand__text small { font-size: 0.95rem; }
  .nav-toggle { display: flex; }
  .site-nav {
    width: 100%;
    order: 10;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.is-open { max-height: 600px; overflow-y: auto; }
  .site-nav > ul { flex-direction: column; padding: 8px 0; align-items: stretch; }
  .site-header__inner { flex-wrap: wrap; }
  .nav-parent-toggle { width: 100%; justify-content: space-between; }
  .submenu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
  }
  .has-submenu.is-open .submenu { display: flex; }
}

/* ============================================================
   HERO  — "connecting thread" signature element
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--paper-50) 0%, var(--paper-0) 100%);
  overflow: hidden;
  padding: 64px 0 56px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto auto;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--gold-300) 0%, transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero h1 { margin-bottom: 0.4em; }
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--ink-700);
  max-width: 540px;
}
.hero__meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin: 22px 0 28px;
  font-family: var(--font-mono);
  font-size:0.90rem;
}
.hero__meta div { display: flex; flex-direction: column; gap: 2px; }
.hero__meta span.label { color: var(--ink-700); opacity: 0.7; text-transform: uppercase; letter-spacing: 0.08em; font-size:1.1rem; }
.hero__meta span.value { color: var(--maroon-700); font-weight: 600;font-size:1.1rem; }

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* thread of 4 disciplines */
.thread {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.thread__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.thread__row::before {
  content: "";
  position: absolute;
  left: 5%; right: 5%; top: 9px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--gold-500) 0 6px, transparent 6px 12px);
}
.thread__point {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
}
.thread__dot {
  width: 18px; height: 18px;
  background: var(--paper-0);
  border: 2px solid var(--maroon-600);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.thread__point span {
  font-family: var(--font-mono);
  font-size:0.84rem;
  color: var(--ink-700);
}

.hero__panel {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px;
}
.hero__panel h3 { font-size: 1rem; margin-bottom: 14px; }
.hero__panel ul { display: flex; flex-direction: column; gap: 12px; }
.hero__panel li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  font-size:0.95rem;
}
.hero__panel li:last-child { border-bottom: none; padding-bottom: 0; }
.hero__panel li b { color: var(--maroon-700); font-family: var(--font-mono); font-size:0.92rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size:0.96rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-primary { background: var(--maroon-600); color: var(--paper-0); }
.btn-primary:hover { background: var(--maroon-700); color: var(--paper-0); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--maroon-600); color: var(--maroon-700); }
.btn-outline:hover { background: var(--paper-100); transform: translateY(-1px); }
.btn-gold { background: var(--gold-500); color: var(--ink-900); }
.btn-gold:hover { background: var(--gold-300); }

/* ============================================================
   SECTIONS — generic
   ============================================================ */
section { padding: 64px 0; }
.section-alt { background: var(--paper-50); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats div {
  background: var(--paper-0);
  padding: 22px 18px;
  text-align: center;
}
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--maroon-700);
}
.stats span {
  font-size:0.87rem;
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* card grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.card .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size:0.80rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--maroon-700);
  background: var(--paper-100);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.card .tag.sage { color: #fff; background: var(--sage-600); }

.theme-card__num {
  font-family: var(--font-mono);
  color: var(--gold-500);
  font-size:0.90rem;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--maroon-900), var(--maroon-600));
  color: var(--paper-0);
  border-radius: var(--radius);
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2, .cta-banner p { color: var(--paper-0); }
.cta-banner .btn-outline { border-color: var(--paper-0); color: var(--paper-0); }
.cta-banner .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ============================================================
   ACCORDION (themes page)
   ============================================================ */
.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--paper-0);
}
.accordion-item__head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--maroon-900);
}
.accordion-item__head .theme-card__num { flex-shrink: 0; font-size: 1rem; }
.accordion-item__head .chevron {
  margin-left: auto;
  width: 10px; height: 10px;
  border-right: 2px solid var(--maroon-600);
  border-bottom: 2px solid var(--maroon-600);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.accordion-item.is-open .chevron { transform: rotate(-135deg); }
.accordion-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.accordion-item__body-inner {
  padding: 0 22px 22px 58px;
}
.accordion-item__body-inner ul { display: flex; flex-direction: column; gap: 8px; }
.accordion-item__body-inner li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-700);
}
.accordion-item__body-inner li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--gold-500);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

/* ============================================================
   TABLES (dates, fees)
   ============================================================ */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: var(--paper-0); }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size:0.96rem; }
th {
  font-family: var(--font-mono);
  font-size:0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-700);
  background: var(--paper-50);
}
tr:last-child td { border-bottom: none; }
td.placeholder, span.placeholder { color: var(--maroon-600); font-style: italic; }

/* timeline list (important dates) */
.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item .date {
  font-family: var(--font-mono);
  color: var(--maroon-700);
  font-weight: 600;
}
@media (max-width: 600px) {
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
}

/* people cards (committee/speakers) 
.person-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.person-card__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--paper-100);
  color: var(--maroon-700);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  flex-shrink: 0;
  border: 1px solid var(--line);
} */

.person-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    background: var(--paper-0);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
}    
.person-card__avatar {
    width: 125px;
    height: 125px;
    flex: 0 0 125px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold-500);
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
}

.person-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position:center top;
}  
 .person-card h4 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--maroon-900);
}

/*.person-card h4 { margin: 0 0 2px; font-size: 1rem; }*/
.person-card .role { font-size:0.90rem; color: var(--ink-700); margin-bottom: 6px; display: block; }
.person-card a.linkedin { font-size:0.90rem; font-family: var(--font-mono); } 

/* contact cards */
.contact-card {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.contact-card .icon {
  width: 38px; height: 38px;
  margin: 0 auto 14px;
  border: 2px solid var(--maroon-600);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 360px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* notice / placeholder callouts */
.notice {
  border: 1px dashed var(--gold-500);
  background: var(--paper-50);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size:0.94rem;
  color: var(--ink-700);
  margin-bottom: 28px;
}
.notice strong { color: var(--maroon-700); }

/* footer */
.site-footer {
  background: var(--ink-900);
  color: var(--paper-100);
  padding: 56px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer__brand p { font-size:0.94rem; opacity: 0.8; }
.footer__logo-badge {
  display: inline-flex;
  background: var(--paper-0);
  border-radius: 50%;
  padding: 8px;
  margin-bottom: 14px;
}
.footer__logo { width: 38px; height: 38px; object-fit: contain; margin: 0; }
.footer__col h4 {
  color: var(--gold-300);
  font-family: var(--font-mono);
  font-size:0.87rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer__links li { margin-bottom: 9px; font-size:0.94rem; opacity: 0.85; }
.footer__links a { color: var(--paper-100); }
.footer__links a:hover { color: var(--gold-300); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size:0.87rem;
  opacity: 0.7;
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* page hero (sub-pages) */
.page-hero {
  background: var(--paper-50);
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.3em; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size:0.86rem;
  color: var(--ink-700);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--ink-700); }
.breadcrumb a:hover { color: var(--maroon-700); }

.prose p { color: var(--ink-700); }
.prose h3 { margin-top: 1.6em; }
.objective-list { display: flex; flex-direction: column; gap: 16px; }
.objective-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.objective-list li:last-child { border-bottom: none; }
.objective-list .num {
  font-family: var(--font-mono);
  color: var(--gold-500);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ============================================================
   PARTNER LOGOS
   ============================================================ */
.partner-card {
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  min-height: 120px;
}
.partner-card img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  object-fit: contain;
}
.partner-card span {
  font-size: 0.84rem;
  color: var(--ink-700);
}
.partner-card--featured {
  min-height: 200px;
  padding: 32px;
}
.partner-card--featured img {
  max-height: 160px;
  max-width: 90%;
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.partner-strip img {
  max-height: 40px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}
.partner-strip .partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--paper-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.associate-partner-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.associate-partner-row img { max-height: 38px; max-width: 150px; object-fit: contain; }
.associate-partner-row span { font-size: 0.84rem; color: var(--ink-700); }

