@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --bg: hsl(40, 30%, 98%);
  --fg: hsl(15, 3%, 17%);
  --card: hsl(40, 30%, 93%);
  --border: hsl(40, 20%, 85%);
  --primary: hsl(10, 36%, 48%);
  --primary-fg: hsl(0, 0%, 100%);
  --secondary: hsl(358, 20%, 75%);
  --muted-fg: hsl(15, 3%, 40%);
  --accent: hsl(46, 65%, 52%);
  --gold: hsl(46, 65%, 52%);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius: 0px;
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: hsla(40, 30%, 98%, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: var(--primary);
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background .2s, color .2s, transform .15s;
  text-align: center;
}

.btn-outline {
  padding: 10px 22px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

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

.btn-primary {
  padding: 18px 40px;
  background: var(--primary);
  color: var(--primary-fg);
  font-size: 1.1rem;
  letter-spacing: .01em;
}

.btn-primary:hover {
  background: hsl(10, 36%, 40%);
  transform: translateY(-2px);
}

.btn-primary-sm {
  padding: 10px 24px;
  background: var(--primary);
  color: var(--primary-fg);
}

.btn-primary-sm:hover {
  background: hsl(10, 36%, 40%);
}

section.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .38;
  mix-blend-mode: multiply;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsla(40,30%,98%,.75) 0%, hsla(40,30%,98%,.35) 50%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 5px 18px;
  border: 1px solid hsla(10,36%,48%,.35);
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: hsla(10,36%,48%,.85);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero-title em {
  font-style: italic;
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted-fg);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

section.about {
  padding: 100px 0;
  background: var(--card);
}

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

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--muted-fg);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  bottom: -32px;
  left: -32px;
  width: 160px;
  height: 160px;
  border: 1px solid var(--accent);
  padding: 6px;
  background: var(--bg);
  box-shadow: var(--shadow-lg);
}

.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.techniques {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted-fg);
  max-width: 520px;
  margin: 0 auto;
}

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

.technique-card {
  padding: 40px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color .2s;
}

.technique-card:hover {
  border-color: var(--accent);
}

.technique-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  border: 1px solid hsla(10,36%,48%,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--primary);
}

.technique-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.technique-card p {
  font-size: .9rem;
  color: var(--muted-fg);
}

section.format {
  padding: 100px 0;
  background: hsla(358,20%,75%,.1);
}

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

.format-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.format-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 36px;
}

.format-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.format-list li {
  display: flex;
  gap: 18px;
}

.format-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 10px;
  flex-shrink: 0;
}

.format-list h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.format-list p {
  font-size: .95rem;
  color: var(--muted-fg);
  line-height: 1.7;
}

section.gallery {
  padding: 100px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gallery-grid img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

.gallery-item {
  overflow: hidden;
}

section.teacher {
  padding: 100px 0;
  background: var(--card);
}

.teacher-inner {
  display: flex;
  gap: 72px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.teacher-photo {
  flex-shrink: 0;
  width: 280px;
}

.teacher-photo-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 9999px 9999px 0 0;
  box-shadow: var(--shadow-lg);
}

.teacher-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-content {
  flex: 1;
}

.teacher-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.teacher-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}

.teacher-content p {
  font-size: 1.05rem;
  color: var(--muted-fg);
  line-height: 1.8;
  margin-bottom: 24px;
}

.teacher-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--fg);
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  line-height: 1.7;
}

section.enroll {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.enroll-bg {
  position: absolute;
  inset: 0;
  background: hsla(358,20%,75%,.15);
  z-index: 0;
}

.enroll-card {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
  padding: 64px 72px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.enroll-card .section-header {
  margin-bottom: 40px;
}

.form-field {
  margin-bottom: 28px;
}

.form-field label {
  display: block;
  font-size: .85rem;
  color: var(--muted-fg);
  margin-bottom: 8px;
}

.form-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border);
  padding: 8px 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--fg);
  outline: none;
  transition: border-color .2s;
}

.form-field input::placeholder {
  color: hsla(15,3%,40%,.5);
}

.form-field input:focus {
  border-bottom-color: var(--primary);
}

.form-submit {
  width: 100%;
  margin-top: 16px;
  font-size: 1.05rem;
  padding: 18px;
  background: var(--primary);
  color: var(--primary-fg);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: background .2s;
  letter-spacing: .01em;
}

.form-submit:hover {
  background: hsl(10, 36%, 40%);
}

.form-note {
  font-size: .75rem;
  color: var(--muted-fg);
  text-align: center;
  margin-top: 16px;
}

.form-success {
  text-align: center;
  padding: 40px 0;
  display: none;
}

.form-success.visible {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: hsla(10,36%,48%,.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-icon svg {
  width: 24px;
  height: 24px;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--muted-fg);
}

footer.site-footer {
  background: hsl(15, 3%, 17%);
  color: hsla(40,30%,98%,.75);
  padding: 72px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: .04em;
  color: hsl(40,30%,98%);
  display: block;
  margin-bottom: 16px;
}

.footer-legal p {
  font-size: .85rem;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: .88rem;
  transition: color .2s;
}

.footer-links a:hover {
  color: hsl(40,30%,98%);
}

.footer-copy {
  border-top: 1px solid hsla(40,30%,98%,.15);
  padding-top: 28px;
  font-size: .75rem;
  text-align: center;
  color: hsla(40,30%,98%,.4);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 16px;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform .4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 860px;
  margin: 0 auto;
  background: hsl(15, 3%, 17%);
  color: hsla(40,30%,98%,.85);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 30px rgba(0,0,0,.15);
  pointer-events: all;
}

.cookie-inner p {
  font-size: .88rem;
  line-height: 1.6;
}

.btn-cookie {
  padding: 8px 22px;
  border: 1.5px solid hsla(40,30%,98%,.3);
  background: transparent;
  color: hsl(40,30%,98%);
  font-family: var(--font-sans);
  font-size: .88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.btn-cookie:hover {
  background: hsl(40,30%,98%);
  color: hsl(15, 3%, 17%);
}

.page-legal {
  padding-top: 120px;
  padding-bottom: 100px;
  min-height: 100vh;
}

.page-legal h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.legal-meta {
  font-size: .85rem;
  color: var(--muted-fg);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-body p {
  color: var(--muted-fg);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-body ul {
  color: var(--muted-fg);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 20px;
}

.legal-body ul li {
  margin-bottom: 6px;
}

.page-success {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.page-success .success-icon {
  width: 80px;
  height: 80px;
  font-size: 2rem;
  margin-bottom: 32px;
}

.page-success h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-success p {
  color: var(--muted-fg);
  font-size: 1.05rem;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .about-grid,
  .format-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-accent {
    display: none;
  }

  .techniques-grid {
    grid-template-columns: 1fr 1fr;
  }

  .teacher-inner {
    flex-direction: column;
    gap: 40px;
  }

  .teacher-photo {
    width: 200px;
    margin: 0 auto;
  }

  .teacher-content {
    text-align: center;
  }

  .teacher-quote {
    text-align: left;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 280px;
  }

  .format-img {
    order: -1;
  }

  .enroll-card {
    padding: 40px 28px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .techniques-grid {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }
.fade-in-delay-4 { transition-delay: .4s; }
