@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #17151a;
  --paper: #f7f3ed;
  --cream: #eee5d7;
  --gold: #d3a75e;
  --wine: #722b3b;
  --muted: #716a63;
  --line: rgba(23, 21, 26, .12);
  --max: 1180px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65
}

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

img {
  max-width: 100%;
  display: block
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: auto
}

.topbar {
  background: #0f0d10;
  color: #fff;
  height: 34px;
  overflow: hidden;
  white-space: nowrap
}

.ticker {
  display: flex;
  gap: 45px;
  align-items: center;
  height: 34px;
  animation: ticker 22s linear infinite;
  font-size: 12px;
  letter-spacing: .08em
}

.ticker b {
  color: var(--gold);
  text-transform: uppercase
}

@keyframes ticker {
  from {
    transform: translateX(100%)
  }

  to {
    transform: translateX(-100%)
  }
}

.header {
  position: fixed;
  z-index: 50;
  top: 34px;
  left: 0;
  right: 0;
  background: rgba(23, 21, 26, .88);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: .25s
}

.header.scrolled {
  top: 0
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: .06em
}

.brand img {
  height: 43px;
  width: auto
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 19px;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em
}

.navlinks>a,
.dropbtn {
  opacity: .84
}

.navlinks>a:hover,
.dropbtn:hover {
  color: var(--gold);
  opacity: 1
}

.drop {
  position: relative
}

.dropbtn {
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: inherit;
  cursor: pointer
}

.dropdown {
  position: absolute;
  top: 25px;
  left: -15px;
  background: #17151a;
  min-width: 190px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  display: none
}

.drop:hover .dropdown {
  display: block
}

.dropdown a {
  display: block;
  padding: 9px 10px;
  color: #fff
}

.dropdown a:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, .05)
}

.menu {
  display: none;
  color: #fff;
  background: none;
  border: 0;
  font-size: 25px
}

.hero {
  height: 100vh;
  min-height: 650px;
  position: relative;
  overflow: hidden;
  background: #1b171b
}

.slides {
  position: absolute;
  inset: 0
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-position: center;
  background-size: cover
}

.slide.active {
  opacity: 1
}

.slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 10, 13, .8), rgba(12, 10, 13, .3), rgba(12, 10, 13, .55))
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 230px;
  max-width: 850px
}

.kicker {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700
}

.hero h1 {
  font: 600 clamp(60px, 8vw, 108px)/.92 "Cormorant Garamond", serif;
  margin: 14px 0 22px
}

.hero p {
  font-size: 18px;
  max-width: 650px;
  color: rgba(255, 255, 255, .83)
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px
}

.btn {
  display: inline-flex;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase
}

.btn-primary {
  background: var(--gold);
  color: #17151a;
  border-color: var(--gold)
}

.dots {
  position: absolute;
  z-index: 3;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  cursor: pointer
}

.dot.active {
  background: var(--gold)
}

.section {
  padding: 96px 0
}

.alt {
  background: var(--cream)
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 40px
}

.head h2,
h2 {
  font: 600 clamp(42px, 5vw, 67px)/1 "Cormorant Garamond", serif;
  margin: 8px 0 15px
}

.lead {
  max-width: 650px;
  color: var(--muted)
}

.intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center
}

.intro-img {
  border-radius: 25px;
  overflow: hidden
}

.intro-img img {
  width: 100%;
  height: 560px;
  object-fit: cover
}

.quote {
  border-left: 3px solid var(--gold);
  padding-left: 22px;
  font: 500 29px/1.35 "Cormorant Garamond", serif;
  margin-top: 25px
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden
}

.card img {
  width: 100%;
  height: 230px;
  object-fit: cover
}

.card-body {
  padding: 22px
}

.card h3 {
  font: 600 31px/1.05 "Cormorant Garamond", serif;
  margin: 0 0 10px
}

.card p {
  color: var(--muted);
  font-size: 14px
}

.link {
  color: var(--wine);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 700
}

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

.video {
  aspect-ratio: 16/9;
  border-radius: 18px;
  overflow: hidden;
  background: #111
}

.video iframe {
  width: 100%;
  height: 100%;
  border: 0
}

.teacher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center
}

.teacher img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 24px
}

.teacher-copy p {
  color: var(--muted)
}

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

.notice {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px
}

.notice h3 {
  font: 600 30px "Cormorant Garamond", serif;
  margin: 0 0 8px
}

.notice p {
  color: var(--muted)
}

.pagehero {
  padding: 170px 0 75px;
  background: linear-gradient(135deg, #20191f, #742b3d);
  color: #fff
}

.pagehero h1 {
  font: 600 clamp(55px, 7vw, 88px)/.95 "Cormorant Garamond", serif;
  margin: 10px 0
}

.pagehero p {
  max-width: 700px;
  color: rgba(255, 255, 255, .8)
}

.masonry {
  columns: 4 220px;
  column-gap: 14px
}

.masonry a {
  display: block;
  break-inside: avoid;
  margin: 0 0 14px
}

.masonry img {
  width: 100%;
  border-radius: 14px
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 100;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  align-items: center;
  justify-content: center;
  padding: 25px
}

.lightbox.open {
  display: flex
}

.lightbox img {
  max-width: 92vw;
  max-height: 90vh
}

.close {
  position: absolute;
  right: 22px;
  top: 15px;
  color: #fff;
  font-size: 35px;
  background: none;
  border: 0
}

.admission {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.admission .card {
  transition: transform .2s
}

.admission .card:hover {
  transform: translateY(-5px)
}

.formgrid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 22px
}

.box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px
}

.item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line)
}

.item:last-child {
  border: 0
}

label {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 8px
}

input,
textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  background: #faf8f4;
  border-radius: 11px;
  font: inherit;
  margin-bottom: 18px
}

textarea {
  min-height: 150px
}

footer {
  background: #17151a;
  color: #fff;
  padding: 60px 0 25px
}

.footgrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 35px
}

.footgrid h3 {
  font: 600 31px "Cormorant Garamond", serif;
  color: var(--gold);
  margin: 0 0 10px
}

.footgrid p,
.footgrid a {
  color: rgba(255, 255, 255, .65)
}

.bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 35px;
  padding-top: 18px;
  color: rgba(255, 255, 255, .45);
  font-size: 11px
}

.to-top {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer
}

.to-top.show {
  display: flex
}

@media(max-width:950px) {
  .navlinks {
    display: none
  }

  .menu {
    display: block
  }

  .navlinks.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #17151a;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start
  }

  .drop .dropdown {
    position: static;
    margin-top: 8px
  }

  .drop:hover .dropdown {
    display: block
  }

  .intro,
  .teacher,
  .formgrid {
    grid-template-columns: 1fr
  }

  .cards,
  .admission {
    grid-template-columns: 1fr 1fr
  }

  .video-grid {
    grid-template-columns: 1fr 1fr
  }

  .footgrid {
    grid-template-columns: 1fr 1fr
  }

  .hero-content {
    padding-top: 190px
  }
}

@media(max-width:600px) {
  .container {
    width: calc(100% - 28px)
  }

  .hero h1 {
    font-size: 59px
  }

  .hero {
    min-height: 620px
  }

  .cards,
  .admission,
  .video-grid,
  .notice-grid,
  .footgrid {
    grid-template-columns: 1fr
  }

  .section {
    padding: 70px 0
  }

  .intro-img img,
  .teacher img {
    height: 400px
  }
}


/* ===== Premium motion & interaction layer ===== */
:root {
  --gold-soft: #e8c98f;
  --wine-dark: #4f1b29;
}

body {
  overflow-x: hidden
}

::selection {
  background: var(--gold);
  color: #17151a
}

.site-header {
  transition: background .35s ease, box-shadow .35s ease, transform .35s ease
}

.site-header.scrolled {
  background: rgba(23, 21, 26, .96);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .18)
}

.brand img {
  transition: transform .5s cubic-bezier(.2, .8, .2, 1)
}

.brand:hover img {
  transform: rotate(-4deg) scale(1.05)
}

.nav-links a {
  position: relative;
  transition: color .25s ease, opacity .25s ease
}

.nav-links a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold-soft);
  transition: right .3s ease
}

.nav-links a:hover:after,
.nav-links a.active:after {
  right: 0
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, rgba(23, 21, 26, .38));
  pointer-events: none
}

.hero-content {
  animation: heroIn 1.1s cubic-bezier(.2, .7, .2, 1) both
}

.hero .kicker {
  animation: fadeUp .8s .15s both
}

.hero h1 {
  animation: fadeUp .9s .25s both
}

.hero p {
  animation: fadeUp .9s .38s both
}

.hero .actions {
  animation: fadeUp .9s .5s both
}

.slide {
  transition: opacity 1.15s ease, transform 7s ease !important
}

.slide.active {
  transform: scale(1.06) !important
}

.btn {
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16)
}

.btn-primary:hover {
  background: var(--gold-soft)
}

.card {
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(23, 21, 26, .12);
  border-color: rgba(199, 155, 82, .35)
}

.card img {
  transition: transform .7s cubic-bezier(.2, .8, .2, 1)
}

.card:hover img {
  transform: scale(1.035)
}

.about-image {
  position: relative
}

.about-image:after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 20px;
  pointer-events: none
}

.about-image img {
  transition: transform .8s ease
}

.about-image:hover img {
  transform: scale(1.025)
}

.section .kicker {
  letter-spacing: .28em
}

.section-head h2 {
  position: relative
}

.section-head h2:after {
  content: "";
  display: block;
  width: 55px;
  height: 2px;
  background: var(--gold);
  margin-top: 20px;
  transform-origin: left;
  animation: lineIn .8s ease both
}

.quote {
  background: linear-gradient(90deg, rgba(199, 155, 82, .08), transparent);
  border-radius: 0 16px 16px 0
}

.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: 14px
}

.gallery a:after {
  content: "View";
  position: absolute;
  inset: auto 12px 12px auto;
  background: rgba(23, 21, 26, .78);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: .25s ease
}

.gallery a:hover:after {
  opacity: 1;
  transform: none
}

.gallery img {
  transition: transform .55s ease, filter .55s ease
}

.gallery a:hover img {
  transform: scale(1.04);
  filter: saturate(1.08)
}

.video {
  transition: transform .35s ease, box-shadow .35s ease
}

.video:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .14)
}

.instructor {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease
}

.instructor:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(23, 21, 26, .08);
  border-color: rgba(199, 155, 82, .35)
}

.page-hero {
  position: relative;
  overflow: hidden
}

.page-hero:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -160px;
  top: -180px;
  border: 1px solid rgba(232, 201, 143, .22);
  box-shadow: 0 0 0 45px rgba(232, 201, 143, .025), 0 0 0 90px rgba(232, 201, 143, .018);
  animation: float 8s ease-in-out infinite
}

.page-hero .container {
  position: relative;
  z-index: 2
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wine);
  color: #fff;
  z-index: 40;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(79, 27, 41, .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .3s ease
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none
}

.to-top:hover {
  transform: translateY(-3px);
  background: var(--wine-dark)
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes heroIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes lineIn {
  from {
    transform: scaleX(0);
    opacity: 0
  }

  to {
    transform: scaleX(1);
    opacity: 1
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg)
  }

  50% {
    transform: translateY(16px) rotate(4deg)
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important
  }
}