:root {
  --cream: #fff8f1;
  --linen: #f3eadf;
  --sand: #efe2d2;
  --terracotta: #c97b5c;
  --clay: #b6674e;
  --sage: #98a48b;
  --charcoal: #2d2723;
  --ink: #3a332e;
  --muted: #6e6258;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(45, 39, 35, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff6ec 0%, transparent 45%),
    linear-gradient(160deg, #fffaf4 0%, #f4e7d7 45%, #f0e0d0 100%);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

h1,
h2,
h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  color: var(--charcoal);
  font-weight: 600;
}

p {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 2000;
}

.skip-link:focus {
  left: 16px;
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 250, 244, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 123, 92, 0.12);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav.is-scrolled {
  background: rgba(255, 247, 239, 0.92);
  box-shadow: 0 12px 30px rgba(45, 39, 35, 0.08);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 1px;
}

.logo .logo-image {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
}

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

.logo-mark {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--muted);
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--charcoal);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(45, 39, 35, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  flex: 0 0 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--charcoal);
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle .bar + .bar {
  margin-top: 5px;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--white);
  border-color: rgba(45, 39, 35, 0.24);
  box-shadow: 0 8px 20px rgba(45, 39, 35, 0.1);
}

.nav-toggle[aria-expanded="true"] .top {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .middle {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bottom {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: 120px 24px 80px;
  background: url("https://unsplash.com/photos/GMfaLRbZeSg/download?force=true") center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30, 24, 20, 0.75), rgba(30, 24, 20, 0.35));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3vw + 1.4rem, 3.8rem);
  margin: 12px 0 16px;
  color: var(--white);
}

.hero-text p {
  color: rgba(255, 255, 255, 0.85);
}

.hero-subtitle {
  font-size: 1.05rem;
  max-width: 560px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 12px 25px rgba(201, 123, 92, 0.3);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.hero-highlights h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.hero-card {
  background: rgba(255, 248, 241, 0.95);
  color: var(--ink);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-card li span {
  display: block;
  font-weight: 600;
  color: var(--charcoal);
}

.hero-card li em {
  font-style: normal;
  color: var(--muted);
}

.text-link {
  font-weight: 600;
  color: var(--terracotta);
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px 0;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading .eyebrow {
  color: var(--terracotta);
}

.section-heading h2 {
  font-size: clamp(1.8rem, 2.4vw + 1rem, 2.8rem);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.contact-grid {
  align-items: start;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
}

.about-copy p {
  margin-bottom: 18px;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  height: 360px;
  object-fit: cover;
  object-position: center;
}

.about-signature {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--charcoal);
}

.about-edu {
  font-size: 0.95rem;
  color: var(--muted);
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.workshop-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(45, 39, 35, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workshop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(45, 39, 35, 0.14);
}

.workshop-card img {
  height: 180px;
  object-fit: cover;
}

.workshop-card img.lippan-image,
.gallery-item img.lippan-image {
  object-fit: cover;
  object-position: center;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin-bottom: 10px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.why-card {
  background: var(--linen);
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 123, 92, 0.12);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.testimonial-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.testimonial-card p {
  margin: 16px 0 20px;
}

.testimonial-card h3 {
  font-size: 1.1rem;
}

.stars span {
  color: var(--terracotta);
  font-size: 1.1rem;
}

.cta {
  margin-top: 80px;
}

.cta-inner {
  background: linear-gradient(135deg, #f4dcc8 0%, #f8efe6 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-inner p {
  margin: 16px auto 24px;
  max-width: 520px;
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  height: 390px;
  object-fit: cover;
  object-position: center top;
}

.contact-details h3 {
  font-size: 1.05rem;
}

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

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--linen);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  background: var(--sand);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: var(--charcoal);
}

.contact-note {
  padding: 18px;
  background: var(--linen);
  border-radius: var(--radius-md);
}

.footer {
  margin-top: 80px;
  background: var(--charcoal);
  color: #f9f3ec;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.footer h3 {
  color: #fff;
  margin-bottom: 6px;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-meta {
  display: grid;
  gap: 12px;
  text-align: right;
}

.footer .socials a {
  background: rgba(255, 255, 255, 0.12);
}

.footer .socials svg {
  fill: #fff;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.42);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 68px;
    right: 24px;
    background: rgba(255, 250, 244, 0.95);
    border-radius: 18px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .footer-meta {
    text-align: left;
  }
}

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

  .contact-photo {
    max-width: 420px;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-card {
    padding: 22px;
  }

  .cta-inner {
    padding: 32px 22px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 27px;
    height: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }

  [data-reveal] {
    transition: none;
  }
}
