/* ============================================
   STUDIO EDITORIAL — Design Tokens
   ============================================ */
:root {
  /* Colors */
  --surface: #f9f9f9;
  --background: #ffffff;
  --on-surface: #1b1b1b;
  --on-surface-variant: #4c4546;
  --primary: #000000;
  --on-primary: #ffffff;
  --secondary: #5e5e5e;
  --outline: #7e7576;
  --outline-variant: #cfc4c5;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: var(--on-surface);
  background-color: var(--background);
  text-transform: uppercase;  /* Global: tüm içerik BÜYÜK HARF */
  font-synthesis: none;
  font-optical-sizing: auto;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
}

/* ============================================
   TYPOGRAPHY SCALE
   ============================================ */
.headline-xxl {
  font-size: clamp(64px, 14vw, 180px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.body-lg {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.label-caps {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.divider {
  width: 100%;
  height: 1px;
  background-color: var(--primary);
  border: 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px clamp(24px, 8vw, 160px);
  border-bottom: 1px solid var(--primary);
}

.nav__brand {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
}

.nav__logo {
  /* Mobilde belirgin, desktopta kompakt */
  height: clamp(52px, 13vw, 68px);
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
}

@media (min-width: 768px) {
  .nav__logo {
    height: clamp(40px, 4vw, 56px);
  }
}

/* Dark nav (judo) — logo beyazlatılır */
body.theme-dark .nav__logo {
  filter: invert(1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4.5vw, 56px);
  list-style: none;
}

.nav__link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.55;
  position: relative;
  padding-bottom: 2px;
  transition: opacity 0.25s ease;
}

.nav__link:hover {
  opacity: 1;
}

.nav__link--active {
  opacity: 1;
  font-weight: 400;
}

/* Judo (uppercase) için biraz daha geniş letter-spacing */
body.theme-dark .nav__link {
  letter-spacing: 0.1em;
}

/* ============================================
   HAMBURGER (mobile only)
   ============================================ */
.nav__hamburger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1100;
  color: inherit;
}

.nav__hamburger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: currentColor;
  margin: 5px auto;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
}

/* Açık halde 3 çizgi → X */
.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: var(--background);
  z-index: 1000;
  padding: 110px clamp(24px, 8vw, 80px) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  /* Kapalı durum: tam ekran kapalı + scale + fade */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

body.theme-dark .mobile-menu {
  background-color: #000000;
  color: #ffffff;
}

.mobile-menu[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* --- Üst link bloğu --- */
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu__link {
  font-size: clamp(38px, 9vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;  /* iki tarafta da BÜYÜK HARF */
  border-bottom: 1px solid currentColor;
  padding-bottom: 14px;
  /* Stagger animasyonu — kapalı durum */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu[data-open="true"] .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays — her link biraz gecikmeli açılır */
.mobile-menu[data-open="true"] .mobile-menu__link:nth-child(1) { transition-delay: 0.16s; }
.mobile-menu[data-open="true"] .mobile-menu__link:nth-child(2) { transition-delay: 0.22s; }
.mobile-menu[data-open="true"] .mobile-menu__link:nth-child(3) { transition-delay: 0.28s; }
.mobile-menu[data-open="true"] .mobile-menu__link:nth-child(4) { transition-delay: 0.34s; }

/* Disiplin geçiş sekmesi — minimal, en altta */
.mobile-menu__switch {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  /* Stagger animasyonu */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu[data-open="true"] .mobile-menu__switch {
  opacity: 0.6;
  transform: translateY(0);
  transition-delay: 0.44s;
}

.mobile-menu__switch:hover {
  opacity: 1;
}

.mobile-menu__link:hover {
  opacity: 0.5;
}

.mobile-menu__link--active {
  opacity: 0.4;
}

/* --- Alt iletişim bloğu --- */
.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid currentColor;
  padding-top: 24px;
  /* Açılışta daha geç gelir */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.42s,
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.42s;
}

.mobile-menu[data-open="true"] .mobile-menu__contact {
  opacity: 1;
  transform: translateY(0);
}

/* CTA butonları (telefon + whatsapp) */
.mobile-menu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--primary);
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Outline (telefon) — varsayılan */
.mobile-menu__cta--outline {
  background-color: transparent;
  color: var(--primary);
}

.mobile-menu__cta--outline:hover {
  background-color: var(--primary);
  color: var(--on-primary);
}

/* Filled (whatsapp) — primary action */
.mobile-menu__cta--filled {
  background-color: var(--primary);
  color: var(--on-primary);
}

.mobile-menu__cta--filled:hover {
  background-color: transparent;
  color: var(--primary);
}

/* Dark theme renk override'ları */
body.theme-dark .mobile-menu__cta {
  border-color: #ffffff;
}

body.theme-dark .mobile-menu__cta--outline {
  color: #ffffff;
}

body.theme-dark .mobile-menu__cta--outline:hover {
  background-color: #ffffff;
  color: #000000;
}

body.theme-dark .mobile-menu__cta--filled {
  background-color: #ffffff;
  color: #000000;
}

body.theme-dark .mobile-menu__cta--filled:hover {
  background-color: transparent;
  color: #ffffff;
}

.mobile-menu__cta-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Body scroll lock when menu open */
body.menu-open {
  overflow: hidden;
}

/* MOBİLDE: links gizle, hamburger göster */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }
  .nav__hamburger {
    display: block;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  padding: clamp(80px, 14vw, 200px) clamp(24px, 8vw, 160px);
}

.hero__eyebrow {
  margin-bottom: 40px;
}

.hero__headline {
  margin-bottom: 60px;
}

.hero__meta {
  display: flex;
  justify-content: flex-end;
}

.hero__meta-text {
  max-width: 360px;
  text-align: left;
}

/* ============================================
   SPLIT ENTRY (ilk giriş sayfası)
   ============================================ */
.split {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

@media (min-width: 768px) {
  .split {
    flex-direction: row;
  }
}

.split__half {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
}

@media (min-width: 768px) {
  .split__half {
    border-bottom: none;
    border-right: 1px solid var(--primary);
  }
  .split__half:last-child {
    border-right: none;
  }
}

.split__half--light {
  background-color: #ffffff;
  color: var(--primary);
}

.split__half--dark {
  background-color: var(--primary);
  color: #ffffff;
}

.split__title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: clamp(48px, 11vw, 140px);
  line-height: 1;
  letter-spacing: -0.06em;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.split__half--light .split__title {
  text-transform: lowercase;
}

.split__half--dark .split__title {
  text-transform: uppercase;
}

.split__half:hover .split__title {
  transform: scale(1.04);
}

/* Logo görseli — split entry içinde
   HEIGHT-based scaling: iki logo da aynı yükseklikte → eşit görsel ağırlık
   (pilates yatayda daha geniş çıkar, doğal — kelime daha uzun) */
.split__logo {
  height: clamp(80px, 16vw, 140px);
  width: auto;
  max-width: 90%;
  filter: none;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

@media (min-width: 768px) {
  .split__logo {
    height: clamp(110px, 11vw, 200px);
  }
}

.split__half--dark .split__logo {
  /* Logo siyah üzerine — dark tarafta beyazlatmak için invert */
  filter: invert(1);
}

.split__half:hover .split__logo {
  transform: scale(1.04);
}

.split__cta {
  position: absolute;
  bottom: clamp(40px, 8vh, 120px);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.split__half--light .split__cta,
.split__half--dark .split__cta {
  text-transform: uppercase;
}

.split__half:hover .split__cta {
  opacity: 1;
  transform: translateY(0);
}

.split__cta-arrow {
  display: inline-block;
  transition: transform 0.4s ease;
}

.split__half:hover .split__cta-arrow {
  transform: translateX(4px);
}

/* ============================================
   CONTACT PAGE — İLETİŞİM SAYFASI
   ============================================ */
.contact-section {
  padding: clamp(60px, 10vw, 140px) clamp(24px, 8vw, 160px);
  border-top: 1px solid var(--primary);
}

.contact-section__label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0.6;
}

/* CTA grup (telefon + whatsapp) — desktopta yan yana */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

@media (min-width: 768px) {
  .contact-actions {
    flex-direction: row;
    gap: 20px;
    max-width: 640px;
  }
}

.contact-actions .mobile-menu__cta {
  flex: 1;
  min-width: 240px;
  white-space: nowrap;
}

/* Lokasyon listesi */
.locations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.location {
  padding: clamp(48px, 7vw, 80px) 0;
  border-top: 1px solid currentColor;
}

.location:first-child {
  border-top: 0;
  padding-top: 16px;
}

.location__index {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  opacity: 0.5;
  margin-bottom: 24px;
}

.location__name {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.location__address {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.7;
  font-style: normal;
  letter-spacing: 0.01em;
  max-width: 540px;
}

.location__map {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  transition: opacity 0.2s ease;
}

.location__map:hover {
  opacity: 0.5;
}

/* ============================================
   FOOTER — Editorial 3-zone (signoff / grid / bar)
   ============================================ */
.footer {
  border-top: 1px solid var(--primary);
  padding: clamp(48px, 9vw, 120px) clamp(24px, 8vw, 160px) 28px;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 7vw, 88px);
}

.footer__signoff {
  display: inline-block;
  align-self: flex-start;
  transition: opacity 0.25s ease;
}

.footer__signoff:hover {
  opacity: 0.7;
}

.footer__logo {
  height: clamp(48px, 7vw, 72px);
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: 0.85;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
}

body.theme-dark .footer__logo {
  filter: invert(1);
  opacity: 0.95;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
  }
}

.footer__col-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  opacity: 0.5;
  margin-bottom: 22px;
}

@media (min-width: 768px) {
  .footer__col-label {
    margin-bottom: 28px;
  }
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
  line-height: 1.4;
}

.footer__item-name {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.footer__item-meta {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 0.04em;
}

.footer__link {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  align-self: flex-start;
  transition: opacity 0.2s ease;
}

.footer__link:hover {
  opacity: 0.5;
}

/* Social link with inline icon (Instagram) */
.footer__link--social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Mobile-first: dikey stack — net hiyerarşi: brand → switch → copy */
.footer__bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid currentColor;
}

@media (min-width: 768px) {
  .footer__bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
  }
}

.footer__brand {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.02em;
  order: 0;
}

.footer__copy {
  font-size: 11px;
  color: var(--secondary);
  letter-spacing: 0.08em;
  line-height: 1.7;
  order: 3;
}

@media (min-width: 768px) {
  .footer__copy {
    order: 0;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.1em;
  }
}

.footer__switch {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer__switch:hover {
  opacity: 1;
}

/* "Powered by 35 FPS" credit link inside footer__copy */
.footer__credit {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 0.2s ease;
}

.footer__credit:hover {
  opacity: 0.6;
}

.footer__heart {
  display: inline-block;
  font-style: normal;
  /* Emoji rendering — color stays as native (kırmızı kalp) */
  text-transform: none;
  vertical-align: -1px;
}

/* DARK theme overrides (judo pages) */
body.theme-dark .footer {
  border-top-color: #ffffff;
}
body.theme-dark .footer__copy {
  color: #888;
}

/* ============================================
   HAKKIMIZDA — Option A: 1 anchor + 2 cards
   Tutarlı grid: tüm görseller grayscale (hover→color),
   anchor 16:9 cinematic, cards 4:3 — same treatment.
   ============================================ */

.about-page {
  padding: clamp(48px, 6vw, 88px) clamp(24px, 8vw, 120px) clamp(72px, 10vw, 128px);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
  text-transform: none;
}

/* 1. INTRO — text only (eyebrow + title + lede + body) */
.about-intro {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 26px);
  max-width: 760px;
}

.about-intro__eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.55;
}

.about-intro__title {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.about-intro__lede {
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 400;
  line-height: 1.65;
  text-wrap: pretty;
  max-width: 60ch;
  opacity: 0.85;
}

.about-intro__body {
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.78;
  text-wrap: pretty;
  max-width: 64ch;
  margin-top: 8px;
  opacity: 0.85;
}

.about-intro__body p + p {
  margin-top: 18px;
}

@media (max-width: 600px) {
  .about-intro__title {
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.1;
  }
}

/* 2. ANCHOR — cinematic full-width hero image */
.about-anchor {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.about-anchor__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: none;
}

.about-anchor:hover .about-anchor__img {
  filter: grayscale(0%);
}

body.theme-dark .about-anchor__img {
  filter: grayscale(100%);
}

body.theme-dark .about-anchor:hover .about-anchor__img {
  filter: grayscale(0%);
}

/* 3. CARDS — 2 cards w/ image, consistent 4:3 ratio */
.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
}

@media (min-width: 700px) {
  .about-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.about-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: none;
}

.about-card__media:hover .about-card__img {
  filter: grayscale(0%);
}

body.theme-dark .about-card__img {
  filter: grayscale(100%);
}

body.theme-dark .about-card__media:hover .about-card__img {
  filter: grayscale(0%);
}

.about-card__label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
}

.about-card__title {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
  margin-top: 4px;
}

.about-card__text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.78;
  text-wrap: pretty;
  max-width: 38ch;
  margin-top: 4px;
}

/* 4. CTA — minimal, border-top */
.about-cta {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  border-top: 1px solid var(--primary);
  padding-top: clamp(28px, 3.5vw, 44px);
}

@media (min-width: 700px) {
  .about-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}

body.theme-dark .about-cta {
  border-top-color: rgba(255, 255, 255, 0.4);
}

.about-cta__text {
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 26ch;
}

.about-cta .btn {
  flex: 0 0 auto;
}

/* ============================================
   EĞİTİMLER — numbered list editorial menu
   ============================================ */

.classes-page {
  padding: clamp(48px, 6vw, 88px) clamp(24px, 8vw, 120px) clamp(72px, 10vw, 128px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
  text-transform: none;
}

/* INTRO (shared structure with about-intro) */
.classes-intro {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 26px);
  max-width: 760px;
}

.classes-intro__eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.55;
}

.classes-intro__title {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.classes-intro__lede {
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 400;
  line-height: 1.65;
  text-wrap: pretty;
  max-width: 60ch;
  opacity: 0.85;
}

@media (max-width: 600px) {
  .classes-intro__title {
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.1;
  }
}

/* SUBTLE ANCHOR — thin cinematic strip between intro and list */
.classes-anchor {
  position: relative;
  overflow: hidden;
  aspect-ratio: 21 / 9;
}

.classes-anchor__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: none;
}

.classes-anchor:hover .classes-anchor__img {
  filter: grayscale(0%);
}

body.theme-dark .classes-anchor__img {
  filter: grayscale(100%);
}

body.theme-dark .classes-anchor:hover .classes-anchor__img {
  filter: grayscale(0%);
}

/* DISCIPLINE LIST — borderered rows, big number */
.classes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--primary);
}

body.theme-dark .classes-list {
  border-top-color: rgba(255, 255, 255, 0.4);
}

.class-item {
  padding: clamp(28px, 3vw, 44px) 0;
  border-bottom: 1px solid var(--primary);
  display: grid;
  grid-template-columns: minmax(48px, auto) 1fr;
  column-gap: clamp(20px, 3vw, 48px);
}

body.theme-dark .class-item {
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.class-item__num {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 900;
  letter-spacing: 0.18em;
  opacity: 0.4;
  font-variant-numeric: tabular-nums;
  padding-top: clamp(8px, 1vw, 12px);
}

.class-item__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.class-item__name {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.class-item__desc {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  font-weight: 400;
  text-wrap: pretty;
  max-width: 62ch;
  opacity: 0.82;
}

.class-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-top: 6px;
}

.class-item__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.class-item__meta span::before {
  content: "—";
  opacity: 0.7;
}

@media (max-width: 600px) {
  .class-item__name {
    font-size: clamp(20px, 5.5vw, 26px);
    line-height: 1.18;
  }
}

/* ============================================
   ANIMATIONS — page entry, scroll reveal, hover lift
   prefers-reduced-motion respected throughout
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  /* Page fade-in on load (subtle, ~500ms) */
  body {
    animation: page-enter 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  /* Scroll-reveal: starts hidden + slight upward, observer adds .is-visible */
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger children of a container — gallery grid, card grid, list items */
  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-stagger.is-visible > *:nth-child(1)  { transition-delay: 0.04s; }
  .reveal-stagger.is-visible > *:nth-child(2)  { transition-delay: 0.09s; }
  .reveal-stagger.is-visible > *:nth-child(3)  { transition-delay: 0.14s; }
  .reveal-stagger.is-visible > *:nth-child(4)  { transition-delay: 0.19s; }
  .reveal-stagger.is-visible > *:nth-child(5)  { transition-delay: 0.24s; }
  .reveal-stagger.is-visible > *:nth-child(6)  { transition-delay: 0.29s; }
  .reveal-stagger.is-visible > *:nth-child(7)  { transition-delay: 0.34s; }
  .reveal-stagger.is-visible > *:nth-child(8)  { transition-delay: 0.38s; }
  .reveal-stagger.is-visible > *:nth-child(9)  { transition-delay: 0.42s; }
  .reveal-stagger.is-visible > *:nth-child(10) { transition-delay: 0.45s; }
  .reveal-stagger.is-visible > *:nth-child(n+11) { transition-delay: 0.48s; }
}

@keyframes page-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Subtle hover lift on cards (small interactive feedback) */
.mini-card,
.summary-card,
.about-card {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-card:hover,
.summary-card:hover {
  transform: translateY(-3px);
}

/* Class items have a subtle horizontal shift on hover (since they're list rows) */
.class-item {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.class-item:hover {
  transform: translateX(4px);
}

/* CTA button arrow nudges further on hover (existing .btn:hover .btn__arrow already moves 4px;
   ensure consistent timing) */
.btn,
.btn__arrow,
.footer__switch,
.split__cta-arrow {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
/* ============================================
   GALERİ — grid + filter + lightbox modal
   ============================================ */

.gallery-page {
  padding: clamp(48px, 6vw, 88px) clamp(24px, 8vw, 120px) clamp(72px, 10vw, 128px);
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vw, 64px);
  text-transform: none;
}

/* INTRO */
.gallery-intro {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
  max-width: 760px;
}

.gallery-intro__eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.55;
}

.gallery-intro__title {
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.gallery-intro__lede {
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 400;
  line-height: 1.65;
  text-wrap: pretty;
  max-width: 56ch;
  opacity: 0.78;
}

@media (max-width: 600px) {
  .gallery-intro__title {
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.1;
  }
}

/* FILTER BAR */
.gallery-filter {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  flex-wrap: wrap;
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  padding: 18px 0;
}

body.theme-dark .gallery-filter {
  border-color: rgba(255, 255, 255, 0.4);
}

.gallery-filter__btn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.gallery-filter__btn:hover {
  opacity: 0.85;
}

.gallery-filter__btn[aria-pressed="true"] {
  opacity: 1;
  font-weight: 900;
}

.gallery-filter__count {
  margin-left: 6px;
  font-weight: 400;
  opacity: 0.6;
}

/* GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1vw, 14px);
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface);
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
}

body.theme-dark .gallery-item {
  background: rgba(255, 255, 255, 0.04);
}

.gallery-item--hidden {
  display: none;
}

.gallery-item__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: none;
}

.gallery-item:hover .gallery-item__media {
  filter: grayscale(0%);
  transform: scale(1.04);
}

body.theme-dark .gallery-item__media {
  filter: grayscale(100%);
}

body.theme-dark .gallery-item:hover .gallery-item__media {
  filter: grayscale(0%);
}

/* Video play icon overlay */
.gallery-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.3s ease;
}

.gallery-item:hover .gallery-item__play {
  background: rgba(0, 0, 0, 0.05);
}

.gallery-item__play svg {
  width: 44px;
  height: 44px;
  fill: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* LIGHTBOX MODAL */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__content {
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__content img,
.lightbox__content video {
  display: block;
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
  filter: none;
  background: #000;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 2010;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
}

.lightbox__close {
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
}

.lightbox__prev {
  left: clamp(16px, 3vw, 32px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: clamp(16px, 3vw, 32px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__counter {
  position: absolute;
  bottom: clamp(16px, 3vw, 28px);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .lightbox__close,
  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

body.lightbox-open {
  overflow: hidden;
}

/* Generic button — outline + filled */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 28px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
  flex: 1 1 auto;
}

.btn--outline:hover {
  background-color: var(--primary);
  color: var(--on-primary);
}

body.theme-dark .btn {
  border-color: #ffffff;
  color: #ffffff;
}

body.theme-dark .btn--outline:hover {
  background-color: #ffffff;
  color: #000000;
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ============================================
   HOME — Cinematic Landing
   ============================================ */

.home {
  display: flex;
  flex-direction: column;
}

/* 1. HERO — full-bleed cinematic */
.home-hero {
  position: relative;
  width: 100%;
  height: clamp(560px, 88vh, 920px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 8vw, 120px);
  border-bottom: 1px solid var(--primary);
}

.home-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  z-index: 0;
  max-width: none;
  transition: filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.04);
}

.home-hero:hover .home-hero__media {
  transform: scale(1);
  filter: grayscale(0%);
}

.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

body.theme-dark .home-hero {
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

body.theme-dark .home-hero__media {
  filter: grayscale(100%);
}

body.theme-dark .home-hero:hover .home-hero__media {
  filter: grayscale(0%);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 22ch;
}

.home-hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.85;
  margin-bottom: 20px;
}

.home-hero__headline {
  font-size: clamp(48px, 9vw, 132px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

@media (max-width: 600px) {
  .home-hero {
    height: 78vh;
    min-height: 520px;
  }
  .home-hero__headline {
    font-size: clamp(40px, 13vw, 64px);
  }
}

/* 2. MANIFESTO — generous leading paragraph */
.home-manifesto {
  padding: clamp(80px, 14vw, 200px) clamp(24px, 8vw, 120px);
  display: flex;
  justify-content: center;
  text-align: center;
}

.home-manifesto__text {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 32ch;
}

/* 3. LINKS — 2 large teaser cards, split full-width */
.home-links {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--primary);
}

@media (min-width: 700px) {
  .home-links {
    grid-template-columns: 1fr 1fr;
  }
}

body.theme-dark .home-links {
  border-top-color: rgba(255, 255, 255, 0.4);
}

.home-link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  min-height: clamp(360px, 48vw, 520px);
  padding: clamp(40px, 5vw, 72px) clamp(28px, 6vw, 80px);
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--primary);
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 700px) {
  .home-link {
    border-bottom: none;
    border-right: 1px solid var(--primary);
  }
  .home-link:last-child {
    border-right: none;
  }
}

body.theme-dark .home-link {
  border-color: rgba(255, 255, 255, 0.4);
}

.home-link__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.18;
  z-index: -1;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.04);
  max-width: none;
}

.home-link:hover .home-link__bg {
  opacity: 0.42;
  filter: grayscale(0%);
  transform: scale(1);
}

body.theme-dark .home-link__bg {
  filter: grayscale(100%);
  opacity: 0.28;
}

body.theme-dark .home-link:hover .home-link__bg {
  filter: grayscale(0%);
  opacity: 0.55;
}

.home-link__label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 18px;
}

.home-link__title {
  font-size: clamp(36px, 5.4vw, 76px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 18px;
}

.home-link__desc {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.78;
  max-width: 36ch;
  margin-bottom: 28px;
  text-wrap: pretty;
}

.home-link__arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  transition: gap 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-link:hover .home-link__arrow {
  gap: 22px;
}

/* 4. CTA — borrows about-cta pattern but full-bleed */
.home-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: clamp(48px, 6vw, 96px) clamp(24px, 8vw, 120px);
  border-top: 1px solid var(--primary);
}

@media (min-width: 700px) {
  .home-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}

body.theme-dark .home-cta {
  border-top-color: rgba(255, 255, 255, 0.4);
}

.home-cta__text {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 28ch;
}

.home-cta .btn {
  flex: 0 0 auto;
}
