/* ============================================
   Harvest Studio — Earthy, Natural Design
   ============================================ */

:root {
  --cream: #F7F3EB;
  --sand: #EDE6D9;
  --warm-white: #FFFcf5;
  --clay: #C9A98A;
  --terracotta: #B87A5A;
  --sage: #7A8F6E;
  --sage-light: #A3B594;
  --deep-sage: #4A5D43;
  --forest: #2C3A2F;
  --charcoal: #2A2420;
  --soft-brown: #5C4E42;
  --muted: #8A7E72;
  --shadow: rgba(44, 58, 47, 0.08);
  --shadow-strong: rgba(44, 58, 47, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--soft-brown);
}

.lead {
  font-size: 1.15rem;
  color: var(--soft-brown);
  max-width: 42rem;
}

/* Layout */
.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--sand);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  margin-top: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--deep-sage);
  color: var(--warm-white);
}

.btn-primary:hover {
  background: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow-strong);
}

.btn-secondary {
  background: transparent;
  border-color: var(--deep-sage);
  color: var(--deep-sage);
}

.btn-secondary:hover {
  background: var(--deep-sage);
  color: var(--warm-white);
}

.btn-outline {
  background: transparent;
  border-color: var(--clay);
  color: var(--soft-brown);
}

.btn-outline:hover {
  background: var(--clay);
  color: var(--warm-white);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.btn-ghost {
  background: transparent;
  border-color: var(--sage);
  color: var(--deep-sage);
}

.btn-ghost:hover {
  background: var(--sage);
  color: var(--warm-white);
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 243, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122, 143, 110, 0.15);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.02em;
}

.logo-icon {
  width: 48px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.logo-lockup {
  height: 42px;
  width: auto;
  max-width: 280px;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--soft-brown);
  border-radius: 6px;
  transition: all var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--deep-sage);
  background: rgba(122, 143, 110, 0.12);
}

.nav-cta {
  margin-left: 0.5rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--forest);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237A8F6E' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

.hero-text h1 {
  margin-bottom: 1.25rem;
  color: var(--forest);
}

.hero-text .tagline {
  font-size: 1.2rem;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px var(--shadow-strong);
  aspect-ratio: 4/5;
  background: var(--sand);
}

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

.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--warm-white);
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px var(--shadow);
  max-width: 200px;
}

.hero-badge strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--deep-sage);
}

.hero-badge span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ========== FEATURE CARDS ========== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(122, 143, 110, 0.1);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow-strong);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: rgba(122, 143, 110, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep-sage);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ========== ABOUT TEASER ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow);
  aspect-ratio: 5/4;
}

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

.about-content .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-content p {
  margin-bottom: 1.1rem;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(122, 143, 110, 0.12);
  color: var(--deep-sage);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========== CLASS CARDS ========== */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.class-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid rgba(122, 143, 110, 0.08);
  transition: transform var(--transition);
}

.class-card:hover {
  transform: translateY(-4px);
}

.class-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sand);
}

.class-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.class-card:hover .class-card-img img {
  transform: scale(1.05);
}

.class-card-body {
  padding: 1.5rem;
}

.class-card-body h3 {
  margin-bottom: 0.5rem;
}

.class-card-body p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.class-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.class-price {
  font-weight: 600;
  color: var(--deep-sage);
  font-size: 1.1rem;
}

/* ========== SHOP GRID ========== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px var(--shadow);
  border: 1px solid rgba(122, 143, 110, 0.08);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px var(--shadow-strong);
}

.product-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sand);
  position: relative;
}

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

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--deep-sage);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-body {
  padding: 1.25rem;
}

.product-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.product-category {
  font-size: 0.8rem;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.product-price {
  font-weight: 600;
  color: var(--forest);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

/* ========== GALLERY ========== */
.mural-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.mural-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
}

.mural-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 42%;
}

.mural-card figcaption {
  padding: 1rem 1.25rem 1.25rem;
  color: var(--soft-brown);
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 58, 47, 0.4), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ========== FORMS ========== */
.form-group {
  margin-bottom: 1.35rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1.5px solid rgba(122, 143, 110, 0.25);
  border-radius: 8px;
  background: var(--warm-white);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122, 143, 110, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-details {
  margin: 1.75rem 0;
}

.contact-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-item svg {
  width: 22px;
  height: 22px;
  color: var(--sage);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item span {
  color: var(--soft-brown);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--forest);
  color: rgba(255, 252, 245, 0.85);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--warm-white);
  margin-bottom: 1rem;
}
.footer-brand .logo-icon {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-brand .logo-lockup {
  filter: none;
  height: 36px;
  background: transparent;
}

.footer-brand p {
  color: rgba(255, 252, 245, 0.7);
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--warm-white);
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: rgba(255, 252, 245, 0.7);
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--sage-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 252, 245, 0.12);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 252, 245, 0.55);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 100%);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-text p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -1.25rem;
  }

  .features {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid rgba(122, 143, 110, 0.15);
    box-shadow: 0 12px 30px var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    width: 100%;
  }

  .mobile-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3rem 0;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* Leaf decoration */
.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--sage);
}

.leaf-divider::before,
.leaf-divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(to right, transparent, var(--sage-light), transparent);
}

/* Placeholder notice */
.placeholder-note {
  background: rgba(184, 122, 90, 0.1);
  border: 1px dashed var(--terracotta);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--terracotta);
  margin-top: 1rem;
}

.product-note {
  font-size: 0.9rem;
  color: var(--soft-brown);
  margin-bottom: 1rem;
}

.product-body .btn {
  margin-right: 0.4rem;
  margin-top: 0.25rem;
}

.shop-jump {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: rgba(247, 243, 235, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(122, 143, 110, 0.18);
}

.shop-jump-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0;
}

.shop-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  background: var(--warm-white);
  color: var(--deep-sage);
  font-size: 0.85rem;
  text-decoration: none;
  border: 1px solid rgba(122, 143, 110, 0.25);
}

.shop-jump a span {
  background: var(--sand);
  border-radius: 50px;
  padding: 0.05rem 0.45rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.shop-jump a:hover {
  background: var(--deep-sage);
  color: var(--warm-white);
}

.shop-cat {
  padding-top: 2.5rem;
  scroll-margin-top: 140px;
}

.shop-cat + .shop-cat {
  border-top: 1px solid rgba(122, 143, 110, 0.15);
  margin-top: 2rem;
}

.product-card {
  cursor: pointer;
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 36, 32, 0.55);
}

.product-modal-card {
  position: relative;
  z-index: 1;
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 50px var(--shadow-strong);
}

.product-modal-media {
  background: var(--sand);
}

.product-modal-card img#pm-img,
.product-modal-media > img {
  width: 100%;
  max-height: 52vh;
  object-fit: contain;
  background: var(--sand);
  display: block;
}

.product-modal-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

.product-modal-thumbs[hidden] {
  display: none;
}

.product-modal-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--warm-white);
}

.product-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-modal-thumb.is-active {
  border-color: var(--sage);
}

.product-thumbs {
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem 0;
  background: transparent;
}

.product-thumbs img {
  width: 32%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  height: auto;
}

.product-modal-body {
  padding: 1.5rem;
}

.product-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--warm-white);
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--charcoal);
}