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

:root {
  --bg:        #07070a;
  --bg2:       #0e0e14;
  --bg3:       #141420;
  --accent:    #c9a84c;
  --accent2:   #7c5cbf;
  --text:      #e2ddd6;
  --text-muted:#7a746e;
  --border:    rgba(201,168,76,.15);
  --glass:     rgba(255,255,255,.03);
  --radius:    16px;
  --transition:600ms cubic-bezier(.25,.46,.45,.94);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── Typography ────────────────────────────────── */
h1,h2,h3,h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.15;
}

em { font-style: italic; color: var(--accent); }

a { color: inherit; text-decoration: none; }

/* ─── Utilities ─────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 120px 0; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 48px;
}

.section-head { margin-bottom: 0; }

.d-none-sm { display: inline; }

/* ─── Scroll reveal ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: .1s; }
.reveal:nth-child(3) { transition-delay: .2s; }
.reveal:nth-child(4) { transition-delay: .3s; }

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .3s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #07070a;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: #dbb95a;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,.35);
}

.btn--outline {
  border-color: rgba(255,255,255,.2);
  color: var(--text);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--glass);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm { padding: 10px 22px; font-size: 13px; }
.btn--lg { padding: 18px 44px; font-size: 15px; }

/* ─── Nav ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: background .4s ease, backdrop-filter .4s ease, padding .4s ease;
}

.nav.scrolled {
  background: rgba(7,7,10,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 14px 40px;
}

.nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: .06em;
  color: var(--accent);
}

/* ─── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  animation: float 8s ease-in-out infinite;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #7c5cbf 0%, transparent 70%);
  top: -150px; left: -100px;
  animation-delay: 0s;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #c9a84c 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation-delay: -3s;
}
.hero__orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #2a4a3e 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%,-50%);
  animation-delay: -6s;
}

@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.05); }
  66%      { transform: translate(-20px,15px) scale(.97); }
}

.hero__orb--1, .hero__orb--2 { animation-name: float; }

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 24px;
}

.hero__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -.01em;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  margin: 0 auto;
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ─── Quote ──────────────────────────────────────── */
.quote-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 300;
  text-align: center;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}
.quote::before {
  content: '"';
  font-size: 6rem;
  color: var(--accent);
  opacity: .2;
  position: absolute;
  top: -40px; left: -20px;
  font-style: normal;
  line-height: 1;
}

/* ─── About ──────────────────────────────────────── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about__text .section-title { margin-bottom: 24px; }

.about__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.stat {
  padding: 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.stat__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Semesters ──────────────────────────────────── */
.semesters { background: var(--bg2); }

.semesters .section-head { margin-bottom: 64px; }

.semesters__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.semester-card {
  position: relative;
  cursor: default;
}

.semester-card__inner {
  height: 100%;
  padding: 40px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color .4s ease, transform .4s ease;
  backdrop-filter: blur(8px);
}

.semester-card:hover .semester-card__inner {
  border-color: rgba(201,168,76,.4);
  transform: translateY(-4px);
}

.semester-card__glow {
  position: absolute;
  bottom: -80px; right: -80px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
  border-radius: 50%;
  transition: opacity .4s ease;
  pointer-events: none;
}

.semester-card:hover .semester-card__glow { opacity: 1.5; }

.semester-card__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.semester-card__title {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 300;
  margin-bottom: 20px;
}

.semester-card__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── Results ────────────────────────────────────── */
.results .section-head { margin-bottom: 64px; }

.results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  transition: background .3s ease;
}

.result-item:hover { background: rgba(201,168,76,.05); }

.result-item__icon {
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.result-item__text {
  font-size: 15px;
  font-weight: 300;
}

/* ─── Principles ─────────────────────────────────── */
.principles { background: var(--bg2); }
.principles .section-head { margin-bottom: 64px; }

.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.principle {
  text-align: center;
  padding: 48px 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform .4s ease, border-color .4s ease;
}

.principle:hover {
  transform: translateY(-6px);
  border-color: rgba(201,168,76,.3);
}

.principle::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform .4s ease;
}
.principle:hover::after { transform: scaleX(1); }

.principle__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent);
  opacity: .3;
  line-height: 1;
  margin-bottom: 20px;
}

.principle__title {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.principle__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── CTA Section ────────────────────────────────── */
.cta-section {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-section__content { position: relative; z-index: 2; }

.cta-section__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  margin-bottom: 24px;
}

.cta-section__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* ─── Footer ─────────────────────────────────────── */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--accent);
  font-weight: 300;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--text-muted);
  transition: color .3s ease;
}
.footer__links a:hover { color: var(--accent); }

.footer__copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .section { padding: 80px 0; }

  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__stats { grid-template-columns: repeat(3, 1fr); }

  .semesters__grid { grid-template-columns: 1fr; }

  .results__grid { grid-template-columns: 1fr 1fr; }

  .principles__grid { grid-template-columns: 1fr; gap: 20px; }

  .nav { padding: 16px 24px; }
  .nav.scrolled { padding: 12px 24px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .d-none-sm { display: none; }

  .hero__title { font-size: clamp(3rem, 14vw, 5rem); }

  .about__stats { grid-template-columns: 1fr; }

  .results__grid { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; text-align: center; }

  .semester-card__inner { padding: 28px 24px; }

  .result-item { padding: 20px 24px; }
}

/* ─── Custom scrollbar ───────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ─── Selection ──────────────────────────────────── */
::selection { background: rgba(201,168,76,.25); color: var(--text); }
