/* ============================================================
   The Sanskriti International School — public website
   Slate/cyan editorial aesthetic, ported from the school's own
   ERP-embedded landing page (frontend/src/pages/landing).
   ============================================================ */

:root {
  --paper: #f6f9fc;
  --paper-2: #e9eff7;
  --card: #ffffff;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;

  --accent: #0891b2;
  --accent-2: #38bdf8;

  --green: #0f1c30;
  --green-2: #16273f;
  --teal: var(--accent);
  --gold: var(--accent);
  --gold-2: var(--accent-2);
  --rose: #e5484d;

  --heading: var(--ink);
  --nav-bg: rgba(246, 249, 252, 0.85);
  --hero-crest-opacity: 0.14;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
}

html[data-theme="dark"] {
  --paper: #0b0d10;
  --paper-2: #11151b;
  --card: #171c23;
  --ink: #f8fafc;
  --ink-soft: #cbd5e1;
  --muted: #7b8794;
  --line: rgba(56, 189, 248, 0.16);

  --accent: #38bdf8;
  --accent-2: #7dd3fc;
  --green: #11161d;
  --green-2: #1b222c;
  --gold: var(--accent);
  --gold-2: var(--accent-2);

  --heading: var(--ink);
  --nav-bg: rgba(11, 13, 16, 0.85);
  --hero-crest-opacity: 0.10;
  color-scheme: dark;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  background-image:
    radial-gradient(120% 90% at 100% 0%, rgba(8, 145, 178, 0.06), transparent 55%),
    radial-gradient(90% 70% at 0% 12%, rgba(56, 189, 248, 0.06), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, blockquote, p { margin: 0; }
img { max-width: 100%; }

.sw-wrap { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------- shared type ---------- */
.sw-eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.sw-eyebrow::before {
  content: ''; width: 26px; height: 1.5px; background: var(--gold); display: inline-block;
}
.sw-eyebrow-light { color: var(--gold-2); }
.sw-eyebrow-light::before { background: var(--gold-2); }

.sw-h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--heading);
  margin-top: 0.5rem;
}
.sw-h2 em { font-style: italic; color: var(--accent); font-weight: 500; }
.sw-h2-light { color: #fff; }
.sw-h2-light em { color: var(--gold-2); }

.sw-body { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- buttons ---------- */
.sw-btn {
  --pad: 0.7rem 1.3rem;
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: var(--pad);
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s, background 0.25s, color 0.25s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.sw-btn span { transition: transform 0.25s; }
.sw-btn:hover span { transform: translateX(3px); }
.sw-btn-sm { --pad: 0.5rem 1.05rem; font-size: 0.85rem; }
.sw-btn-lg { --pad: 0.95rem 1.7rem; font-size: 1rem; }

.sw-btn-solid { background: var(--green); color: #f1f5f9; box-shadow: 0 12px 26px -14px rgba(15, 23, 42, 0.7); }
.sw-btn-solid:hover { background: var(--green-2); transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(15, 23, 42, 0.75); }
.sw-btn-outline { border-color: var(--heading); color: var(--heading); }
.sw-btn-outline:hover { background: var(--green); color: #f1f5f9; transform: translateY(-2px); }
.sw-btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #04222e; box-shadow: 0 12px 26px -14px rgba(56, 189, 248, 0.8); }
.sw-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(56, 189, 248, 0.85); }
.sw-btn-clear { border-color: rgba(255,255,255,0.5); color: #fff; }
.sw-btn-clear:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.sw-btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }

/* ---------- utility strip ---------- */
.sw-strip { background: var(--green); color: #cbd5e1; font-size: 0.8rem; }
.sw-strip-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0; }
.sw-strip-item { letter-spacing: 0.08em; color: var(--gold-2); font-weight: 600; }
.sw-strip-right { display: flex; align-items: center; gap: 0.75rem; }
.sw-strip-right a { transition: color 0.2s; }
.sw-strip-right a:hover { color: #fff; }
.sw-strip-sep { opacity: 0.4; }

/* ---------- nav ---------- */
.sw-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.sw-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; gap: 1.5rem; }
.sw-brand { display: flex; align-items: center; gap: 0.7rem; }
.sw-brand-crest { height: 48px; width: auto; object-fit: contain; }
.sw-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.sw-brand-text b { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--heading); }
.sw-brand-text i { font-style: normal; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.sw-nav-links { display: flex; gap: 1.9rem; }
.sw-nav-links a {
  font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); position: relative; padding: 0.3rem 0;
  transition: color 0.2s;
}
.sw-nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--gold);
  transition: width 0.28s cubic-bezier(.2,.8,.2,1);
}
.sw-nav-links a:hover { color: var(--heading); }
.sw-nav-links a:hover::after { width: 100%; }
.sw-nav-actions { display: flex; align-items: center; gap: 0.7rem; }
.sw-theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line); color: var(--heading);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.35s;
}
.sw-theme-toggle:hover { background: var(--card); border-color: var(--accent); color: var(--accent); transform: rotate(18deg); }
.sw-theme-toggle svg { width: 19px; height: 19px; }
.sw-theme-toggle .sw-icon-moon { display: none; }
html[data-theme="dark"] .sw-theme-toggle .sw-icon-sun { display: none; }
html[data-theme="dark"] .sw-theme-toggle .sw-icon-moon { display: block; }

/* ---------- hero ---------- */
.sw-hero {
  position: relative;
  padding: clamp(4rem, 12vh, 9rem) 0 clamp(3.5rem, 9vh, 7rem);
  text-align: center;
  overflow: hidden;
}
.sw-hero-atmos { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sw-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.sw-orb-a { width: 460px; height: 460px; top: -120px; left: -120px; background: radial-gradient(circle, rgba(8, 145, 178,0.5), transparent 70%); }
.sw-orb-b { width: 520px; height: 520px; bottom: -180px; right: -140px; background: radial-gradient(circle, rgba(56, 189, 248,0.42), transparent 70%); }
.sw-hero-crest {
  position: absolute; inset: 0; background: url('../img/sanskriti-logo.png') center 46% / min(560px, 78vw) no-repeat;
  opacity: var(--hero-crest-opacity); filter: grayscale(0.2);
}
.sw-hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.sw-hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3rem, 9vw, 6.6rem); line-height: 0.98; letter-spacing: -0.025em;
  color: var(--heading); margin: 1.4rem 0 0;
}
.sw-hero-title span { display: block; }
.sw-hero-title em { font-style: italic; color: var(--accent); position: relative; }
.sw-hero-title em::after {
  content: ''; position: absolute; left: 4%; right: 4%; bottom: 0.08em; height: 0.09em;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transform-origin: center; animation: sw-underline 1s 1.1s forwards cubic-bezier(.2,.8,.2,1);
}
@keyframes sw-underline { to { transform: scaleX(1); } }
.sw-hero-copy { max-width: 42rem; margin: 1.6rem auto 0; font-size: 1.18rem; color: var(--ink-soft); }
.sw-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.1rem; }
.sw-hero-motto {
  margin-top: 2.4rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold);
  letter-spacing: 0.02em;
}
.sw-hero-motto span { color: var(--muted); font-size: 0.86rem; font-style: normal; }
.sw-hero-scroll { position: relative; z-index: 1; margin: 2.6rem auto 0; width: 24px; height: 38px; border: 1.5px solid var(--line); border-radius: 12px; }
.sw-hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; border-radius: 3px; background: var(--gold); transform: translateX(-50%); animation: sw-scroll 1.6s infinite; }
@keyframes sw-scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- flying butterfly ---------- */
.sw-butterfly {
  position: absolute; top: 0; left: 0; z-index: 2;
  width: 74px; height: 62px;
  pointer-events: none;
  will-change: transform;
  animation: sw-fly 44s linear infinite;
  filter: drop-shadow(0 8px 8px rgba(15, 23, 42, 0.18));
}
.sw-butterfly-2 { width: 52px; height: 44px; opacity: 0.9; animation: sw-fly2 56s linear infinite; animation-delay: -18s; }
.sw-bf-svg { width: 100%; height: 100%; overflow: visible; display: block; }
.sw-wing-up { fill: var(--accent-2); }
.sw-wing-lo { fill: var(--accent); }
.sw-wing-spot { fill: rgba(255, 255, 255, 0.55); }
.sw-bf-body { fill: #1e293b; }
.sw-bf-antenna { fill: none; stroke: #1e293b; stroke-width: 1.8; stroke-linecap: round; }
.sw-wg { transform-box: view-box; transform-origin: 60px 52px; }
.sw-wg-l { animation: sw-flap 0.5s ease-in-out infinite alternate; }
.sw-wg-r { animation: sw-flap 0.5s ease-in-out infinite alternate; }
@keyframes sw-flap { from { transform: scaleX(1); } to { transform: scaleX(0.32); } }
@keyframes sw-fly {
  0%   { transform: translate(-8vw, 70px)   rotate(6deg); }
  20%  { transform: translate(17vw, 165px)  rotate(-9deg); }
  40%  { transform: translate(38vw, 45px)   rotate(11deg); }
  60%  { transform: translate(60vw, 150px)  rotate(-7deg); }
  80%  { transform: translate(82vw, 65px)   rotate(9deg); }
  100% { transform: translate(112vw, 130px) rotate(-4deg); }
}
@keyframes sw-fly2 {
  0%   { transform: translate(110vw, 40px)  rotate(-6deg); }
  25%  { transform: translate(78vw, 140px)  rotate(9deg); }
  50%  { transform: translate(50vw, 55px)   rotate(-11deg); }
  75%  { transform: translate(22vw, 130px)  rotate(7deg); }
  100% { transform: translate(-12vw, 80px)  rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) { .sw-butterfly { display: none; } }

/* ---------- marquee ---------- */
.sw-marquee { background: var(--green); color: #e2e8f0; overflow: hidden; border-block: 1px solid rgba(255,255,255,0.08); }
.sw-marquee-track { display: inline-flex; gap: 2.4rem; padding: 0.85rem 0; white-space: nowrap; animation: sw-marquee 34s linear infinite; }
.sw-marquee-track span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 2.4rem; letter-spacing: 0.01em; }
.sw-marquee-track i { color: var(--gold-2); font-style: normal; }
@keyframes sw-marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sw-section { padding: clamp(4rem, 9vh, 7rem) 0; }
.sw-section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.sw-head { max-width: 44rem; margin-bottom: 3rem; }
.sw-head-copy { margin-top: 1rem; color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- about ---------- */
.sw-about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sw-about-aside { position: sticky; top: 120px; }
.sw-about-badge {
  background: var(--green); color: #e2e8f0; border-radius: 20px; padding: 2rem; text-align: center;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42,0.6); position: relative; overflow: hidden;
}
.sw-about-badge::after { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(125, 211, 252,0.4); border-radius: 14px; pointer-events: none; }
.sw-about-crest { height: 120px; width: auto; margin: 0 auto 0.8rem; display: block; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25)); object-fit: contain; }
.sw-about-badge p { font-family: var(--serif); font-style: italic; color: var(--gold-2); letter-spacing: 0.1em; }
.sw-about-quote { margin-top: 1.6rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.5; color: var(--heading); padding-left: 1.1rem; border-left: 2px solid var(--gold); }
.sw-lede { margin-top: 1.4rem; font-size: 1.2rem; line-height: 1.65; color: var(--ink); }
.sw-about-main .sw-body { margin-top: 1.1rem; }
.sw-dropcap { float: left; font-family: var(--serif); font-weight: 600; font-size: 3.6rem; line-height: 0.78; padding: 0.15rem 0.6rem 0 0; color: var(--accent); }
.sw-signature { margin-top: 1.8rem; display: flex; flex-direction: column; }
.sw-sign-name { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--heading); }
.sw-sign-role { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* ---------- stats band ---------- */
.sw-statsband { background: var(--green); position: relative; }
.sw-statsband::before, .sw-statsband::after { content: ''; position: absolute; left: 0; right: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--gold) 0 22px, transparent 22px 44px); opacity: 0.5; }
.sw-statsband::before { top: 0; } .sw-statsband::after { bottom: 0; }
.sw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: clamp(2.6rem, 6vh, 4rem) 0; }
.sw-stat { text-align: center; color: #e2e8f0; }
.sw-stat b { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; display: block; }
.sw-stat b i { font-style: normal; color: var(--gold-2); }
.sw-stat span { display: block; margin-top: 0.5rem; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(226, 232, 240,0.72); font-weight: 600; }

/* ---------- programs ---------- */
.sw-programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.sw-program {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 2rem 1.8rem;
  position: relative; transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s, border-color 0.35s;
  overflow: hidden;
}
.sw-program::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.sw-program:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(15, 23, 42,0.45); border-color: var(--accent); }
.sw-program:hover::before { transform: scaleX(1); }
.sw-program-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); background: rgba(56, 189, 248,0.1); padding: 0.3rem 0.7rem; border-radius: 999px; }
.sw-program h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; color: var(--heading); margin-top: 1rem; }
.sw-program p { margin-top: 0.7rem; color: var(--ink-soft); font-size: 0.98rem; }
.sw-program ul { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.55rem; }
.sw-program li { position: relative; padding-left: 1.4rem; font-size: 0.92rem; color: var(--ink); font-weight: 500; }
.sw-program li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 0.8rem; top: 0.1rem; }

/* ---------- facilities ---------- */
.sw-facilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.sw-facility { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.7rem; transition: transform 0.3s, box-shadow 0.3s; }
.sw-facility:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(15, 23, 42,0.4); }
.sw-facility-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(8, 145, 178,0.12), rgba(56, 189, 248,0.12)); color: var(--accent); }
.sw-facility h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--heading); margin-top: 1rem; }
.sw-facility p { margin-top: 0.5rem; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- voices ---------- */
.sw-voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.sw-voice { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 2.4rem 2rem 1.8rem; }
.sw-voice-mark { position: absolute; top: 0.4rem; left: 1.4rem; font-family: var(--serif); font-size: 5rem; line-height: 1; color: rgba(56, 189, 248,0.28); }
.sw-voice blockquote { font-family: var(--serif); font-size: 1.28rem; line-height: 1.5; color: var(--heading); position: relative; }
.sw-voice figcaption { margin-top: 1.4rem; display: flex; flex-direction: column; }
.sw-voice figcaption b { color: var(--ink); font-size: 0.98rem; }
.sw-voice figcaption span { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.06em; }

/* ---------- admissions ---------- */
.sw-admissions { position: relative; background: var(--green); color: #e2e8f0; padding: clamp(4rem, 9vh, 7rem) 0; overflow: hidden; }
.sw-admissions::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 90% at 85% 10%, rgba(8, 145, 178,0.6), transparent 60%), radial-gradient(60% 80% at 5% 100%, rgba(56, 189, 248,0.22), transparent 55%); }
.sw-admissions-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sw-admissions-lede { margin-top: 1.3rem; font-size: 1.15rem; color: rgba(226, 232, 240,0.85); max-width: 30rem; }
.sw-admissions-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.sw-steps { display: flex; flex-direction: column; gap: 0.4rem; }
.sw-step { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: 14px; transition: background 0.3s; }
.sw-step:hover { background: rgba(255,255,255,0.05); }
.sw-step-no { font-family: var(--serif); font-size: 1.4rem; color: var(--gold-2); border: 1px solid rgba(125, 211, 252,0.4); border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; flex: none; }
.sw-step h4 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: #fff; }
.sw-step p { margin-top: 0.2rem; color: rgba(226, 232, 240,0.7); font-size: 0.95rem; }

/* ---------- events ---------- */
.sw-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.sw-event { display: flex; gap: 1.1rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; transition: transform 0.3s, box-shadow 0.3s; }
.sw-event:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(15, 23, 42,0.4); }
.sw-event-date { flex: none; width: 62px; height: 62px; border-radius: 14px; background: linear-gradient(135deg, var(--green), var(--teal)); color: #fff; display: grid; place-items: center; text-align: center; line-height: 1; }
.sw-event-date b { font-family: var(--serif); font-size: 1.6rem; }
.sw-event-date span { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-2); margin-top: 2px; }
.sw-event-kind { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.sw-event h3 { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--heading); margin-top: 0.2rem; }

/* ---------- contact ---------- */
.sw-contact { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sw-contact-list { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.1rem; }
.sw-contact-list li { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.sw-contact-list li:last-child { border-bottom: 1px solid var(--line); }
.sw-contact-k { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.sw-contact-list a, .sw-contact-list span:not(.sw-contact-k) { color: var(--ink); font-weight: 500; }
.sw-contact-list a:hover { color: var(--accent); }
.sw-contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(15, 23, 42,0.4); }
.sw-contact-map { height: 190px; background: linear-gradient(135deg, var(--green), var(--teal)); position: relative; display: grid; place-items: center; color: #fff; }
.sw-contact-map::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 26px 26px; }
.sw-map-pin { position: relative; font-size: 2rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); }
.sw-map-label { position: absolute; bottom: 14px; font-family: var(--serif); font-style: italic; color: var(--gold-2); }
.sw-contact-cta { padding: 2rem; }
.sw-contact-cta h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--heading); }
.sw-contact-cta p { margin: 0.5rem 0 1.4rem; color: var(--ink-soft); }

/* ---------- footer ---------- */
.sw-footer { background: var(--green); color: #cbd5e1; padding-top: 3.5rem; }
.sw-footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sw-footer-crest { height: 84px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); object-fit: contain; }
.sw-footer-brand p { margin-top: 1rem; font-size: 0.95rem; color: rgba(203, 213, 225,0.7); max-width: 24rem; }
.sw-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sw-footer-cols h5 { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; color: var(--gold-2); margin-bottom: 0.9rem; }
.sw-footer-cols a, .sw-footer-cols span { display: block; font-size: 0.92rem; color: rgba(203, 213, 225,0.75); padding: 0.28rem 0; transition: color 0.2s; }
.sw-footer-cols a:hover { color: #fff; }
.sw-footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; font-size: 0.85rem; color: rgba(203, 213, 225,0.55); }
.sw-footer-motto { font-family: var(--serif); font-style: italic; color: var(--gold-2); letter-spacing: 0.04em; }

/* ---------- admission modal ---------- */
.sw-modal-scrim {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 46, 30, 0.55);
  backdrop-filter: blur(4px);
  display: none; place-items: center; padding: 1.2rem;
}
.sw-modal-scrim.is-open { display: grid; animation: sw-fade 0.25s ease; }
@keyframes sw-fade { from { opacity: 0; } to { opacity: 1; } }
.sw-modal {
  position: relative; width: min(580px, 100%); max-height: 94vh; overflow-y: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.5rem clamp(1.3rem, 4vw, 2rem);
  box-shadow: 0 40px 90px -30px rgba(15, 23, 42, 0.6);
  animation: sw-pop 0.3s cubic-bezier(.2,.8,.2,1);
}
@keyframes sw-pop { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.sw-modal-close {
  position: absolute; top: 0.9rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft);
  font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.sw-modal-close:hover { background: var(--green); color: #fff; }
.sw-modal-head { margin-bottom: 0.9rem; }
.sw-modal-head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; color: var(--heading); margin-top: 0.25rem; }
.sw-modal-sub { color: var(--ink-soft); margin-top: 0.2rem; font-size: 0.92rem; }

.sw-form { display: flex; flex-direction: column; gap: 0.7rem; }
.sw-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.sw-field { display: flex; flex-direction: column; gap: 0.3rem; }
.sw-field label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sw-field label span { color: var(--rose); margin-left: 2px; }
.sw-field input, .sw-field select, .sw-field textarea {
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.55rem 0.75rem; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.sw-field textarea { resize: vertical; }
.sw-field input:focus, .sw-field select:focus, .sw-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(8, 145, 178,0.14);
}
.sw-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sw-form-err { color: var(--rose); font-size: 0.9rem; font-weight: 600; }
.sw-form-submit { justify-content: center; margin-top: 0.15rem; }
.sw-form-submit:disabled { opacity: 0.7; cursor: default; }
.sw-form-note { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: -0.1rem; }
.sw-form-note a { color: var(--accent); font-weight: 600; }

.sw-modal-done { text-align: center; padding: 1.5rem 0.5rem; display: none; }
.sw-modal-done.is-visible { display: block; }
.sw-modal-form-wrap.is-hidden { display: none; }
.sw-modal-check {
  display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 1.2rem;
  border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--green)); color: #fff; font-size: 2rem;
}
.sw-modal-done h3 { font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--heading); }
.sw-modal-done p { color: var(--ink-soft); margin: 0.7rem auto 1.6rem; max-width: 30rem; }

@media (max-width: 480px) { .sw-form-row { grid-template-columns: 1fr; } }

/* ---------- reveal animations ---------- */
.sw-rise { opacity: 0; transform: translateY(24px); animation: sw-rise-in 0.9s cubic-bezier(.2,.8,.2,1) forwards; }
.sw-rise-1 { animation-delay: 0.12s; } .sw-rise-2 { animation-delay: 0.24s; }
.sw-rise-3 { animation-delay: 0.38s; } .sw-rise-4 { animation-delay: 0.52s; } .sw-rise-5 { animation-delay: 0.66s; }
@keyframes sw-rise-in { to { opacity: 1; transform: none; } }

.sw-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1); }
.sw-reveal.in { opacity: 1; transform: none; }
.sw-reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1); }
.sw-reveal-stagger.in > * { opacity: 1; transform: none; }
.sw-reveal-stagger.in > *:nth-child(2) { transition-delay: 0.09s; }
.sw-reveal-stagger.in > *:nth-child(3) { transition-delay: 0.18s; }
.sw-reveal-stagger.in > *:nth-child(4) { transition-delay: 0.27s; }
.sw-reveal-stagger.in > *:nth-child(5) { transition-delay: 0.36s; }
.sw-reveal-stagger.in > *:nth-child(6) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  * , *::before, *::after { animation: none !important; transition: none !important; }
  .sw-rise, .sw-reveal, .sw-reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .sw-nav-links { display: none; }
  .sw-about { grid-template-columns: 1fr; }
  .sw-about-aside { position: static; }
  .sw-programs, .sw-facilities, .sw-events { grid-template-columns: 1fr 1fr; }
  .sw-voices { grid-template-columns: 1fr; }
  .sw-admissions-inner, .sw-contact { grid-template-columns: 1fr; }
  .sw-stats { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .sw-strip-item { display: none; }
  .sw-strip-inner { justify-content: center; }
  .sw-brand-text { display: none; }
  .sw-programs, .sw-facilities, .sw-events { grid-template-columns: 1fr; }
  .sw-hero-ctas .sw-btn, .sw-admissions-ctas .sw-btn { flex: 1 1 auto; justify-content: center; }
  .sw-footer-top { grid-template-columns: 1fr; }
  .sw-footer-cols { grid-template-columns: 1fr 1fr; }
  .sw-footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }
}
