/* ==========================================================================
   Pooja Arts Academy: stylesheet (white theme). Font: Philosopher only.
   1 Tokens  2 Base  3 Header  4 Hero & page heads  5 Ticker  6 Sections & cards
   7 Stepper & tabs  8 Tables & forms  9 Footer  10 Desk bot  11 Motion
   ========================================================================== */

/* 1 Tokens */
:root {
  --white: #ffffff;
  --ink: #09090b;
  --ink-2: #27272a;
  --muted: #52525b;
  --line: #ecd5c4;
  --bg: #FFF1E6;
  --bg-2: #FFE6DF;
  --saffron: #ea580c;
  --saffron-d: #9a3412;
  --amber: #f59e0b;
  --amber-d: #92400e;
  --gold: #fbbf24;
  --radius: 14px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Philosopher", Georgia, "Times New Roman", serif;
  --shadow: 0 1px 2px rgba(9, 9, 11, 0.05), 0 14px 34px -14px rgba(9, 9, 11, 0.16);
  color-scheme: light;
}

/* 2 Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.1rem; line-height: 1.7; letter-spacing: 0.03em; overflow-x: hidden; text-rendering: optimizeLegibility; }
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--saffron-d); text-underline-offset: 4px; }
a:hover { color: var(--ink); }
button, input, select, textarea, table { font-family: inherit; letter-spacing: inherit; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; letter-spacing: 0.03em; line-height: 1.2; margin: 0 0 0.6em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 1.25rem + 2.1vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--white); padding: 0.7rem 1.1rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; color: var(--white); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); background: transparent; }
.section--tint { background: var(--bg-2); }

.eyebrow { display: inline-block; margin-bottom: 0.9rem; color: var(--amber-d); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.2em; }
.lead { font-size: clamp(1.12rem, 1rem + 0.5vw, 1.35rem); color: var(--muted); max-width: 46rem; }
.center { text-align: center; margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 2.9rem; padding: 0.7rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; font-size: 1.05rem; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2; transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s; }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--saffron); color: var(--ink); box-shadow: 0 8px 22px rgba(234, 88, 12, 0.26); }
.btn--solid:hover { background: var(--amber); color: var(--ink); }
.btn--ghost { background: var(--white); color: var(--saffron-d); border-color: var(--saffron); }
.btn--ghost:hover { background: var(--saffron); color: var(--ink); }
.btn--wa { background: #25d366; color: var(--ink); }
.btn--wa:hover { background: var(--gold); color: var(--ink); }
.btn--link { background: none; border: 0; padding: 0; min-height: 2.75rem; color: var(--saffron-d); font-weight: 400; text-decoration: underline; border-radius: 4px; }
.btn--link:hover { transform: none; color: var(--ink); }
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 3 Header */
.site-header { position: sticky; top: 0; z-index: 80; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; }
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(9, 9, 11, 0.1); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 2.75rem; text-decoration: none; color: var(--ink); flex: none; border-radius: 8px; }
.brand:hover { color: var(--ink); }
.brand__mark { height: 2.7rem; width: auto; flex: none; }
.brand__text { font-weight: 700; letter-spacing: 0.1em; font-size: clamp(0.95rem, 0.78rem + 0.9vw, 1.28rem); white-space: nowrap; line-height: 1.1; }
.nav { display: flex; align-items: center; gap: 0.1rem; }
.nav > ul { display: flex; align-items: center; gap: 0.1rem; }
.nav a.nav__link { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.85rem; color: var(--ink); text-decoration: none; border-radius: 999px; font-size: 1.02rem; position: relative; }
.nav a.nav__link::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.45rem; height: 2px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a.nav__link:hover, .nav a.nav__link[aria-current="page"] { color: var(--saffron-d); }
.nav a.nav__link:hover::after, .nav a.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { width: 2.75rem; height: 2.75rem; margin-left: -0.9rem; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.sub-toggle svg { width: 1rem; height: 1rem; transition: transform 0.25s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 16rem; padding: 0.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.25s var(--ease); z-index: 5; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; min-height: 2.75rem; padding: 0 0.9rem; color: var(--ink); text-decoration: none; border-radius: 8px; }
.sub a:hover, .sub a[aria-current="page"] { background: #fff4e8; color: var(--saffron-d); }
.header__actions { display: flex; align-items: center; gap: 0.6rem; }
.header__actions .btn { min-height: 2.75rem; padding: 0.5rem 1.15rem; font-size: 1rem; }
.menu-btn { flex: none; display: none; width: 2.9rem; height: 2.9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 1.5rem; height: 1.5rem; }
.drawer { display: none; }
@media (max-width: 1180px) {
  .nav, .header__actions { display: none; }
  .menu-btn { display: inline-flex; }
  .drawer { display: block; max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); background: var(--white); border-top: 1px solid var(--line); }
  .drawer.is-open { max-height: 44rem; overflow-y: auto; }
  .drawer__inner { padding: 0.8rem 1.25rem 1.5rem; display: grid; gap: 0; }
  .drawer a.link { display: flex; align-items: center; min-height: 3rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .drawer a.link.sub-link { padding-left: 1.2rem; color: var(--muted); }
  .drawer a.link:hover, .drawer a[aria-current="page"] { color: var(--saffron-d); }
  .drawer__cta { display: grid; gap: 0.6rem; margin-top: 1rem; }
}
@media (max-width: 480px) { .brand { gap: 0.5rem; min-width: 0; } .brand__mark { height: 2.2rem; } .brand__text { font-size: 0.9rem; letter-spacing: 0.06em; } .header__row { gap: 0.6rem; } }

/* 4 Hero and page heads */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); background: var(--bg); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero__copy > * { margin-bottom: 1.3rem; }
.hero h1 em { font-style: italic; color: var(--saffron-d); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.hero__tags a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.05rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); text-decoration: none; background: var(--white); font-size: 0.98rem; transition: border-color 0.25s, color 0.25s, transform 0.25s; }
.hero__tags a:hover { border-color: var(--saffron); color: var(--saffron-d); transform: translateY(-2px); }
.hero__logo { position: relative; width: min(100%, 30rem); margin-inline: auto; aspect-ratio: 1; }
.hero__logo img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero__logo { order: -1; width: min(72%, 20rem); } }
.pagehead { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4.2rem) clamp(2rem, 4vw, 3rem); background: linear-gradient(120deg, var(--bg-2), var(--bg)); border-bottom: 1px solid var(--line); }
.pagehead::after { content: ""; position: absolute; right: -3rem; top: 50%; width: clamp(12rem, 28vw, 24rem); aspect-ratio: 1.72; transform: translateY(-50%); background: url("../img/lotus.png") center / contain no-repeat; opacity: 0.12; pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; font-size: 0.98rem; color: var(--muted); }
.crumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 2.75rem; min-width: 2.75rem; }
.crumbs a:hover { color: var(--saffron-d); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.pagehead h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.6rem); margin-bottom: 0.4em; }
.pagehead .lead { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin-top: 2rem; }
.fact { padding: 1.1rem 1.3rem; }
.fact dt { color: var(--amber-d); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.16em; }
.fact dd { margin: 0.2rem 0 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.5; }

/* 5 Ticker */
.ticker { background: var(--white); border-block: 1px solid var(--line); overflow: hidden; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 5rem; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0)); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0)); }
.ticker__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex: none; align-items: center; }
.ticker__list li { display: inline-flex; align-items: center; padding: 1.05rem 0; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.16em; color: var(--ink); white-space: nowrap; }
.ticker__list li::after { content: "\2022"; margin-inline: 1.6rem; color: var(--saffron); font-size: 1.3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 6 Sections and cards */
.head { max-width: 46rem; margin-bottom: 2.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); gap: 1.2rem; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.disc { padding: 1.6rem; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.disc::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--saffron), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.disc:hover { transform: translateY(-6px); border-color: var(--amber); }
.disc:hover::before { transform: scaleX(1); }
.disc__ico { width: 3.4rem; height: 3.4rem; border-radius: 14px; display: grid; place-items: center; background: #fff4e8; color: var(--saffron-d); margin-bottom: 1rem; }
.disc__ico svg { width: 1.8rem; height: 1.8rem; }
.disc h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.disc__tag { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem; }
.chips li { padding: 0.2rem 0.75rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-2); }
.disc dl { margin: 0.4rem 0 1.2rem; display: grid; gap: 0.7rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.disc dt { color: var(--amber-d); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.16em; }
.disc dd { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.disc__actions { margin-top: auto; display: grid; gap: 0.5rem; }
.tenets { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.tenet { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; padding: 1rem 1.1rem; }
.tenet__no { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: #fff4e8; border: 1px solid var(--amber); color: var(--saffron-d); font-weight: 700; font-size: 1.2rem; }
.tenet h3 { margin: 0 0 0.15rem; font-size: 1.15rem; }
.tenet p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.gurus { display: grid; gap: 1.1rem; }
.guru { padding: 1.5rem 1.6rem; position: relative; overflow: hidden; transition: border-color 0.3s, transform 0.3s var(--ease); }
.guru:hover { border-color: var(--amber); transform: translateY(-4px); }
.guru::after { content: ""; position: absolute; right: -2.5rem; top: -2.5rem; width: 9rem; height: 9rem; background: radial-gradient(circle, rgba(245, 158, 11, 0.16), transparent 70%); pointer-events: none; }
.guru__role { color: var(--amber-d); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.18em; margin: 0 0 0.3rem; }
.guru h3 { font-size: 1.6rem; margin-bottom: 0.7rem; }
.ticks li { position: relative; padding-left: 1.4rem; margin-block: 0.4rem; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.62em; width: 0.5rem; height: 0.5rem; background: var(--saffron); transform: rotate(45deg); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.stat { padding: 1.4rem 1rem; text-align: center; }
.stat__n { display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 700; color: var(--saffron-d); line-height: 1.1; }
.stat__l { color: var(--muted); font-size: 0.98rem; line-height: 1.4; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.venues { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.6rem; }
.venues li { padding: 0.45rem 1.05rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); }
.awards { display: grid; gap: 0.9rem; }
.award { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.2rem; transition: border-color 0.3s; }
.award:hover { border-color: var(--amber); }
.award__ico { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--saffron), var(--amber)); color: var(--ink); }
.award__ico svg { width: 1.6rem; height: 1.6rem; }
.award h3 { font-size: 1.15rem; margin: 0 0 0.15rem; }
.award p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.join { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.join li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.8rem; align-items: start; padding: 1.1rem 1.2rem; }
.join b { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--saffron); color: var(--ink); font-size: 1.1rem; }
.join span { color: var(--ink-2); }
.cta-band { text-align: center; padding: clamp(2.2rem, 5vw, 3.6rem) 1.5rem; border: 1px solid var(--line); border-top: 4px solid var(--saffron); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band .lead { margin-inline: auto; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.6rem; }
.recitals { display: grid; gap: 1rem; }
.recital { padding: 1.3rem 1.4rem; transition: border-color 0.3s, transform 0.3s var(--ease); }
.recital:hover { border-color: var(--amber); transform: translateX(4px); }
.recital h3 { font-size: 1.25rem; display: flex; align-items: center; gap: 0.6rem; }
.recital h3 svg { width: 1.4rem; height: 1.4rem; color: var(--saffron-d); flex: none; }
.recital p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.board { margin-top: 1.4rem; padding: 1.3rem 1.4rem; border-left: 4px solid var(--saffron); border-radius: 0 var(--radius) var(--radius) 0; background: var(--white); border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.board h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.board p { margin: 0; color: var(--muted); font-size: 1rem; }
.prose { max-width: 48rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.prose .meta { color: var(--amber-d); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 0.7rem; background: var(--white); }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; min-height: 2.75rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--saffron-d); font-size: 1.5rem; line-height: 1; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.2rem 1rem; margin: 0; color: var(--muted); }

/* 7 Stepper and tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.6rem; }
.tab { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3rem; padding: 0.5rem 1.25rem 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; font-size: 1.05rem; font-weight: 700; transition: all 0.25s var(--ease); }
.tab svg { width: 1.3rem; height: 1.3rem; color: var(--saffron-d); }
.tab:hover { border-color: var(--amber); }
.tab[aria-selected="true"] { background: var(--saffron); color: var(--ink); border-color: var(--saffron); box-shadow: 0 8px 20px rgba(234, 88, 12, 0.24); }
.tab[aria-selected="true"] svg { color: var(--ink); }
.panel-intro { color: var(--muted); max-width: 46rem; margin-bottom: 1.4rem; }
.stepper__src > li { padding: 1.2rem 1.4rem; margin-bottom: 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.stepper__src h3 { font-size: 1.3rem; }
.stepper__src p { color: var(--muted); margin-bottom: 0.6rem; }
.stepper__ui { display: none; }
.stepper.is-ready .stepper__src { display: none; }
.stepper.is-ready .stepper__ui { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; }
@media (max-width: 900px) { .stepper.is-ready .stepper__ui { grid-template-columns: minmax(0, 1fr); } }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 1.2rem; top: 1.4rem; bottom: 1.4rem; width: 2px; background: var(--line); }
.step { position: relative; }
.step button { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.9rem; align-items: center; width: 100%; min-height: 3.4rem; padding: 0.35rem 0.6rem 0.35rem 0; background: none; border: 0; color: var(--muted); text-align: left; cursor: pointer; font-size: 1.08rem; border-radius: 10px; transition: color 0.25s; }
.step__dot { position: relative; z-index: 1; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--line); color: var(--muted); font-weight: 700; transition: all 0.3s var(--ease); }
.step button:hover { color: var(--ink); }
.step.is-done .step__dot { border-color: var(--saffron); color: var(--saffron-d); }
.step.is-active button { color: var(--ink); font-weight: 700; }
.step.is-active .step__dot { background: var(--saffron); border-color: var(--saffron); color: var(--ink); box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.2); transform: scale(1.06); }
.detail { padding: clamp(1.2rem, 2.5vw, 1.8rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.detail__count { color: var(--amber-d); font-size: 0.95rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.4rem; }
.detail h3 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2rem); }
.detail__text { color: var(--muted); }
.detail ul { margin: 0.4rem 0 1.2rem; }
.progress { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: auto; }
.progress__bar { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--saffron), var(--gold)); border-radius: 99px; transition: width 0.5s var(--ease); }
.detail__nav { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-top: 1.1rem; }
.detail.swap { animation: swap 0.45s var(--ease); }
@keyframes swap { from { opacity: 0.2; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 8 Tables and forms */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 34rem; font-size: 1rem; }
caption { text-align: left; padding: 1.1rem 1.2rem 0.4rem; color: var(--amber-d); font-weight: 700; letter-spacing: 0.04em; font-size: 1.1rem; }
th, td { text-align: left; padding: 0.9rem 1.2rem; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
thead th { color: var(--ink); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.14em; background: #fff4e8; border-top: 0; }
tbody th { font-weight: 700; }
td { color: var(--muted); }
.form { padding: clamp(1.3rem, 3vw, 2rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: 0.35rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 3rem; padding: 0.6rem 0.95rem; border-radius: 10px; border: 1px solid #cfc8b8; background: var(--white); color: var(--ink); font-size: 1.05rem; }
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--saffron); outline: none; box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.25); }
.field [aria-invalid="true"] { border-color: #b91c1c; }
.field__err { display: none; margin-top: 0.3rem; color: #b91c1c; font-size: 0.95rem; }
.field [aria-invalid="true"] ~ .field__err { display: block; }
.note { padding: 0.9rem 1.1rem; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); font-size: 1rem; }
.flow { display: grid; gap: 0.7rem; margin: 1rem 0 1.4rem; }
.flow li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.7rem; align-items: start; color: var(--muted); }
.flow b { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: #fff4e8; border: 1px solid var(--amber); color: var(--saffron-d); font-size: 0.95rem; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.contact-card { padding: 1.3rem 1.4rem; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.contact-card p { color: var(--muted); font-size: 1rem; margin-bottom: 0.8rem; }
.contact-card a.big { font-weight: 700; font-size: 1.15rem; display: inline-flex; align-items: center; min-height: 2.75rem; }
.mapbox { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.mapbox iframe { width: 100%; border: 0; display: block; }
.mapbox--page iframe { height: clamp(18rem, 45vw, 28rem); }
.mapbox--foot iframe { height: 13rem; }

/* 9 Footer */
.site-footer { background: var(--bg-2); border-top: 4px solid var(--saffron); padding-top: clamp(2.5rem, 5vw, 4rem); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 0.9fr 1.1fr 1.3fr; gap: clamp(1.5rem, 3vw, 2.8rem); padding-bottom: 2.5rem; }
.footer__grid > * { min-width: 0; }
.footer__grid h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 1rem; }
.footer__phil { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 1rem 0 1.2rem; }
.social { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.social a { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--saffron-d); background: var(--white); transition: all 0.25s; }
.social a:hover { background: var(--saffron); color: var(--ink); border-color: var(--saffron); transform: translateY(-3px); }
.social svg { width: 1.3rem; height: 1.3rem; }
.footer__list a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink-2); text-decoration: none; font-size: 1.02rem; }
.footer__list a:hover { color: var(--saffron-d); }
.footer__desk li { display: grid; grid-template-columns: 5.4rem 1fr; gap: 0.5rem; padding: 0.35rem 0; color: var(--muted); font-size: 1rem; line-height: 1.5; align-items: center; }
.footer__desk li[hidden] { display: none; }
.footer__desk b { color: var(--amber-d); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer__desk a { color: var(--ink); display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer__addr { color: var(--muted); font-style: normal; margin-bottom: 0.9rem; line-height: 1.6; }
.footer__maplink { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; margin-top: 0.4rem; }
.footer__bar { border-top: 1px solid var(--line); padding-block: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 2rem; color: var(--muted); font-size: 0.98rem; }
.footer__bar a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* 10 Desk bot */
.bot-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 100; display: flex; align-items: center; gap: 0.7rem; min-height: 3.5rem; padding: 0 1.2rem 0 0.7rem; border-radius: 999px; background: var(--white); border: 1.5px solid var(--saffron); color: var(--ink); cursor: pointer; box-shadow: 0 12px 30px rgba(9, 9, 11, 0.2); font-weight: 700; font-size: 1.02rem; transition: transform 0.25s var(--ease); }
.bot-fab:hover { transform: translateY(-3px); }
.bot-fab__ico { width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: var(--ink); }
.bot-fab__ico svg { width: 1.3rem; height: 1.3rem; }
.bot { position: fixed; right: 1rem; bottom: 5.5rem; z-index: 100; width: min(24rem, calc(100vw - 2rem)); max-height: min(36rem, calc(100vh - 8rem)); display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--saffron); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(9, 9, 11, 0.28); overflow: hidden; animation: swap 0.35s var(--ease); }
.bot[hidden] { display: none; }
.bot__head { display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); background: var(--white); }
.bot__head img { height: 1.9rem; width: auto; flex: none; }
.bot__title { flex: 1; line-height: 1.2; }
.bot__title strong { display: block; font-size: 1.05rem; }
.bot__title span { color: var(--muted); font-size: 0.88rem; }
.bot__close { width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.bot__close svg { width: 1.2rem; height: 1.2rem; }
.bot__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; min-height: 12rem; background: #fffaf3; }
.msg { max-width: 88%; padding: 0.65rem 0.95rem; border-radius: 14px; font-size: 1rem; line-height: 1.5; animation: swap 0.35s var(--ease); }
.msg--bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--me { align-self: flex-end; background: var(--saffron); color: var(--ink); border-bottom-right-radius: 4px; font-weight: 700; }
.msg--typing { display: inline-flex; gap: 0.3rem; padding: 0.8rem 1rem; }
.msg--typing i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--muted); animation: blink 1.1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.18s; } .msg--typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.bchips { display: flex; flex-wrap: wrap; gap: 0.45rem; align-self: flex-start; }
.chip { min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--saffron); color: var(--saffron-d); cursor: pointer; font-size: 0.98rem; transition: all 0.2s; }
.chip:hover { background: var(--saffron); color: var(--ink); }
.bot__act { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.bot__act .btn { min-height: 2.75rem; padding: 0.4rem 1.1rem; font-size: 0.98rem; }
.bot__form { display: flex; gap: 0.5rem; padding: 0.7rem; border-top: 1px solid var(--line); background: var(--white); }
.bot__form input { flex: 1; min-width: 0; min-height: 2.75rem; padding: 0 0.9rem; border-radius: 999px; border: 1px solid #cfc8b8; background: var(--white); color: var(--ink); font-size: 1rem; }
.bot__form input:focus { border-color: var(--saffron); outline: none; }
.bot__form button { min-height: 2.75rem; min-width: 2.75rem; border-radius: 50%; border: 0; background: var(--saffron); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.bot__form svg { width: 1.2rem; height: 1.2rem; }
@media (max-width: 480px) { .bot-fab span.label { display: none; } .bot-fab { padding: 0 0.7rem; } }

/* 11 Motion */
@keyframes bloom-in { from { opacity: 0; transform: scale(0.88); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes halo { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } }
.hero__logo::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(245, 158, 11, 0.28), rgba(245, 158, 11, 0) 68%); }
@media (prefers-reduced-motion: no-preference) {
  .hero__logo img { animation: bloom-in 1.4s var(--ease) both, float 8s ease-in-out 1.6s infinite; }
  .hero__logo::before { animation: halo 5s ease-in-out infinite; }
  .hero__copy > * { animation: rise-in 0.9s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: 0.12s; } .hero__copy > :nth-child(3) { animation-delay: 0.26s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.4s; } .hero__copy > :nth-child(5) { animation-delay: 0.54s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker__list[aria-hidden="true"] { display: none; }
  .ticker::before, .ticker::after { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
@media print { .site-header, .bot-fab, .bot, .ticker { display: none !important; } .js .reveal { opacity: 1; transform: none; } }

.disc h3 a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.prose a, .note a { display: inline-block; min-height: 1.6rem; }

.footer__grid .brand { flex-wrap: nowrap; max-width: 100%; }
.footer__grid .brand__text { white-space: normal; font-size: clamp(0.9rem, 0.75rem + 0.4vw, 1.1rem); letter-spacing: 0.08em; }

/* ===== Page structure: section navigation, profiles, failsafe ===== */
.subnav { margin-top: 1.6rem; }
.subnav ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.subnav a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; transition: all 0.25s var(--ease); }
.subnav a:hover { border-color: var(--saffron); color: var(--saffron-d); transform: translateY(-2px); }
.subnav a[aria-current="page"] { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.nav a.nav__link[aria-current="true"] { color: var(--saffron-d); }
.nav a.nav__link[aria-current="true"]::after { transform: scaleX(1); }
.profile { padding: clamp(1.4rem, 3vw, 2rem); text-align: left; }
.monogram { width: 5.5rem; height: 5.5rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--saffron), var(--gold)); color: var(--ink); font-size: 1.9rem; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 1rem; box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.2); }
.profile h2 { font-size: 1.9rem; }
.header__row, .site-header { background: var(--white); }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
.js .reveal:not(.is-in) { animation: reveal-failsafe 0.01s 3s forwards; }

.header__actions .btn { white-space: nowrap; }
.nav a.nav__link { padding: 0 0.7rem; white-space: nowrap; }
.nav a.nav__link::after { left: 0.7rem; right: 0.7rem; }

/* ===== WordPress wrapper adjustments ===== */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: 0; z-index: 80; }
body.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 32px; }
@media (max-width: 782px) { body.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: 46px; } }
.site-header { position: relative; top: auto; }
.site-main, .wp-block-post-content { max-width: none; width: 100%; }
.wp-block-group.section, .wp-block-group.wrap { margin-block: 0; }
.wp-block-group.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wp-block-group.wrap > * + * { margin-block-start: 1.4rem; }
.paa-wa-float, .paa-music { display: none !important; }
/* exam portal, enquiry form and map shortcodes inside the white theme */
.pe-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pe-btn { background: var(--saffron); color: var(--ink); }
.pe-btn:hover { background: var(--amber); color: var(--ink); }
.pe-login input[type="text"], .pe-login input[type="email"] { border-color: #cfc8b8; }
.pe-examlist .pe-card h3 { color: var(--ink); }
.pe-meta { color: var(--muted); }
.paa-todo { background: #fff4e8; color: var(--ink); border: 1.5px dashed var(--amber-d); }
