/* NCCS — Nepal Coordination Chemistry Society */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --blue: #1a9fe8;
  --blue-deep: #0b6fad;
  --blue-soft: #e8f6fd;
  --blue-mist: #f0f9fe;
  --red: #e53935;
  --red-deep: #c62828;
  --ink: #1a2332;
  --ink-muted: #4a5568;
  --line: rgba(26, 159, 232, 0.18);
  --white: #ffffff;
  --radius: 4px;
  --header-h: 4.5rem;
  --font: "Outfit", "Noto Sans Devanagari", sans-serif;
  --font-ne: "Noto Sans Devanagari", "Outfit", sans-serif;
  --shadow-soft: 0 12px 40px rgba(11, 111, 173, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(26, 159, 232, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(229, 57, 53, 0.06), transparent 50%),
    linear-gradient(180deg, var(--blue-mist) 0%, var(--white) 38%, var(--white) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

html[lang="ne"] body {
  font-family: var(--font-ne);
}

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

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: var(--radius);
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(26, 159, 232, 0.25);
}

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

.brand-name {
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-abbr {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.site-nav a:hover {
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.site-nav a.active {
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  color: var(--ink-muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--blue);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(26, 159, 232, 0.35);
}

.btn-primary:hover {
  background: var(--blue-deep);
  color: var(--white);
}

.btn-accent {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.28);
}

.btn-accent:hover {
  background: var(--red-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 35, 50, 0.18);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(240, 249, 254, 0.92) 0%, rgba(240, 249, 254, 0.72) 42%, rgba(232, 246, 253, 0.35) 100%),
    radial-gradient(circle at 78% 42%, rgba(26, 159, 232, 0.2), transparent 42%),
    radial-gradient(circle at 88% 70%, rgba(229, 57, 53, 0.1), transparent 35%);
  z-index: -1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(26, 159, 232, 0.22) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, black 40%, transparent 95%);
}

.hero-inner {
  padding: 4rem 0 5rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  animation: rise 0.9s var(--ease) both;
  order: 2;
}

.hero-visual {
  display: flex;
  justify-content: center;
  animation: rise 1s var(--ease) 0.12s both;
  order: 1;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }
}

.hero-logo {
  width: min(320px, 78vw);
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(11, 111, 173, 0.22));
  animation: float 6s ease-in-out infinite;
}

.hero-brand {
  margin-bottom: 0.85rem;
}

.hero-title {
  display: block;
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

.hero-sub {
  display: block;
  color: var(--blue-deep);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 0.55rem;
}

html[lang="ne"] .hero-sub {
  letter-spacing: 0;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 36ch;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

/* Page sections */
.page-hero {
  padding: 3.25rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(232, 246, 253, 0.65), transparent);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  animation: rise 0.7s var(--ease) both;
}

.page-hero p {
  color: var(--ink-muted);
  max-width: 52ch;
  animation: rise 0.7s var(--ease) 0.08s both;
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-lead {
  color: var(--ink-muted);
  margin-bottom: 2rem;
  max-width: 55ch;
}

.prose {
  max-width: 68ch;
}

.prose p + p {
  margin-top: 1rem;
}

.meta-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.meta-list li {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.meta-list strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-deep);
  font-weight: 600;
}

html[lang="ne"] .meta-list strong {
  text-transform: none;
  letter-spacing: 0;
}

.about-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 880px) {
  .about-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.certificate-frame {
  background: var(--white);
  padding: 0.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.certificate-frame img {
  width: 100%;
  height: auto;
}

.certificate-caption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-align: center;
}

/* Committee directory — real HTML tables for reliable column alignment */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.25rem;
}

.directory-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid var(--line);
}

.directory-table th,
.directory-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.95rem 1rem 0.95rem 0;
  border-bottom: 1px solid var(--line);
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.directory-table th {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-deep);
  padding-top: 0.85rem;
  padding-bottom: 0.65rem;
}

html[lang="ne"] .directory-table th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.88rem;
}

.directory-table .col-role {
  width: 18%;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--red);
}

html[lang="ne"] .directory-table .col-role {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}

.directory-table .col-name {
  width: 30%;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

.directory-table .col-phone {
  width: 22%;
}

.directory-table .col-email {
  width: 30%;
}

.directory-table-members .col-name {
  width: 34%;
}

.directory-table-members .col-phone {
  width: 26%;
}

.directory-table-members .col-email {
  width: 40%;
}

.directory-table .col-phone a,
.directory-table .col-email a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.directory-table .col-phone a:hover,
.directory-table .col-email a:hover {
  color: var(--blue-deep);
  text-decoration: underline;
}

@media (max-width: 799px) {
  .directory-table,
  .directory-table thead,
  .directory-table tbody,
  .directory-table tr,
  .directory-table th,
  .directory-table td {
    display: block;
    width: 100%;
  }

  .directory-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .directory-table tr {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .directory-table td {
    padding: 0.35rem 0;
    border-bottom: 0;
  }

  .directory-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-deep);
    margin-bottom: 0.15rem;
  }

  html[lang="ne"] .directory-table td::before {
    text-transform: none;
    letter-spacing: 0;
  }
}

.members-heading {
  margin: 3rem 0 1rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

/* Committee directory table */
.person-table {
  border-top: 1px solid var(--line);
  margin-top: 0.25rem;
}

.person-row {
  display: grid;
  gap: 0.35rem 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.person-table:not(.person-table-members) .person-row {
  grid-template-columns: 1fr;
}

.person-table-members .person-row {
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .person-table:not(.person-table-members) .person-row {
    grid-template-columns: 9.5rem minmax(12rem, 1.2fr) 10.5rem minmax(12rem, 1.4fr);
    gap: 1rem 1.25rem;
  }

  .person-table-members .person-row {
    grid-template-columns: minmax(12rem, 1.2fr) 10.5rem minmax(12rem, 1.4fr);
    gap: 1rem 1.25rem;
  }

  .person-head {
    padding-bottom: 0.65rem;
    padding-top: 0.85rem;
  }
}

.person-head {
  border-bottom: 1px solid var(--line);
}

.person-head .person-col {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

html[lang="ne"] .person-head .person-col {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.88rem;
}

.person-role {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--red);
}

html[lang="ne"] .person-role {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}

.person-head .person-role {
  color: var(--blue-deep);
}

.person-name {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  word-break: break-word;
}

.person-phone a,
.person-email a {
  display: inline-block;
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

.person-phone a:hover,
.person-email a:hover {
  color: var(--blue-deep);
  text-decoration: underline;
}

@media (max-width: 799px) {
  .person-head {
    display: none;
  }

  .person-row:not(.person-head) {
    gap: 0.45rem;
  }

  .person-role {
    margin-bottom: 0.1rem;
  }

  .person-phone::before,
  .person-email::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-deep);
    margin-bottom: 0.1rem;
  }

  html[lang="ne"] .person-phone::before {
    content: attr(data-label);
  }

  html[lang="ne"] .person-email::before {
    content: attr(data-label);
  }
}

/* Legacy officer styles (kept if reused elsewhere) */
.officer-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.officer {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  animation: rise 0.6s var(--ease) both;
}

.officer:nth-child(1) { animation-delay: 0.05s; }
.officer:nth-child(2) { animation-delay: 0.1s; }
.officer:nth-child(3) { animation-delay: 0.15s; }
.officer:nth-child(4) { animation-delay: 0.2s; }

@media (min-width: 700px) {
  .officer {
    grid-template-columns: 160px 1fr auto;
    align-items: baseline;
    gap: 1.25rem;
  }
}

.officer-role {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--red);
}

html[lang="ne"] .officer-role {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}

.officer-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.officer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.92rem;
}

.officer-contacts a {
  text-decoration: none;
  color: var(--ink-muted);
}

.officer-contacts a:hover {
  color: var(--blue-deep);
  text-decoration: underline;
}

.member-list {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.member-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 700px) {
  .member-list li {
    grid-template-columns: 1fr auto;
    align-items: baseline;
  }
}

.member-name {
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.contact-block h2 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--blue-deep);
}

.contact-block ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.contact-block a {
  text-decoration: none;
  font-weight: 500;
}

.contact-block a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  max-width: 55ch;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(232, 246, 253, 0.7));
  padding: 2.75rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-brand h2 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.footer-brand p,
.footer-col p,
.footer-col a {
  font-size: 0.92rem;
  color: var(--ink-muted);
  text-decoration: none;
}

.footer-col h3 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 0.65rem;
}

html[lang="ne"] .footer-col h3 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Mobile nav */
@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s var(--ease);
    box-shadow: var(--shadow-soft);
  }

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

  .site-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .brand-name {
    font-size: 0.82rem;
    max-width: 42vw;
  }

  .hero-inner {
    padding-top: 2.5rem;
  }
}

@media (max-width: 1100px) {
  .site-nav a {
    font-size: 0.88rem;
    padding: 0.4rem 0.55rem;
  }
}

/* Objectives strip (home) */
.objectives-strip {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(232, 246, 253, 0.45), transparent);
}

.objectives-strip .section-title {
  margin-bottom: 0.35rem;
}

.objective-list {
  list-style: none;
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.objective-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
  animation: rise 0.55s var(--ease) both;
}

.objective-list li:nth-child(1) { animation-delay: 0.05s; }
.objective-list li:nth-child(2) { animation-delay: 0.1s; }
.objective-list li:nth-child(3) { animation-delay: 0.15s; }
.objective-list li:nth-child(4) { animation-delay: 0.2s; }
.objective-list li:nth-child(5) { animation-delay: 0.25s; }

.objective-num {
  font-weight: 650;
  color: var(--red);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Membership */
.member-types {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 1.25rem;
}

.member-types li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 720px) {
  .member-types li {
    grid-template-columns: 10rem 1fr;
    gap: 1.25rem;
    align-items: start;
  }
}

.member-type-label {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

html[lang="ne"] .member-type-label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.98rem;
}

.fee-table th,
.fee-table td {
  text-align: left;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.fee-table th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 650;
}

html[lang="ne"] .fee-table th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
}

.qual-list,
.facility-list,
.activity-list {
  margin: 1rem 0 0 1.15rem;
  display: grid;
  gap: 0.55rem;
  color: var(--ink);
}

.qual-list li,
.facility-list li,
.activity-list li {
  padding-left: 0.15rem;
}

/* Constitution long-form */
.constitution-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
}

.constitution-body {
  max-width: 72ch;
  padding-bottom: 2rem;
}

.constitution-body h1 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
  line-height: 1.25;
}

.constitution-body h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  margin: 2.25rem 0 0.75rem;
  color: var(--blue-deep);
  letter-spacing: -0.015em;
}

.constitution-body h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.constitution-body p {
  margin: 0.75rem 0;
  color: var(--ink);
}

.constitution-body ul,
.constitution-body ol {
  margin: 0.65rem 0 0.65rem 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.constitution-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.constitution-body .table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.constitution-body th,
.constitution-body td {
  text-align: left;
  padding: 0.65rem 0.75rem 0.65rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.constitution-body th {
  color: var(--blue-deep);
  font-weight: 650;
  font-size: 0.8rem;
}

.constitution-note {
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 60ch;
}

.section-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0.5rem 0 2.5rem;
}

.cta-band {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
