:root {
  --ink: #201e1f;
  --ink-soft: #2e2b2c;
  --paper: #ffffff;
  --sand: #f7f5f3;
  --line: #e4dfda;
  --muted: #6e6863;
  --red: #bf0b2e;
  --red-dark: #97061f;
  --orange: #fa3201;
  --gold: #d68009;
  --green: #016203;
  --sky: #6fb0e6;
  --sky-soft: #d3e8fa;
  --cream: #fffdf8;
  --band: linear-gradient(115deg, #bf0b2e 0%, #d92a02 34%, #a8620a 66%, #016203 100%);
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-tamil: "Noto Sans Tamil", "Latha", sans-serif;
  --container: 1180px;
  --container-narrow: 780px;
  --radius: 3px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--red-dark);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--paper);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, var(--container-narrow));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

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

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

.btn--primary:hover {
  background: var(--red-dark);
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border-color: rgba(32, 30, 31, 0.4);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: var(--paper);
  border-color: var(--ink);
  color: var(--ink);
}

.btn--lg {
  padding: 1rem 2.1rem;
  font-size: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--red);
}

.brand__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
}

.custom-logo {
  display: block;
  height: 52px;
  width: auto;
  align-self: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(32, 30, 31, 0.28);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a {
  color: var(--red);
}

.site-nav__cta {
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(255, 226, 158, 0.85) 0%, rgba(255, 244, 217, 0.7) 40%, rgba(255, 249, 236, 0) 75%),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-soft) 45%, #fff9ec 78%, var(--paper) 100%);
  color: var(--ink);
  padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(5rem, 11vw, 8rem);
}

.hero__routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__routes path {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.5;
  fill: none;
}

.hero__routes path:nth-child(2n) {
  stroke: rgba(214, 128, 9, 0.55);
  stroke-dasharray: 4 7;
}

.hero__routes path:nth-child(3n) {
  stroke: rgba(191, 11, 46, 0.35);
}

.hero__node {
  fill: var(--red);
}

.hero__node-ring {
  fill: none;
  stroke: rgba(214, 128, 9, 0.7);
  stroke-width: 1.5;
}

.hero__spark {
  fill: #fffdf3;
}

.hero__spark--gold {
  fill: var(--gold);
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__presents {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  max-width: 15ch;
  margin-bottom: 0.25em;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin-bottom: 0.35em;
}

.hero__meta {
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-bottom: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(32, 30, 31, 0.16);
}

.hero__dates,
.hero__place {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 600;
  margin: 0;
}

.hero__place {
  color: var(--red);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section--movement {
  background: var(--paper);
}

.section--convergence {
  background: var(--sand);
  border-block: 1px solid var(--line);
}

.section--programme {
  background: var(--paper);
}

.section--interest {
  background: var(--band);
  color: #fff;
}

.section--interest a {
  color: #fff;
}

.section--interest :focus-visible {
  outline-color: #fff;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.kicker span {
  color: var(--muted);
}

.kicker--light {
  color: #fff;
}

.kicker--light span {
  color: rgba(255, 255, 255, 0.88);
}

.section__title {
  font-size: clamp(1.85rem, 4vw, 3rem);
  max-width: 20ch;
}

.section__intro--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__intro--center .section__title {
  margin-inline: auto;
}

.section__intro--center .kicker {
  justify-content: center;
}

.section__body {
  padding-top: 0.5rem;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 58ch;
}

.lead--center {
  margin-inline: auto;
  text-align: center;
}

.section--interest .lead {
  color: rgba(255, 255, 255, 0.94);
}

.identity-line {
  font-family: var(--font-tamil);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--red);
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.timeline {
  list-style: none;
  margin: 3rem 0 1.5rem;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6.75rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: linear-gradient(var(--red), var(--gold));
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 6.75rem 1fr;
  gap: 2.5rem;
  padding: 1.15rem 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(6.75rem - 5px);
  top: 1.55rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--red);
}

.timeline__item:nth-child(4n + 2)::before {
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--orange);
}

.timeline__item:nth-child(4n + 3)::before {
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline__item:nth-child(4n)::before {
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}

.timeline__date {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin: 0;
  text-align: right;
  padding-right: 0.25rem;
}

.timeline__body {
  padding-left: 0.25rem;
}

.timeline__programme {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.4em;
}

.timeline__programme:last-child {
  margin-bottom: 0;
}

.note {
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
  margin: 2.5rem 0;
  padding: 0;
}

.options__item {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: #fff;
}

.interest-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 30px 60px rgba(32, 30, 31, 0.18);
}

.disclaimer {
  margin-top: 1.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.post-card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.post-card__title {
  font-size: 1.3rem;
}

.post-card__title a {
  color: var(--ink);
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--red);
}

.wpcf7 form {
  margin: 0;
}

.wpcf7-response-output {
  margin: 1.25rem 0 0 !important;
  padding: 0.9rem 1.1rem !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  background: var(--sand);
  font-size: 0.95rem;
}

.wpcf7-mail-sent-ok,
.wpcf7-validation-errors {
  border-color: var(--green) !important;
}

.hp-field {
  display: none;
}

.wpcf7 form .form-row {
  margin-bottom: 1.15rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-grid .form-row {
  margin-bottom: 0;
}

.form-full {
  grid-column: 1 / -1;
}

.wpcf7 label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(191, 11, 46, 0.15);
  outline: none;
}

.wpcf7 textarea {
  min-height: 8rem;
  resize: vertical;
}

.wpcf7 .fieldset-group {
  border: 0;
  padding: 0;
  margin: 0;
}

.wpcf7 legend {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
  padding: 0;
}

.wpcf7-checkbox,
.wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

.wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  margin: 0;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.wpcf7-list-item label:hover {
  border-color: var(--red);
}

.wpcf7-list-item input:checked + span {
  color: var(--red);
}

.wpcf7-list-item label:has(input:checked) {
  border-color: var(--red);
  background: rgba(191, 11, 46, 0.06);
}

.consent__box .wpcf7-list-item label {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--ink);
  font-weight: 600;
}

.consent__text {
  font-size: 0.95rem;
}

.wpcf7 form input[type="checkbox"],
.wpcf7 form input[type="radio"] {
  accent-color: var(--red);
}

.wpcf7 form .form-row .wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--red);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: var(--red) !important;
  color: var(--red) !important;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.consent label {
  display: inline;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.55;
  margin: 0;
}

.submit-row {
  margin-top: 1.75rem;
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.4rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.wpcf7 input[type="submit"]:hover {
  background: var(--red-dark);
}

.site-footer {
  position: relative;
  background: var(--cream);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.9375rem;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.site-footer__present {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.site-footer__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.site-footer__tag {
  margin: 0;
}

.site-footer__brand .site-footer__identity {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}

.site-footer__nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--red);
}

.site-footer__contact-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.9rem;
}

.site-footer__address {
  font-style: normal;
  line-height: 1.6;
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.site-footer__org {
  color: var(--ink);
  font-weight: 600;
}

.site-footer__contact-lines {
  margin: 0;
  line-height: 1.75;
}

.site-footer__contact-lines a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer__contact-lines a:hover {
  color: var(--red);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
}

.site-footer__identity {
  font-family: var(--font-tamil);
  color: var(--red);
  margin: 0;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.875rem;
}

.pagination,
.navigation.pagination {
  margin-top: 2.5rem;
}

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

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(32, 30, 31, 0.12);
    padding: 1rem 1.25rem 1.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list a {
    display: block;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-nav__cta {
    margin-top: 1.25rem;
    text-align: center;
  }

  .timeline::before {
    left: 0.35rem;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding-left: 2.25rem;
  }

  .timeline__item::before {
    left: 0;
  }

  .timeline__date {
    text-align: left;
    color: var(--red);
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .options {
    flex-direction: column;
    align-items: stretch;
  }

  .options__item {
    text-align: center;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .interest-form {
    padding: 1.5rem 1.25rem;
  }
}

@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;
  }
}
