/* Gurukul International School: deep forest, brass, moss and mist. Fraunces for headings, Karla for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #0F1D17;
  --surface: #16291F;
  --soft: #1B3328;
  --ink: #E6EDE8;
  --muted: #A9BBB0;
  --line: #24402F;
  --line-strong: #345A44;
  --brand: #C9A14A;
  --brand-hover: #D9B566;
  --brand-ink: #0F1D17;
  --brand-text: #D9B566;
  --moss: #3E6B4F;
  --eyebrow: #C9A14A;
  --announce-bg: #C9A14A;
  --announce-ink: #0F1D17;
  --head: "Fraunces", Georgia, serif;
  --body: "Karla", system-ui, sans-serif;
  --fs-body: 1.06rem;
  --radius: 4px;
  --radius-lg: 8px;
  --btn-radius: 4px;
  --wrap: 1200px;
  --gap: 22px;
  --menu-bg: #0F1D17;
  --input-bg: #0F1D17;
  color-scheme: dark;
}
h1, h2, h3 { font-weight: 500; letter-spacing: -.01em; }
h1 em { font-style: italic; color: var(--brand); }
.eyebrow { letter-spacing: .16em; }
.btn { font-weight: 700; letter-spacing: .02em; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* header */
.header { background: rgba(15,29,23,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 600 1.45rem var(--head); color: var(--ink); }
.logo small { color: var(--brand); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }

/* hero */
.hero { position: relative; min-height: min(78vh, 680px); display: grid; align-items: center; overflow: hidden; background: linear-gradient(180deg, #0B1611, #12241B); }
.hero-bg { position: absolute; inset: auto 0 0; height: 70%; }
.hero-bg svg { width: 100%; height: 100%; display: block; }
.hero-in { position: relative; padding-block: clamp(48px, 8vw, 110px); max-width: 860px; text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); line-height: 1.04; margin: 16px 0 18px; }
.hero .lede { margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.kfacts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
@media (max-width: 720px) { .kfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kfacts li { display: grid; gap: 4px; padding: 22px 10px; text-align: center; border-left: 1px solid var(--line); }
.kfacts li:first-child { border-left: 0; }
.kfacts b { font: 500 clamp(2rem, 4vw, 2.8rem) var(--head); color: var(--brand); }
.kfacts span { color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.day-band { background: var(--surface); border-block: 1px solid var(--line); }
.day-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 860px) { .day-teaser { grid-template-columns: minmax(0, 1fr); } }
.day-teaser .btn { margin-top: 18px; }
.day-mini { list-style: none; display: grid; gap: 0; border-left: 1px solid var(--brand); }
.day-mini li { display: flex; gap: 16px; padding: 10px 0 10px 18px; }
.day-mini b { font: 500 1.2rem var(--head); color: var(--brand); min-width: 60px; }

/* campus map */
.cm { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 960px) { .cm { grid-template-columns: minmax(0, 1fr); } }
.cm-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-strong); }
.cm-svg { display: block; width: 100%; height: auto; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--brand); background: #0F1D17; color: var(--brand); font-weight: 700; cursor: pointer; transition: transform .15s; }
.pin:hover { transform: translate(-50%, -50%) scale(1.12); }
.pin[aria-pressed="true"], .pin.live { background: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 8px rgba(201,161,74,.25); }
.pin.live { animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(201,161,74,.55); } 100% { box-shadow: 0 0 0 18px rgba(201,161,74,0); } }
@media (prefers-reduced-motion: reduce) { .pin.live { animation: none; } }
@media (max-width: 520px) { .pin { width: 26px; height: 26px; font-size: .8rem; } }
.cm-side { display: grid; gap: 18px; }
.cm-info { padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); min-height: 180px; }
.cm-info h2 { font-size: 1.7rem; margin: 6px 0 8px; }
.cm-info p { color: var(--muted); }
.cm-when { margin-top: 10px; color: var(--brand-text) !important; font-weight: 600; }
.cm-legend { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.cm-legend button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink); font: inherit; font-size: .94rem; text-align: left; cursor: pointer; }
.cm-legend button span { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--brand); color: var(--brand); font-size: .8rem; font-weight: 700; }
.cm-legend button[aria-pressed="true"] { border-color: var(--brand); background: var(--soft); }
.dt { display: grid; gap: 16px; margin-top: 20px; }
.dt-now { font: 500 clamp(1.4rem, 3vw, 2rem) var(--head); }
.dt-now b { color: var(--brand); font-weight: 500; margin-right: 10px; }
.dt-list { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.dt-list button { display: grid; gap: 2px; min-width: 120px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--muted); font: inherit; font-size: .88rem; text-align: left; cursor: pointer; }
.dt-list button b { color: var(--ink); font-size: 1rem; }
.dt-list button[aria-current="true"] { border-color: var(--brand); color: var(--ink); background: var(--soft); }
.dt-list button[aria-current="true"] b { color: var(--brand); }

/* inner pages */
.page-head { margin-bottom: clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); }

/* CTA + footer */
.cta-band { padding-block: clamp(48px, 7vw, 90px); background: var(--moss); color: #E2ECE5; text-align: center; }
.cta-band .wrap { display: grid; justify-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3rem); color: #fff; }
.cta-band p { margin-top: 6px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.footer { background: #0A140F; color: var(--muted); --footer-line: var(--line); border-top: 1px solid var(--line); }
.footer h2 { color: var(--ink); }
.f-about { margin-top: 12px; max-width: 36ch; }
.footer .credit a { color: var(--ink); }
