:root {
  --bg: #071018;
  --bg-soft: #12202f;
  --panel: rgba(14, 24, 37, 0.92);
  --panel-strong: #101a28;
  --panel-soft: #1a2b40;
  --text: #f5f7fb;
  --muted: #afbdd1;
  --accent: #35cf76;
  --accent-soft: rgba(53, 207, 118, 0.14);
  --gold: #f0b24d;
  --rose: #d76a72;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(1, 7, 14, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.theme-light {
  --bg: #edf2f7;
  --bg-soft: #f8fafc;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --panel-soft: #f3f7fb;
  --text: #102031;
  --muted: #4e6176;
  --accent: #12894c;
  --accent-soft: rgba(18, 137, 76, 0.12);
  --gold: #b26f00;
  --rose: #bc525c;
  --border: rgba(16, 32, 49, 0.12);
  --shadow: 0 22px 50px rgba(71, 93, 115, 0.16);
}

a {
  color: inherit;
}

.inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.main {
  padding-bottom: 3rem;
}

.main--admin {
  padding-top: 1.2rem;
}

.main--flush {
  padding-bottom: 0;
  max-width: none;
}

.card {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.auth-card {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

label {
  display: block;
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
select,
textarea {
  width: 100%;
  max-width: 100%;
  margin-top: 0.3rem;
  padding: 0.78rem 0.88rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  color: var(--text);
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.password-field {
  position: relative;
  margin-top: 0.3rem;
}

.password-field input {
  margin-top: 0;
  padding-right: 4.1rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  min-width: 3rem;
  padding: 0.36rem 0.62rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.password-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.82rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), #59dd8d);
  color: #071611;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--text);
}

.alert {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #4f2106;
  border: 1px solid #93541b;
  color: #ffe3bf;
}

.ok {
  background: #0e3b24;
  border-color: #2d8d59;
  color: #d1f9df;
}

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

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

.table small,
.muted {
  color: var(--muted);
}

.footer {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.form-grid label {
  margin-top: 0;
}

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

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.stat {
  padding: 0.95rem;
  border-radius: 16px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 1.55rem;
}

.stat span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.admin-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 1rem;
  padding: 1.1rem;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.admin-sidebar__brand h2,
.admin-page-head h1 {
  margin: 0;
}

.admin-sidebar__eyebrow,
.admin-page-head__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-sidebar__brand p:last-child,
.admin-page-head__note {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.admin-sidebar__nav {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.admin-sidebar__portal {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.1rem;
  margin-bottom: 1.1rem;
}

.admin-sidebar__link {
  display: block;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.admin-sidebar__link:hover {
  transform: translateY(-1px);
  border-color: rgba(53, 207, 118, 0.4);
}

.admin-sidebar__link strong,
.admin-sidebar__link span {
  display: block;
}

.admin-sidebar__link span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-sidebar__link.is-active {
  background: linear-gradient(135deg, rgba(53, 207, 118, 0.16), rgba(240, 178, 77, 0.12));
  border-color: rgba(53, 207, 118, 0.44);
}

.admin-sidebar__link--portal {
  background: linear-gradient(135deg, rgba(53, 207, 118, 0.12), rgba(17, 137, 76, 0.08));
  border-color: rgba(53, 207, 118, 0.34);
}

.admin-sidebar__footer {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.admin-sidebar__button {
  width: 100%;
  text-align: center;
}

.admin-content {
  min-width: 0;
}

.admin-page-head {
  margin-bottom: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.msg {
  padding: 0.85rem;
  margin: 0.6rem 0;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
}

.msg.staff {
  border-left: 4px solid #48b6e2;
  background: linear-gradient(135deg, rgba(72, 182, 226, 0.16), rgba(72, 182, 226, 0.05));
  border-color: rgba(72, 182, 226, 0.32);
}

.msg.public {
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, rgba(53, 207, 118, 0.16), rgba(53, 207, 118, 0.05));
  border-color: rgba(53, 207, 118, 0.34);
}

.attachment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.45rem;
  text-decoration: none;
  word-break: break-word;
}

.attachment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  padding: 0.18rem 0.46rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #071611;
  background: #d4dde8;
}

.attachment-icon.is-pdf {
  background: #ff8f8f;
  color: #3c0707;
}

.attachment-icon.is-image {
  background: #7ef0ad;
  color: #07351a;
}

.attachment-icon.is-audio {
  background: #8fd7ff;
  color: #07283c;
}

.attachment-icon.is-video {
  background: #f0b24d;
  color: #3f2600;
}

.attachment-icon.is-doc {
  background: #9dc3ff;
  color: #102850;
}

.attachment-icon.is-archive,
.attachment-icon.is-file {
  background: #c8d2df;
  color: #162534;
}

body.page-admin .msg.staff {
  background: linear-gradient(135deg, rgba(240, 178, 77, 0.18), rgba(240, 178, 77, 0.06));
  border-left-color: var(--gold);
  border-color: rgba(240, 178, 77, 0.34);
}

body.page-admin .msg.public {
  background: linear-gradient(135deg, rgba(53, 207, 118, 0.18), rgba(53, 207, 118, 0.06));
  border-left-color: var(--accent);
  border-color: rgba(53, 207, 118, 0.34);
}

body.theme-light .msg.staff {
  background: linear-gradient(135deg, rgba(72, 182, 226, 0.18), rgba(72, 182, 226, 0.08));
}

body.theme-light .msg.public {
  background: linear-gradient(135deg, rgba(18, 137, 76, 0.14), rgba(18, 137, 76, 0.06));
}

body.theme-light.page-admin .msg.staff {
  background: linear-gradient(135deg, rgba(178, 111, 0, 0.18), rgba(178, 111, 0, 0.08));
}

body.theme-light.page-admin .msg.public {
  background: linear-gradient(135deg, rgba(18, 137, 76, 0.16), rgba(18, 137, 76, 0.07));
}

body.page-home {
  font-family: "Manrope", system-ui, Segoe UI, sans-serif;
  background:
    linear-gradient(180deg, #000 0, #000 16px, transparent 16px),
    radial-gradient(circle at top left, rgba(53, 207, 118, 0.1), transparent 26%),
    radial-gradient(circle at top right, rgba(240, 178, 77, 0.1), transparent 18%),
    linear-gradient(180deg, #071018 0%, #0d1623 100%);
}

body.page-home.theme-light {
  background:
    linear-gradient(180deg, #000 0, #000 16px, transparent 16px),
    radial-gradient(circle at top left, rgba(18, 137, 76, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(178, 111, 0, 0.08), transparent 18%),
    linear-gradient(180deg, #f6f9fc 0%, #edf3f8 100%);
}

.topbar {
  background: #0d1724;
  border-bottom: 1px solid var(--border);
}

.header-ticker {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(240, 178, 77, 0.12), rgba(53, 207, 118, 0.1));
}

body.theme-light .header-ticker {
  background: linear-gradient(90deg, rgba(240, 178, 77, 0.16), rgba(18, 137, 76, 0.1));
}

.header-ticker__viewport {
  overflow: hidden;
  padding: 0.72rem 1.1rem;
}

.header-ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.header-ticker__group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
  padding-right: 0.9rem;
}

.header-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-ticker__item::after {
  content: "•";
  color: var(--gold);
}

.header-ticker__group .header-ticker__item:last-child::after {
  content: "";
}

.header-ticker:hover .header-ticker__track {
  animation-play-state: paused;
}

.header-ticker__item::after {
  content: "\2022";
}

.topbar--home {
  position: sticky;
  top: 14px;
  z-index: 30;
  margin: 0 12px;
  border-radius: 22px;
  background: rgba(5, 10, 17, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

body.theme-light .topbar--home {
  background: rgba(255, 255, 255, 0.9);
}

body.theme-light .topnav__link,
body.theme-light .theme-toggle,
body.theme-light .lang-toggle,
body.theme-light .nav-toggle {
  background: rgba(255, 255, 255, 0.92);
}

.topbar__row {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 720px;
}

.brand-portrait {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  background: #f0b24d;
  border: 1px solid rgba(240, 178, 77, 0.4);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.brand-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-portrait--left img,
.brand-portrait--right img {
  object-position: center top;
}

.brand-lockup__text {
  min-width: 0;
}

.brand-title {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.2;
}

.brand-tag {
  display: block;
  margin-top: 0.22rem;
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 700;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.topbar--home .topnav {
  order: 2;
  flex: 0 0 100%;
  justify-content: flex-end;
  margin-top: 0.15rem;
}

.topnav a {
  text-decoration: none;
}

.header-actions,
.header-tools,
.header-logins {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.header-actions {
  margin-left: auto;
  justify-content: flex-end;
}

.topbar--home .header-actions {
  order: 1;
}

.topnav__link,
.theme-toggle,
.lang-toggle,
.nav-toggle {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.62rem 0.82rem;
  border-radius: 999px;
  font-size: 0.92rem;
  cursor: pointer;
}

.topnav__link.is-active {
  background: var(--accent-soft);
  border-color: rgba(53, 207, 118, 0.35);
}

.topnav__link:hover,
.theme-toggle:hover,
.lang-toggle:hover,
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
}

.nav-toggle {
  display: none;
}

.nav-cta {
  padding: 0.82rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #57db8d);
  color: #071611;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(53, 207, 118, 0.22);
}

.nav-cta--alt {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.topbar--home .header-actions .theme-toggle,
.topbar--home .header-actions .lang-toggle {
  font-size: 0.86rem;
  padding: 0.52rem 0.76rem;
}

.topbar--home .header-actions .nav-cta {
  font-size: 0.86rem;
  padding: 0.68rem 0.92rem;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 4.2rem 0;
  scroll-margin-top: 126px;
}

.main--public {
  padding-bottom: 0;
}

.public-page-hero {
  position: relative;
  min-height: 320px;
  overflow: clip;
  border-bottom: 1px solid var(--border);
}

.public-page-hero__media,
.public-page-hero__shade {
  position: absolute;
  inset: 0;
}

.public-page-hero__media {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #060b12;
}

.public-page-hero__shade {
  background:
    linear-gradient(90deg, rgba(6, 11, 18, 0.88) 0%, rgba(6, 11, 18, 0.64) 48%, rgba(6, 11, 18, 0.36) 100%),
    linear-gradient(180deg, rgba(53, 207, 118, 0.08), rgba(215, 106, 114, 0.07));
}

body.theme-light .public-page-hero__shade {
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.92) 0%, rgba(248, 250, 252, 0.72) 48%, rgba(248, 250, 252, 0.4) 100%),
    linear-gradient(180deg, rgba(18, 137, 76, 0.08), rgba(188, 82, 92, 0.06));
}

.public-page-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 4.8rem;
  padding-bottom: 3.6rem;
}

.public-page-hero__content h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  max-width: 18ch;
}

.public-page-wrap {
  padding-top: 2.2rem;
  padding-bottom: 2.6rem;
}

.public-content-card,
.story-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.public-content-card {
  padding: 1.6rem;
}

.bilingual-rich [data-lang-pane] {
  display: none;
  text-align: justify;
  line-height: 1.9;
}

html[lang="en"] .bilingual-rich [data-lang-pane="en"] {
  display: block;
}

html[lang="ta"] .bilingual-rich [data-lang-pane="ta"] {
  display: block;
}

.bilingual-rich h2,
.bilingual-rich h3,
.bilingual-rich h4 {
  margin-top: 0.9rem;
  margin-bottom: 0.6rem;
}

.bilingual-rich p,
.bilingual-rich li {
  color: var(--text);
}

.bilingual-rich a {
  color: var(--accent);
}

.story-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.story-card {
  padding: 1.35rem;
}

.story-card__summary {
  color: var(--muted);
  margin: 0.5rem 0 1rem;
}

.story-media {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.story-media img,
.story-media video {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #08121b;
}

.story-media video {
  max-height: 440px;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.media-card {
  height: 100%;
}

.media-file-chip {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.story-file {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  padding: 0.52rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.share-links a {
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

body.theme-light .share-links a,
body.theme-light .story-file {
  background: rgba(255, 255, 255, 0.86);
}

body.theme-light .media-file-chip {
  background: rgba(255, 255, 255, 0.9);
}

.contact-form-page {
  margin-top: 1rem;
}

.contact-form-page .contact-card--form {
  background:
    linear-gradient(135deg, rgba(53, 207, 118, 0.08), transparent 34%),
    var(--panel);
}

.track-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin: 0.8rem 0 1rem;
}

.track-summary p {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.status-pill {
  font-size: 0.82rem;
  line-height: 1.25;
  padding: 0.42rem 0.64rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.status-pill.is-done {
  background: rgba(53, 207, 118, 0.16);
  border-color: rgba(53, 207, 118, 0.45);
}

.status-pill.is-current {
  background: linear-gradient(135deg, rgba(53, 207, 118, 0.3), rgba(240, 178, 77, 0.24));
  border-color: rgba(240, 178, 77, 0.6);
  font-weight: 700;
}

body.theme-light .track-summary p,
body.theme-light .status-pill {
  background: rgba(255, 255, 255, 0.9);
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.section--band {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(240, 178, 77, 0.14);
  border-bottom: 1px solid rgba(240, 178, 77, 0.14);
}

.section--accent {
  background: linear-gradient(180deg, rgba(240, 178, 77, 0.06), rgba(255, 255, 255, 0.02));
}

.section-label {
  margin: 0 0 0.6rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 800;
}

.section__head {
  margin-bottom: 1.5rem;
}

.section__head--split,
.intro-grid,
.hero-welfare,
.leadership-showcase,
.access-clean,
.footer-clean,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
}

.section__head--split {
  align-items: end;
}

.section__head h2,
.intro-grid h2,
.hero-welfare h1,
.leadership-showcase__copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1.08;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero--welfare {
  position: relative;
  min-height: 820px;
  overflow: clip;
}

.hero__slides,
.hero__photo,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__photo {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #060b12;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 500ms ease, transform 500ms ease;
}

.hero__photo.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(6, 11, 18, 0.92) 0%, rgba(6, 11, 18, 0.74) 44%, rgba(6, 11, 18, 0.46) 100%),
    linear-gradient(180deg, rgba(53, 207, 118, 0.08), rgba(215, 106, 114, 0.08));
}

body.theme-light .hero__shade {
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.9) 0%, rgba(248, 250, 252, 0.7) 44%, rgba(248, 250, 252, 0.42) 100%),
    linear-gradient(180deg, rgba(18, 137, 76, 0.08), rgba(188, 82, 92, 0.06));
}

.hero-welfare {
  position: relative;
  z-index: 1;
  min-height: 820px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 420px);
  align-items: center;
}

.hero-welfare__content {
  padding: 5.2rem 0 4rem;
}

.hero-welfare__lead {
  max-width: 62ch;
  margin: 1.3rem 0 0;
  font-size: 1.12rem;
  color: #d8e2f0;
}

.hero-welfare__actions,
.hero-welfare__strip,
.hero-slider-dots,
.topbar .inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn--hero,
.btn--hero-secondary {
  margin-top: 0;
  min-width: 188px;
  text-align: center;
}

.btn--hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border);
  color: var(--text);
}

.hero-welfare__strip span {
  padding: 0.58rem 0.92rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d9e4f2;
  font-size: 0.88rem;
}

.leader-strip {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  max-width: 760px;
  margin-top: 1.15rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(10, 19, 30, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.leader-strip img {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.leader-strip__content span,
.leader-strip__content strong,
.leader-strip__content p {
  display: block;
}

.leader-strip__content span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leader-strip__content strong {
  margin-top: 0.2rem;
  font-size: 1.1rem;
}

.leader-strip__content p {
  margin: 0.4rem 0 0;
  color: #d8e2f0;
  line-height: 1.65;
}

.hero-welfare__panel,
.feature-clean__card,
.service-card,
.leader-card,
.access-clean__card,
.contact-card,
.quote-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-welfare__panel {
  padding: 1.7rem;
  border-radius: 24px;
}

.hero-panel__eyebrow,
.story-slide__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-welfare__panel h2,
.contact-card h3,
.access-clean__card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.8rem;
  line-height: 1.15;
}

.hero-panel__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.hero-panel__stats div {
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-panel__stats strong,
.hero-panel__stats span {
  display: block;
}

.hero-panel__stats span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-slider-dots__dot,
.story-slider__dot {
  width: 12px;
  height: 12px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.24);
}

.hero-slider-dots__dot.is-active,
.story-slider__dot.is-active {
  width: 38px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.feature-clean {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-clean--message {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-clean__card,
.service-card,
.leader-card,
.access-clean__card,
.contact-card {
  border-radius: 22px;
  padding: 1.55rem;
}

.feature-clean__bar {
  width: 58px;
  height: 6px;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--rose));
}

.feature-clean__card h3,
.service-card h3,
.leader-card__body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

.feature-clean__card p,
.service-card p,
.leader-card__body p:last-child,
.access-clean__card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.story-slider__viewport {
  position: relative;
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.story-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 420ms ease, transform 420ms ease;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #06111b;
}

.story-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.story-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 11, 18, 0.88) 0%, rgba(6, 11, 18, 0.58) 48%, rgba(6, 11, 18, 0.38) 100%),
    linear-gradient(180deg, rgba(53, 207, 118, 0.08), rgba(215, 106, 114, 0.07));
}

body.theme-light .story-slide__shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.74) 48%, rgba(255, 255, 255, 0.4) 100%),
    linear-gradient(180deg, rgba(18, 137, 76, 0.08), rgba(188, 82, 92, 0.06));
}

.story-slide__content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  padding: 2rem;
}

.story-slide h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.12;
}

.story-slide p:last-child {
  margin-top: 1rem;
  color: #e0e7f3;
}

body.theme-light .story-slide p:last-child {
  color: #132637;
}

.story-slider__controls {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1rem;
}

.service-grid,
.leader-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(53, 207, 118, 0.18), rgba(240, 178, 77, 0.16));
  font-size: 1.4rem;
  font-weight: 800;
}

.leader-card {
  overflow: hidden;
}

.leader-card__media {
  min-height: 250px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #060b12;
}

.leader-card__body {
  padding: 1.4rem;
}

.journey-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.journey-list li {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4.1rem;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.journey-list li::before {
  content: counter(list-item);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  color: #09111b;
  background: linear-gradient(135deg, var(--gold), #84dc61);
}

.access-clean__list {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.access-clean__list li {
  position: relative;
  padding-left: 1.15rem;
}

.access-clean__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
}

.contact-grid {
  align-items: stretch;
}

.contact-card--form {
  background:
    linear-gradient(135deg, rgba(53, 207, 118, 0.08), transparent 34%),
    var(--panel);
}

.contact-form label {
  color: var(--text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  margin-top: 0.4rem;
}

.contact-lines {
  display: grid;
  gap: 0.85rem;
}

.contact-lines p {
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.contact-lines strong,
.contact-lines a,
.contact-lines span {
  display: block;
}

.contact-lines strong {
  margin-bottom: 0.25rem;
}

.contact-lines a {
  color: var(--accent);
  text-decoration: none;
  word-break: break-word;
}

.contact-form .btn {
  margin-top: 1.2rem;
}

.quote-panel {
  padding: 1.5rem 1.7rem;
  border-left: 5px solid var(--gold);
}

.quote-panel__text {
  margin: 0;
  font-size: 1.18rem;
  font-style: italic;
}

.quote-panel__meta {
  margin-top: 0.9rem;
}

.footer--home {
  background: rgba(5, 10, 17, 0.85);
  border-top: 1px solid rgba(240, 178, 77, 0.14);
}

body.theme-light .footer--home {
  background: rgba(255, 255, 255, 0.94);
}

body.theme-light .footer-clean__menus a,
body.theme-light .footer,
body.theme-light .footer .muted,
body.theme-light .footer__tech {
  color: #40556d;
}

body.theme-light .hero-welfare__lead {
  color: #334a61;
}

body.theme-light .leader-strip {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(16, 32, 49, 0.12);
}

body.theme-light .leader-strip__content p {
  color: #365064;
}

body.theme-light .hero-panel__eyebrow,
body.theme-light .story-slide__eyebrow,
body.theme-light .section-label {
  color: #9b5f00;
}

body.theme-light .hero-welfare__panel h2,
body.theme-light .story-slide h3 {
  color: #0e2338;
}

body.theme-light .hero-welfare__strip span {
  color: #294158;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(16, 32, 49, 0.12);
}

body.theme-light .hero-panel__stats div,
body.theme-light .contact-lines p {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(16, 32, 49, 0.12);
}

body.theme-light .feature-clean__card,
body.theme-light .service-card,
body.theme-light .leader-card,
body.theme-light .access-clean__card,
body.theme-light .contact-card,
body.theme-light .hero-welfare__panel,
body.theme-light .quote-panel,
body.theme-light .journey-list li {
  background: rgba(255, 255, 255, 0.94);
}

body.theme-light .story-slide,
body.theme-light .leader-card__media,
body.theme-light .hero__photo {
  background-color: #d8e2ed;
}

body.theme-light .service-card__icon {
  background: linear-gradient(135deg, rgba(178, 111, 0, 0.12), rgba(18, 137, 76, 0.14));
  color: #0f2235;
}

body.theme-light .btn--hero-secondary,
body.theme-light .btn.secondary,
body.theme-light .nav-cta--alt {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.footer-clean {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.footer-clean__brand h2 {
  margin: 0 0 0.8rem;
  font-size: 2rem;
}

.footer-clean__menus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-clean__menus h3 {
  margin: 0 0 0.7rem;
}

.footer-clean__menus a {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--muted);
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .section__head--split,
  .intro-grid,
  .hero-welfare,
  .leadership-showcase,
  .access-clean,
  .footer-clean,
  .contact-grid,
  .feature-clean,
  .service-grid,
  .leader-cards {
    grid-template-columns: 1fr;
  }

  .feature-clean--message {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .hero--welfare,
  .hero-welfare {
    min-height: auto;
  }

  .hero-welfare__content {
    padding-top: 4.8rem;
  }

  .story-slider__viewport {
    min-height: 520px;
  }

  .public-page-hero__content {
    padding-top: 4.2rem;
    padding-bottom: 3rem;
  }

  .media-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .form-grid,
  .footer-clean__menus,
  .hero-panel__stats,
  .track-summary {
    grid-template-columns: 1fr;
  }

  .topbar--home {
    top: 10px;
    margin: 0 8px;
  }

  .topbar__row {
    min-height: auto;
    padding: 0.95rem 0;
    align-items: flex-start;
  }

  .header-ticker__viewport {
    padding: 0.62rem 0.85rem;
  }

  .header-ticker__item {
    font-size: 0.84rem;
  }

  .brand-lockup {
    max-width: 100%;
  }

  .brand-portrait {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .brand-lockup {
    gap: 0.7rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .topnav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.35rem;
    flex: 0 0 100%;
  }

  .topnav.is-open {
    display: flex;
  }

  .header-actions,
  .header-tools,
  .header-logins {
    width: 100%;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
  }

  .topnav__link,
  .theme-toggle,
  .lang-toggle,
  .nav-cta,
  .nav-cta--alt {
    width: 100%;
    text-align: center;
  }

  .hero-welfare__actions,
  .hero-welfare__strip {
    flex-direction: column;
    align-items: stretch;
  }

  .leader-strip {
    grid-template-columns: 1fr;
  }

  .leader-strip img {
    width: 88px;
    height: 88px;
  }

  .btn--hero,
  .btn--hero-secondary {
    width: 100%;
    min-width: 0;
  }

  .story-slide__content {
    padding: 1.4rem;
  }

  .public-page-hero {
    min-height: 280px;
  }

  .story-card,
  .public-content-card {
    padding: 1.2rem;
  }

  .table {
    display: block;
    overflow-x: auto;
  }
}
