:root {
  /* Pastel pink + soft neutral palette */
  --bg: #fdf6fa;
  --surface: #ffffff;
  --surface-soft: #fbeff6;
  --accent: #f3b7cf;
  --accent-deep: #d46a8c;
  --text-main: #2b2227;
  --text-muted: #7a6570;
  --border-subtle: rgba(0, 0, 0, 0.03);
  --shadow-soft: 0 16px 40px rgba(160, 104, 131, 0.16);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --max-width: 1040px;
  --transition-fast: 160ms ease-out;
  --transition-med: 220ms ease-out;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #fff8fc 0, var(--bg) 45%, #f3e2ec 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header / Navigation */

.site-header,
main,
.site-footer {
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .site-header,
  main,
  .site-footer {
    padding-inline: 32px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(253, 246, 250, 0.96), rgba(249, 237, 246, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;

  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 12px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: flex-end;
}

.nav-link {
  border: none;
  background: transparent;
  padding: 4px 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent-deep);
  transition: width var(--transition-med);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.nav-link:focus-visible {
  outline: 2px solid rgba(212, 106, 140, 0.7);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .brand-text {
    max-width: 210px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Sections and typography rhythm */

main {
  flex: 1;
}

.section {
  padding-block: 44px;
}

@media (min-width: 768px) {
  .section {
    padding-block: 56px;
  }
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 620px;
}

.section-title {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 1.9rem);
  margin: 0 0 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section p {
  margin: 0 0 10px;
  line-height: 1.6;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Hero */

.hero {
  padding-top: 40px;
  padding-bottom: 52px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  padding: 26px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  column-gap: 28px;
  row-gap: 22px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    padding: 30px 32px;
    column-gap: 38px;
  }
}

@media (max-width: 720px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.hero-title {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  margin: 0 0 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-intro {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 18px;
}

.hero-photo-placeholder {
  display: flex;
  justify-content: flex-end;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(137, 83, 110, 0.28);
}

@media (max-width: 720px) {
  .hero-photo-placeholder {
    justify-content: flex-start;
  }
}

/* About */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  column-gap: 26px;
  row-gap: 20px;
  align-items: center;
}

@media (max-width: 800px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.section-text h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1.4rem;
}

.section-text p:last-child {
  margin-bottom: 0;
}

.about-image {
  display: block;
  width: 100%;
  max-width: 360px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(137, 83, 110, 0.24);
}

/* Classes / What I teach */

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .class-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.class-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 26px rgba(137, 83, 110, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 210px;
}

.class-image-wrap {
  position: relative;
  overflow: hidden;
  flex: 0 0 96px;
}

.class-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.class-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.class-body h3 {
  margin: 0;
  font-size: 0.96rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.class-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Contact */

.contact-details {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-label {
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-value {
  font-size: 1rem;
  color: var(--text-main);
  text-decoration: none;
}

.contact-value:hover,
.contact-value:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Buttons */

.btn {
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 8px 22px;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(135deg, #e89dbd, #d46a8c);
  color: #fffdf8;
  box-shadow: 0 10px 26px rgba(165, 93, 126, 0.32);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(165, 93, 126, 0.4);
}

.btn.secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(212, 106, 140, 0.35);
  padding-inline: 26px;
  backdrop-filter: blur(8px);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  background: rgba(248, 194, 215, 0.3);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid rgba(212, 106, 140, 0.85);
  outline-offset: 2px;
}

/* Fade-in on scroll */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

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

/* Footer */

.site-footer {
  padding-top: 22px;
  padding-bottom: 26px;
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.86rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.site-footer p {
  margin: 0;
  text-align: center;
}

