:root {
  --ink: #013817;

  --ink-mid: #14141c;
  --ink-soft: #1e1e2a;
  --ivory: #f5f2ec;
  --ivory-mid: #e8e4db;
  --gold: #93e200;
  --gold-lt: #e8d5aa;
  --gold-dk: #a07840;
  --sage: #4a6741;
  --mist: #8fa0a8;
  --radius: 1.25rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;

  color: var(--ivory);
  /* cursor: none; */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ══════════════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    transform 0.08s,
    width 0.2s var(--ease-out),
    height 0.2s var(--ease-out),
    background 0.2s;
  mix-blend-mode: difference;
}
.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #ffffffa4;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    transform 0.18s var(--ease-out),
    width 0.3s var(--ease-out),
    height 0.3s var(--ease-out),
    opacity 0.3s;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 38px;
  height: 38px;
}
body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower {
  width: 56px;
  height: 56px;
  opacity: 0.5;
}

/* ══════════════════════════════════════════════
   PRELOADER
══════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.preloader-inner {
  text-align: center;
}
.preloader-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(201, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}
.preloader-m {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
.preloader-bar {
  width: 160px;
  height: 1px;
  background: rgba(201, 169, 110, 0.2);
  margin: 0 auto 1rem;
  overflow: hidden;
  position: relative;
}
.preloader-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: barLoad 1.6s var(--ease-out) forwards;
}
@keyframes barLoad {
  to {
    left: 0;
  }
}
.preloader-text {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.35);
  font-family: "Outfit", sans-serif;
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  transition:
    padding 0.5s var(--ease-out),
    background 0.5s;
}
.navbar.scrolled {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: var(--ink);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

/* Logo */
.logo-mark {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}
.logo-mark span {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.logo-mark.small {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.logo-mark.small span {
  font-size: 1.1rem;
}
.logo-ring {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 10px;
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-name {
  line-height: 1.1;
}
.logo-sub {
  display: block;
}

/* Nav links */
.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.7);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover {
  color: var(--gold);
}
.nav-link:hover::after {
  width: 100%;
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  cursor: none;
  transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
.btn-gold:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 169, 110, 0.25);
}

.btn-gold-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  cursor: none;
  transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
.btn-gold-lg:hover {
  background: var(--gold-lt);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(201, 169, 110, 0.3);
}

.btn-ghost-lg {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  border: 1px solid var(--gold);

  color: rgba(245, 242, 236, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  cursor: none;
  transition:
    border-color 0.3s,
    color 0.3s,
    background 0.3s;
}
.btn-ghost-lg:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.05);
}

.btn-ink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--ink);
  color: var(--ivory);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(10, 10, 15, 0.15);
  border-radius: 3px;
  cursor: none;
  transition:
    background 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
.btn-ink:hover {
  background: #1e1e2a;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 10, 15, 0.15);
}

/* Hamburger */
.hamburger {
  background: none;
  border: none;
  cursor: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}
.bar {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ivory);
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
}
.hamburger.open .bar1 {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open .bar2 {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open .bar3 {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  transition:
    max-height 0.5s var(--ease-out),
    opacity 0.4s;
  opacity: 0;
}
.mobile-menu.open {
  max-height: 480px;
  opacity: 1;
}
.mobile-link {
  display: block;
  padding: 0.9rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 110, 0.08);
  transition: color 0.3s;
}
.mobile-link:hover {
  color: var(--gold);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
/* .hero {
  background: var(--ink);
} */

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px;
}

.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  display: flex;
  justify-content: space-evenly;
}
.hero-lines span {
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #7ac94d2f 40%,
    #7ac94d27 60%,
    transparent 100%
  );
  animation: lineReveal 2s var(--ease-out) forwards;
  transform-origin: top;
  transform: scaleY(0);
}
.hero-lines span:nth-child(1) {
  animation-delay: 0.3s;
}
.hero-lines span:nth-child(2) {
  animation-delay: 0.4s;
}
.hero-lines span:nth-child(3) {
  animation-delay: 0.5s;
}
.hero-lines span:nth-child(4) {
  animation-delay: 0.6s;
}
.hero-lines span:nth-child(5) {
  animation-delay: 0.7s;
}
.hero-lines span:nth-child(6) {
  animation-delay: 0.8s;
}
@keyframes lineReveal {
  to {
    transform: scaleY(1);
  }
}

.hero-slide {
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 0s;
}
.swiper-slide-active .hero-slide {
  animation: kenBurns 8s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

.hero-overlay {
  background: linear-gradient(135deg, #01705867, #0c141fcb, #085501a6);
  /* backdrop-filter: blur(3px); */
}

.hero-content {
  padding-top: 7rem;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 1.8s forwards;
}
.tag-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-headline {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 1.5rem;
}
.hero-headline .word {
  display: inline-block;
  overflow: hidden;
}
.hero-headline .char {
  display: inline-block;
  animation: charIn 0.7s var(--ease-out) both;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(245, 242, 236, 0.6);
  max-width: 500px;
  line-height: 1.8;
  margin: auto;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 2.2s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 2.5s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes charIn {
  from {
    opacity: 0;
    transform: translateY(60%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide counter */
.slide-counter {
  position: absolute;
  right: 2rem;
  bottom: 50%;
  transform: translateY(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.slide-sep {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), rgba(201, 169, 110, 0.1));
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 2rem;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.4);
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-cue-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: linePulse 2s ease-in-out infinite;
}
@keyframes linePulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.8);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* Hero stats */
.hero-stats {
  position: absolute;
  bottom: 2.5rem;
  right: 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: #0c0c0c73;
  backdrop-filter: blur(6px);
  /* border: 1px solid #fefffe4f; */
  border-radius: 6px;
  padding: 1.25rem 2rem;
}
.stat-item {
  text-align: center;
}
.stat-num {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.856);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: hsla(98, 46%, 61%, 0.5);
}
@media (max-width: 768px) {
  .hero-stats {
    display: none;
  }
  .slide-counter {
    display: none;
  }
}

/* ══════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════ */
.marquee-band {
  background: var(--gold);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 2rem;
  animation: marquee 50s linear infinite;
}
.marquee-track span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.marquee-dot {
  color: rgba(10, 10, 15, 0.4) !important;
  font-size: 0.5rem !important;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ══════════════════════════════════════════════
   SECTION COMMON
══════════════════════════════════════════════ */
.section-number {
  position: absolute;
  top: 4rem;
  right: 3rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 8rem;
  font-weight: 300;
  color: rgba(10, 10, 15, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.section-number.light {
  color: rgba(245, 242, 236, 0.04);
}

.section-eyebrow {
  display: flex;
  align-items: center;

  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.section-eyebrow.light {
  color: var(--gold);
}

.section-headline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.section-headline em {
  font-style: italic;
  color: var(--gold);
}

.body-text {
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 300;
}

/* Reveal animations */
.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.reveal-left {
  transform: translateX(-50px);
}
.reveal-right {
  transform: translateX(50px);
}
.reveal-up {
  transform: translateY(50px);
}
.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible {
  opacity: 1;
  transform: none;
}
[data-delay="1"] {
  transition-delay: 0.12s;
}
[data-delay="2"] {
  transition-delay: 0.24s;
}
[data-delay="3"] {
  transition-delay: 0.36s;
}

/* ══════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════ */
.about-section {
  color: var(--ink);
}

.about-images {
  position: relative;
}
.about-img-main {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.about-img {
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.about-img-main:hover .about-img {
  transform: scale(1.04);
}
.about-img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--ink);
  color: var(--ivory);
  padding: 1.5rem 2rem;
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(10, 10, 15, 0.3);
}
.badge-num {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.badge-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 242, 236, 0.5);
  margin-top: 4px;
}
.about-img-accent {
  position: absolute;
  width: 45%;
  aspect-ratio: 1;
  bottom: -3rem;
  left: -2rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 4px solid var(--ivory);
}
.about-img-sm {
  object-fit: cover;
}
.about-pattern-dot {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(
    circle,
    rgba(201, 169, 110, 0.3) 1px,
    transparent 1px
  );
  background-size: 8px 8px;
  z-index: -1;
}

/* Mission/Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 640px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}
.mv-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid rgba(10, 10, 15, 0.1);
  border-radius: 0.75rem;
  background: rgba(10, 10, 15, 0.03);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.mv-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.1);
}
.mv-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgb(10, 10, 15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.mv-icon--gold {
  background: rgba(201, 169, 110, 0.12);
  color: var(--gold);
}
.mv-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.mv-body {
  font-size: 0.8rem;
  color: rgba(10, 10, 15, 0.6);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════
   ACADEMICS
══════════════════════════════════════════════ */
.acad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .acad-grid {
    grid-template-columns: 1fr;
  }
}

.acad-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(245, 242, 236, 0.08);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.4s,
    transform 0.4s var(--ease-out),
    box-shadow 0.4s;
  background: rgba(245, 242, 236, 0.02);
}
.acad-card:hover {
  border-color: rgba(201, 169, 110, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}
.acad-card--featured {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.acad-card--featured:hover {
  transform: translateY(-8px) scale(1.01);
}

.acad-card-number {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(245, 242, 236, 0.05);
  line-height: 1;
}
.acad-card--featured .acad-card-number {
  color: rgba(10, 10, 15, 0.08);
}

.acad-card-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(135, 250, 82, 0.486);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.acad-card--featured .acad-card-icon {
  border-color: rgba(10, 10, 15, 0.2);
}

.acad-card-grade {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.featured-grade {
  color: rgba(10, 10, 15, 0.6);
}

.acad-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.acad-card--featured .acad-card-title {
  color: var(--ink);
}

.acad-card-body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(245, 242, 236, 0.55);
  margin-bottom: 1.5rem;
}
.acad-card--featured .acad-card-body {
  color: rgba(10, 10, 15, 0.65);
}

.acad-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.acad-list li {
  font-size: 0.8rem;
  color: rgba(245, 242, 236, 0.65);
  padding-left: 1rem;
  position: relative;
}
.acad-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}
.featured-list li {
  color: rgba(10, 10, 15, 0.7);
}
.featured-list li::before {
  color: rgba(10, 10, 15, 0.4);
}

.acad-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.3s;
}
.acad-cta:hover {
  gap: 0.75rem;
}
.featured-cta {
  color: var(--ink);
}

.acad-hover-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 0.5s var(--ease-out);
}
.acad-card:hover .acad-hover-line {
  width: 100%;
}

.featured-orb {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(10, 10, 15, 0.08);
  pointer-events: none;
}

/* ══════════════════════════════════════════════
   WHY US
══════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 540px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  padding: 2rem 1.75rem;
  border: 1px solid rgba(10, 10, 15, 0.1);
  border-radius: var(--radius);
  background: white;
  transition:
    border-color 0.4s,
    transform 0.4s var(--ease-out),
    box-shadow 0.4s;
}
.why-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(10, 10, 15, 0.08);
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--c, #f0fdf4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.why-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.why-body {
  font-size: 0.85rem;
  color: rgba(10, 10, 15, 0.55);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════ */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  background: var(--ink-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s var(--ease-out),
    filter 0.5s;
  filter: saturate(0.9);
}
.gallery-item:hover img {
  transform: scale(1.07);
  filter: saturate(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.85), transparent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory);
  transform: translateY(4px);
  opacity: 0;
  transition:
    opacity 0.4s,
    transform 0.4s;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.testimonials-bg {
  background: linear-gradient(135deg, #0e1a0e 0%, var(--ink) 60%, #1a1a0e 100%);
  position: relative;
}
.testimonials-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(201, 169, 110, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(74, 103, 65, 0.05) 0%,
      transparent 50%
    );
}

.testi-slide {
  padding: 0 0.5rem;
}
.testi-card {
  background: #edf5ec2d;

  border: 1px solid #57d472cc;
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  backdrop-filter: blur(12px);
  transition:
    border-color 0.4s,
    transform 0.4s;
}
.testi-card:hover {
  border-color: #26f54266;
  transform: translateY(-4px);
}
.testi-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 5rem;
  line-height: 0.8;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.testi-body {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(245, 242, 236, 0.75);
  font-weight: 300;
  margin-bottom: 2rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
}
.testi-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ivory);
}
.testi-role {
  font-size: 0.7rem;
  color: rgba(245, 242, 236, 0.4);
  letter-spacing: 0.05em;
}
.testi-stars {
  margin-left: auto;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testi-pagination {
  bottom: 0 !important;
}
.testi-pagination .swiper-pagination-bullet {
  background: rgba(201, 169, 110, 0.3);
  width: 6px;
  height: 6px;
  opacity: 1;
  transition: all 0.3s;
}
.testi-pagination .swiper-pagination-bullet-active {
  background: var(--gold);
  width: 24px;
  border-radius: 3px;
}

/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.form-input {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(10, 10, 15, 0.15);
  border-radius: 6px;
  background: rgba(10, 10, 15, 0.03);
  color: var(--ink);
  font-size: 0.9rem;
  font-family: "Outfit", sans-serif;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.1);
  background: rgba(201, 169, 110, 0.02);
}
.form-textarea {
  resize: none;
}
.form-success {
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  background: rgba(74, 103, 65, 0.1);
  border: 1px solid rgba(74, 103, 65, 0.3);
  color: var(--sage);
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-map {
  border-radius: 0.75rem;
  overflow: hidden;
  height: 280px;
  border: 1px solid rgba(10, 10, 15, 0.1);
  box-shadow: 0 20px 50px rgba(10, 10, 15, 0.08);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  border: 1px solid rgba(10, 10, 15, 0.1);
  border-radius: 0.75rem;
  background: white;
  transition: border-color 0.3s;
}
.info-item:hover {
  border-color: var(--gold);
}
.info-icon {
  width: 36px;
  height: 36px;
  background: rgba(201, 169, 110, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(10, 10, 15, 0.4);
  margin-bottom: 2px;
}
.info-value {
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--ink);
}
.footer-top {
  border-bottom: 1px solid rgba(245, 242, 236, 0.06);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 1.5rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  font-size: 1rem;
  color: #f5f2ecc7;
  text-decoration: none;
  transition:
    color 0.3s,
    padding-left 0.3s;
}
.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: #f5f2ecc7;
  line-height: 1.5;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #48ff4841;
  border: 1px solid rgba(245, 242, 236, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 242, 236, 0.5);
  text-decoration: none;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.social-btn:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════════ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 110, 0.4);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ══════════════════════════════════════════════
   SELECTION
══════════════════════════════════════════════ */
::selection {
  background: white;
  color: var(--gold);
}

/* Skip link — visually hidden until focused */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 99999;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Focus-visible ring for keyboard users */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Remove default outline only for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-headline .char {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-tag,
  .hero-sub,
  .hero-actions {
    opacity: 1;
    animation: none;
  }
}

/* gallery-section background fix for SEO colour contrast */
#gallery {
  background-color: var(--ivory);
}

/* Ensure gallery text contrast */
.gallery-mosaic .gallery-caption {
  color: #fff;
}

/* footer address link colours */
.footer-contact a,
.info-value a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
.footer-contact a:hover,
.info-value a:hover {
  text-decoration-color: var(--gold);
}

/* Hamburger button — accessible state */
.hamburger[aria-expanded="true"] .bar1 {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .bar2 {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] .bar3 {
  transform: translateY(-7.5px) rotate(-45deg);
}
