/* ============================================================
   TERRA & CLAY STUDIO — STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=DM+Sans:wght@400;500;600;700&display=swap');

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

:root {
  --primary:       #3d2b1f;
  --primary-dark:  #231a11;
  --primary-light: #f5ede3;
  --accent:        #b5651d;
  --accent-dark:   #8b4513;
  --accent-light:  #fdf0e3;
  --bg:            #faf6f0;
  --bg-alt:        #ffffff;
  --surface:       #ffffff;
  --border:        #e8ddd0;
  --text:          #2d1f14;
  --text-muted:    #6b5244;
  --text-light:    #a89180;
  --sage:          #6b7c5c;
  --cream:         #fdf8f2;
  --radius:        10px;
  --radius-sm:     6px;
  --shadow:        0 4px 24px rgba(61,43,31,.07);
  --shadow-lg:     0 12px 48px rgba(61,43,31,.12);
  --transition:    .22s ease;
  --nav-h:         70px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── UTILITIES ────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--primary); }
.section-cream { background: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.eyebrow-light {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 12px;
}
.eyebrow-light::before { content: ''; width: 24px; height: 1px; background: rgba(255,255,255,.25); }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; color: var(--text); line-height: 1.15; margin-bottom: 16px; }
.section-head h2.light { color: #fff; }
.section-head p { font-size: 1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section-head p.light-muted { color: rgba(255,255,255,.55); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 3px; font-size: .88rem; font-weight: 600;
  font-family: 'DM Sans', sans-serif; letter-spacing: .04em;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(61,43,31,.25); }
.btn-ghost { background: transparent; color: var(--text); border-bottom: 1.5px solid var(--text); border-radius: 0; padding: 13px 0; }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn-accent-sm { display: inline-flex; align-items: center; padding: 9px 20px; background: var(--accent); color: #fff; border-radius: 3px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; transition: var(--transition); }
.btn-accent-sm:hover { background: var(--accent-dark); }

/* ── REVEAL ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* ── PROMO BAR ────────────────────────────────────────────── */
.promo-bar {
  background: var(--accent); color: rgba(255,255,255,.9);
  padding: 10px 24px; text-align: center; font-family: 'DM Sans', sans-serif;
  font-size: .82rem; font-weight: 500; display: flex; align-items: center;
  justify-content: center; gap: 16px; letter-spacing: .03em;
}
.promo-bar a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,246,240,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
  height: var(--nav-h);
}
.navbar.scrolled { border-color: var(--border); box-shadow: 0 2px 24px rgba(61,43,31,.06); }
.nav-inner { display: flex; align-items: center; height: var(--nav-h); gap: 32px; }
.nav-logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo-mark { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: rgba(255,255,255,.85); }
.logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--text); display: block; letter-spacing: .04em; }
.logo-sub { font-family: 'DM Sans', sans-serif; font-size: .52rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-light); display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 14px; font-family: 'DM Sans', sans-serif; font-size: .85rem; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 10px 22px; font-size: .82rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.nav-mobile { display: none; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero { overflow: hidden; padding: 0; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 110px); }
.hero-image-col { position: relative; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-card {
  position: absolute; bottom: 32px; right: -20px;
  background: var(--surface); border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow-lg); max-width: 240px;
}
.hero-img-card-inner { display: flex; align-items: flex-start; gap: 10px; }
.hero-img-card-inner svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.hero-img-card-inner span { font-size: .82rem; color: var(--text-muted); line-height: 1.55; }
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 64px;
}
.hero-eyebrow { font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); margin-bottom: 20px; display: block; }
.hero-inner h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 700; line-height: 1.08; color: var(--text); margin-bottom: 24px; }
.hero-inner h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: .98rem; color: var(--text-muted); line-height: 1.85; max-width: 440px; margin-bottom: 36px; }
.hero-ctas { display: flex; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 1px solid var(--border); padding-top: 32px; }
.hero-stat { text-align: center; }
.stat-val { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; color: var(--text); display: block; }
.stat-label { font-size: .68rem; color: var(--text-light); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ── FILTER TABS ──────────────────────────────────────────── */
.filter-tabs { display: flex; gap: 0; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.filter-tab {
  padding: 12px 20px; font-family: 'DM Sans', sans-serif; font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-light);
  border: none; background: none; cursor: pointer; transition: var(--transition);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.filter-tab:hover { color: var(--text); }
.filter-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── SHOP GRID ────────────────────────────────────────────── */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.shop-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.shop-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.shop-card.hidden { display: none; }
.shop-card-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg); }
.shop-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.shop-card:hover .shop-card-img img { transform: scale(1.06); }
.shop-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px;
}
.shop-card-body { padding: 18px 20px 20px; }
.shop-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.shop-item-name { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.shop-item-price { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.shop-item-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.shop-item-link { font-family: 'DM Sans', sans-serif; font-size: .78rem; font-weight: 700; color: var(--accent); letter-spacing: .04em; transition: opacity .2s; }
.shop-item-link:hover { opacity: .75; }

/* ── WORKSHOPS ────────────────────────────────────────────── */
.workshop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.workshop-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 36px 32px; transition: var(--transition);
}
.workshop-card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.workshop-icon { color: var(--accent); margin-bottom: 16px; }
.workshop-level { display: inline-block; font-family: 'DM Sans', sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: rgba(181,101,29,.15); padding: 4px 12px; border-radius: 50px; margin-bottom: 14px; }
.workshop-name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.workshop-desc { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 20px; }
.workshop-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
.workshop-meta span { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: rgba(255,255,255,.5); }
.workshop-meta svg { color: rgba(255,255,255,.35); flex-shrink: 0; }
.workshop-next { font-size: .8rem; color: rgba(255,255,255,.4); font-style: italic; margin-bottom: 24px; }
.workshop-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; }
.workshop-price { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: #fff; }

/* ── STORY ────────────────────────────────────────────────── */
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-image { border-radius: 3px; overflow: hidden; aspect-ratio: 3/4; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-content h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 20px; }
.story-text { font-size: .95rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 18px; }
.story-values { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; border-top: 1px solid var(--border); padding-top: 32px; }
.story-value { display: flex; align-items: flex-start; gap: 16px; }
.value-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); }
.story-value h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.story-value p { font-size: .85rem; color: var(--text-muted); }

/* ── GALLERY ──────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(61,43,31,.75) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1rem; color: rgba(255,255,255,.9); }

/* ── REVIEWS ──────────────────────────────────────────────── */
.reviews-meta { display: flex; align-items: center; gap: 20px; justify-content: center; margin-top: 12px; }
.reviews-rating-big { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 600; color: var(--text); }
.reviews-stars { display: flex; gap: 4px; color: var(--accent); }
.reviews-count { font-size: .85rem; color: var(--text-muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.review-stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 14px; }
.review-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: .98rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-name { font-size: .9rem; font-weight: 600; color: var(--text); }
.review-detail { font-size: .78rem; color: var(--text-light); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); background: var(--surface); }
.faq-item:last-child { border-bottom: none; }
.faq-item.open { background: var(--cream); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: 'DM Sans', sans-serif; font-size: .9rem; font-weight: 600; color: var(--text); background: none; border: none; cursor: pointer; }
.faq-q svg { flex-shrink: 0; transition: transform .25s ease; color: var(--accent); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 20px; font-size: .88rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info { color: rgba(255,255,255,.75); }
.contact-info h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); color: #fff; margin-bottom: 14px; }
.contact-info > p { font-size: .95rem; color: rgba(255,255,255,.55); line-height: 1.75; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: .9rem; color: rgba(255,255,255,.7); }
.contact-detail svg { color: var(--accent); flex-shrink: 0; }
.contact-hours { margin-top: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); overflow: hidden; }
.hours-row { display: flex; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .84rem; color: rgba(255,255,255,.55); }
.hours-row:last-child { border-bottom: none; }
.footer-social { display: flex; gap: 10px; }
.social-icon { width: 36px; height: 36px; border-radius: 4px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); transition: var(--transition); }
.social-icon:hover { background: var(--accent); color: #fff; }
.contact-form { background: var(--bg); border-radius: var(--radius); padding: 40px; }
.contact-form h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--text); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 700; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: .9rem; color: var(--text); background: var(--surface); outline: none; transition: border-color .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; padding: 14px; border-radius: var(--radius-sm); background: var(--primary); color: #fff; font-family: 'DM Sans', sans-serif; font-size: .88rem; font-weight: 700; letter-spacing: .06em; border: none; cursor: pointer; transition: var(--transition); }
.form-submit:hover { background: var(--primary-dark); }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.55); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.85); flex-shrink: 0; }
.footer-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: #fff; display: block; letter-spacing: .04em; }
.footer-logo-sub { font-size: .5rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.3); display: block; }
.footer-desc { font-size: .85rem; line-height: 1.7; margin-bottom: 10px; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: .86rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-col ul a:hover { color: rgba(255,255,255,.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0; font-size: .78rem; text-align: center; color: rgba(255,255,255,.28); }

/* ── BACK TO TOP ──────────────────────────────────────────── */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 50;
  width: 44px; height: 44px; border-radius: 3px; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(61,43,31,.35);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: var(--transition); border: none; cursor: pointer;
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { background: var(--accent); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-col { height: 55vw; min-height: 300px; }
  .hero-img-card { right: 24px; }
  .hero-content { padding: 56px 40px; }
  .story-inner { grid-template-columns: 1fr; gap: 44px; }
  .story-image { max-width: 500px; }
  .workshop-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile {
    display: block; position: fixed; inset: 0; z-index: 99;
    background: var(--bg); padding: 100px 24px 32px;
    transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  }
  .nav-mobile.open { transform: none; }
  .nav-mobile a { display: block; padding: 14px 0; font-size: .95rem; font-weight: 600; border-bottom: 1px solid var(--border); color: var(--text); }
  .nav-mobile .btn { display: inline-flex; margin-top: 16px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .hero-inner h1 { font-size: 2.8rem; }
  .shop-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
