.mega__col a.is-active{color:var(--accent);font-weight:600;padding-left:6px;}
.fdetail__viz{aspect-ratio:4/3!important}
.fac__grad{position:absolute;inset:0;background:linear-gradient(transparent 35%,rgba(0,0,0,.88));transition:background .35s}
.fac:hover .fac__grad{background:linear-gradient(transparent 20%,rgba(0,0,0,.88))}
.fac:hover{border-color:var(--line)!important}
.fac__info{position:absolute;bottom:0;left:0;right:0;padding:16px 20px;color:#fff}
.fac__details{overflow:hidden;max-height:0;opacity:0;transform:translateY(6px);transition:max-height .35s,opacity .3s,transform .3s}
.fac:hover .fac__details{max-height:120px;opacity:1;transform:translateY(0)}
.wc-strip::-webkit-scrollbar{display:none}

:root {
  --bg: #F9F3E4;
  --bg-2: #EFE8D3;
  --paper: #FFFFFF;
  --ink: #0E0D09;          /* darker for stronger contrast */
  --ink-2: #1F1D17;
  --ink-3: #4A4538;         /* darker secondary */
  --ink-4: #6E6757;
  --line: #D2C9B0;
  --line-2: #B8AC8E;
  --accent: #B33E15;        /* amber, deeper */
  --accent-2: #D89657;      /* warm sand */
  --sage: #4B6240;
  --steel: #243648;
  --pop: #F6D88A;

  --r-1: 4px;
  --r-2: 10px;
  --r-3: 18px;
  --r-4: 28px;

  --serif: "Source Serif 4", "Charter", "Cambria", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --shadow-1: 0 1px 0 rgba(21,20,15,.05), 0 12px 30px -18px rgba(21,20,15,.18);
  --shadow-2: 0 30px 80px -40px rgba(21,20,15,.4);

  --max: 1320px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
h1, h2, h3 { font-weight: 500; }
p { margin: 0; }

::selection { background: var(--accent); color: var(--paper); }

/* ---------- Utilities ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px; background: var(--ink-3);
}
.eyebrow--alone::before { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn span { transition: transform .25s; }
.btn:hover span { transform: translateX(3px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); }
.btn:disabled, .btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}
.btn:disabled span { transform: none; }

/* Spinner icon inside button (loading state) */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: symp2-spin 0.7s linear infinite;
  flex-shrink: 0;
}
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); color: var(--paper); }
.btn--accent:hover { background: var(--ink); }
.btn--lg { padding: 18px 28px; font-size: 17px; }

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

/* ---------- Ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 1px solid #000;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.03em;
  font-weight: 500;
}
.ticker__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: scroll 50s linear infinite;
  padding: 12px 0;
}
.ticker__track span { opacity: .95; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { flex: 1 1 0; min-width: 0; }
.nav__cta { flex: 1 1 0; min-width: 0; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--ink);
  animation: spin 30s linear infinite;
}
.brand__mark svg { width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }
.brand__mark--lg { width: 56px; height: 56px; }

.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 3px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  height: 100%;
  margin-left: 80px;
}
.nav__menu > a, .nav__btn {
  position: relative;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color .2s;
  border-radius: 6px;
}
.nav__menu > a:hover, .nav__btn:hover { color: var(--ink); }
.nav__menu > a.is-active,
.nav__btn.is-active { color: var(--accent); font-weight: 600; }
.nav__menu > a.is-active::after,
.nav__btn.is-active::after { display: none; }
.caret { font-size: 10px; opacity: .55; }

.nav__group { position: relative; display: flex; align-items: center; }
.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%; transform: translateX(-50%) translateY(8px);
}
/* Invisible hover-bridge so cursor can travel from button into panel without leaving hover */
.mega::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -14px; height: 16px;
}
.mega {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 22px;
  min-width: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.mega--wide { grid-template-columns: 1fr 1fr 1fr; min-width: 720px; }
.mega--narrow { min-width: 240px; white-space: nowrap; }
.nav__group:hover .mega,
.nav__group.is-open .mega {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega__col { display: flex; flex-direction: column; gap: 4px; }
.mega__hd {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.mega__col a {
  padding: 7px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color .2s, padding-left .2s;
}
.mega__col a:hover { color: var(--accent); padding-left: 6px; }
.mega__col--note p, .mega__col--cta p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
}
.mini-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 10px;
}

.nav__cta {
  flex: 1 1 0; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  justify-content: flex-end;
}

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav__burger span {
  width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- App / page transitions ---------- */
.app { min-height: 50vh; }
.page { animation: pageIn .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 28px 32px 48px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: end;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__title .stack {
  display: block;
  text-align: center;
}
.hero__inner--center .hero__title .stack { white-space: nowrap; }
@media (max-width: 900px) {
  .hero__inner--center .hero__title .stack { white-space: normal; }
}
.hero__inner--center {
  grid-template-columns: 1fr;
  max-width: var(--max);
}
.hero__inner--center .hero__title {
  letter-spacing: 0.01em;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.hero__lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 720px;
  margin-top: 32px;
  font-weight: 400;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  flex-wrap: wrap;
}
.hero__meta b { color: var(--ink); font-weight: 500; }
.hero__meta .dot { width: 4px; height: 4px; background: var(--ink-4); border-radius: 50%; }

.hero__visual {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--ink);
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--paper);
}
.hero__rings {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.hero__rings .ring {
  position: absolute;
  border: 1px solid rgba(250,246,236,.18);
  border-radius: 50%;
}
.hero__rings .ring--1 { width: 88%; height: 88%; }
.hero__rings .ring--2 { width: 70%; height: 70%; }
.hero__rings .ring--3 { width: 52%; height: 52%; }
.hero__rings .ring--4 { width: 34%; height: 34%; border-color: rgba(250,246,236,.4); }
.hero__rings .ring--core {
  width: 18%; height: 18%;
  background: var(--accent);
  box-shadow: 0 0 60px var(--accent);
  border: 0;
}
.hero__rings .ring--scan {
  width: 88%; height: 88%;
  border: 1px dashed var(--accent-2);
  animation: spin 28s linear infinite;
}
.hero__rings .ring--cross {
  width: 100%; height: 100%;
  background:
    linear-gradient(to right, transparent 49.85%, rgba(250,246,236,.12) 49.85%, rgba(250,246,236,.12) 50.15%, transparent 50.15%),
    linear-gradient(to bottom, transparent 49.85%, rgba(250,246,236,.12) 49.85%, rgba(250,246,236,.12) 50.15%, transparent 50.15%);
  border: 0;
}
.hero__visual::after {
  content: "FOV · 50 nm";
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent-2);
}
.hero__visual::before {
  content: "SCALE: ◀────▶";
  position: absolute;
  top: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  opacity: .7;
}

.hero__bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 30% 30%, #000 30%, transparent 70%);
}

/* Hero stats strip */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.stats__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 28px 32px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.018em;
  font-weight: 500;
  color: var(--ink);
}
.stat__num sup { font-size: 20px; color: var(--accent); vertical-align: super; font-weight: 500; }
.stat__lab {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 12px;
}

/* ---------- Section primitives ---------- */
.section { padding: 28px 32px 48px; }
.section + .section { padding-top: 24px; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .eyebrow { color: rgba(250,246,236,.6); }
.section--dark .eyebrow::before { background: rgba(250,246,236,.4); }
.section__inner { max-width: var(--max); margin: 0 auto; }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-top: 18px;
  font-weight: 500;
  color: var(--ink);
}
.section__title em { font-style: italic; color: var(--accent); }
.section__lead {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 540px;
  line-height: 1.65;
  font-weight: 400;
}
.section--dark .section__lead { color: rgba(250,246,236,.7); }

/* ---------- Facilities grid ---------- */
.fac-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.fac {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  min-height: 260px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
  cursor: pointer;
}
.fac:hover { transform: translateY(-3px); border-color: var(--ink); }
.fac__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.12em;
}
.fac__name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 500;
  color: var(--ink);
}
.fac__name em { font-style: italic; color: var(--accent); }
.fac__tag {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}
.fac__arrow {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,.45); color: #fff;
  font-size: 13px; width: 28px; height: 28px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; opacity: 0;
  transition: opacity .2s, transform .2s, background .2s;
}
.fac:hover .fac__arrow {
  opacity: 1; transform: scale(1.1);
  background: var(--accent);
}
.fac__viz {
  position: absolute;
  inset: auto -20px -20px auto;
  width: 130px; height: 130px;
  opacity: .9;
  pointer-events: none;
}

.fac--xl { grid-column: span 6; min-height: 320px; }
.fac--lg { grid-column: span 6; }
.fac--md { grid-column: span 4; }
.fac--sm { grid-column: span 3; }
.fac--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.fac--featured .fac__num,
.fac--featured .fac__tag { color: rgba(250,246,236,.6); }
.fac--featured .fac__name em { color: var(--accent-2); }

/* ---------- News strip ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .3s, transform .3s;
}
.news:hover { border-color: var(--ink); transform: translateY(-2px); }
.news__date {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.news__title {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--ink);
}
.news__desc { font-size: 16.5px; color: var(--ink-2); line-height: 1.6; }
.news__link { font-size: 15px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; align-self: flex-start; }

/* Gallery grid — 3 per row on desktop */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Featured news banner (single upcoming event) */
.news-featured {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  text-decoration: none;
  color: inherit;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.news-featured:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.news-featured__badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 96px; height: 96px;
  border-radius: var(--r-3);
  background: var(--accent);
  color: #fff;
  padding: 8px;
  flex-shrink: 0;
}
.news-featured__badge-mon { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; opacity: 0.9; }
.news-featured__badge-day { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.1; margin-top: 2px; }
.news-featured__badge-yr  { font-family: var(--mono); font-size: 11px; opacity: 0.85; margin-top: 4px; }
.news-featured__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.news-featured__eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.news-featured__title { font-family: var(--serif); font-size: 24px; line-height: 1.25; font-weight: 500; color: var(--ink); margin-top: 2px; }
.news-featured__desc { font-size: 15px; color: var(--ink-2); line-height: 1.55; margin-top: 4px; }
.news-featured__meta {
  display: flex; flex-wrap: wrap; gap: 18px; margin-top: 6px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; color: var(--ink-3);
}
.news-featured__meta b { color: var(--ink-2); font-weight: 500; }
.news-featured__cta { display: flex; align-items: center; }
.news-featured__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  background: var(--ink); color: #fff;
  border-radius: 99px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  white-space: nowrap;
  transition: background .2s;
}
.news-featured:hover .news-featured__btn { background: var(--accent); }
@media (max-width: 900px) {
  .news-featured { grid-template-columns: auto 1fr; }
  .news-featured__cta { grid-column: 1 / -1; }
  .news-featured__btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .news-featured { grid-template-columns: 1fr; padding: 22px; }
  .news-featured__badge { flex-direction: row; width: auto; height: auto; gap: 6px; padding: 8px 14px; align-self: flex-start; }
  .news-featured__badge-day { font-size: 20px; margin: 0; }
  .news-featured__badge-mon, .news-featured__badge-yr { margin: 0; }
}

/* ---------- Partner logos ---------- */
.partners {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}
.partner {
  aspect-ratio: 1;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px 4px;
  gap: 4px;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}
.partner:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); transform: translateY(-2px); }
.partner__logo {
  width: 92px; height: 92px;
  object-fit: contain; display: block; flex-shrink: 0;
}
.partner__abbr {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; color: var(--ink-2);
  text-transform: uppercase; line-height: 1.2;
}

/* ---------- Body content (long-form) ---------- */
.prose {
  max-width: 780px;
  font-size: 20px;
  line-height: 1.7;
  color: var(--ink-2);
}
.prose > * + * { margin-top: 1.25em; }
.prose h2 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.2;
  margin-top: 1.6em;
  font-weight: 500;
  color: var(--ink);
}
.prose h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-top: 1.4em;
  font-weight: 500;
  color: var(--ink);
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 22px; }
.prose li { margin: 10px 0; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 24px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Page header (interior pages) ---------- */
.phead {
  padding: 40px 32px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.phead__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
}
.phead__crumb {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.phead__crumb a { border-bottom: 1px solid transparent; }
.phead__crumb a:hover { border-color: currentColor; }
.phead__title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-top: 16px;
  font-weight: 500;
  color: var(--ink);
}
.phead__title em { font-style: italic; color: var(--accent); }
.phead__sub {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 540px;
  line-height: 1.65;
  font-weight: 400;
}
.phead__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.phead__meta span {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-transform: uppercase;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.phead__meta span::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.phead__meta b { color: var(--ink); font-weight: 600; }

/* ---------- Two-col content ---------- */
.twocol {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding: 80px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.twocol__side .eyebrow { margin-bottom: 12px; }
.twocol__side h3 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* ---------- People grid ---------- */
.people {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.person {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.person__photo {
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 8px, var(--paper) 8px, var(--paper) 16px);
  position: relative;
  display: grid; place-items: center;
  color: var(--ink-3);
  font-family: var(--serif);
  font-size: 60px;
  font-style: italic;
  border-bottom: 1px solid var(--line);
}
.person__role {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--ink); color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  padding: 4px 8px;
  letter-spacing: 0.16em;
  border-radius: 99px;
}
.person__profile-btn {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,.45); color: #fff;
  font-size: 13px; width: 28px; height: 28px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; opacity: 0;
  transition: opacity .2s, transform .2s, background .2s;
}
.person:hover .person__profile-btn {
  opacity: 1; transform: scale(1.1);
  background: var(--accent);
}
.person__body { padding: 18px; }
.person__name { font-family: var(--serif); font-size: 22px; line-height: 1.2; font-weight: 500; color: var(--ink); }
.person__role-hl { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.person__role-hl-label { display: block; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; }
.person__role-hl-val { display: block; font-family: var(--serif); font-size: 16px; color: var(--ink); font-weight: 500; line-height: 1.35; margin-top: 6px; }
.person__meta { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.person__dept { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--ink-2); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 10px; }

/* ---------- Charges table ---------- */
.tbl {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.tbl th, .tbl td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  vertical-align: top;
  color: var(--ink-2);
}
.tbl th {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: var(--bg-2);
}
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.facname { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink); }
.tbl td.price { font-family: var(--mono); font-weight: 600; color: var(--ink); font-size: 16px; }
.tbl td.price small { color: var(--ink-3); font-weight: 500; font-size: 13px; }

.charges-legend {
  display: flex; gap: 28px; margin-bottom: 24px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
}
.charges-legend b { color: var(--ink); font-weight: 600; }

/* ---------- Form ---------- */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 15px 18px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--r-2);
  outline: none;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }

.steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.step {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.step__bullet {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-size: 11px;
}
.step.is-active { color: var(--ink); }
.step.is-active .step__bullet { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.step.is-done .step__bullet { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.step__line { width: 28px; height: 1px; background: var(--line-2); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.gimg {
  position: relative;
  background: var(--bg-2);
  border-radius: var(--r-2);
  overflow: hidden;
  display: grid; place-items: end;
  padding: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-transform: uppercase;
  border: 1px solid var(--line);
}
.gimg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(21,20,15,.04) 12px, rgba(21,20,15,.04) 13px);
}
.gimg--a { grid-column: span 6; grid-row: span 2; }
.gimg--b { grid-column: span 3; }
.gimg--c { grid-column: span 3; }
.gimg--d { grid-column: span 3; grid-row: span 2; }
.gimg--e { grid-column: span 3; }
.gimg--f { grid-column: span 3; }
.gimg--g { grid-column: span 4; }
.gimg--h { grid-column: span 4; }
.gimg--i { grid-column: span 4; }

.gimg__tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: var(--paper);
  padding: 5px 10px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em;
  border-radius: 99px;
}

/* ---------- Workshop / event card ---------- */
.evt {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.evt:last-child { border-bottom: 1px solid var(--line); }
.evt__date {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.evt__date b { color: var(--ink); display: block; font-family: var(--serif); font-size: 30px; letter-spacing: -0.018em; margin-top: 6px; font-weight: 500; }
.evt__title {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
}
.evt__desc { color: var(--ink-2); font-size: 17.5px; line-height: 1.6; max-width: 580px; margin-top: 12px; }
.evt__meta {
  margin-top: 16px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  display: flex; gap: 14px; flex-wrap: wrap;
}
.evt__status {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 99px;
  background: var(--sage); color: var(--paper);
}
.evt__status.is-upcoming { background: var(--accent); }
.evt__status.is-open { background: var(--steel); }

/* ---------- Publications list ---------- */
.pub {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.pub:last-child { border-bottom: 1px solid var(--line); }
.pub__no {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  padding-top: 5px;
}
.pub__title {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}
.pub__authors { font-size: 16.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.55; }
.pub__journal { font-family: var(--mono); font-size: 13.5px; font-weight: 500; color: var(--ink-2); letter-spacing: 0.03em; margin-top: 6px; }
.pub__year {
  font-family: var(--serif); font-size: 24px; color: var(--accent); padding-top: 0; font-weight: 500;
}

/* ---------- Facility detail ---------- */
.fdetail {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  padding: 80px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.fdetail__viz {
  aspect-ratio: 1/1;
  background: var(--ink);
  border-radius: var(--r-4);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--paper);
}
.specs {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.spec {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.spec__k {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.spec { font-size: 17px; color: var(--ink); }

.applications {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.app-chip {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  display: flex; align-items: center; gap: 10px;
}
.app-chip::before {
  content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
}

/* ---------- Spec / quote callout ---------- */
.callout {
  background: var(--ink);
  color: var(--paper);
  padding: 48px;
  border-radius: var(--r-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.callout__text {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 500;
}
.callout__text em { color: var(--accent-2); font-style: italic; }
.callout__act { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Misc ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 22px 26px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  border-radius: var(--r-2);
}

.success {
  background: var(--paper);
  border: 1px solid var(--sage);
  border-radius: var(--r-3);
  padding: 32px;
  text-align: center;
}
.success__mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--paper);
  display: grid; place-items: center;
  margin: 0 auto 18px;
  font-size: 24px;
}
.success__title { font-family: var(--serif); font-size: 32px; }
.success__id { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 8px; letter-spacing: 0.12em; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
}
.footer__top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 32px 60px;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 80px;
}
.footer__brand h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
  margin: 18px 0 16px;
  color: var(--paper);
  font-weight: 500;
}
.footer__brand h3 em { color: var(--accent-2); font-style: italic; font-size: 20px; display: block; margin-top: 6px; }
.footer__brand p { color: rgba(250,246,236,.8); font-size: 15.5px; line-height: 1.6; max-width: 380px; }
.footer__chips { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.footer__chips span {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  padding: 7px 12px;
  border: 1px solid rgba(250,246,236,.25);
  border-radius: 99px;
  letter-spacing: 0.1em;
  color: rgba(250,246,236,.85);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 36px;
}
.footer__cols h5 {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,246,236,.7);
  margin-bottom: 16px;
}
.footer__cols a {
  display: block;
  font-size: 16px;
  padding: 7px 0;
  color: rgba(250,246,236,.92);
  transition: color .2s, padding-left .2s;
}
.footer__cols a:hover { color: var(--accent-2); padding-left: 4px; }
.footer__cols p { font-size: 15.5px; color: rgba(250,246,236,.8); line-height: 1.6; }
.footer__bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 22px 32px 28px;
  border-top: 1px solid rgba(250,246,236,.15);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(250,246,236,.6);
}
.footer__legal {
  max-width: var(--max); margin: 0 auto;
  padding: 18px 32px 8px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.footer__legal a { color: rgba(250,246,236,.75); text-decoration: none; border-bottom: 1px solid rgba(250,246,236,.15); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.footer__legal a:hover { color: var(--paper); border-color: rgba(250,246,236,.5); }
.footer__legal-dot { color: rgba(250,246,236,.35); }

/* ---------- Responsive grid helpers ---------- */
.contact-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.ops-grid { grid-template-columns: repeat(5, 1fr); }
.staff-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ---------- Mobile ---------- */
/* ---------- Mid-range (1101px – 1280px) ---------- */
@media (min-width: 1101px) and (max-width: 1280px) {
  .nav { padding: 12px 24px; gap: 16px; }
  .brand__title { font-size: 20px; }
  .brand__sub { font-size: 11px; }
  .nav__menu > a, .nav__btn { font-size: 14px; padding: 6px 8px; }
  .nav__cta .btn { padding: 8px 14px; font-size: 13px; }
  .section { padding: 24px 32px 40px; }
  .phead { padding: 36px 32px 24px; }
}

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; justify-self: start; }
  .section__head { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 0; }
  .fac--xl, .fac--lg { grid-column: span 12; }
  .fac--md { grid-column: span 6; }
  .fac--sm { grid-column: span 6; }
  .partners { grid-template-columns: repeat(5, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .twocol { grid-template-columns: 1fr; gap: 36px; padding: 56px 32px; }
  .fdetail { grid-template-columns: 1fr; gap: 36px; }
  .callout { grid-template-columns: 1fr; padding: 32px; }
  .callout__text { font-size: 26px; }
  .footer__top { grid-template-columns: 1fr; gap: 48px; padding: 60px 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .phead__inner { grid-template-columns: 1fr; }
  .applications { grid-template-columns: 1fr; }
  .evt { grid-template-columns: 1fr; gap: 12px; }
  .gallery { grid-auto-rows: 140px; }
  .gimg--a { grid-column: span 12; }
  .gimg--b, .gimg--c, .gimg--e, .gimg--f { grid-column: span 6; }
  .gimg--d { grid-column: span 6; grid-row: span 1; }
  .gimg--g, .gimg--h, .gimg--i { grid-column: span 12; }
  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; flex-shrink: 0; }
  .nav { gap: 8px; padding: 8px 10px; }
  .nav__logos { gap: 4px; }
  .nav__logos img { width: 30px; height: 30px; }
  .nav__logos img.nav__logo--iith { width: auto; height: 30px; }
  .brand__text { min-width: 0; }
  .brand__title { font-size: 12px; }
  .brand__sub { font-size: 8px; letter-spacing: 0.06em; margin-top: 1px; }
  .form { grid-template-columns: 1fr; }
  /* ---- Mobile menu open state ---- */
  .nav__menu.mob-open {
    display: block !important;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    overflow-y: auto;
    background: var(--paper);
    border-top: 2px solid var(--line-2);
    z-index: 60;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
  }
  /* Every direct child: full-width block row */
  .mob-open > a,
  .mob-open > .nav__group {
    display: block !important;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  /* Direct anchor links */
  .mob-open > a {
    padding: 15px 24px !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: var(--ink) !important;
    opacity: 1 !important;
    transform: none !important;
  }
  /* Active state in mobile menu */
  .mob-open > a.is-active,
  .mob-open .nav__group .nav__btn.is-active { color: var(--accent) !important; font-weight: 600 !important; }
  /* Nav group button row */
  .mob-open .nav__group .nav__btn {
    display: flex !important;
    width: 100% !important;
    padding: 15px 24px !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: var(--ink) !important;
    text-align: left !important;
    opacity: 1 !important;
    transform: none !important;
    border: none !important;
    background: transparent !important;
    justify-content: space-between !important;
  }
  /* Caret: bigger tap target on mobile */
  .mob-open .nav__btn .caret {
    padding: 4px 10px;
    font-size: 16px;
    opacity: .7;
  }
  /* Caret rotates when expanded */
  .mob-open .mob-expanded > .nav__btn .caret {
    display: inline-block; transform: rotate(45deg);
  }
  /* Mega panels: hidden by default, block when expanded */
  .mob-open .mega {
    display: none !important;
  }
  .mob-open .mob-expanded .mega {
    display: block !important;
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    min-width: 0 !important;
    background: var(--bg) !important;
    border: none !important;
    border-top: 1px solid var(--line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 8px 24px 16px 36px !important;
    grid-template-columns: 1fr !important;
  }
  .mob-open .mob-expanded .mega::before { display: none !important; }
  .mob-open .mob-expanded .mega .mega__col { display: block !important; }
  .mob-open .mob-expanded .mega .mega__col--note { display: none !important; }
  .mob-open .mob-expanded .mega .mega__col--cta { display: block !important; }
  .mob-open .mob-expanded .mega .mega__col--cta p { display: none !important; }
  .mob-open .mob-expanded .mega .mega__hd {
    display: block !important;
    font-size: 10px; margin: 12px 0 4px; opacity: .5;
  }
  .mob-open .mob-expanded .mega .mega__col a {
    display: block !important;
    padding: 8px 0 !important;
    font-size: 15px !important;
    color: var(--ink-2) !important;
    opacity: 1 !important;
    border-bottom: none !important;
    transform: none !important;
  }
  /* Active sub-link highlight */
  .mob-open .mob-expanded .mega .mega__col a.is-active {
    color: var(--accent) !important;
    font-weight: 600 !important;
  }
}

/* ---------- Small mobile (≤640px) ---------- */
@media (max-width: 640px) {
  .section, .hero, .phead, .footer__top, .footer__bottom, .twocol, .callout { max-width: 100%; }
  .section__inner, .phead__inner, .hero__inner { max-width: 100%; width: 100%; }
  img { max-width: 100%; height: auto; }
  .fac { padding: 18px; min-height: 220px; }
  .partner__logo { width: 100%; max-width: 88px; height: auto; aspect-ratio: 1; }
  .phead__meta a, .phead__meta span, .contact-cols a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-word; }
  .phead__meta span { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; position: relative; padding-left: 14px; }
  .phead__meta span::before { position: absolute; left: 0; top: 6px; }
  .phead__meta span a { display: inline-block; }
  .section { padding: 20px 20px 32px; }
  .hero { padding: 20px 20px 32px; }
  .hero__title { font-size: clamp(36px, 10vw, 56px); }
  .people { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .footer__top { padding: 40px 20px; gap: 36px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; padding: 18px 20px 24px; gap: 10px; }
  .twocol { padding: 40px 20px; }
  .callout { padding: 24px 20px; }
  .callout__text { font-size: 22px; }
  .contact-cols { grid-template-columns: 1fr; gap: 28px; }
  .staff-lead-grid { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .phead { padding: 32px 20px 24px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .fac--md, .fac--sm { grid-column: span 12; }
  .gallery { grid-auto-rows: 110px; }
  .gimg--b, .gimg--c, .gimg--e, .gimg--f { grid-column: span 12; }
}


/* === Loader === */
#loader {
  position: fixed; inset: 0; background: var(--paper);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; z-index: 9999; transition: opacity .5s ease;
}
#loader img { width: 120px; height: 120px; border-radius: 50%; object-fit: contain; display: block; border: 1.5px solid var(--line); }
#loader .loader__text {
  font-family: var(--mono); font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
}
/* === Nav logos (IITH + SATHI-DST + CISCoM) === */
.nav__logos { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__logos a { display: block; line-height: 0; text-decoration: none; }
.brand__text { text-decoration: none; color: inherit; }
.nav__logos img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: contain;
  border: 1.5px solid var(--line);
  background: #fff;
  display: block;
  flex-shrink: 0;
}
.nav__logos img.nav__logo--iith {
  width: auto; height: 60px;
  border-radius: 0;
  border: none;
  background: transparent;
}
@media (max-width: 1280px) {
  .nav__logos img { width: 50px; height: 50px; }
  .nav__logos img.nav__logo--iith { width: auto; height: 50px; }
  .nav__logos { gap: 10px; }
}
@media (max-width: 900px) {
  .nav__logos img { width: 42px; height: 42px; }
  .nav__logos img.nav__logo--iith { width: auto; height: 42px; }
  .nav__logos { gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Shared form styles — used by 2nd Symposium form + Charges Quote form
   Browser-neutral: appearance:none on all controls, custom radio/checkbox/select
   for identical rendering across Chrome/Firefox/Safari/Edge.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Spinner keyframes — used by loaders */
@keyframes symp2-spin { to { transform: rotate(360deg); } }

/* Form body — cream tint matching site palette */
.symp2-body { background: var(--bg); padding: 20px; }

/* Question card */
.symp2-q {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 24px 28px;
  margin-bottom: 14px;
}
.symp2-q:last-of-type { margin-bottom: 0; }
.symp2-q-label {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.4;
}
.symp2-q-help {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-top: -10px;
  margin-bottom: 14px;
  line-height: 1.5;
}
.symp2-q-help--inline {
  display: inline;
  font-weight: 400;
  margin: 0;
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-family: var(--mono);
}
.symp2-req { color: var(--accent); margin-left: 2px; }

/* Text inputs — bottom-border only, cross-browser neutral */
.symp2-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-family: var(--sans), sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.symp2-input:focus {
  border-bottom-color: var(--accent);
  border-bottom-width: 2px;
  padding-bottom: 9px;
}
.symp2-input::placeholder { color: var(--ink-4); opacity: 1; }
.symp2-input--err {
  border-bottom-color: #dc2626 !important;
  border-bottom-width: 2px !important;
  padding-bottom: 9px !important;
}
.symp2-input--inline {
  width: auto;
  flex: 1;
  min-width: 140px;
  margin-left: 10px;
  padding: 2px 0;
  font-size: 14px;
}

/* Textarea — same as input, resizable vertically, custom scrollbar handled by browser but no overflow */
textarea.symp2-input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  resize: vertical;
  min-height: 70px;
  line-height: 1.5;
  font-family: var(--sans), sans-serif;
}
textarea.symp2-input:focus {
  border: 1px solid var(--accent);
  border-bottom-width: 1px;
  padding-bottom: 10px;
}

/* Select — remove native arrow, add custom SVG arrow */
select.symp2-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 10px 40px 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%230E0D09' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='2,2 6,6 10,2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  color: var(--ink);
}
select.symp2-input:focus {
  border: 1px solid var(--accent);
  border-bottom-width: 1px;
  padding-bottom: 10px;
}

/* Field error */
.symp2-ferr {
  display: block;
  color: #dc2626;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-top: 10px;
}

/* Radio + Checkbox list */
.symp2-radios { display: flex; flex-direction: column; gap: 12px; }
.symp2-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.4;
}

/* Custom radio + checkbox — appearance:none removes native, drawn with pseudo-elements */
.symp2-radio input[type="radio"],
.symp2-radio input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  font: inherit;
}

.symp2-radio input[type="radio"] { border-radius: 50%; }
.symp2-radio input[type="checkbox"] { border-radius: 3px; }

.symp2-radio input[type="radio"]:hover:not(:disabled),
.symp2-radio input[type="checkbox"]:hover:not(:disabled) { border-color: var(--accent); }

/* Disabled state — used while workshop slots are loading, or when a workshop is FULL */
.symp2-radio input[type="radio"]:disabled,
.symp2-radio input[type="checkbox"]:disabled {
  cursor: not-allowed;
  background: var(--bg-2);
  border-color: var(--line);
  opacity: 0.6;
}
.symp2-radio:has(input:disabled) {
  cursor: not-allowed;
  color: var(--ink-3);
}

/* Radio checked — filled dot inside circle */
.symp2-radio input[type="radio"]:checked {
  border-color: var(--accent);
  border-width: 1.5px;
}
.symp2-radio input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

/* Checkbox checked — solid fill + white check mark */
.symp2-radio input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}
.symp2-radio input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 1px; left: 5px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Focus ring (accessibility) */
.symp2-radio input[type="radio"]:focus-visible,
.symp2-radio input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(179, 62, 21, 0.2);
}

.symp2-radio--other { align-items: center; }

/* Actions row */
.symp2-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 20px 4px 0;
}
.symp2-hint {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .symp2-body { padding: 14px; }
  .symp2-q { padding: 20px; }
}

/* Skeleton loading bar — used for workshop slot status while fetching */
@keyframes symp2-shimmer {
  0%   { background-position: -180px 0; }
  100% { background-position: 180px 0; }
}
.symp2-skeleton {
  display: inline-block;
  width: 90px;
  height: 10px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--bg-2) 25%, var(--line) 50%, var(--bg-2) 75%);
  background-size: 360px 100%;
  animation: symp2-shimmer 1.2s linear infinite;
  vertical-align: middle;
}

/* Registration fee tiers grid (2nd symposium) */
.symp2-fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.symp2-fees__cell { padding: 18px 22px; border-right: 1px solid var(--line); }
.symp2-fees__cell:last-child { border-right: 0; }
@media (max-width: 640px) {
  .symp2-fees { grid-template-columns: 1fr; }
  .symp2-fees__cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .symp2-fees__cell:last-child { border-bottom: 0; }
}

/* Custom dropdown — replaces native <select> for identical cross-browser rendering */
.chq-select { position: relative; }
.chq-select__trigger {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: #fff;
  font-family: var(--sans), sans-serif;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.chq-select__trigger:hover { border-color: var(--ink-3); }
.chq-select--open .chq-select__trigger,
.chq-select__trigger:focus-visible {
  border-color: var(--accent);
  outline: none;
}
.chq-select__label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chq-select__label--placeholder { color: var(--ink-4); }
.chq-select__arrow {
  flex-shrink: 0;
  color: var(--ink-3);
  transition: transform 0.2s;
}
.chq-select--open .chq-select__arrow { transform: rotate(180deg); color: var(--accent); }

.chq-select__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-height: 280px;
  overflow-y: auto;
  display: none;
}
.chq-select--open .chq-select__menu { display: block; }
.chq-select__menu li {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14.5px;
  color: var(--ink);
  transition: background 0.1s;
}
.chq-select__menu li:hover { background: var(--bg-2); color: var(--accent); }
