* {
  box-sizing: border-box;
}

:root {
  --black: #0E0E0E;
  --black-soft: #171717;
  --ivory: #FAF8F3;
  --cream: #F5EFE5;
  --gold: #C9A45C;
  --taupe: #B9AA96;
  --text-soft: rgba(14, 14, 14, 0.66);
  --white-soft: rgba(255, 255, 255, 0.68);
  --line: rgba(14, 14, 14, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--black);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button, input, select, textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(250, 248, 243, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--black);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-name {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-subtitle {
  display: block;
  margin-top: 1px;
  color: rgba(14, 14, 14, 0.55);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  color: rgba(14, 14, 14, 0.62);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.desktop-nav a:hover {
  color: var(--black);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle,
.menu-toggle {
  border: 1px solid rgba(14, 14, 14, 0.18);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.lang-toggle {
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.menu-toggle {
  width: 44px;
  height: 40px;
  border-radius: 999px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: var(--black);
}

.mobile-nav {
  display: none;
}

.section {
  padding: clamp(72px, 8vw, 128px) clamp(20px, 4vw, 56px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .055;
  background-image:
    linear-gradient(90deg, var(--black) 1px, transparent 1px),
    linear-gradient(var(--black) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero-bg-word {
  position: absolute;
  bottom: -34px;
  left: clamp(20px, 4vw, 56px);
  color: rgba(14, 14, 14, 0.035);
  font-size: clamp(72px, 15vw, 220px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: .8;
  pointer-events: none;
}

.hero-content,
.hero-media {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1;
  margin: 0;
}

.hero h1 {
  max-width: 980px;
  margin-top: 26px;
  font-size: clamp(48px, 7.8vw, 105px);
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 700px;
  margin: 32px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .2s ease;
}

.btn.primary {
  background: var(--black);
  color: white;
}

.btn.primary:hover {
  background: var(--gold);
  color: var(--black);
}

.btn.secondary {
  border-color: rgba(14, 14, 14, 0.18);
  color: var(--black);
}

.btn.secondary:hover {
  border-color: var(--black);
  background: white;
}

.image-slot {
  position: relative;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(201, 164, 92, 0.38);
}

.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.large-slot {
  min-height: 620px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.image-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(201,164,92,0.16), rgba(0,0,0,0.95));
}

.image-slot:not(.is-empty)::before,
.image-slot:not(.is-empty) .slot-content {
  display: none;
}

.slot-content {
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(201, 164, 92, 0.56);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: white;
  text-align: center;
  padding: 24px;
}

.slot-icon {
  color: var(--gold);
  font-size: 32px;
}

.slot-content strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  line-height: 1.05;
}

.slot-content small {
  max-width: 260px;
  color: rgba(255,255,255,0.58);
  font-size: 13px;
  line-height: 1.7;
}

.two-column {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(40px, 6vw, 90px);
}

.two-column h2,
.section-heading h2,
.contact-section h2 {
  margin-top: 22px;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.04em;
}

.prose p {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.9;
  margin: 0 0 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin-top: 34px;
}

.stats-grid div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 40px;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: rgba(14, 14, 14, 0.54);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cream {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.black {
  background: var(--black);
  color: white;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 52px;
}

.section-heading p:not(.section-kicker) {
  color: var(--text-soft);
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.8;
}

.section-heading.light p:not(.section-kicker) {
  color: var(--white-soft);
}

.cards {
  display: grid;
  gap: 20px;
}

.cards.four {
  grid-template-columns: repeat(4, 1fr);
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.course-card {
  position: relative;
  min-height: 280px;
  padding: 32px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.card:hover,
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 80px rgba(0,0,0,0.10);
  background: white;
}

.gold-line {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}

.card h3,
.course-card h3 {
  font-size: 28px;
  letter-spacing: -0.03em;
}

.card p,
.course-card p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}

.price {
  display: block;
  margin-top: 24px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dark-cards .card.dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
}

.card.dark:hover {
  background: rgba(255,255,255,0.08);
  box-shadow: none;
}

.card.dark p {
  color: rgba(255,255,255,0.62);
}

.small-star {
  display: block;
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 22px;
}

.course-card {
  background: white;
  min-height: 440px;
}

.course-number {
  position: absolute;
  top: 28px;
  right: 30px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 82px;
  line-height: 1;
  color: rgba(14, 14, 14, 0.045);
}

.course-subtitle {
  color: var(--gold) !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px !important;
}

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

.portfolio-slot {
  min-height: 460px;
}

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

details {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.62);
  padding: 26px;
}

summary {
  cursor: pointer;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1.2;
}

details p {
  color: var(--text-soft);
  margin-bottom: 0;
}

.contact-section {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(36px, 6vw, 86px);
}

.contact-section > div > p:not(.section-kicker) {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.8;
}

.contact-list {
  margin-top: 34px;
  display: grid;
  gap: 12px;
  color: rgba(14, 14, 14, 0.68);
}

.contact-list a:hover {
  color: var(--gold);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 28px 90px rgba(0,0,0,0.09);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: rgba(14,14,14,0.54);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(14,14,14,0.15);
  background: var(--ivory);
  padding: 14px 15px;
  outline: none;
  border-radius: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.checkbox {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 12px !important;
}

.checkbox input {
  width: auto;
  margin-top: 4px;
}

.checkbox span {
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.6;
}

.hidden {
  display: none;
}

.site-footer {
  padding: 42px clamp(20px, 4vw, 56px);
  background: var(--black);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.site-footer p:last-child {
  color: rgba(255,255,255,0.48);
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    z-index: 99;
    display: none;
    grid-template-columns: 1fr;
    padding: 22px;
    background: rgba(250,248,243,.97);
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav.open {
    display: grid;
  }

  .mobile-nav a {
    padding: 14px 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .hero,
  .two-column,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .large-slot {
    min-height: 520px;
  }

  .cards.four,
  .cards.three,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 72px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-subtitle {
    font-size: 9px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .large-slot {
    min-height: 420px;
  }

  .cards.four,
  .cards.three,
  .portfolio-grid,
  .faq-grid,
  .stats-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .stats-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-grid div:last-child {
    border-bottom: 0;
  }

  .contact-form .full {
    grid-column: auto;
  }

  .portfolio-slot {
    min-height: 420px;
  }

  .footer-brand {
    font-size: 20px;
  }
}
