/* ==========================================================
   AWLC Tamil Nadu – RLSS(I)
   Palette: lifeguard red + yellow on navy, pool-depth blues
   ========================================================== */
:root {
  --navy: #0B2A4A;
  --navy-deep: #071C33;
  --ink: #0E1B2B;
  --red: #D62B1F;
  --red-dark: #B5221A;
  --yellow: #FFC72C;
  --yellow-dark: #F2B400;
  --sand: #F5EDE0;
  --paper: #FAFAF7;
  --muted: #55657A;
  --line: rgba(14, 27, 43, .12);

  --d0: #BFE4F7;
  --d1: #6CBDEB;
  --d2: #2E86CF;
  --d3: #145A9E;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tamil: "Catamaran", "Noto Sans Tamil", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
abbr { text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* ---------- type helpers ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -.01em;
  line-height: .95;
  text-transform: none;
}
.display--light { color: #fff; }
.display--xl { font-size: clamp(3.2rem, 8vw, 6.4rem); }
.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.kicker--light { color: var(--yellow); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: var(--bg);
  color: var(--fg);
  font: 700 .95rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); }
.btn--yellow:hover { --bg: var(--yellow-dark); }
.btn--red { --bg: var(--red); --fg: #fff; }
.btn--red:hover { --bg: var(--red-dark); }
.btn--navy { --bg: var(--navy); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { --bg: rgba(255,255,255,.08); border-color: #fff; }

.link-arrow { font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: height .3s ease;
}
/* Background lives on a pseudo-element: backdrop-filter on .header itself
   would become the containing block for the fixed mobile nav. */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 28, 51, .94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -12px rgba(0,0,0,.6); opacity: 0; transition: opacity .3s ease; }
.header.is-scrolled { --header-h: 64px; }
.header.is-scrolled::before { opacity: 1; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #fff; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--display); font-size: 1.45rem; font-weight: 800; letter-spacing: .01em; }
.brand__text small { font-size: .72rem; opacity: .75; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: .92rem; font-weight: 600; text-decoration: none; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--yellow); transform: scaleX(0); transition: transform .25s ease; transform-origin: left; }
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav__cta { margin-left: 6px; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(46,134,207,.28), transparent 60%),
    var(--navy);
  color: #fff;
  padding: calc(var(--header-h) + clamp(40px, 8vw, 90px)) 0 clamp(150px, 16vw, 210px);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.5fr .5fr; align-items: center; gap: 40px; position: relative; z-index: 2; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; padding: 7px 14px; border: 1px solid rgba(255,199,44,.5); border-radius: 999px; color: var(--yellow); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255,199,44,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,199,44,0); } 100% { box-shadow: 0 0 0 0 rgba(255,199,44,0); } }
.hero__tamil { font-family: var(--tamil); font-weight: 800; color: var(--yellow); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 6px; line-height: 1.3; }
.hero__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.2rem, 7.2vw, 5.8rem);
  line-height: .9;
  letter-spacing: -.015em;
  margin-bottom: 26px;
}
.hero__title span { color: #fff; background: linear-gradient(transparent 72%, rgba(214,43,31,.85) 72%, rgba(214,43,31,.85) 92%, transparent 92%); }
.hero__lede { font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 560px; color: rgba(255,255,255,.85); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.hero__stats dt { font-family: var(--display); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--yellow); }
.hero__stats dd { margin: 4px 0 0; font-size: .82rem; color: rgba(255,255,255,.7); }

.hero__art { position: relative; height: 460px; }
.flag { position: absolute; inset: 0 0 0 10%; width: 90%; height: 100%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.ring { position: absolute; width: 120px; bottom: -10px; left: 0; animation: bob 4s ease-in-out infinite; }
.ring svg { filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(6deg); } }

.waves { position: absolute; left: 0; right: 0; bottom: -2px; height: 160px; z-index: 1; overflow: hidden; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.wave--back path { fill: #12457A; }
.wave--front path { fill: #1B5E9E; }
.wave--back { animation: drift 22s linear infinite; opacity: .9; }
.wave--front { animation: drift 14s linear infinite reverse; height: 75%; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- marquee ---------- */
.marquee { background: var(--yellow); overflow: hidden; border-top: 3px solid var(--navy-deep); border-bottom: 3px solid var(--navy-deep); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { padding: 16px 30px; font-weight: 800; font-size: .92rem; white-space: nowrap; display: flex; align-items: center; gap: 14px; }
.marquee li::before { content: ""; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section head ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px 60px; flex-wrap: wrap; margin-bottom: 50px; }
.section-head__aside { max-width: 420px; color: var(--muted); margin: 0; }

/* ---------- courses / depth ---------- */
.courses { padding-top: clamp(70px, 10vw, 120px); }
.lane-rope {
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--red) 0 22px, #fff 22px 30px, var(--d3) 30px 52px, #fff 52px 60px);
  background-size: 120px 100%;
  animation: rope 6s linear infinite;
}
@keyframes rope { to { background-position: 120px 0; } }
.depth { padding: clamp(50px, 7vw, 80px) 0; position: relative; }
.depth--0 { background: var(--d0); }
.depth--1 { background: var(--d1); }
.depth--2 { background: var(--d2); color: #fff; }
.depth--3 { background: var(--d3); color: #fff; }
.depth__grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.depth__label { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; position: sticky; top: calc(var(--header-h) + 24px); }
.depth__tag { font-family: var(--display); font-weight: 800; font-size: 1.5rem; background: #fff; color: var(--ink); padding: 4px 14px; border-radius: 6px; }
.depth__note { font-size: .85rem; font-weight: 600; opacity: .8; }
.depth__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.course {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.course:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(7,28,51,.6); }
.depth--2 .course, .depth--3 .course { background: rgba(7,28,51,.28); border-color: rgba(255,255,255,.18); }
.course__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.course h3 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: .95; }
.course__price { font-family: var(--display); font-weight: 800; font-size: 1.8rem; margin: 0; white-space: nowrap; }
.depth--2 .course__price, .depth--3 .course__price { color: var(--yellow); }
.course > p { max-width: 640px; }
.course__facts { margin: 6px 0 24px; }
.course__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid currentColor; border-color: rgba(14,27,43,.14); font-size: .92rem; }
.depth--2 .course__facts div, .depth--3 .course__facts div { border-color: rgba(255,255,255,.2); }
.course__facts dt { font-weight: 700; opacity: .75; }
.course__facts dd { margin: 0; font-weight: 600; }
.course .btn { align-self: flex-start; margin-top: auto; }

.renewals { padding-top: 60px; padding-bottom: clamp(70px, 10vw, 110px); }
.renewals__title { font-family: var(--display); font-weight: 800; font-size: 2rem; margin-bottom: 18px; }
.renewals__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 3px solid var(--ink); }
.renewal { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.renewal strong { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.renewal span { font-size: .88rem; color: var(--muted); }

/* ---------- pathway ---------- */
.pathway { background: var(--navy); color: #fff; padding: clamp(70px, 10vw, 120px) 0; }
.pathway__lede { color: rgba(255,255,255,.75); margin-top: 16px; }
.steps { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 26px; left: 26px; right: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--red) 0 16px, #fff 16px 26px);
  background-size: 52px 100%;
  animation: rope 4s linear infinite;
}
.step { position: relative; }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 1.7rem; border: 4px solid var(--navy); margin-bottom: 22px; transition: transform .3s; }
.step:hover .step__num { transform: scale(1.12) rotate(-8deg); }
.step h3 { font-family: var(--display); font-weight: 800; font-size: 1.9rem; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,.72); font-size: .95rem; margin: 0; }

/* ---------- readiness ---------- */
.ready { padding: clamp(70px, 10vw, 120px) 0; background: var(--paper); }
.ready__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ready__lede { color: var(--muted); margin-top: 18px; max-width: 460px; }
.checker { background: #fff; border-radius: 18px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 60px -40px rgba(7,28,51,.5); border: 1px solid var(--line); }
.checker fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.checker legend { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.check { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 10px; cursor: pointer; transition: background .2s; }
.check:hover { background: var(--sand); }
.check input { appearance: none; width: 24px; height: 24px; border: 2px solid var(--navy); border-radius: 6px; flex: none; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { content: ""; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: translateY(-1px) rotate(45deg); }
.check span { font-weight: 600; }
.checker__result { border-top: 1px solid var(--line); padding-top: 20px; }
.checker__meter { display: block; height: 8px; border-radius: 99px; background: var(--sand); overflow: hidden; margin-bottom: 16px; }
.checker__meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--yellow)); transition: width .4s ease; }
.checker__result p { font-size: .95rem; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--sand); }
.why__art { background: var(--navy); display: grid; place-items: center; padding: 50px; min-height: 420px; position: relative; overflow: hidden; }
.why__art svg { width: min(100%, 440px); height: auto; }
#kolam .k-ring { fill: none; stroke: #fff; stroke-width: 2; opacity: .9; }
#kolam .k-dot { fill: #fff; }
#kolam .k-orbit { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; transform-origin: 200px 200px; animation: spin 60s linear infinite; }
#kolam .k-center { transform-origin: 200px 200px; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.why__body { padding: clamp(50px, 8vw, 100px) clamp(24px, 6vw, 80px); }
.why__lede { color: #3B4A5C; margin: 20px 0 30px; max-width: 620px; }
.pillars { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.pillars li { padding: 18px 0; border-top: 1px solid rgba(14,27,43,.16); }
.pillars strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.pillars span { font-size: .9rem; color: #3B4A5C; }
.affils { display: flex; flex-wrap: wrap; gap: 10px; }
.affils span { font-size: .8rem; font-weight: 700; padding: 8px 14px; border: 1.5px solid var(--navy); border-radius: 999px; }

/* ---------- gallery ---------- */
.gallery { padding: clamp(70px, 10vw, 120px) 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { font: 700 .9rem var(--body); padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--d0); transition: opacity .3s, transform .3s; }
.masonry figure.is-hidden { display: none; }
.masonry img { width: 100%; height: auto; transition: transform .6s ease; }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff; font-weight: 700; font-size: .9rem; background: linear-gradient(transparent, rgba(7,28,51,.85)); transform: translateY(8px); opacity: 0; transition: all .3s; }
.masonry figure:hover figcaption, .masonry figure:focus-visible figcaption { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(7,28,51,.94); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 30px 10px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; text-align: center; color: #fff; }
.lightbox img { max-height: 80vh; max-width: 100%; margin: 0 auto 14px; border-radius: 8px; }
.lightbox button { background: none; border: 0; color: #fff; font-size: 3rem; cursor: pointer; line-height: 1; }
.lightbox__close { position: absolute; top: 14px; right: 22px; }
.lightbox--doc img { max-height: 86vh; background: #fff; padding: 8px; border-radius: 2px; }

/* ---------- corporate ---------- */
.corporate { background: var(--yellow); padding: clamp(70px, 10vw, 120px) 0; }
.corporate__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.corporate p { font-size: 1.05rem; }
.corporate__phone { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); text-decoration: none; margin: 18px 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0 0 10px; }
.ticks li { position: relative; padding: 6px 0 6px 30px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 7px; height: 12px; border: solid var(--red); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ticks--light li { color: rgba(255,255,255,.88); }
.ticks--light li::before { border-color: var(--yellow); }

/* ---------- join ---------- */
.join { background: var(--red); color: #fff; padding: clamp(70px, 10vw, 120px) 0; position: relative; overflow: hidden; }
.join::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255,255,255,.07); }
.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; position: relative; z-index: 1; }
.join .kicker--light { color: var(--yellow); }
.join__lede { color: rgba(255,255,255,.88); margin: 18px 0 26px; max-width: 520px; }
.tabs { display: inline-flex; background: rgba(0,0,0,.18); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.tab { font: 700 .9rem var(--body); border: 0; background: none; color: #fff; padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.tab.is-active { background: #fff; color: var(--red); }

/* ---------- forms ---------- */
.card-form { background: var(--navy-deep); color: #fff; border-radius: 18px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.card-form h3 { font-family: var(--display); font-weight: 800; font-size: 2rem; margin-bottom: 4px; }
.card-form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; }
.card-form input, .card-form select, .card-form textarea {
  font: 500 1rem var(--body); color: inherit;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 8px; padding: 12px 14px; width: 100%;
  transition: border-color .2s, background .2s;
}
.card-form select option { color: var(--ink); }
.card-form input:focus, .card-form select:focus, .card-form textarea:focus { outline: none; border-color: var(--yellow); background: rgba(255,255,255,.12); }
.card-form input[type="month"] { color-scheme: dark; }
.card-form--light { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(7,28,51,.5); }
.card-form--light input, .card-form--light select, .card-form--light textarea { background: var(--paper); border-color: var(--line); }
.card-form--light input:focus, .card-form--light select:focus, .card-form--light textarea:focus { border-color: var(--navy); background: #fff; }
.card-form--light input[type="month"] { color-scheme: light; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .8rem; opacity: .75; margin: 0; }
.form-note a { font-weight: 700; }
.card-form.is-flash { animation: flash .6s ease; }
@keyframes flash { 50% { box-shadow: 0 0 0 6px var(--yellow); } }

/* ---------- faq ---------- */
.faq { padding: clamp(70px, 10vw, 120px) 0; background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.accordion { border-top: 3px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 800; font-size: 1.08rem; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 500; color: var(--red); transition: transform .25s; }
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion details p { color: var(--muted); padding-right: 40px; }

/* ---------- enrol ---------- */
.enrol { padding: clamp(70px, 10vw, 120px) 0; background: var(--sand); }
.enrol__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.enrol__tamil { font-family: var(--tamil); font-weight: 800; color: var(--red); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0; line-height: 1.3; }
.enrol__copy > p { color: #3B4A5C; margin: 18px 0 26px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 30px; border-top: 1px solid rgba(14,27,43,.16); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-bottom: 1px solid rgba(14,27,43,.16); font-weight: 600; }
.contact-list span { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.person { display: flex; align-items: center; gap: 14px; background: #fff; padding: 14px 18px; border-radius: 14px; }
.person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.person strong { display: block; }
.person span { font-size: .85rem; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 70px 0 30px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: var(--yellow); }
.footer__brand { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: #fff; margin: 0; }
.footer__h { font-weight: 800; color: #fff; margin: 0 0 4px; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }

/* ---------- floating WhatsApp ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); transition: transform .2s; }
.fab:hover { transform: scale(1.08); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ripple 2.4s infinite; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- workshops ---------- */
.workshops { padding: clamp(70px, 10vw, 120px) 0; background: var(--paper); }
.wgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.wcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.wcard:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(7,28,51,.55); }
.wcard.is-hidden { display: none; }
.wcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.wcard:hover img { transform: scale(1.04); }
.wcard__body { padding: 18px 20px 22px; }
.wcard__meta { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.wcard h3 { font-family: var(--display); font-weight: 800; font-size: 1.75rem; margin-bottom: 8px; }
.wcard__body > p:last-child { font-size: .9rem; color: var(--muted); margin: 0; }
.wcard[data-cat="water"] .wcard__meta { color: var(--d2); }
.special { margin-top: 40px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px 50px; align-items: start; background: var(--navy); color: #fff; border-radius: 18px; padding: clamp(26px, 4vw, 44px); }
.special h3 { font-family: var(--display); font-weight: 800; font-size: 2.2rem; grid-row: span 3; }
.special ul { list-style: none; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.special li { position: relative; padding-left: 20px; font-size: .92rem; color: rgba(255,255,255,.88); }
.special li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--yellow); transform: rotate(45deg); }
.special p { color: rgba(255,255,255,.7); font-size: .92rem; margin: 10px 0 14px; }
.special .btn { justify-self: start; }

/* ---------- story extras ---------- */
.why__lede strong { color: var(--ink); }
.why__sub { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 30px 0 8px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.timeline li { padding: 14px 16px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -9px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 3px solid var(--sand); }
.timeline span { display: block; font-family: var(--display); font-weight: 800; font-size: 1.7rem; margin-top: 6px; }
.timeline p { font-size: .86rem; color: #3B4A5C; margin: 4px 0 0; }
.inline-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- impact ---------- */
.impact { background: var(--red); color: #fff; padding: clamp(50px, 7vw, 80px) 0; }
.impact__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 30px; }
.impact__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin: 0; }
.impact__grid div { border-top: 2px solid rgba(255,255,255,.4); padding-top: 14px; }
.impact__grid dt { font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; color: var(--yellow); }
.impact__grid dd { margin: 8px 0 0; font-size: .86rem; color: rgba(255,255,255,.9); }

/* ---------- trainers ---------- */
.trainers { background: var(--navy); color: #fff; padding: clamp(70px, 10vw, 120px) 0; }
.trainer { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(26px, 5vw, 60px); margin-top: 44px; align-items: start; }
.trainer__photo { border-radius: 18px; overflow: hidden; position: relative; aspect-ratio: 4 / 5; }
.trainer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 20%; }
.trainer__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10px; background: linear-gradient(90deg, var(--red) 50%, var(--yellow) 50%); }
.trainer__role { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.trainer h3 { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.8rem); margin-bottom: 16px; }
.trainer__body > p { color: rgba(255,255,255,.82); }
.trainer__stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 24px 0; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.trainer__stats dt { font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--yellow); }
.trainer__stats dd { margin: 4px 0 0; font-size: .8rem; color: rgba(255,255,255,.7); }
.honours { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.honours li { font-size: .92rem; color: rgba(255,255,255,.8); padding-left: 18px; position: relative; }
.honours li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.honours strong { color: #fff; }
.link-arrow--light { color: #fff; border-color: var(--yellow); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.person-card { display: flex; gap: 18px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 22px; }
.person-card h3 { font-family: var(--display); font-weight: 800; font-size: 1.6rem; margin-bottom: 6px; }
.person-card p { font-size: .9rem; color: rgba(255,255,255,.75); margin: 0; }
.monogram { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 900; font-size: 1.2rem; }

/* ---------- credentials ---------- */
.credentials { padding: clamp(70px, 10vw, 120px) 0; background: var(--sand); }
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 24px; }
.doc { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.doc__paper { display: block; width: 100%; padding: 10px; background: #fff; border: 0; border-radius: 4px; cursor: zoom-in; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 14px 30px -18px rgba(7,28,51,.55); transition: transform .3s ease, box-shadow .3s ease; }
.doc:nth-child(odd) .doc__paper { transform: rotate(-1.2deg); }
.doc:nth-child(even) .doc__paper { transform: rotate(1deg); }
.doc__paper:hover, .doc__paper:focus-visible { transform: rotate(0) translateY(-6px) scale(1.02); box-shadow: 0 30px 50px -24px rgba(7,28,51,.6); }
.doc__paper img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; object-position: center top; background: #fff; }
.doc figcaption { display: flex; flex-direction: column; gap: 4px; font-size: .86rem; color: #3B4A5C; }
.doc figcaption strong { font-size: 1rem; color: var(--ink); line-height: 1.3; }
.doc figcaption a { font-weight: 800; color: var(--red); text-decoration: none; margin-top: 4px; }
.doc figcaption a::before { content: "↓ "; }
.doc__tag { align-self: flex-start; font-size: .68rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff !important; background: var(--navy); padding: 4px 8px; border-radius: 4px; }

/* ---------- clients ---------- */
.clients { background: var(--navy-deep); color: #fff; padding: clamp(70px, 10vw, 120px) 0; }
.section-head__aside--light { color: rgba(255,255,255,.7); }
.client-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.client-cols h3 { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin: 0 0 10px; }
.client-cols ul { list-style: none; padding: 0; margin: 0 0 30px; }
.client-cols li { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.25; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.partners { margin-top: 20px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.18); }
.partners > p { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.partners ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.partners li { font-size: .85rem; font-weight: 700; padding: 8px 14px; border: 1.5px solid rgba(255,255,255,.25); border-radius: 999px; }

/* ---------- voices ---------- */
.voices { background: var(--yellow); padding: clamp(60px, 9vw, 100px) 0; }
.voices__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 50px; align-items: center; }
.voices blockquote { margin: 0; }
.voices blockquote p { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02; margin-bottom: 18px; }
.voices blockquote footer { font-size: .92rem; font-weight: 600; }
.oath { background: var(--navy); color: #fff; border-radius: 18px; padding: 28px; }
.oath__label { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 10px; }
.oath__text { font-size: 1.05rem; font-weight: 600; line-height: 1.5; }
.slogans { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.slogans li { font-size: .78rem; font-weight: 800; background: var(--red); padding: 6px 12px; border-radius: 999px; }

.contact-list__val { font-size: inherit !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink) !important; padding: 0 !important; }
.footer__motto { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--yellow); margin: 6px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: var(--navy-deep); flex-direction: column; align-items: flex-start; padding: 100px 30px 30px; gap: 22px; transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility 0s .35s; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s ease; box-shadow: -20px 0 40px rgba(0,0,0,.4); }
  .nav a { font-size: 1.15rem; }
  .nav__cta { margin: 10px 0 0; }
  .burger { display: block; position: relative; z-index: 2; }
  .wgrid, .docs { grid-template-columns: repeat(3, 1fr); }
  .impact__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { position: absolute; right: -40px; top: -30px; width: 280px; height: 340px; opacity: .3; z-index: -1; }
  .ring { display: none; }
  .depth__grid { grid-template-columns: 1fr; gap: 20px; }
  .depth__label { position: static; flex-direction: row; align-items: center; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .steps::before { display: none; }
  .ready__grid, .corporate__grid, .join__grid, .enrol__grid, .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .why { grid-template-columns: 1fr; }
  .why__art { min-height: 300px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .wgrid, .docs { grid-template-columns: repeat(2, 1fr); }
  .special { grid-template-columns: 1fr; }
  .special h3 { grid-row: auto; }
  .trainer, .voices__grid { grid-template-columns: 1fr; }
  .trainer__photo { aspect-ratio: 16 / 10; }
  .client-cols { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 10px 0; }
}
@media (max-width: 680px) {
  .wgrid, .docs, .people, .client-cols, .special ul { grid-template-columns: 1fr; }
  .docs { gap: 30px; }
  .impact__grid { grid-template-columns: 1fr 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  body { font-size: 16px; }
  .depth__pair, .renewals__grid, .pillars, .row2 { grid-template-columns: 1fr; }
  .renewal { grid-template-columns: 1fr auto; }
  .renewal .link-arrow { grid-column: 1 / -1; justify-self: start; }
  .course__top { flex-direction: column; gap: 6px; }
  .course__facts div { grid-template-columns: 1fr; gap: 2px; }
  .steps { grid-template-columns: 1fr; }
  .hero__stats { gap: 14px 28px; }
  .hero__stats dt { font-size: 2.1rem; }
  .brand__text small { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 44px 1fr 44px; padding: 20px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
