/* =========================================================
   77th ISAS Annual Conference — "Kerala Green" theme
   Palette built around pure green #008000: primary green with
   deeper tones for hover/dark sections, forest & sea-green
   variants, a fresh lime accent and soft mint-tinted neutrals.
   Serif display (Fraunces) + humanist sans (Manrope).
   Motifs: temple arches, kasavu border stripes, backwater ripples.
   ========================================================= */
:root {
  --sand: #f2f8f1;          /* page background — mint white   */
  --cream: #e0f0dc;         /* alternate sections — pale green */
  --paper: #fbfefa;         /* cards                           */
  --ink: #0b2410;
  --ink-2: #24402a;
  --muted: #56705a;
  --line: #cde3c8;
  --terra: #008000;         /* PRIMARY green                   */
  --terra-deep: #006600;    /* primary, 20% darker             */
  --laterite: #004d00;      /* primary, hover / pressed        */
  --turmeric: #b4e85c;      /* bright lime accent              */
  --gold: #43a843;          /* kasavu stripe green             */
  --coconut: #228b22;       /* forest green variant            */
  --coconut-deep: #023d0c;  /* dark sections, footer, CTA      */
  --teal: #2e8b57;          /* sea green variant               */

  /* legacy token names used inline in page markup, remapped to the new palette */
  --steel: var(--laterite);
  --royal: var(--terra);
  --royal-deep: var(--laterite);
  --leaf: var(--coconut);
  --orange: var(--terra);
  --forest: var(--coconut-deep);
  --lime: var(--turmeric);
  --white: var(--paper);

  --radius: 22px;
  --arch: 999px 999px 22px 22px;
  --shadow: 0 14px 40px -18px rgba(0, 40, 6, .35);
  --shadow-lg: 0 30px 70px -28px rgba(0, 40, 6, .45);
  --head: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --kasavu: linear-gradient(var(--cream) 0 3px, var(--gold) 3px 6px, var(--cream) 6px 8px, var(--gold) 8px 10px, var(--cream) 10px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
.grid-2 > *, .grid-3 > *, .hero-inner > *, .strip .wrap > * { min-width: 0; }
a { color: var(--terra); text-decoration: none; transition: color .2s; }
a:hover { color: var(--laterite); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; color: var(--ink); font-weight: 600; font-optical-sizing: auto; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); font-weight: 500; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -.015em; }
h3 { font-size: 1.32rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
sup { font-size: .6em; }
em { font-style: italic; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sr-only:focus { position: fixed; z-index: 999; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 8px 14px; background: var(--paper); border-radius: 10px; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2.6rem; } .mb-0 { margin-bottom: 0; }
.note { font-size: .86rem; color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); }
.tba { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; background: var(--turmeric); color: var(--ink); vertical-align: middle; }
.badge-soft { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--cream); color: var(--terra-deep); }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px;
  font-family: var(--body); font-size: .95rem; font-weight: 700; letter-spacing: .01em;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terra); color: var(--paper); box-shadow: 0 10px 24px -10px rgba(0, 128, 0, .7); }
.btn-primary:hover { background: var(--laterite); color: var(--paper); }
.btn-sun, .btn-lime { background: var(--turmeric); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(180, 232, 92, .8); }
.btn-sun:hover, .btn-lime:hover { background: #c6ef80; color: var(--ink); }
.btn-ghost { border-color: rgba(251, 254, 250, .7); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-outline { border-color: var(--terra); color: var(--terra); }
.btn-outline:hover { background: var(--terra); color: var(--paper); }

/* ---------- Ribbon + masthead ---------- */
.ribbon { background: var(--coconut-deep); color: #d6ecd3; font-size: .8rem; }
.ribbon .wrap { display: flex; justify-content: center; gap: 28px; min-height: 34px; align-items: center; flex-wrap: wrap; }
.ribbon span, .ribbon a { display: inline-flex; align-items: center; gap: 7px; color: #d6ecd3; }
.ribbon a:hover { color: var(--turmeric); }
.ribbon .icon { color: var(--turmeric); }

.masthead { position: sticky; top: 0; z-index: 50; background: rgba(242, 248, 241, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .3s; }
.masthead::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: var(--kasavu); pointer-events: none; z-index: 1; }
.masthead.stuck { box-shadow: 0 10px 30px -20px rgba(0, 40, 6, .6); }
.masthead > .wrap { max-width: 1480px; display: flex; align-items: center; gap: 18px; min-height: 76px; }
.mark { display: flex; align-items: center; gap: 14px; flex: none; color: var(--ink); }
.mark-logos { display: flex; align-items: center; gap: 10px; }
.mark-logos img { height: 44px; width: auto; }
.mark-logos .lg-cmfri { height: 40px; border-radius: 6px; }
.mark-text { display: flex; flex-direction: column; line-height: 1.05; padding-left: 14px; border-left: 1px solid var(--line); }
.mark-text b { font-family: var(--head); font-size: 1.35rem; font-weight: 600; }
.mark-text b em { color: var(--terra); }
.mark-text small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mark:hover { color: var(--ink); }
.mark-emblem { display: flex; align-items: center; padding-left: 14px; border-left: 1px solid var(--line); }
.mark-emblem img { height: 64px; width: auto; filter: drop-shadow(0 3px 6px rgba(0, 40, 6, .18)); transition: transform .3s; }
.mark:hover .mark-emblem img { transform: scale(1.06) rotate(-2deg); }

.nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 3px; padding: 10px 9px; font-size: .88rem; font-weight: 600; color: var(--ink-2); border-radius: 999px; white-space: nowrap; }
.menu > li > a .icon { font-size: .8em; opacity: .6; transition: transform .2s; }
.menu > li > a:hover, .menu > li:hover > a { color: var(--terra); }
.menu > li > a.active { color: var(--terra); background: rgba(0, 128, 0, .09); }
.submenu { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); left: -6px; min-width: 250px; z-index: 10; background: var(--paper); border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s; }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.submenu a { display: block; padding: 8px 14px; border-radius: 12px; font-size: .9rem; color: var(--ink-2); }
.submenu a:hover { background: var(--sand); color: var(--terra); }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > a .icon { transform: rotate(180deg); }
.menu-close, .menu-cta { display: none; }
.head-cta { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; background: var(--terra); color: var(--paper); font-weight: 700; font-size: .88rem; }
.head-cta:hover { background: var(--laterite); color: var(--paper); }
.burger { display: none; background: none; border: 1.5px solid var(--line); border-radius: 999px; width: 44px; height: 44px; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--ink); cursor: pointer; }
.scrim { position: fixed; inset: 0; background: rgba(2, 40, 10, .45); opacity: 0; visibility: hidden; transition: .3s; z-index: 60; }
.scrim.show { opacity: 1; visibility: visible; }

/* Compact desktop header: emblem + 3 logos + 10 menu items + CTA in one row */
@media (max-width: 1540px) {
  .masthead > .wrap { gap: 12px; }
  .mark { gap: 10px; }
  .mark-logos { gap: 8px; }
  .mark-logos img { height: 38px; } .mark-logos .lg-cmfri { height: 34px; }
  .mark-emblem { padding-left: 10px; } .mark-emblem img { height: 56px; }
  .menu > li > a { padding: 10px 6px; font-size: .84rem; }
  .head-cta { padding: 8px 14px; font-size: .84rem; }
}
@media (max-width: 1320px) {
  .burger { display: inline-flex; }
  .head-cta { margin-left: auto; }
  .nav { margin-left: 0; }
  .menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); flex-direction: column; align-items: stretch; gap: 0; padding: 18px 18px 40px; background: var(--paper); z-index: 70; overflow-y: auto; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .menu.open { transform: none; box-shadow: var(--shadow-lg); }
  .menu-close { display: flex; justify-content: space-between; align-items: center; padding: 0 0 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); font-family: var(--head); font-size: 1.3rem; color: var(--ink); }
  .menu-close .burger { display: inline-flex; }
  .menu > li > a { justify-content: space-between; padding: 13px 10px; font-size: 1rem; border-radius: 12px; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 10px; display: none; background: transparent; min-width: 0; }
  .has-sub.open > .submenu { display: block; }
  .has-sub.open > a .icon { transform: rotate(180deg); }
  .has-sub:hover > a .icon { transform: none; }
  .menu-cta { display: block; margin-top: 18px; }
  .menu-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .hide-sm { display: none !important; }
  .mark-logos img { height: 36px; } .mark-logos .lg-cmfri { height: 32px; }
  .mark { gap: 10px; } .mark-emblem { padding-left: 10px; } .mark-emblem img { height: 48px; }
  .head-cta { display: none; }
  .burger { margin-left: auto; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; color: var(--paper); min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: center; padding: 90px 0 150px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; filter: brightness(1.08) saturate(1.2) contrast(1.04); animation: drift 30s ease-in-out infinite alternate; }
/* Bright banner: a green wash only behind the copy, fading to a clear, sunlit photo on the right */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(100deg, rgba(0, 72, 0, .82) 0%, rgba(0, 110, 0, .58) 38%, rgba(0, 128, 0, .16) 68%, rgba(0, 128, 0, 0) 100%),
    linear-gradient(0deg, rgba(0, 60, 0, .35) 0%, rgba(0, 60, 0, 0) 30%); }
.hero h1, .hero-sub { text-shadow: 0 2px 18px rgba(0, 40, 0, .35); }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.14) translateX(-2%); } }
.hero-inner { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: center; }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #e2f2df; margin-bottom: 26px; }
.hero-kicker span { background: var(--turmeric); color: var(--ink); padding: 5px 14px; border-radius: 999px; font-weight: 800; letter-spacing: .08em; }
.hero h1 { color: var(--paper); margin-bottom: 26px; }
.hero h1 em { color: var(--turmeric); font-weight: 400; }
.hero-sub { max-width: 620px; font-size: 1.05rem; color: #e6f4e2; border-left: 2px solid var(--gold); padding-left: 18px; }
.hero-sub b { color: var(--paper); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-arch { position: relative; justify-self: end; width: 100%; max-width: 340px; }
.hero-arch::before { content: ""; position: absolute; inset: -18px -18px 30px 18px; border-radius: var(--arch); border: 1.5px solid rgba(180, 232, 92, .6); z-index: -1; }
.arch-frame .nets-crop { object-position: 96% 55%; }
.arch-frame { border-radius: var(--arch); overflow: hidden; aspect-ratio: 3 / 4; border: 8px solid rgba(251, 254, 250, .9); box-shadow: 0 40px 80px -30px rgba(0, 20, 4, .7); }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.seal { position: absolute; left: -46px; bottom: 34px; width: 150px; height: 150px; border-radius: 50%; background: var(--turmeric); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 18px 40px -14px rgba(0, 20, 4, .6); transform: rotate(-8deg); outline: 2px dashed rgba(2, 40, 10, .35); outline-offset: -10px; }
.seal b { font-family: var(--head); font-size: 2.3rem; line-height: 1; font-weight: 600; }
.seal span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-sectors { position: absolute; left: 0; right: 0; bottom: 74px; list-style: none; margin: 0 auto; padding: 0 22px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; max-width: var(--wrap); }
.hero-sectors li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(251, 254, 250, .1); border: 1px solid rgba(251, 254, 250, .25); font-size: .85rem; font-weight: 600; color: #eef8ec; backdrop-filter: blur(6px); }
.hero-sectors .icon { color: var(--turmeric); font-size: 1.1em; }
.wave-bottom { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; }
@media (max-width: 960px) {
  .hero { padding: 60px 0 200px; min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-arch { justify-self: center; max-width: 280px; }
  .seal { left: -30px; width: 120px; height: 120px; } .seal b { font-size: 1.8rem; }
}
@media (max-width: 560px) {
  .hero-sectors { bottom: 60px; gap: 6px; }
  .hero-sectors li { padding: 5px 11px; font-size: .78rem; }
  .hero { padding-bottom: 230px; }
}

/* ---------- Countdown + milestones strip ---------- */
.strip { padding: 50px 0 56px; position: relative; }
/* Light separator below the countdown: fading hairline with a small lime diamond in the middle */
.strip::before { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(1100px, calc(100% - 44px)); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 128, 0, .28) 20%, rgba(0, 128, 0, .28) 80%, transparent); }
.strip::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg);
  background: var(--turmeric); border: 2px solid var(--sand); box-shadow: 0 0 0 1px rgba(0, 128, 0, .28); }
.strip .wrap { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center; }
.cd-label { font-family: var(--head); font-style: italic; font-size: 1.15rem; color: var(--terra); margin-bottom: 10px; }
.countdown { display: flex; gap: 10px; }
.cd-box { width: 86px; padding: 14px 6px 10px; text-align: center; background: var(--paper); border-radius: 18px 18px 18px 4px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.cd-box b { display: block; font-family: var(--head); font-size: 2.2rem; line-height: 1; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.cd-box span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); }
.ms { padding: 6px 22px; border-left: 1px solid var(--line); }
.ms:first-child { border-left: 0; }
.ms b { display: block; font-family: var(--head); font-size: 2.6rem; line-height: 1; color: var(--terra); font-weight: 500; font-style: italic; }
.ms span { display: block; font-size: .9rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }
@media (max-width: 900px) { .strip .wrap { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 520px) {
  .countdown { gap: 6px; } .cd-box { width: auto; flex: 1; } .cd-box b { font-size: 1.7rem; }
  .milestones { grid-template-columns: 1fr; gap: 16px; } .ms { border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; } .ms:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section.alt { background: var(--cream); }
.section.alt + .section.alt { padding-top: 0; }
.section.dark { background: var(--coconut-deep); color: #c4dcc5; }
.section.dark h2, .section.dark h3, .section.dark h4 { color: var(--paper); }
.section.dark .lead { color: #b2d1b4; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--terra); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.section.dark .eyebrow { color: var(--turmeric); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 50px; }
.sec-head .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head.left .eyebrow::after { display: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-2 { grid-template-columns: 1fr; gap: 40px; } .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 70px 0; } }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: relative; }
.card > .icon:first-child { font-size: 2rem; color: var(--terra); margin-bottom: 10px; }
.card.accent { border-top: 0; padding-top: 36px; overflow: hidden; }
.card.accent::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--kasavu); }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card.center h3 { justify-content: center; }
.card.bluebg { background: linear-gradient(160deg, var(--paper), #e2f2dc); }
.stack { display: grid; gap: 18px; }

/* ---------- About media (arched photo + round inset) ---------- */
.about-media { position: relative; padding: 0 0 30px 30px; }
.about-media .main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--arch); box-shadow: var(--shadow-lg); }
.about-media::before { content: ""; position: absolute; left: 0; top: 40px; right: 40px; bottom: 0; border-radius: var(--arch); background: var(--cream); z-index: -1; }
.section.alt .about-media::before { background: var(--sand); }
.about-media .hexmini { position: absolute; z-index: 2; left: 0; top: 30%; width: 128px; height: 128px; border-radius: 50%; overflow: hidden; border: 6px solid var(--sand); box-shadow: var(--shadow); }
.section.alt .about-media .hexmini { border-color: var(--cream); }
.about-media .hexmini img { width: 100%; height: 100%; object-fit: cover; }
.about-media .badge { position: absolute; z-index: 2; right: -10px; bottom: 0; max-width: 230px; background: var(--coconut-deep); color: #d2eacf; padding: 18px 22px; border-radius: 20px 20px 20px 4px; font-size: .86rem; line-height: 1.4; box-shadow: var(--shadow-lg); }
.about-media .badge b { display: block; font-family: var(--head); font-size: 2.6rem; line-height: 1; color: var(--turmeric); font-style: italic; font-weight: 500; margin-bottom: 4px; }
/* Emblem variant: whole logo, uncropped, on a soft circular backdrop */
.about-media.emblem { padding: 50px 30px; display: flex; justify-content: center; align-items: center; }
.about-media.emblem::before { left: 50%; top: 50%; right: auto; bottom: auto; width: min(100%, 520px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--paper) 0 52%, var(--cream) 53% 100%); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .6), var(--shadow-lg); }
.about-media.emblem .main { width: min(100%, 420px); aspect-ratio: auto; height: auto; object-fit: contain; border-radius: 0; box-shadow: none; filter: drop-shadow(0 18px 24px rgba(0, 40, 6, .18)); }
/* Light decoration: slow-turning dashed orbit with two small lime "seeds" */
.about-media.emblem::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(calc(100% + 40px), 570px); aspect-ratio: 1; z-index: -2; border-radius: 50%;
  border: 1.5px dashed rgba(0, 128, 0, .28); transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 0, var(--turmeric) 0 6px, transparent 7px), radial-gradient(circle at 50% 100%, var(--gold) 0 5px, transparent 6px);
  animation: orbit 60s linear infinite; }
@keyframes orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .about-media.emblem::after { animation: none; } }
@media (max-width: 600px) { .about-media.emblem { padding: 34px 0; } .about-media.emblem .main { width: 82%; } .about-media.emblem::after { width: calc(100% + 10px); } }

/* Framed variant: plain rectangular photo with white border + shadow (no arch) */
.about-media.framed { padding: 0 0 40px; }
.about-media.framed::before { display: none; }
.about-media.framed .main { aspect-ratio: auto; height: auto; border-radius: 14px; border: 8px solid var(--paper); box-shadow: 0 2px 0 1px var(--line), var(--shadow-lg); }
.about-media.framed .badge { left: 50%; right: auto; transform: translateX(-50%); max-width: none; width: max-content; display: flex; align-items: center; gap: 14px; padding: 12px 22px; border-radius: 16px; }
.about-media.framed .badge b { font-size: 2.3rem; margin: 0; padding-right: 14px; border-right: 1px solid rgba(180, 232, 92, .35); }
@media (max-width: 600px) { .about-media.framed { padding: 0 0 46px; } .about-media.framed .badge { width: 90%; font-size: .8rem; } }
@media (max-width: 600px) { .about-media { padding: 0 0 24px 14px; } .about-media .badge { right: 0; } .about-media .hexmini { width: 92px; height: 92px; } }

.checks { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--terra); color: var(--paper); stroke-width: 2.6; margin-top: 2px; }

/* ---------- Sectors carousel ---------- */
.section.alt .sec-head.left { margin-bottom: 30px; }
.carousel-nav { display: flex; gap: 10px; justify-content: flex-end; margin: -70px 0 24px; }
.carousel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink-2); background: transparent; color: var(--ink); font-size: 1.15rem; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; }
.carousel-nav button:hover { background: var(--ink); color: var(--paper); }
.sectors { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 300px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; scrollbar-color: var(--terra) transparent; }
.sector { scroll-snap-align: start; background: var(--paper); border-radius: 160px 160px 22px 22px; padding: 12px 12px 24px; box-shadow: var(--shadow); position: relative; }
.sector img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: 150px 150px 14px 14px; }
.sector .chip { position: absolute; top: 46%; left: 24px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--paper); font-size: .78rem; font-weight: 700; color: var(--terra-deep); box-shadow: var(--shadow); }
.sector .stat { font-family: var(--head); font-size: 2rem; font-weight: 600; color: var(--terra); margin: 18px 12px 2px; line-height: 1; }
.sector .stat small { font-family: var(--body); font-size: .8rem; font-weight: 600; color: var(--muted); margin-left: 6px; }
.sector h3 { margin: 6px 12px 6px; font-size: 1.2rem; }
.sector p { margin: 0 12px; font-size: .92rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 700px) { .carousel-nav { margin: 0 0 18px; } }

/* ---------- Theme cards ---------- */
.theme-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.theme-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--terra); }
.theme-card .num { position: absolute; right: 18px; top: 6px; font-family: var(--head); font-style: italic; font-size: 3.2rem; font-weight: 500; color: var(--cream); line-height: 1; transition: color .25s; }
.theme-card:hover .num { color: rgba(180, 232, 92, .45); }
.theme-ico { width: 54px; height: 54px; border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; background: var(--cream); color: var(--terra); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; position: relative; }
.theme-card:nth-child(3n+2) .theme-ico { color: var(--coconut); }
.theme-card:nth-child(3n) .theme-ico { color: var(--teal); }
.theme-card h3 { font-size: 1.12rem; line-height: 1.3; position: relative; }
.theme-card p { margin: 0; font-size: .92rem; color: var(--muted); position: relative; }

/* ---------- Stats band ---------- */
/* Photo band: the drone-over-paddy image shows through clearly, with a green wash top & bottom for legible text */
.stats-band { overflow: hidden; isolation: isolate; padding: 120px 0; background: var(--coconut-deep); }
.stats-band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; z-index: -2; filter: saturate(1.1); animation: drift 30s ease-in-out infinite alternate; }
.stats-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(0, 18, 30, .5) 0%, rgba(0, 18, 30, .22) 32%, rgba(0, 0, 0, 0) 55%, rgba(2, 30, 8, .35) 100%),
  radial-gradient(ellipse at 50% 30%, rgba(0, 18, 30, .28) 0%, transparent 45%); }
.stats-band::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--kasavu); }
.stats-band .sec-head h2 { text-shadow: 0 2px 18px rgba(0, 30, 0, .5); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-card { text-align: center; padding: 36px 18px 32px; border-radius: var(--arch); border: 1px solid rgba(251, 254, 250, .28); background: linear-gradient(180deg, rgba(2, 50, 12, .5), rgba(2, 40, 10, .32)); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 24px 50px -24px rgba(0, 20, 4, .8), inset 0 1px 0 rgba(255, 255, 255, .18); transition: transform .3s, border-color .3s, box-shadow .3s; }
.stat-card:hover { transform: translateY(-6px); border-color: var(--turmeric); box-shadow: 0 30px 60px -24px rgba(0, 20, 4, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.stat-card .icon { font-size: 1.5rem; color: var(--ink); background: var(--turmeric); width: 54px; height: 54px; padding: 13px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(180, 232, 92, .2); }
.stat-card b { display: block; font-family: var(--head); font-size: 3.8rem; line-height: 1.05; color: var(--paper); font-weight: 500; font-style: italic; margin-top: 14px; text-shadow: 0 2px 14px rgba(0, 30, 0, .5); }
.stat-card span { font-size: .9rem; font-weight: 600; color: #e2f2df; }
@media (max-width: 860px) { .stats-band { padding: 90px 0; } }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Important dates ---------- */
.dates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.dates::before { content: ""; position: absolute; left: 12%; right: 12%; top: 62px; border-top: 2px dashed var(--terra); opacity: .4; }
.date-item { text-align: center; position: relative; }
.date-circle { width: 124px; height: 124px; margin: 0 auto 18px; border-radius: 50% 50% 50% 8px; background: var(--terra); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--cream), var(--shadow); }
.section:not(.alt) .date-circle { box-shadow: 0 0 0 8px var(--sand), var(--shadow); }
.date-item:nth-child(2) .date-circle { background: var(--coconut); }
.date-item:nth-child(3) .date-circle { background: var(--teal); }
.date-item:nth-child(4) .date-circle { background: var(--turmeric); color: var(--ink); }
.date-circle b { font-family: var(--head); font-size: 2.8rem; line-height: 1; font-weight: 600; }
.date-circle span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.date-item h4 { margin-bottom: 8px; }
.pill { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--paper); color: var(--terra-deep); border: 1px solid var(--line); }
.date-item.past { opacity: .55; }
.date-item.past .date-circle { background: #8fa892; color: var(--paper); }
.date-item.past .pill { background: transparent; color: var(--muted); }
@media (max-width: 860px) { .dates { grid-template-columns: 1fr 1fr; row-gap: 36px; } .dates::before { display: none; } }

/* ---------- Highlights ---------- */
.hl-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; align-items: center; }
.hl-ring { aspect-ratio: 3 / 4; max-width: 360px; width: 100%; border-radius: var(--arch); background: radial-gradient(circle at 50% 30%, rgba(180, 232, 92, .35), transparent 60%), var(--coconut-deep); display: flex; align-items: center; justify-content: center; text-align: center; position: relative; box-shadow: var(--shadow-lg); }
.hl-ring::after { content: ""; position: absolute; inset: 14px; border-radius: var(--arch); border: 1.5px solid rgba(180, 232, 92, .5); }
.hl-ring h2 { color: var(--paper); font-style: italic; font-weight: 500; margin: 0; }
.hl-list { display: grid; gap: 12px; }
.hl-pill { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); padding: 16px 20px; border-radius: 18px; transition: transform .2s, border-color .2s; }
.hl-pill:hover { transform: translateX(6px); border-color: var(--terra); }
.hl-pill .icon { font-size: 1.4rem; color: var(--terra); margin-top: 2px; }
.hl-pill b { color: var(--ink); }
@media (max-width: 960px) { .hl-layout { grid-template-columns: 1fr; } .hl-ring { margin: 0 auto; max-width: 260px; } }

/* ---------- Building banner ---------- */
.building { position: relative; }
.building img { width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; }
.building::before, .building::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: var(--kasavu); z-index: 1; }
.building::before { top: 0; } .building::after { bottom: 0; }

/* Venue card (home): photo (native 600x340) + address, inset from a soft rounded border */
.venue-sec { padding: 80px 0; }
.venue-card { position: relative; display: grid; grid-template-columns: 600px 1fr; grid-template-areas: "photo info"; gap: 32px 40px; align-items: center;
  padding: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); }
.venue-card::before { content: ""; position: absolute; inset: 12px; border: 1.5px dashed rgba(0, 128, 0, .22); border-radius: 20px; pointer-events: none; }
.venue-card .vb-photo { grid-area: photo; margin: 0; line-height: 0; }
/* Shown at its native size: never upscaled, only scales down on narrow screens */
.venue-card .vb-photo img { width: 600px; max-width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.venue-card .vb-info { grid-area: info; padding-right: 8px; }
.venue-card .eyebrow { margin-bottom: 10px; }
.venue-card h2 { color: var(--steel); font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.2; margin-bottom: 18px; }
.venue-card address { font-style: normal; display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; color: var(--ink-2); margin-bottom: 10px; }
.venue-card address .icon, .venue-card .vb-meta .icon { color: var(--terra); font-size: 1.15rem; flex: none; margin-top: 3px; }
.venue-card .vb-meta { display: flex; gap: 12px; align-items: center; color: var(--ink-2); margin: 0 0 24px; }
.venue-card .vb-meta .icon { margin-top: 0; }
.venue-card .vb-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.venue-card .vb-actions .btn { padding: 11px 20px; font-size: .9rem; }
@media (max-width: 1100px) {
  .venue-card { grid-template-columns: 1fr; grid-template-areas: "photo" "info"; justify-items: center; }
  .venue-card .vb-info { justify-self: stretch; max-width: 600px; width: 100%; margin: 0 auto; padding-right: 0; }
}
@media (max-width: 640px) {
  .venue-sec { padding: 56px 0; }
  .venue-card { padding: 24px 20px; gap: 24px; border-radius: 22px; }
  .venue-card::before { inset: 8px; border-radius: 16px; }
}

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 50px 56px; border-radius: 32px; background: radial-gradient(ellipse at 100% 0%, rgba(180, 232, 92, .35), transparent 50%), var(--coconut-deep); color: #c4dcc5; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; border: 1.5px solid rgba(180, 232, 92, .35); box-shadow: 0 0 0 30px rgba(180, 232, 92, .05), 0 0 0 60px rgba(180, 232, 92, .04); }
.cta h2 { color: var(--paper); margin-bottom: 8px; }
.cta p { margin: 0; }
.cta > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 36px 26px; } }

/* ---------- Logos ---------- */
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.logo-tile { width: 210px; height: 130px; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.logo-tile img { max-height: 90px; width: auto; }
.logo-tile.ph { border: 1.5px dashed var(--line); background: transparent; color: var(--muted); font-size: .85rem; font-weight: 600; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; color: var(--paper); padding: 110px 0 120px; overflow: hidden; isolation: isolate; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: drift 30s ease-in-out infinite alternate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 64, 0, .86), rgba(0, 104, 0, .55) 60%, rgba(0, 128, 0, .25)); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 50px; background: var(--sand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cpath d='M0 25c120-18 240-18 360 0s240 18 360 0 240-18 360 0 240 18 360 0v25H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cpath d='M0 25c120-18 240-18 360 0s240 18 360 0 240-18 360 0 240 18 360 0v25H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.page-hero h1 { color: var(--paper); font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 14px; }
.page-hero p { max-width: 640px; font-size: 1.08rem; color: #e6f4e2; margin: 0; }
.page-hero p b { color: var(--turmeric); font-weight: 600; }
.crumbs { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--turmeric); margin-bottom: 18px; }
.crumbs a { color: #e2f2df; }
.crumbs a:hover { color: var(--paper); }

/* ---------- Office bearers ---------- */
.ob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ob { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px 20px; font-weight: 600; color: var(--ink); position: relative; padding-top: 44px; }
.ob .lbl { position: absolute; top: 14px; left: 22px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); background: var(--terra); padding: 3px 12px; border-radius: 999px; }
.ob.c2 .lbl, .ob.c6 .lbl { background: var(--coconut); }
.ob.c3 .lbl, .ob.c7 .lbl { background: var(--teal); }
.ob.c4 .lbl, .ob.c8 .lbl { background: var(--turmeric); color: var(--ink); }
.ob.full { grid-column: 1 / -1; font-weight: 500; }
@media (max-width: 680px) { .ob-grid { grid-template-columns: 1fr; } }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 40px; }
.people.two { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin-left: auto; margin-right: auto; }
.person { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px 24px; transition: transform .25s, box-shadow .25s; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.avatar { width: 88px; height: 106px; margin: 0 auto 16px; border-radius: var(--arch); background: linear-gradient(160deg, var(--terra), var(--laterite)); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 1.7rem; font-style: italic; box-shadow: 0 0 0 5px var(--cream); }
.person:nth-child(4n+2) .avatar { background: linear-gradient(160deg, var(--coconut), var(--coconut-deep)); }
.person:nth-child(4n+3) .avatar { background: linear-gradient(160deg, var(--teal), #1f6b43); }
.person:nth-child(4n+4) .avatar { background: linear-gradient(160deg, var(--turmeric), #8cc63f); color: var(--ink); }
.role { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin-bottom: 6px; }
.person h3 { font-size: 1.15rem; margin-bottom: 6px; }
/* Committee portraits: larger arch avatars; initials-only avatars in the same grid match the size */
.people.with-photos .avatar { width: 120px; height: 144px; font-size: 2.1rem; margin-bottom: 18px; }
.avatar.photo { overflow: hidden; background: var(--cream); }
.avatar.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .4s ease; }
.person:hover .avatar.photo img { transform: scale(1.05); }
.aff { font-size: .88rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 960px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .people, .people.two { grid-template-columns: 1fr; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 620px; }
.tbl th { background: var(--coconut-deep); color: var(--paper); text-align: left; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 14px 18px; }
.tbl td { padding: 12px 18px; border-top: 1px solid var(--line); }
.tbl tbody tr:nth-child(even) { background: rgba(224, 240, 220, .45); }
.tbl b { color: var(--ink); }
.tbl .price { font-family: var(--head); font-size: 1.1rem; font-weight: 600; color: var(--terra); }

/* ---------- Fees / tiers ---------- */
.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.fee { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 34px 30px; position: relative; text-align: center; }
.fee h3 { font-size: 1.25rem; }
.fee .amt { font-family: var(--head); font-size: 3rem; font-weight: 600; color: var(--terra); line-height: 1.1; }
.fee .amt + div { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fee ul { list-style: none; padding: 0; margin: 22px 0 0; text-align: left; }
.fee li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: .93rem; }
.fee li b { color: var(--ink); }
.fee li .icon { color: var(--coconut); font-size: 1.2rem; stroke-width: 2.4; }
.fee.featured { background: var(--coconut-deep); border-color: var(--coconut-deep); color: #c4dcc5; transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.fee.featured h3, .fee.featured li b { color: var(--paper); }
.fee.featured .amt { color: var(--turmeric); }
.fee.featured .amt + div { color: #b2d1b4; }
.fee.featured li { border-color: rgba(251, 254, 250, .18); }
.fee.featured li .icon { color: var(--turmeric); }
.fee .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--turmeric); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 900px) { .fees { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .fee.featured { transform: none; } }

.kv { display: grid; grid-template-columns: 120px 1fr; gap: 12px 16px; margin: 18px 0 0; }
.kv dt { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.kv dd { margin: 0; font-weight: 700; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kv dd small { display: block; width: 100%; color: var(--muted); }
.copy-btn { font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 1.5px solid var(--terra); background: transparent; color: var(--terra); cursor: pointer; }
.copy-btn:hover { background: var(--terra); color: var(--paper); }
.upi { display: flex; gap: 22px; align-items: center; margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.upi-qr { flex: none; padding: 10px; background: var(--paper); border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.upi-qr::before, .upi-qr::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid var(--terra); }
.upi-qr::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.upi-qr::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.upi-qr img { width: 148px; height: 148px; border-radius: 10px; }
.upi-text h4 { margin: 10px 0 6px; font-size: 1.15rem; }
.upi-text p { font-size: .88rem; color: var(--muted); margin-bottom: 10px; line-height: 1.5; }
@media (max-width: 460px) { .upi { flex-direction: column; text-align: center; } }
@media (max-width: 460px) { .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 10px; } }

/* ---------- Ordered lists ---------- */
.objectives { list-style: none; counter-reset: o; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; }
.objectives li { counter-increment: o; display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.objectives li::before { content: counter(o, decimal-leading-zero); font-family: var(--head); font-style: italic; font-size: 1.6rem; font-weight: 500; color: var(--terra); line-height: 1.1; }
.objectives li:last-child { border-bottom: 0; }

/* ---------- Programme tabs ---------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.tab-btn { font: inherit; display: flex; flex-direction: column; align-items: center; padding: 12px 26px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-family: var(--head); font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: .2s; line-height: 1.2; }
.tab-btn small { font-family: var(--body); font-size: .74rem; font-weight: 600; color: var(--muted); }
.tab-btn:hover { border-color: var(--terra); }
.tab-btn.active { background: var(--terra); border-color: var(--terra); color: var(--paper); }
.tab-btn.active small { color: #d7f0d2; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .4s ease; }
.slot { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.slot .time { font-family: var(--head); font-size: 1.05rem; font-weight: 600; color: var(--terra); font-variant-numeric: tabular-nums; }
.slot h4 { font-size: 1.15rem; margin: 6px 0 4px; }
.slot p { margin: 0; font-size: .93rem; color: var(--muted); }
.type { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 11px; border-radius: 999px; background: rgba(46, 139, 87, .12); color: var(--teal); }
.type.k { background: rgba(0, 128, 0, .12); color: var(--terra-deep); }
.type.b { background: var(--cream); color: var(--muted); }
@media (max-width: 600px) { .slot { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- FRAEED thrust areas ---------- */
.thrust { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.thrust .t { padding: 26px 22px; border-radius: 22px; border: 1px solid rgba(180, 232, 92, .3); background: rgba(251, 254, 250, .04); transition: background .25s; }
.thrust .t:hover { background: rgba(251, 254, 250, .08); }
.thrust .t .icon { font-size: 1.8rem; color: var(--turmeric); margin-bottom: 12px; }
.thrust .t h4 { font-size: 1.05rem; }
.thrust .t p { margin: 0; font-size: .88rem; color: #b2d1b4; }

/* ---------- Travel ---------- */
.travel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.travel .card > .icon:first-child { width: 58px; height: 58px; padding: 14px; border-radius: 50%; background: var(--cream); }
@media (max-width: 860px) { .travel { grid-template-columns: 1fr; } }
.map-frame { width: 100%; height: 400px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); display: block; filter: saturate(.85) hue-rotate(-8deg); }

/* ---------- Gallery ---------- */
.gallery { columns: 3 280px; column-gap: 18px; }
.gallery a { display: block; position: relative; margin-bottom: 18px; border-radius: 20px; overflow: hidden; break-inside: avoid; box-shadow: var(--shadow); }
.gallery a:nth-child(5n+1) { border-radius: 160px 160px 20px 20px; }
.gallery img { width: 100%; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery span { position: absolute; left: 12px; bottom: 12px; padding: 5px 14px; border-radius: 999px; background: rgba(251, 254, 250, .92); color: var(--ink); font-size: .8rem; font-weight: 700; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(1, 30, 6, .92); display: flex; align-items: center; justify-content: center; padding: 30px; opacity: 0; visibility: hidden; transition: .3s; }
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 16px; }
.lightbox button { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); font-size: 1.6rem; cursor: pointer; }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; margin-top: 10px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--ink); padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--sand); transition: border-color .2s, background .2s; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--terra); background: var(--paper); }
.form .btn { justify-self: start; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--coconut-deep); color: #b2d1b4; font-size: .93rem; position: relative; }
.kasavu { height: 12px; background: var(--kasavu); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 60px; padding-bottom: 46px; border-bottom: 1px solid rgba(251, 254, 250, .12); }
.footer-say { font-family: var(--head); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; color: var(--paper); margin: 0; max-width: 680px; font-weight: 500; }
.footer-say em { color: var(--turmeric); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr 1.3fr; gap: 40px; padding-top: 46px; padding-bottom: 46px; }
.footer h4 { font-family: var(--body); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--turmeric); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #d2eacf; }
.footer a:hover { color: var(--turmeric); }
.footer .btn-sun, .footer .btn-sun:hover { color: var(--ink); }
.footer b { color: var(--paper); }
.footer-logos { display: inline-flex; gap: 12px; align-items: center; padding: 10px 16px; background: var(--paper); border-radius: 999px; margin-bottom: 16px; }
.footer-logos img { height: 38px; width: auto; }
.fdates li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed rgba(251, 254, 250, .14); padding-bottom: 6px; }
.fdates b { white-space: nowrap; font-weight: 600; }
.contact-line { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.5; }
.contact-line .icon { color: var(--turmeric); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(251, 254, 250, .12); font-size: .8rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--terra); color: var(--paper); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--laterite); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
