/* ============================================================
   CITADEL INTERNATIONAL SCHOOL, BIHPUR
   Design System — elegant editorial (inspired by high-end academy sites)
   ============================================================ */

:root {
  --cream: #F7F3EC;
  --cream-2: #F0E9DD;
  --cream-3: #E9E0D0;
  --ink: #1A211C;
  --ink-soft: #4A544D;
  --green: #1E3A2F;
  --green-deep: #142720;
  --green-soft: #2E4E3F;
  --gold: #B98A2F;
  --gold-soft: #D3B888;
  --gold-pale: #EADFC8;
  --line: rgba(26, 33, 28, 0.14);
  --line-light: rgba(247, 243, 236, 0.22);
  --white: #FFFFFF;
  --shadow: 0 24px 60px -24px rgba(20, 39, 32, 0.35);
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 86px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--white); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: 0.005em; }

.container { width: min(1360px, 100% - 96px); margin-inline: auto; }
.container-narrow { width: min(880px, 100% - 96px); margin-inline: auto; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--gold); }
.eyebrow.center::after { content: ""; width: 44px; height: 1px; background: var(--gold); }
.eyebrow.on-dark { color: var(--gold-soft); }
.eyebrow.on-dark::before, .eyebrow.on-dark::after { background: var(--gold-soft); }

.h-display { font-size: clamp(3rem, 7.2vw, 6.4rem); line-height: 0.98; }
.h2 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); line-height: 1.04; }
.h3 { font-size: clamp(1.55rem, 2.4vw, 2.15rem); line-height: 1.15; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.28rem); line-height: 1.8; color: var(--ink-soft); font-weight: 300; }
.on-dark .lead, .lead.on-dark { color: rgba(247, 243, 236, 0.78); }
.small-caps { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; }

em.serif-it { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold); }

/* ---------- Buttons & links ---------- */
[hidden] { display: none !important; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 19px 38px; border-radius: 999px; overflow: hidden; cursor: pointer;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
  z-index: 1; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:active { transform: scale(0.97); }

.btn-green { background: var(--green); color: var(--cream); }
.btn-green::before { background: var(--gold); }
.btn-green:hover { color: var(--white); }

.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold::before { background: var(--green); }
.btn-gold:hover { color: var(--cream); }

.btn-outline { border: 1px solid rgba(247, 243, 236, 0.55); color: var(--cream); }
.btn-outline::before { background: var(--cream); }
.btn-outline:hover { color: var(--green); border-color: var(--cream); }

.btn-outline-dark { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline-dark::before { background: var(--green); }
.btn-outline-dark:hover { color: var(--cream); border-color: var(--green); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green);
  padding-bottom: 6px; position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform-origin: left; transition: transform 0.5s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(0.35); }
.link-arrow .arr { transition: transform 0.5s var(--ease); font-size: 15px; }
.link-arrow:hover .arr { transform: translateX(6px); }
.link-arrow.gold { color: var(--gold); }
.link-arrow.on-dark { color: var(--gold-soft); }
.link-arrow.on-dark::after { background: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  color: var(--cream);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header .header-inner {
  display: flex; align-items: center; gap: 42px;
  height: var(--header-h); padding-inline: 44px;
  transition: height 0.5s var(--ease);
}
.site-header.scrolled {
  background: rgba(247, 243, 236, 0.96);
  backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(20, 39, 32, 0.4);
}
.site-header.scrolled .header-inner { height: 70px; }

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 48px; color: var(--gold); transition: transform 0.6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: 0.08em; }
.brand-sub { font-size: 8.6px; letter-spacing: 0.4em; text-transform: uppercase; margin-top: 5px; opacity: 0.75; font-weight: 400; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 12px 13px; position: relative; opacity: 0.92; transition: opacity 0.3s;
}
.nav-link:hover { opacity: 1; }
.nav-link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link .caret { font-size: 9px; transition: transform 0.4s var(--ease); margin-top: 1px; }
.nav-item:hover .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translate(-50%, 12px);
  width: 340px; background: var(--cream); color: var(--ink);
  border-radius: 6px; box-shadow: var(--shadow); padding: 14px;
  opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}
.nav-item:hover .dropdown-menu, .nav-item.open .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-menu::before {
  content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px; background: var(--cream);
}
.dropdown-item {
  display: flex; align-items: center; gap: 16px; padding: 13px 14px; border-radius: 5px;
  transition: background 0.35s var(--ease);
}
.dropdown-item:hover { background: var(--cream-2); }
.dropdown-item .di-num { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--gold); width: 22px; flex-shrink: 0; }
.dropdown-item .di-name { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.2; display: block; }
.dropdown-item .di-desc { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.04em; display: block; margin-top: 2px; }

/* Header right */
.header-right { margin-left: auto; display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
.header-right .kd-link { font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.92; position: relative; padding-bottom: 4px; }
.header-right .kd-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.header-right .kd-link:hover::after { transform: scaleX(1); }
.header-right .btn { padding: 13px 26px; font-size: 11.5px; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 8px; z-index: 400; }
.hamburger span { display: block; height: 1.6px; width: 100%; background: currentColor; transition: transform 0.45s var(--ease), opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300; background: var(--green-deep); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px 40px 44px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity 0.55s var(--ease), visibility 0.55s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mm-links { display: flex; flex-direction: column; gap: 4px; }
.mm-link {
  font-family: var(--serif); font-size: clamp(1.9rem, 6.4vh, 2.6rem); font-weight: 500;
  padding: 7px 0; display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.mobile-menu.open .mm-link { opacity: 1; transform: translateY(0); }
.mm-link .mm-num { font-size: 13px; color: var(--gold-soft); font-family: var(--sans); letter-spacing: 0.2em; }
.mm-sub-toggle { font-family: var(--serif); font-size: clamp(1.9rem, 6.4vh, 2.6rem); padding: 7px 0; display: flex; align-items: baseline; gap: 16px; width: 100%; text-align: left; }
.mm-sub-toggle .caret { margin-left: auto; font-size: 16px; color: var(--gold-soft); transition: transform 0.4s var(--ease); }
.mm-sub.open .caret { transform: rotate(45deg); }
.mm-sub-links { display: none; flex-direction: column; padding: 4px 0 14px 38px; gap: 2px; }
.mm-sub.open .mm-sub-links { display: flex; }
.mm-sub-links a { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold-soft); padding: 4px 0; }
.mm-foot { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line-light); padding-top: 26px; margin-top: 30px; }
.mm-apply { display: flex; gap: 14px; flex-wrap: wrap; }
.mm-contact { font-size: 13.5px; letter-spacing: 0.06em; opacity: 0.72; line-height: 2; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: var(--cream); overflow: hidden; isolation: isolate;
}
.hero .hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: heroZoom 8s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero .hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 24, 19, 0.5) 0%, rgba(13, 24, 19, 0.24) 38%, rgba(13, 24, 19, 0.72) 100%);
}
.hero-content { width: 100%; padding: 180px 0 110px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 16px; font-size: 12.5px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; margin-bottom: 26px; }
.hero-kicker::before, .hero-kicker::after { content: ""; width: 46px; height: 1px; background: var(--gold-soft); }
.hero h1 { font-size: clamp(3.1rem, 8.4vw, 7.4rem); line-height: 0.96; font-weight: 500; max-width: 14ch; }
.hero h1 .ital { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.hero-sub { max-width: 54ch; margin-top: 30px; font-size: clamp(1.02rem, 1.4vw, 1.22rem); line-height: 1.85; color: rgba(247, 243, 236, 0.85); }
.hero-ctas { display: flex; gap: 18px; margin-top: 44px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; right: 54px; bottom: 48px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10.5px; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(247, 243, 236, 0.7);
}
.hero-scroll .line { width: 1px; height: 64px; background: rgba(247, 243, 236, 0.35); position: relative; overflow: hidden; }
.hero-scroll .line::after { content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--gold-soft); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }

/* Page hero (inner pages) */
.page-hero { position: relative; min-height: 66svh; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; isolation: isolate; }
.page-hero .hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 24, 19, 0.55), rgba(13, 24, 19, 0.38) 45%, rgba(13, 24, 19, 0.8)); }
.page-hero .hero-content { padding: 170px 0 84px; }
.page-hero .hero-kicker::before { display: none; }
.page-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1; }
.page-hero .hero-sub { margin-top: 22px; max-width: 62ch; }

/* ---------- Sections ---------- */
.section { padding: 118px 0; position: relative; }
.section-lg { padding: 150px 0; }
.section-sm { padding: 84px 0; }
.section-alt { background: var(--cream-2); }
.section-green { background: var(--green); color: var(--cream); }
.section-green .h2, .section-green .h3 { color: var(--cream); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 90px; align-items: end; margin-bottom: 68px; }
.section-head .h2 { margin-top: 20px; }
.section-head-right { max-width: 46ch; justify-self: end; }
.section-head.center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.section-head.center .lead { max-width: 62ch; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-clip { opacity: 0; transform: translateY(30px) scale(0.99); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal-clip.in-view { opacity: 1; transform: none; }
.reveal-clip img { transform: scale(1.14); transition: transform 1.6s var(--ease); }
.reveal-clip.in-view img { transform: scale(1); }
.d1 { transition-delay: 0.12s; } .d2 { transition-delay: 0.24s; } .d3 { transition-delay: 0.36s; } .d4 { transition-delay: 0.48s; } .d5 { transition-delay: 0.6s; }

.img-frame { overflow: hidden; border-radius: 8px; position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.zoomable img { transition: transform 1.1s var(--ease); }
.zoomable:hover img { transform: scale(1.05); }

/* ---------- Ticker strip ---------- */
.ticker { background: var(--green-deep); color: var(--gold-soft); overflow: hidden; padding: 15px 0; border-block: 1px solid rgba(211, 184, 136, 0.25); }
.ticker-track { display: flex; gap: 64px; width: max-content; animation: tickerMove 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerMove { to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 64px; font-size: 12.5px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.ticker-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: inline-block; }

/* ---------- Discipline blocks (home) ---------- */
.disc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 26px; }
.disc-block { position: relative; display: flex; align-items: flex-end; min-height: 560px; padding: 42px 44px; border-radius: 10px; overflow: hidden; isolation: isolate; color: var(--cream); }
.disc-block.span-7 { grid-column: span 7; }
.disc-block.span-5 { grid-column: span 5; }
.disc-block img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.disc-block::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(13, 24, 19, 0.08) 0%, rgba(13, 24, 19, 0.34) 55%, rgba(13, 24, 19, 0.82) 100%); transition: background 0.6s var(--ease); }
.disc-block:hover img { transform: scale(1.06); }
.disc-num { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--gold-soft); letter-spacing: 0.1em; display: block; margin-bottom: 10px; }
.disc-block h3 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 10px; }
.disc-block .disc-tag { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(247, 243, 236, 0.78); display: block; margin-bottom: 22px; }
.disc-block .link-arrow { color: var(--cream); }
.disc-block .link-arrow::after { background: var(--gold-soft); }

/* ---------- Split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.split + .split { margin-top: 110px; }
.split-media { position: relative; }
.split-media .img-frame { aspect-ratio: 4 / 4.6; }
.split-media .float-card {
  position: absolute; right: -34px; bottom: -34px; background: var(--green); color: var(--cream);
  border-radius: 8px; padding: 30px 34px; max-width: 250px; box-shadow: var(--shadow);
}
.split-media .float-card .fc-num { font-family: var(--serif); font-size: 44px; color: var(--gold-soft); line-height: 1; }
.split-media .float-card .fc-label { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 8px; opacity: 0.85; }
.split-body .h2 { margin: 20px 0 26px; }
.split-body p + p { margin-top: 18px; }
.split-body .link-arrow { margin-top: 30px; }
.split.rev .split-media { order: 2; }
.split.rev .split-media .float-card { right: auto; left: -34px; }
.check-list { margin-top: 26px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: baseline; font-size: 16px; color: var(--ink-soft); }
.check-list li::before { content: "—"; color: var(--gold); font-weight: 500; }
.check-list li strong { color: var(--ink); font-weight: 500; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--green); color: var(--cream); border-radius: 12px; padding: 74px 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(211, 184, 136, 0.28); border-radius: 8px; pointer-events: none; }
.stat { text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -20px; top: 12%; bottom: 12%; width: 1px; background: rgba(211, 184, 136, 0.25); }
.stat-num { font-family: var(--serif); font-size: clamp(2.8rem, 4.6vw, 4.2rem); color: var(--gold-soft); line-height: 1; }
.stat-num sup { font-size: 0.45em; margin-left: 4px; }
.stat-label { margin-top: 12px; font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(247, 243, 236, 0.75); }

/* ---------- Cards / news ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { display: flex; flex-direction: column; }
.news-card .img-frame { aspect-ratio: 4 / 2.9; border-radius: 8px; margin-bottom: 24px; }
.news-meta { display: flex; align-items: center; gap: 14px; font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.news-meta .nd { color: var(--ink-soft); opacity: 0.7; letter-spacing: 0.14em; }
.news-card h3 { font-size: 1.62rem; margin: 14px 0 12px; line-height: 1.2; transition: color 0.35s; }
.news-card:hover h3 { color: var(--green-soft); }
.news-card p { color: var(--ink-soft); font-size: 15.5px; }
.news-card .link-arrow { margin-top: 18px; font-size: 11.5px; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 44px 0 60px; }
.filter-pill {
  border: 1px solid var(--line); border-radius: 999px; padding: 11px 26px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft);
  transition: all 0.4s var(--ease);
}
.filter-pill:hover { border-color: var(--green); color: var(--green); }
.filter-pill.active { background: var(--green); border-color: var(--green); color: var(--cream); }

/* ---------- Student work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 4.7; display: block; isolation: isolate; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); z-index: -2; position: absolute; inset: 0; }
.work-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(185deg, rgba(13,24,19,0) 42%, rgba(13,24,19,0.82) 100%); opacity: 0.85; transition: opacity 0.5s var(--ease); }
.work-card:hover img { transform: scale(1.07); }
.work-card:hover::after { opacity: 1; }
.work-info { position: absolute; left: 30px; right: 30px; bottom: 28px; color: var(--cream); transform: translateY(12px); opacity: 0.94; transition: transform 0.55s var(--ease), opacity 0.55s var(--ease); }
.work-card:hover .work-info { transform: translateY(0); opacity: 1; }
.work-cat { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; display: block; margin-bottom: 8px; }
.work-title { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.work-student { display: block; font-size: 13px; color: rgba(247, 243, 236, 0.72); margin-top: 6px; letter-spacing: 0.05em; }

.load-more-wrap { display: flex; justify-content: center; margin-top: 64px; }

/* ---------- Accordion (FAQ) ---------- */
.acc-list { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 30px 6px; text-align: left; font-family: var(--serif); font-size: clamp(1.28rem, 2vw, 1.66rem);
  font-weight: 500; line-height: 1.3; color: var(--ink); transition: color 0.35s;
}
.acc-q:hover { color: var(--green-soft); }
.acc-icon { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; flex-shrink: 0; transition: all 0.45s var(--ease); }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: currentColor; transition: transform 0.45s var(--ease); }
.acc-icon::before { width: 14px; height: 1.4px; transform: translate(-50%, -50%); }
.acc-icon::after { width: 1.4px; height: 14px; transform: translate(-50%, -50%); }
.acc-item.open .acc-icon { background: var(--green); border-color: var(--green); color: var(--cream); transform: rotate(90deg); }
.acc-item.open .acc-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease); }
.acc-a-inner { padding: 2px 70px 34px 6px; color: var(--ink-soft); max-width: 78ch; }
.acc-a-inner p + p { margin-top: 12px; }
.acc-a-inner a { color: var(--gold); border-bottom: 1px solid var(--gold-soft); }

/* ---------- Key dates ---------- */
.kd-group { margin-bottom: 74px; }
.kd-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--green); flex-wrap: wrap; }
.kd-head h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.kd-head .kd-note { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.kd-row {
  display: grid; grid-template-columns: 2.1fr 1.7fr 1.3fr auto; gap: 24px; align-items: center;
  padding: 26px 6px; border-bottom: 1px solid var(--line); transition: background 0.35s var(--ease);
}
.kd-row:hover { background: rgba(185, 138, 47, 0.05); }
.kd-program { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.25; }
.kd-field .f-label { display: block; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-soft); opacity: 0.7; margin-bottom: 5px; font-weight: 500; }
.kd-field .f-value { font-size: 15.5px; color: var(--ink); font-weight: 400; }
.kd-row .link-arrow { font-size: 11px; }
.kd-notice { margin-top: 40px; background: var(--cream-2); border-left: 3px solid var(--gold); padding: 26px 32px; border-radius: 0 8px 8px 0; color: var(--ink-soft); }
.kd-notice strong { color: var(--ink); font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 90px; align-items: start; }
.c-info-block { padding: 30px 0; border-bottom: 1px solid var(--line); }
.c-info-block:first-child { padding-top: 6px; }
.c-info-label { font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 10px; display: block; }
.c-info-value { font-family: var(--serif); font-size: 1.42rem; line-height: 1.4; }
.c-info-value a { transition: color 0.3s; }
.c-info-value a:hover { color: var(--gold); }
.c-info-sub { font-size: 14.5px; color: var(--ink-soft); margin-top: 8px; max-width: 40ch; }

.contact-form { background: var(--white); border-radius: 12px; padding: 56px 58px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field { margin-bottom: 32px; }
.field label { display: block; font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 500; color: var(--ink-soft); margin-bottom: 10px; }
.field label .req { color: var(--gold); }
.field input, .field textarea, .field select {
  width: 100%; border: none; border-bottom: 1px solid var(--line); background: transparent;
  padding: 12px 2px 14px; font-size: 16.5px; font-weight: 300; outline: none;
  transition: border-color 0.4s var(--ease); border-radius: 0;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field.error input, .field.error textarea { border-color: #B4432F; }
.field .err-msg { display: none; font-size: 12.5px; color: #B4432F; margin-top: 7px; letter-spacing: 0.04em; }
.field.error .err-msg { display: block; }
.form-success { display: none; background: var(--green); color: var(--cream); border-radius: 8px; padding: 24px 30px; margin-bottom: 30px; font-size: 15.5px; line-height: 1.6; }
.form-success.show { display: block; animation: fadeUp 0.6s var(--ease); }
.form-success strong { color: var(--gold-soft); font-weight: 500; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Map */
.map-wrap { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.map-wrap iframe { width: 100%; height: 460px; border: 0; display: block; filter: saturate(0.82) contrast(1.02); }
.map-legend { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 26px; }
.map-legend .ml-item { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.map-legend .ml-item b { font-family: var(--serif); font-size: 17px; color: var(--green); font-weight: 600; }
.map-legend .ml-item .dist { color: var(--gold); font-weight: 500; letter-spacing: 0.06em; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--green-deep); color: var(--cream); isolation: isolate; }
.cta-band .bg-img { position: absolute; inset: 0; z-index: -2; }
.cta-band .bg-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(13,24,19,0.92) 20%, rgba(13,24,19,0.55)); }
.cta-inner { padding: 130px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta-inner .h2 { max-width: 22ch; }
.cta-inner .lead { max-width: 58ch; }

/* ---------- Big footer ---------- */
.big-footer { background: var(--green-deep); color: var(--cream); position: relative; overflow: hidden; }
.footer-top { padding: 96px 0 70px; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 56px; }
.footer-brand .brand-mark { width: 52px; height: 62px; }
.footer-brand .brand-name { font-size: 26px; margin-top: 22px; }
.footer-brand p { margin-top: 18px; color: rgba(247, 243, 236, 0.66); font-size: 15px; max-width: 34ch; }
.footer-social { display: flex; gap: 14px; margin-top: 28px; }
.footer-social a {
  width: 44px; height: 44px; border: 1px solid rgba(211, 184, 136, 0.4); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: 0.04em;
  transition: all 0.45s var(--ease); font-weight: 500;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); transform: translateY(-4px); }
.footer-col .fc-title { font-size: 11.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; margin-bottom: 24px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: rgba(247, 243, 236, 0.78); font-size: 15.5px; transition: all 0.35s var(--ease); display: inline-block; }
.footer-col a:hover { color: var(--gold-soft); transform: translateX(6px); }
.footer-col .fc-address { color: rgba(247, 243, 236, 0.78); font-size: 15.5px; line-height: 2; }
.footer-word {
  font-family: var(--serif); font-weight: 600; text-align: center; line-height: 0.8;
  font-size: clamp(4rem, 13.5vw, 12.5rem); letter-spacing: 0.02em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(247, 243, 236, 0.13), rgba(247, 243, 236, 0.015));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; pointer-events: none; padding-top: 10px;
}
.footer-bottom { border-top: 1px solid var(--line-light); padding: 26px 0 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: rgba(247, 243, 236, 0.55); letter-spacing: 0.05em; }
.footer-bottom .fb-links { display: flex; gap: 26px; }
.footer-bottom .fb-links a { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(247, 243, 236, 0.66); transition: color 0.3s; }
.footer-bottom .fb-links a:hover { color: var(--gold-soft); }

/* ---------- Page-specific helpers ---------- */
.prose { max-width: 76ch; }
.prose p + p { margin-top: 20px; }
.prose .drop::first-letter { font-family: var(--serif); font-size: 3.4em; float: left; line-height: 0.82; padding-right: 12px; color: var(--gold); font-weight: 500; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.value-card { background: var(--white); border-radius: 10px; padding: 40px 34px; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); border: 1px solid rgba(26,33,28,0.05); }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.value-card .vc-num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 17px; }
.value-card h4 { font-size: 1.5rem; margin: 14px 0 12px; }
.value-card p { font-size: 14.8px; color: var(--ink-soft); }

.mission-band { background: var(--green); color: var(--cream); text-align: center; }
.mission-band .quote { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.35; font-weight: 400; max-width: 26ch; margin: 0 auto; }
.mission-band .quote em { color: var(--gold-soft); font-style: italic; }
.mission-band .q-author { margin-top: 30px; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(247, 243, 236, 0.65); }

.fac-list { display: grid; gap: 0; }
.fac-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 34px; align-items: center; padding: 40px 8px; border-bottom: 1px solid var(--line); transition: background 0.4s var(--ease); }
.fac-item:first-child { border-top: 1px solid var(--line); }
.fac-item:hover { background: rgba(185, 138, 47, 0.055); }
.fac-item .fi-num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); }
.fac-item h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); transition: transform 0.5s var(--ease); }
.fac-item:hover h3 { transform: translateX(10px); }
.fac-item .fi-sub { display: block; font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; font-weight: 400; }
.fac-item .fi-arrow { width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; transition: all 0.45s var(--ease); }
.fac-item:hover .fi-arrow { background: var(--green); border-color: var(--green); color: var(--cream); transform: rotate(-45deg); }

.step-list { counter-reset: step; display: grid; gap: 0; }
.step-item { display: grid; grid-template-columns: 110px 1fr; gap: 34px; padding: 36px 8px; border-bottom: 1px solid var(--line); }
.step-item:first-child { border-top: 1px solid var(--line); }
.step-item .s-num { font-family: var(--serif); font-size: 3rem; color: var(--cream-3); line-height: 1; font-style: italic; counter-increment: step; }
.step-item .s-num::before { content: "0" counter(step); }
.step-item h4 { font-size: 1.55rem; margin-bottom: 10px; }
.step-item p { color: var(--ink-soft); max-width: 68ch; font-size: 15.8px; }

.require-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 80px; }

/* Spotlight (about page leadership) */
.person-card { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 54px; align-items: center; background: var(--white); border-radius: 14px; padding: 54px; box-shadow: var(--shadow); }
.person-card .img-frame { aspect-ratio: 4/4.4; border-radius: 10px; }
.person-card h3 { font-size: 2rem; }
.person-card .p-role { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 10px 0 20px; display: block; }
.person-card blockquote { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.6; color: var(--ink-soft); }
.person-card blockquote::before { content: "\201C"; font-size: 3.2rem; color: var(--gold); line-height: 0; vertical-align: -18px; margin-right: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .site-header .header-inner { padding-inline: 30px; gap: 26px; }
  .nav-link { padding: 12px 9px; font-size: 11.5px; letter-spacing: 0.1em; }
  .header-right { gap: 18px; }
}

@media (max-width: 1080px) {
  .main-nav, .header-right { display: none; }
  .hamburger { display: flex; }
  .site-header { color: var(--cream); }
  .site-header.scrolled { color: var(--ink); }
  .section { padding: 92px 0; }
  .section-lg { padding: 110px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 52px; }
  .section-head-right { justify-self: start; }
  .disc-grid { gap: 20px; }
  .disc-block { min-height: 440px; grid-column: span 6 !important; }
  .split { gap: 52px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: 56px 40px; gap: 48px 30px; }
  .stat + .stat::before { display: none; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 64px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 48px; padding: 80px 0 56px; }
  .footer-word { font-size: clamp(3.4rem, 15vw, 9rem); }
}

@media (max-width: 900px) {
  .container, .container-narrow { width: min(1360px, 100% - 48px); }
  .hero-content { padding: 150px 0 96px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.rev .split-media { order: 0; }
  .split-media .float-card { right: 18px; bottom: -26px; }
  .split.rev .split-media .float-card { left: 18px; }
  .split-media .img-frame { aspect-ratio: 4/3.4; }
  .fac-item { grid-template-columns: 52px 1fr auto; gap: 20px; }
  .step-item { grid-template-columns: 72px 1fr; gap: 22px; }
  .step-item .s-num { font-size: 2.2rem; }
  .person-card { grid-template-columns: 1fr; padding: 36px; gap: 34px; }
  .require-grid { grid-template-columns: 1fr; gap: 34px; }
  .kd-row { grid-template-columns: 1fr 1fr; }
  .kd-row .kd-program { grid-column: 1 / -1; }
  .kd-row .link-arrow { grid-column: 1 / -1; justify-self: start; }
  .contact-form { padding: 40px 30px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .container-narrow { width: min(1360px, 100% - 40px); }
  .section { padding: 72px 0; }
  .hero { min-height: 94svh; }
  .hero-scroll { display: none; }
  .disc-grid { grid-template-columns: 1fr; gap: 18px; }
  .disc-block { grid-column: span 1 !important; min-height: 400px; padding: 30px 26px; }
  .cards-3 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { aspect-ratio: 4/4.4; }
  .values-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 44px 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero-ctas .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mobile-menu { padding: 104px 28px 36px; }
  .acc-a-inner { padding-right: 6px; }
  .kd-row { grid-template-columns: 1fr; gap: 18px; }
  .map-legend { gap: 10px 22px; }
  .cta-inner { padding: 96px 0; }
}

