/* ============================================================
   HLS-29 @ IIT Delhi — Stylesheet
   Design system: "Ridgeline" — slate-dusk header, warm paper
   body, a restrained five-colour rule (echoing the prayer-flag
   palette of the wider Himalayan region) used as the page's one
   signature device. Serif display type for academic gravitas,
   humanist sans for long-form reading.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Colour */
  --ink: #1b2a33;            /* deep slate-blue, primary text & header */
  --ink-soft: #41545f;        /* secondary text */
  --paper: #faf7f1;           /* warm paper background */
  --paper-raised: #ffffff;    /* card surfaces */
  --line: #e3ddd0;            /* hairline borders on paper */
  --rust: #a4402f;            /* primary accent — muted brick red */
  --rust-dark: #832f21;
  --ochre: #c08a2e;           /* secondary accent — ochre/gold */
  --teal: #2f5f64;            /* tertiary accent — deep teal */
  --flag-blue: #3a6a86;
  --flag-green: #5c7a4e;

  /* Type */
  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --radius: 4px;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--rust);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Signature rule: the five-colour ridgeline ---------- */
.ridgeline {
  height: 4px;
  display: flex;
  width: 100%;
}

.ridgeline span {
  flex: 1;
}

.ridgeline span:nth-child(1) { background: var(--flag-blue); }
.ridgeline span:nth-child(2) { background: var(--paper); }
.ridgeline span:nth-child(3) { background: var(--rust); }
.ridgeline span:nth-child(4) { background: var(--flag-green); }
.ridgeline span:nth-child(5) { background: var(--ochre); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: 88px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--header-h);
}

.section:last-of-type {
  border-bottom: none;
}

.section--tint {
  background: #f3eee3;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 14px;
  display: block;
}

.section-title {
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 18px;
}

.section-lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 70ch;
  margin-bottom: 40px;
}

.section-head {
  margin-bottom: 48px;
}

.section-head--center {
  text-align: center;
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.section-head--center .section-lede {
  margin-inline: auto;
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.nav-list a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Dropdown groups (Programme / Info) */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: var(--radius);
  width: 100%;
  text-align: left;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.has-dropdown.is-open .dropdown-toggle::after {
  transform: rotate(225deg);
  margin-top: 3px;
}

.dropdown-menu {
  list-style: none;
}

@media (min-width: 881px) {
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 230px;
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 6px;
    box-shadow: 0 16px 32px rgba(8, 14, 18, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  }

  .dropdown-menu a {
    display: block;
    padding: 10px 12px;
    font-size: 0.88rem;
    border-radius: var(--radius);
    white-space: nowrap;
  }

  @media (hover: hover) {
    .has-dropdown:hover .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .has-dropdown:hover .dropdown-toggle::after {
      transform: rotate(225deg);
      margin-top: 3px;
    }
  }

  .has-dropdown.is-open .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 880px) {
  .dropdown-toggle {
    padding: 16px 20px;
    font-size: 1.02rem;
  }

  .has-dropdown {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .has-dropdown .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    transition: max-height 0.25s ease;
  }

  .has-dropdown.is-open .dropdown-menu {
    max-height: 400px;
  }

  .dropdown-menu a {
    padding: 13px 20px 13px 36px;
    font-size: 0.95rem;
  }

  .dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .dropdown-menu li:last-child {
    border-bottom: none;
  }
}

.nav-cta {
  background: var(--rust);
  color: #fff !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--rust-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--ink);
    display: block;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow-y: auto;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 12px 4px 32px;
  }

  .nav-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-list a {
    padding: 16px 20px;
    font-size: 1.02rem;
  }

  .nav-cta {
    margin: 16px 20px 0;
    text-align: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 25, 32, 0.55) 0%,
    rgba(15, 25, 32, 0.35) 38%,
    rgba(15, 25, 32, 0.78) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 64px 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f1e3c8;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.3rem);
  font-weight: 600;
  max-width: 16ch;
  text-wrap: balance;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
  margin-bottom: 36px;
}

.hero-sub strong {
  color: #fff;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--rust);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--rust-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--ink);
  color: #fff;
}

.btn-solid {
  background: var(--ink);
  color: #fff;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--rust);
  color: #fff;
}

/* ---------- Key facts strip ---------- */
.facts {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}

.facts .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}

.fact:first-child {
  border-left: none;
}

.fact dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
}

@media (max-width: 880px) {
  .facts .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .fact:nth-child(3) {
    border-left: none;
  }
  .fact {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 540px) {
  .facts .container {
    grid-template-columns: 1fr;
  }
  .fact {
    border-left: none !important;
  }
}

/* ---------- Prose ---------- */
.prose {
  max-width: 78ch;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 18px;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  font-weight: 600;
}

.prose strong {
  color: var(--ink);
}

/* ---------- Past symposia ---------- */
.past-list {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.past-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.past-row .edition {
  font-weight: 600;
  color: var(--ink);
  min-width: 70px;
}

.past-row .place {
  color: var(--ink-soft);
  text-align: right;
}

.past-link {
  margin-top: 20px;
  display: inline-block;
  font-weight: 600;
}

/* ---------- Speakers ---------- */
.speaker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.speaker-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 22px;
}

.speaker-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--line);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--line);
}

.speaker-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.speaker-name a {
  color: var(--ink);
}

.speaker-bio {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

@media (max-width: 880px) {
  .speaker-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .speaker-card {
    flex-direction: column;
  }
}

/* ---------- Topics grid ---------- */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
  margin: 32px 0 44px;
  counter-reset: topic;
}

.topics-grid li {
  counter-increment: topic;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}

.topics-grid li::before {
  content: counter(topic, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--rust);
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }
}

.callout {
  background: #f3eee3;
  border-left: 3px solid var(--rust);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin-top: 28px;
}

.accom-request-callout .btn {
  margin-top: 14px;
}

.callout p {
  margin: 0;
}

/* ---------- Two column layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 880px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Timeline (Important Dates) ---------- */
.timeline {
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.timeline .tl-date {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

.timeline .tl-label {
  color: var(--ink-soft);
}

.timeline li.is-updated .tl-date {
  color: var(--rust-dark);
}

/* ---------- Live deadline indicator (blinks green while upcoming, red once past) ---------- */
.js-deadline.is-upcoming {
  color: #1a8a3d;
  animation: deadline-blink 1.2s ease-in-out infinite;
}

.js-deadline.is-past {
  color: var(--ink);
}

@keyframes deadline-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
  .js-deadline.is-upcoming {
    animation: none;
  }
}

@media (max-width: 620px) {
  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- Instruction blocks ---------- */
.instruction-block {
  margin-bottom: 44px;
}

.instruction-block:last-child {
  margin-bottom: 0;
}

.instruction-block h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  display: inline-block;
}

.template-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.template-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.template-link:hover,
.template-link:focus-visible {
  border-color: var(--rust);
  color: var(--rust);
  text-decoration: none;
}

/* ---------- Committees ---------- */
.committee-block {
  margin-bottom: 48px;
}

.committee-block:last-child {
  margin-bottom: 0;
}

.committee-block h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 18px;
}

.committee-list {
  list-style: none;
  columns: 3;
  column-gap: 32px;
}

.committee-list--two {
  columns: 2;
}

.committee-list--one {
  columns: 1;
  max-width: 420px;
}

.committee-list li {
  break-inside: avoid;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.committee-list li a {
  color: var(--ink);
  font-weight: 600;
}

.committee-list li a:hover {
  color: var(--rust);
}

@media (max-width: 880px) {
  .committee-list {
    columns: 2;
  }
}

@media (max-width: 560px) {
  .committee-list,
  .committee-list--two {
    columns: 1;
  }
}

/* ---------- Funding / organising institution logo ---------- */
.logo-strip,
.logo-strip--single {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}

.logo-strip .logo-slot,
.logo-strip--single .logo-slot {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 28px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
}

.logo-strip .logo-slot img,
.logo-strip--single .logo-slot img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.logo-strip .logo-slot span,
.logo-strip--single .logo-slot span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.sponsor-cta {
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.sponsor-cta a {
  color: var(--rust-dark);
  font-weight: 600;
}

@media (max-width: 480px) {
  .logo-strip .logo-slot,
  .logo-strip--single .logo-slot {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
  color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--rust);
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
}

.contact-card h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 18px;
  font-size: 0.97rem;
}

.contact-card a {
  color: #f1e3c8;
}

.contact-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-meta li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.contact-meta strong {
  display: block;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-fine {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fact-cta dd a {
  color: var(--rust);
  font-weight: 700;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.02rem;
}

/* ---------- Registration banner ---------- */
.reg-section {
  padding-block: 0;
  border-bottom: none;
}

.reg-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px;
  margin-block: 88px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.reg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(164, 64, 47, 0.25), transparent 55%),
    linear-gradient(300deg, rgba(192, 138, 46, 0.2), transparent 55%);
  pointer-events: none;
}

.reg-card-text,
.reg-card-action {
  position: relative;
  z-index: 1;
}

.reg-card-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.03rem;
  max-width: 52ch;
  margin: 10px 0 26px;
}

.reg-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reg-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.reg-steps li span {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: #f1e3c8;
}

.reg-card--full {
  display: block;
}

.reg-card--full .reg-card-text p {
  margin-bottom: 0;
}

.reg-options {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.reg-option {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reg-option h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.reg-option p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  margin: 0 0 8px;
  flex-grow: 1;
}

.reg-option .btn {
  align-self: flex-start;
}

.reg-card .reg-note {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}

/* ---------- Registration fee table ---------- */
.fee-table-wrap {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.fee-table caption {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f1e3c8;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
}

.fee-table th,
.fee-table td {
  padding: 13px 18px;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fee-table thead th {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fee-table tbody th {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
}

.fee-table tbody td {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.fee-gst {
  font-weight: 500;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 560px) {
  .fee-table th,
  .fee-table td {
    padding: 11px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 880px) {
  .reg-options {
    grid-template-columns: 1fr;
  }

  .reg-card {
    padding: 40px 28px;
    margin-block: 60px;
  }
}

@media (max-width: 560px) {
  .reg-card {
    margin-block: 0;
    border-radius: 0;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Accommodation ---------- */
.accom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.accom-grid--single {
  grid-template-columns: 1fr;
}

.accom-grid--single .accom-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
}

.accom-sub {
  padding: 32px;
}

.accom-sub:first-child {
  border-right: 1px solid var(--line);
}

@media (max-width: 720px) {
  .accom-grid--single .accom-card {
    grid-template-columns: 1fr;
  }

  .accom-sub:first-child {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

.accom-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.accom-card h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 16px;
}

.accom-intro {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 78ch;
  margin: 0 0 32px;
}

.accom-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin: 0 0 14px;
  line-height: 1.6;
}

.accom-card p a {
  font-weight: 600;
}

.accom-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
}

.accom-table th,
.accom-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.accom-table th {
  color: var(--ink-soft);
  font-weight: 500;
}

.accom-table td {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.accom-note {
  font-size: 0.85rem !important;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .accom-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Visiting Delhi: external link cards ---------- */
.delhi-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.delhi-link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.delhi-link-card:hover,
.delhi-link-card:focus-visible {
  border-color: var(--rust);
  transform: translateY(-2px);
  text-decoration: none;
}

.delhi-link-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
}

.delhi-link-card h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0;
}

.delhi-link-cta {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: auto;
}

.delhi-link-card:hover .delhi-link-cta {
  color: var(--rust);
}

@media (max-width: 880px) {
  .delhi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .delhi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding-block: 60px;
  }
}
