:root {
  --ink: #ffffff;
  --muted: #bcb4c2;
  --purple: #261434;
  --purple-deep: #1b0d28;
  --purple-light: #927fa7;
  --black: #050407;
  --line: rgba(255, 255, 255, 0.2);
  --container: 980px;
  --wide: 1180px;
  --section-space: clamp(84px, 10vw, 150px);
  --font: "Manrope", "Arial", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: transparent;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.site-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-color: var(--black);
  background-image: url("../assets/img/main-bg.jpg");
  background-position: center 36%;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 1;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.container {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  overflow: hidden;
}

.eyebrow {
  color: #d7cedf;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: white;
  color: #111;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Media placeholders are replaced by supplied project photos. */
.media-slot {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 58% 28%, rgba(142, 111, 169, 0.36), transparent 20%),
    linear-gradient(128deg, #0c0810 6%, #332039 52%, #0a070d 100%);
}

.media-slot::before,
.media-slot::after {
  position: absolute;
  z-index: -1;
  content: "";
  opacity: 0.55;
  filter: blur(1px);
}

.media-slot::before {
  width: 42%;
  height: 95%;
  right: 10%;
  bottom: -28%;
  transform: rotate(-12deg);
  background: linear-gradient(180deg, rgba(173, 148, 193, 0.65), rgba(14, 9, 18, 0));
  border-radius: 50% 50% 10% 10%;
}

.media-slot::after {
  width: 24%;
  height: 72%;
  bottom: -12%;
  left: 18%;
  transform: rotate(13deg);
  background: linear-gradient(180deg, rgba(92, 68, 112, 0.7), rgba(7, 5, 9, 0));
  border-radius: 50% 50% 20% 20%;
}

.media-slot__note {
  position: absolute;
  right: 20px;
  bottom: 18px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  isolation: isolate;
}

.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.12) 37%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 60%);
}

.topbar {
  display: flex;
  align-self: start;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--wide));
  padding-top: 30px;
}

.wordmark {
  position: relative;
  display: block;
  width: 160px;
  height: 60px;
  line-height: 0;
}

.wordmark__logo-wrap {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 160px;
  height: 160px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #908eb3;
}

.wordmark__logo,
.about__logo {
  display: block;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  object-fit: contain;
  background: #908eb3;
}

.wordmark__logo {
  width: 84%;
  height: 84%;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-menu a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: white;
}

.menu-toggle {
  display: none;
}

.hero__content {
  position: relative;
  top: -80px;
  display: flex;
  align-self: center;
  flex-direction: column;
  align-items: center;
  margin-top: 7vh;
  text-align: center;
}

.hero__content .eyebrow {
  margin-top: 22px;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
}

.hero__georgian {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
}

.hero .button {
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-width: 190px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 1px solid white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: white;
  color: var(--purple-deep);
}

.button--outline {
  box-shadow: 0 0 0 2px rgba(96, 50, 255, 0.8);
}

.button--solid {
  background: var(--purple);
}

/* Intro */
.section--intro {
  padding: clamp(70px, 9vw, 120px) 0;
  border-top: 8px solid var(--black);
  border-bottom: 8px solid var(--black);
  background: var(--purple);
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about__logo-wrap {
  display: flex;
  width: 190px;
  height: 190px;
  align-items: center;
  justify-content: center;
  margin-bottom: 31px;
  overflow: hidden;
  border-radius: 50%;
  background: #908eb3;
}

.intro .eyebrow {
  margin-bottom: 14px;
}

.intro h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.intro__copy {
  max-width: 720px;
  margin-top: 38px;
  color: #cdc5d2;
  font-size: 0.93rem;
}

/* Team */
.section--teachers {
  padding: 92px 0 110px;
  border-bottom: 8px solid var(--black);
  background: var(--purple);
}

.section-heading {
  margin-bottom: 60px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(2.35rem, 5vw, 4rem);
}

.teachers-grid {
  display: grid;
  max-width: 860px;
  margin-inline: auto;
  gap: 90px;
  grid-template-columns: 1fr 1fr;
}

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

.teacher__portrait {
  width: 180px;
  height: 180px;
  border-radius: 50%;
}

.teacher__photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.teacher__photo--venedikt {
  object-position: center 25%;
}

.teacher__photo--meri {
  object-position: center 20%;
}

.teacher__portrait .media-slot__note {
  display: none;
}

.media-slot--portrait-alt {
  background:
    radial-gradient(circle at 50% 24%, rgba(180, 132, 170, 0.4), transparent 20%),
    linear-gradient(145deg, #100b14 10%, #58425e 53%, #0d0911 100%);
}

.teacher h3 {
  font-size: 1.15rem;
}

.teacher p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.7rem;
}

/* Gallery */
.gallery {
  padding: 72px 0 90px;
  background: var(--purple-deep);
}

.section-heading--compact {
  margin-bottom: 40px;
}

.section-heading--compact h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.slider {
  position: relative;
  max-width: 920px;
  margin: auto;
  padding: 0 64px 36px;
}

.slider__viewport {
  overflow: hidden;
}

.slider__track {
  display: flex;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide {
  flex: 0 0 100%;
}

.media-slot--stage {
  aspect-ratio: 16 / 9;
}

.media-slot--stage-two {
  background:
    radial-gradient(circle at 32% 30%, rgba(129, 94, 160, 0.38), transparent 17%),
    linear-gradient(120deg, #070509, #3d2551 48%, #09070c);
}

.media-slot--stage-three {
  background:
    radial-gradient(circle at 65% 24%, rgba(175, 130, 116, 0.24), transparent 17%),
    linear-gradient(120deg, #060507, #281b2f 52%, #0b080b);
}

.slider__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  transform: translateY(-70%);
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #281834;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.slider__arrow:hover {
  transform: translateY(-70%) scale(1.08);
}

.slider__arrow--prev {
  left: 0;
}

.slider__arrow--next {
  right: 0;
}

.slider__dots {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.slider__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.slider__dots button.is-active {
  background: white;
}

/* Programs */
.section--programs {
  padding: var(--section-space) 0;
  background: var(--purple);
}

.programs {
  display: grid;
  gap: 80px;
  grid-template-columns: 0.75fr 1.6fr;
}

.section-heading--left {
  margin: 0;
  text-align: left;
}

.section-heading--left h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
}

.programs__list {
  display: grid;
  gap: 52px;
}

.program {
  display: grid;
  gap: 30px;
  grid-template-columns: 34px 1fr;
}

.program__star {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
}

.program__star::before,
.program__star::after {
  position: absolute;
  inset: 0;
  background: white;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  content: "";
}

.program h3 {
  margin-top: 2px;
}

.program p {
  margin-top: 14px;
  color: #cbc2d0;
  font-size: 0.82rem;
  line-height: 1.9;
}

/* Signup */
.signup {
  display: grid;
  min-height: 610px;
  place-items: center;
  border-bottom: 8px solid var(--black);
  background: transparent;
}

.signup__shade {
  position: absolute;
  inset: 0;
}

.signup__shade {
  z-index: 1;
  background: rgba(0, 0, 0, 0.77);
}

.signup__inner {
  text-align: center;
}

.signup__inner h2 {
  margin-top: 12px;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.signup__inner p:not(.eyebrow) {
  max-width: 520px;
  margin: 24px auto 36px;
  color: #ccc7ce;
}

/* Footer */
.footer {
  padding: 96px 0 26px;
  background: var(--purple);
}

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

.footer__inner h2 {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.35;
}

.footer__inner h2 a:hover,
.footer__inner h2 a:focus-visible {
  color: #cbb8d8;
}

.footer__social-label {
  margin-top: 72px;
  color: var(--muted);
  font-size: 0.75rem;
}

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

.socials a {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: white;
  transition: transform 180ms ease;
}

.socials a:hover,
.socials a:focus-visible {
  transform: translateY(-3px);
}

.socials svg {
  width: 25px;
  height: 25px;
  fill: var(--purple);
  stroke: var(--purple);
  stroke-width: 2.5;
}

.socials svg path {
  stroke: none;
}

.socials .socials__icon--instagram {
  color: var(--purple);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socials .socials__icon--instagram .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 82px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.66rem;
}

/* Progressive reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid white;
  outline-offset: 5px;
}

