/* Page-specific styles: public-inner (About, Leadership, Directory, Contact, Privacy, Error).
   Prefer the shared design-system classes; only what is genuinely page-specific lives here. */

/* ---------- About ---------- */
.about-prose p { font-size: var(--fs-md); line-height: 1.7; color: var(--ink-2); }
.about-prose p:first-child { color: var(--ink); }
/* "pillars" are principles, not sequential steps: reuse the verif-steps frame without the step arrows */
.pillars li::after { display: none; }
.pillars .vs-ic { margin-bottom: 1rem; }

/* ---------- Leadership ---------- */
/* the dedicated page shows full profiles (bios are not clamped as on the Home teaser) */
.leader .bio p { margin: 0; }
.leader .bio p + p { margin-top: .6em; }
.leader-grid { margin-top: 1.5rem; }
.leader-grid .leader .bio { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.leader-grid .leader .monogram { margin-bottom: 0; }

/* ---------- Directory ---------- */
.dir-section { padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.dir-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: var(--sp-4); }
.dir-filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; min-width: 0; }
.dir-filter-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dir-clear { display: inline-flex; align-items: center; gap: .4rem; min-height: var(--tap-sm); font-size: var(--fs-sm); font-weight: 600; }
.dir-chip-wrap { white-space: normal; }
.register-bar > span { text-align: right; }
.register-wrap > .empty { padding-block: 3rem; }
/* The business name is a row header (th) so assistive tech reads "name, category, ..."; foundation stacking rules only address td.c-name */
@media (min-width: 992px) { .register th.c-name { min-width: 14rem; } }
@media (max-width: 991.98px) {
  .register tbody th.c-name { grid-column: 1; min-width: 0; width: auto; padding: 0; border: 0; text-align: left; font-weight: 400; }
}
@media (max-width: 575.98px) {
  .register-bar > span { text-align: left; }
}

/* ---------- Contact ---------- */
.contact-list { margin: 0; font-style: normal; display: block; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.15rem 1.25rem; border-top: 1px solid var(--line); }
.contact-item:first-child { border-top: 0; }
.contact-ic { flex: none; width: 2.5rem; height: 2.5rem; border-radius: var(--r-md); background: var(--navy-700); color: var(--gold-300); display: grid; place-items: center; font-size: 1.1rem; }
.contact-body { min-width: 0; }
.contact-label { margin: 0 0 .15rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-value { margin: 0; font-size: var(--fs-md); color: var(--ink); overflow-wrap: anywhere; }
.contact-value a { display: inline-block; padding: .15rem 0; font-weight: 600; }
.contact-value.is-empty { color: var(--muted); font-style: italic; }

/* ---------- Privacy ---------- */
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1); padding: 1rem 1.1rem; position: sticky; top: 7.5rem; }
.toc-title { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }
.toc-list { list-style: none; margin: 0; padding: 0; }
.toc-list a { display: block; padding: .5rem .6rem; margin-inline: -.6rem; border-radius: var(--r-xs); font-size: var(--fs-sm); font-weight: 550; color: var(--navy-700); text-decoration: none; }
.toc-list a:hover { background: var(--navy-50); color: var(--navy-900); text-decoration: underline; }
@media (max-width: 991.98px) { .toc { position: static; } }
.privacy-prose p { font-size: var(--fs-md); line-height: 1.7; color: var(--ink-2); }
.privacy-prose h2 { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.privacy-prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Error ---------- */
.error-page { background: var(--surface); padding: clamp(2.5rem, 2rem + 4vw, 5rem) 0; }
.error-panel { max-width: 36rem; margin-inline: auto; text-align: center; padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem) clamp(1.25rem, 1rem + 2vw, 2.5rem); }
.error-code { font-family: var(--font-serif); font-size: clamp(4rem, 3rem + 6vw, 6.5rem); font-weight: 600; line-height: 1; letter-spacing: -.02em; color: var(--gold-700); margin: 0 0 .6rem; font-variant-numeric: lining-nums; }
.error-title { font-size: var(--fs-xl); margin: 0 0 .6rem; }
.error-message { max-width: 28rem; margin: 0 auto 1.5rem; color: var(--ink-2); }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.error-ref { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.error-ref .regid { display: inline-block; margin-top: .35rem; text-align: left; }
@media (max-width: 575.98px) { .error-actions .btn { flex: 1 1 100%; } }

/* ---------- About: photo hero, story, stats, timeline ---------- */
.about-hero { isolation: isolate; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.about-hero::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(8, 23, 47, .94) 0%, rgba(8, 23, 47, .78) 55%, rgba(8, 23, 47, .45) 100%); }
.about-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-est { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1.25rem 0 0; padding: .45rem .9rem; border: 1px solid var(--gold-400); border-radius: 999px; background: rgba(8, 23, 47, .55); color: var(--gold-300); font-size: var(--fs-sm); font-weight: 600; }
.about-ta { color: var(--navy-700); font-weight: 500; border-left: 3px solid var(--gold-400); padding-left: .9rem; }
.photo-frame { position: relative; margin: 0; border-radius: var(--r-lg, 14px); overflow: hidden; box-shadow: var(--shadow-3); }
.photo-frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: .15rem; padding: 2.5rem 1.25rem 1rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(8, 23, 47, .9)); }
.photo-frame figcaption b { color: var(--gold-300); font-size: var(--fs-lg, 1.25rem); letter-spacing: .02em; }
.about-stats { list-style: none; margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.about-stats li { display: flex; flex-direction: column; gap: .25rem; padding: 1.25rem 1.1rem; background: var(--white, #fff); }
.stat-fig { font-family: var(--font-serif); font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); font-weight: 600; line-height: 1; color: var(--navy-800); }
.stat-lbl { font-size: var(--fs-sm); color: var(--ink-2); }
.jy-date { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--gold-50); color: var(--gold-700); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Resolutions (English + Tamil) ---------- */
:lang(ta), .res-ta, .lead-ta, .about-ta { font-family: "Nirmala UI", "Latha", "Noto Sans Tamil", "Tamil Sangam MN", var(--font-sans), sans-serif; }
.lead-ta { color: var(--gold-300) !important; font-size: var(--fs-lg, 1.25rem) !important; font-weight: 600; margin-bottom: .5rem !important; line-height: 1.6 !important; }
.res-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.lang-switch { display: inline-flex; padding: .25rem; gap: .25rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white, #fff); }
.lang-switch[hidden] { display: none; }
.lang-btn { min-height: var(--tap-sm, 2.25rem); padding: .35rem 1rem; border: 0; border-radius: 999px; background: transparent; color: var(--navy-700); font-weight: 600; font-size: var(--fs-sm); cursor: pointer; }
.lang-btn:hover { background: var(--navy-50); }
.lang-btn.is-on { background: var(--navy-800); color: #fff; }
.res-intro { max-width: 60rem; margin-bottom: 2rem; padding: 1.1rem 1.25rem; border-left: 4px solid var(--gold-400); background: var(--gold-50); border-radius: 0 var(--r-md) var(--r-md) 0; }
.res-intro p { margin: 0; color: var(--ink); line-height: 1.7; }
.res-intro p + p { margin-top: .6rem; }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.res-card { background: var(--white, #fff); border: 1px solid var(--line); border-radius: var(--r-lg, 14px); box-shadow: var(--shadow-2); overflow: hidden; }
.res-head { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--navy-900); color: #fff; }
.res-head h3 { margin: 0; color: #fff; font-size: var(--fs-lg, 1.25rem); line-height: 1.35; }
.res-head h3.res-ta { color: var(--gold-300); font-size: var(--fs-md); margin-top: .2rem; }
.res-label { margin: 0 0 .15rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); display: flex; flex-wrap: wrap; gap: .25rem .75rem; }
.res-no { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--gold-400); color: var(--navy-950); font-family: var(--font-serif); font-weight: 700; font-size: 1.35rem; }
.res-ic { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--r-md); background: rgba(255, 255, 255, .1); color: var(--gold-300); font-size: 1.35rem; }
.res-cols { display: grid; grid-template-columns: 1fr 1fr; }
.res-points { list-style: none; margin: 0; padding: 1.25rem 1.5rem 1.5rem; display: grid; gap: .8rem; align-content: start; }
.res-points + .res-points { border-left: 1px solid var(--line); background: var(--navy-50); }
.res-points li { position: relative; padding-left: 1.5rem; line-height: 1.7; color: var(--ink); }
.res-points li::before { content: ''; position: absolute; left: 0; top: .6em; width: .6rem; height: .6rem; border-radius: 2px; background: var(--gold-500); transform: rotate(45deg); }
.res-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; padding: 1.5rem; border-radius: var(--r-lg, 14px); background: var(--navy-900); color: #fff; }
.res-cta > i { font-size: 2.25rem; color: var(--gold-400); }
.res-cta > div { flex: 1 1 18rem; }
.res-cta h2 { margin: 0 0 .25rem; color: #fff; font-size: var(--fs-md); }
.res-cta h2.res-ta { color: var(--gold-300); }
.res-cta p { margin: .15rem 0 0; color: var(--navy-200); font-size: var(--fs-sm); }
/* language filter: single language collapses the two columns into one */
[data-resolutions].show-en .res-ta, [data-resolutions].show-ta .res-en { display: none; }
[data-resolutions].show-en .res-cols, [data-resolutions].show-ta .res-cols { grid-template-columns: 1fr; }
@media (max-width: 991.98px) {
  .res-cols { grid-template-columns: 1fr; }
  .res-points + .res-points { border-left: 0; border-top: 1px solid var(--line); }
  .res-head { padding: 1rem; }
  .res-ic { display: none; }
}

/* About: journey timeline (own class: .timeline is the activity-feed component in components.css) */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: jy; position: relative; }
.journey li { counter-increment: jy; position: relative; padding: 2.75rem 1.25rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.journey li::before { content: counter(jy); position: absolute; top: -1.1rem; left: 1.25rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy-800); color: var(--gold-300); font-family: var(--font-serif); font-weight: 700; box-shadow: 0 0 0 4px var(--surface); }
.journey li::after { content: ''; position: absolute; top: -.1rem; left: 3.6rem; right: -1.25rem; height: 2px; background: var(--gold-400); }
.journey li:last-child::after { display: none; }
.journey h3 { font-size: var(--fs-md); margin: .6rem 0 .4rem; color: var(--navy-900); }
.journey p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
@media (max-width: 991.98px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } .journey li::after { display: none; } }
@media (max-width: 575.98px) { .journey { grid-template-columns: 1fr; } }

/* About: mission/vision, what we do, who we serve, closing call to action */
.mv-card { height: 100%; padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold-400); border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.mv-card h3 { font-size: var(--fs-lg); margin: 1rem 0 .6rem; color: var(--navy-900); }
.mv-card p { color: var(--ink-2); line-height: 1.7; }
.mv-card p:last-child { margin-bottom: 0; }
.mv-ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--r-md); background: var(--navy-800); color: var(--gold-300); font-size: 1.4rem; }
.do-card { height: 100%; padding: 1.25rem; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s; }
.do-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.do-card img { width: 7.5rem; height: 7.5rem; margin: 0 auto .75rem; display: block; }
.do-card h3 { font-size: var(--fs-md); color: var(--navy-900); margin-bottom: .4rem; }
.do-card p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
.serve-card { height: 100%; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.serve-card img { display: block; width: 100%; height: auto; background: var(--navy-50); }
.serve-body { padding: 1.1rem 1.25rem 1.4rem; }
.serve-body h3 { font-size: var(--fs-md); color: var(--navy-900); margin-bottom: .4rem; }
.serve-body p { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.6; }
.about-cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); text-align: center; }
.about-cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(8, 23, 47, .8); }
.about-cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.about-cta .eyebrow { justify-content: center; }
.about-cta h2 { color: #fff; max-width: 40rem; margin: 0 auto .5rem; font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem); }
.cta-ta { color: var(--gold-300); font-size: var(--fs-md); margin: 0 0 1.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

.callout-access { margin: 0 0 1.25rem; padding: .85rem 1rem; border-radius: var(--r-md); background: var(--gold-50); border: 1px solid var(--gold-300); font-size: var(--fs-sm); }
