/* ============================================================
   TARA CLAY WORKS — Design System & Styles
   ============================================================ */

/* ----- Google Fonts ----- */
/* NOTE: Fonts are loaded via <link> in index.html with display=swap / non-blocking media trick.
   Do NOT re-import here — @import is render-blocking and would undo those optimisations. */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ----- Icon base ----- */
[class^="ci-"],
[class*=" ci-"] {
  font-size: 1em;
  line-height: 1;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ----- Design Tokens ----- */
:root {
  --clay: #C17A50;
  --clay-dark: #A86340;
  --earth: #8B5E3C;
  --cream: #F5EFE6;
  --smoke: #EDE8DF;
  --smoke-dark: #E0D7CB;
  --charcoal: #2E2A26;
  --charcoal-2: #3D3830;
  --warm-grey: #7A736B;
  --white: #FDFAF7;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 4px rgba(46, 42, 38, .08);
  --shadow-md: 0 4px 20px rgba(46, 42, 38, .12);
  --shadow-lg: 0 12px 40px rgba(46, 42, 38, .16);
  --shadow-xl: 0 24px 60px rgba(46, 42, 38, .22);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --max-width: 1200px;
  --section-pad: 6rem 1.5rem;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* ----- Typography Helpers ----- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.25rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--charcoal);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  color: var(--warm-grey);
  line-height: 1.8;
}

/* ----- Layout Utilities ----- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 2rem;
}

.section {
  padding: var(--section-pad);
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-bottom: 0.25rem;
}

.section-header p {
  max-width: 520px;
  margin-inline: auto;
  font-size: 1.05rem;
}

/* ----- Scroll Reveal Animation ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.2s var(--ease-out);
  cursor: pointer;
}

.btn-primary {
  background: var(--clay);
  color: var(--white);
  border: 2px solid var(--clay);
}

.btn-primary:hover {
  background: var(--clay-dark);
  border-color: var(--clay-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-ghost {
  background: transparent;
  color: var(--clay);
  border: 2px solid var(--clay);
}

.btn-ghost:hover {
  background: var(--clay);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--charcoal);
  border: 2px solid var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

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

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 250, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.navbar.scrolled {
  border-bottom-color: var(--smoke);
  box-shadow: var(--shadow-sm);
  background: rgba(253, 250, 247, 0.97);
}

.nav-container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
  border-radius: var(--radius-md);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.nav-logo-text span {
  color: var(--clay);
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--warm-grey);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 1.5px;
  background: var(--clay);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links .nav-cta {
  background: var(--clay);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  transition: background 0.2s, transform 0.2s;
}

.nav-links .nav-cta::after {
  display: none;
}

.nav-links .nav-cta:hover {
  background: var(--clay-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================================================================
   HERO
   ================================================================ */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--charcoal);
  overflow: hidden;
  contain: layout style; /* Prevent hero from affecting surrounding layout */
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1565193566173-7a0ee3dbe261?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(46, 42, 38, 0.75) 0%,
      rgba(139, 94, 60, 0.4) 60%,
      rgba(46, 42, 38, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 2rem;
  padding-top: 8rem;
  /* Reserve space to prevent CLS while display font loads */
  min-height: 420px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--clay);
  border-radius: 50%;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  max-width: 700px;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--clay);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.125rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
  z-index: 2;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ================================================================
   EVENTS
   ================================================================ */
#events {
  background: var(--white);
}

.events-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--smoke);
  border-radius: var(--radius-md);
  padding: 0.3rem;
  margin-bottom: 3rem;
  width: fit-content;
  margin-inline: auto;
}

.tab-btn {
  padding: 0.6rem 1.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--warm-grey);
  transition: all 0.25s var(--ease-out);
  background: transparent;
}

.tab-btn.active {
  background: var(--white);
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

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

.event-card {
  background: var(--white);
  border: 1px solid var(--smoke-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.event-card-img {
  height: 200px;
  background: var(--smoke);
  overflow: hidden;
  position: relative;
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

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

.event-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-badge.upcoming {
  background: var(--clay);
  color: var(--white);
}

.event-badge.past {
  background: rgba(46, 42, 38, 0.55);
  color: var(--white);
}

.event-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--warm-grey);
  font-weight: 500;
}

.event-meta-item i {
  font-size: 1rem;
  color: var(--warm-grey);
  opacity: 0.8;
}

.event-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.event-card-body p {
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1.25rem;
}

/* ================================================================
   WORKSHOPS
   ================================================================ */
#workshops {
  background: var(--cream);
}

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

.workshop-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.workshop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.workshop-card-img {
  overflow: hidden;
  background: var(--smoke);
  position: relative;
}

.workshop-card-img .carousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.workshop-card-img .carousel-slide {
  min-width: 100%;
  position: relative;
}

.workshop-card-img img,
.workshop-card-img .carousel-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

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

.workshop-card-img .carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.workshop-card-img .carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(46, 42, 38, 0.18);
  box-shadow: 0 1px 4px rgba(46, 42, 38, 0.2);
  cursor: pointer;
  transition: background 0.3s;
}

.workshop-card-img .carousel-dot.active {
  background: white;
}


.workshop-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.workshop-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-level-beginner {
  background: #E8F5E9;
  color: #2E7D32;
}

.tag-level-intermediate {
  background: #FFF3E0;
  color: #E65100;
}

.tag-level-advanced {
  background: #FCE4EC;
  color: #AD1457;
}

.tag-default {
  background: var(--smoke);
  color: var(--warm-grey);
}

.workshop-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.workshop-card-body p {
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1.25rem;
}

.workshop-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--smoke);
  border-radius: var(--radius-sm);
}

.workshop-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.workshop-detail-item .label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-grey);
}

.workshop-detail-item .value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

.workshop-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: 1rem;
}

/* ================================================================
   SHOWCASE
   ================================================================ */
#showcase {
  background: var(--charcoal);
}

#showcase .section-header h2 {
  color: var(--white);
}

#showcase .section-header p {
  color: rgba(255, 255, 255, 0.55);
}

#showcase .section-label {
  color: var(--clay);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  transition: all 0.25s;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--charcoal-2);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

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

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 42, 38, 0.75) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

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

.gallery-item-overlay span {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(24, 20, 16, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 88vw;
  max-height: 84vh;
}

.lightbox-img-wrap img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  position: absolute;
  bottom: -2.5rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-family: var(--font-display);
  font-style: italic;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

/* ================================================================
   STUDIO HIRE
   ================================================================ */
#studio {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

#studio::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(193, 122, 80, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.studio-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.studio-text .section-label {
  margin-bottom: 0.6rem;
}

.studio-text h2 {
  margin-bottom: 1.25rem;
}

.studio-text>p {
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.studio-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.studio-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.studio-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--clay);
  line-height: 1;
}

.studio-stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--warm-grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}

.studio-equipment {
  margin-bottom: 2rem;
}

.studio-equipment h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-grey);
  margin-bottom: 0.85rem;
}

.equipment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.equipment-tag {
  padding: 0.35rem 0.9rem;
  background: var(--smoke);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--charcoal);
  font-weight: 500;
  border: 1px solid var(--smoke-dark);
}

.event-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.event-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: var(--white);
  border: 1px solid var(--smoke-dark);
  border-radius: var(--radius-md);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.event-type-card:hover {
  border-color: var(--clay);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.event-type-icon {
  font-size: 1.6rem;
  color: var(--clay);
  display: block;
  margin-bottom: 0.1rem;
}

.event-type-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--warm-grey);
}

.studio-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 200px;
  gap: 0.75rem;
}

.studio-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--smoke);
}

.studio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.studio-img:hover img {
  transform: scale(1.04);
}

.studio-img.featured {
  grid-column: span 2;
}


.studio-details-btn-wrap {
  display: none;
}

.studio-book-btn-wrap {
  display: block;
}

/* Studio modal description - hidden on desktop, visible on mobile */
.studio-modal-description {
  display: none;
}

/* ================================================================
   ABOUT
   ================================================================ */
#about {
  background: var(--cream);
}

.about-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-portrait {
  position: static;
  order: 2;
  max-width: 480px;
  margin: 0 auto;
}

.about-content {
  order: 1;
}

.about-portrait-img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--smoke);
  box-shadow: var(--shadow-lg);
}

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

.about-portrait-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--warm-grey);
  font-style: italic;
}

.about-content .section-label {
  margin-bottom: 0.6rem;
}

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

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-body p {
  font-size: 1rem;
  line-height: 1.85;
}

.pull-quote {
  margin: 1rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--clay);
  background: var(--cream);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.5;
}

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.about-photo {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--smoke);
  cursor: pointer;
}

.about-photo:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
  pointer-events: none;
}

.about-photo:hover img {
  transform: scale(1.05);
}

/* ================================================================
   CONTACT
   ================================================================ */
#contact {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(193, 122, 80, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info .section-label {
  color: var(--clay);
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-info>p {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(193, 122, 80, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  color: var(--clay);
}

.contact-detail-text .label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clay);
  margin-bottom: 0.2rem;
}

.contact-detail-text .value {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.contact-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
  border-color: var(--clay);
  color: var(--white);
  background: rgba(193, 122, 80, 0.15);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* Contact Form */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-group select option {
  background: var(--charcoal-2);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clay);
  background: rgba(193, 122, 80, 0.08);
}

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

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  text-align: center;
}

.form-success.show {
  display: flex;
}

.form-success .check-icon {
  width: 60px;
  height: 60px;
  background: rgba(193, 122, 80, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--clay);
}

.form-success h3 {
  color: var(--white);
  font-size: 1.35rem;
}

.form-success p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}


/* ================================================================
   EMAIL CAPTURE — INLINE (past events tab)
   ================================================================ */
.email-capture-inline {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--white);
  border: 1px solid var(--smoke-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.email-capture-inline-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.email-capture-inline-text p {
  font-size: 0.875rem;
  color: var(--warm-grey);
  line-height: 1.5;
}

/* ================================================================
   EMAIL CAPTURE — WORKSHOPS BAND
   ================================================================ */
.email-capture-workshops {
  margin-top: 3rem;
  padding: 2.5rem 3rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(193, 122, 80, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.email-capture-workshops-text h3 {
  font-size: 1.35rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.email-capture-workshops-text p {
  font-size: 0.9rem;
  color: var(--warm-grey);
}

/* ================================================================
   EMAIL CAPTURE FORM (shared)
   ================================================================ */
.email-capture-form {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.email-capture-form input[type="email"] {
  padding: 0.75rem 1rem;
  border: 1px solid var(--smoke-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  width: 220px;
  transition: border-color 0.2s;
}

.email-capture-form input[type="email"]:focus {
  border-color: var(--clay);
}

.email-capture-form input[type="email"]::placeholder {
  color: var(--warm-grey);
}

/* Small clay-toned button variant for the events tab capture */
.btn-clay-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: var(--clay);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.btn-clay-sm:hover {
  background: var(--clay-dark);
  transform: translateY(-1px);
}

/* ================================================================
   NEWSLETTER STRIP
   ================================================================ */
#newsletter {
  background: var(--charcoal);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

#newsletter::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(193, 122, 80, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.newsletter-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.newsletter-text .section-label {
  color: var(--clay);
  margin-bottom: 1rem;
}

.newsletter-text h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.newsletter-form input[type="email"] {
  padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  width: 260px;
  transition: border-color 0.2s, background 0.2s;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--clay);
  background: rgba(193, 122, 80, 0.08);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: #1C1916;
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.footer-brand .nav-logo-text {
  color: var(--white);
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 240px;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-icon:hover {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--clay);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-made {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ================================================================
   SHOWCASE MODAL (Story Modal)
   ================================================================ */
.showcase-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(24, 20, 16, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
  overflow-y: auto;
  padding: 2rem 1rem;
}

.showcase-modal.active {
  opacity: 1;
  pointer-events: all;
}

.showcase-modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  transition: opacity 0.15s;
}

.showcase-modal-image-wrap {
  position: relative;
}

.showcase-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  max-height: 500px;
}

.showcase-modal-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-availability {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
}

.showcase-availability.available {
  background: rgba(139, 94, 60, 0.1);
  color: var(--earth);
}

.showcase-availability.sold {
  background: rgba(122, 115, 107, 0.1);
  color: var(--warm-grey);
}

.showcase-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
}

.showcase-modal-subtitle {
  font-size: 1rem;
  color: var(--warm-grey);
  font-style: italic;
  margin: -1rem 0 0 0;
}

.showcase-modal-meta {
  font-size: 0.9rem;
  color: var(--warm-grey);
  padding: 0.75rem 0;
  border-top: 1px solid var(--smoke-dark);
  border-bottom: 1px solid var(--smoke-dark);
}

.meta-label {
  font-weight: 600;
  color: var(--charcoal);
  margin-right: 0.5rem;
}

.showcase-modal-story-section h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--earth);
  margin-bottom: 0.75rem;
}

.showcase-modal-story {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--charcoal);
}

.showcase-modal-specs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--smoke);
  border-radius: var(--radius-md);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.spec-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm-grey);
}

.showcase-modal-close,
.showcase-modal-prev,
.showcase-modal-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-modal-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}

.showcase-modal-prev,
.showcase-modal-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1rem;
}

.showcase-modal-prev {
  left: 1.5rem;
}

.showcase-modal-next {
  right: 1.5rem;
}

.showcase-modal-close:hover,
.showcase-modal-prev:hover,
.showcase-modal-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.showcase-enquire-btn {
  margin-top: auto;
}

/* ================================================================
   DETAIL MODALS (Workshop & Event)
   ================================================================ */
.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(24, 20, 16, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
  overflow-y: auto;
  padding: 2rem 1rem;
}

.detail-modal.active {
  opacity: 1;
  pointer-events: all;
}

.detail-modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}

.detail-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(46, 42, 38, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 1;
}

.detail-modal-close:hover {
  background: rgba(46, 42, 38, 0.1);
}

.detail-modal-header {
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--smoke);
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: white;
}

.detail-modal-header-text {
  padding: 2rem 2rem 0 2rem;
}

.detail-modal-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.detail-modal-header p {
  color: var(--warm-grey);
  line-height: 1.7;
}

.detail-modal-body {
  padding: 1.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.detail-section h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--earth);
  margin-bottom: 0.75rem;
}

.detail-section p,
.detail-section ul {
  color: var(--charcoal);
  line-height: 1.75;
}

.detail-section ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.detail-section li {
  margin-bottom: 0.5rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--smoke);
  border-radius: var(--radius-md);
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm-grey);
}

.detail-item > span:last-child {
  font-weight: 500;
  color: var(--charcoal);
}

.workshop-testimonial {
  padding: 1.25rem;
  background: var(--smoke);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.workshop-testimonial:last-child {
  margin-bottom: 0;
}

.testimonial-text {
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.testimonial-author {
  font-size: 0.875rem;
  color: var(--warm-grey);
  font-weight: 500;
}

.detail-modal-footer {
  padding: 0 2rem 2rem 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.detail-modal-footer .btn {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.detail-modal-footer .btn:only-child {
  flex: 0;
  margin: 0 auto;
}

/* ================================================================
   STUDIO LIFE (Instagram Section)
   ================================================================ */
.studio-life-section {
  background: var(--charcoal);
  color: var(--white);
}

.studio-life-section .section-header h2 {
  color: var(--white);
}

.studio-life-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.studio-life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.studio-life-image {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-out);
  cursor: pointer;
}

.studio-life-image:hover {
  transform: scale(1.03);
}

.studio-life-image:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.studio-life-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* ================================================================
   STUDIO LIFE LIGHTBOX MODAL
   ================================================================ */
.studio-life-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 8, 6, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.studio-life-modal.active {
  opacity: 1;
  pointer-events: all;
}

.studio-life-modal-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 4rem 5rem;
  box-sizing: border-box;
}

.studio-life-modal-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transition: opacity 0.2s;
  display: block;
}

.studio-life-modal-close,
.studio-life-modal-prev,
.studio-life-modal-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10000;
}

.studio-life-modal-close:hover,
.studio-life-modal-prev:hover,
.studio-life-modal-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.studio-life-modal-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}

.studio-life-modal-prev,
.studio-life-modal-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.1rem;
}

.studio-life-modal-prev { left: 1.5rem; }
.studio-life-modal-next { right: 1.5rem; }

.studio-life-modal-prev:hover { transform: translateY(-50%) translateX(-2px); }
.studio-life-modal-next:hover { transform: translateY(-50%) translateX(2px); }

@media (max-width: 768px) {
  .studio-life-modal-img-wrap {
    padding: 3.5rem 1rem;
  }

  .studio-life-modal-prev,
  .studio-life-modal-next {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .studio-life-modal-prev { left: 0.75rem; }
  .studio-life-modal-next { right: 0.75rem; }
}

/* ================================================================
   CARD ACTIONS (Workshop & Event)
   ================================================================ */
.workshop-card-actions,
.event-card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.workshop-card-actions .btn,
.event-card-actions .btn {
  flex: 1;
  min-width: fit-content;
}

/* ================================================================
   TESTIMONIALS (Contextual)
   ================================================================ */
.about-testimonials,
.studio-testimonial {
  margin-top: 3rem;
}

.about-testimonials h4,
.studio-testimonial h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--earth);
  margin-bottom: 1.25rem;
}

.testimonial-card {
  padding: 2rem;
  background: var(--smoke);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--clay);
}

.testimonial-card .testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.testimonial-card .testimonial-author {
  font-size: 0.9rem;
  color: var(--warm-grey);
  font-weight: 500;
}

/* Testimonials in modals - less top margin */
.detail-modal .testimonial-card {
  padding: 1.5rem;
  margin-top: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet screens - constrain buttons and forms */
  .btn {
    max-width: 280px;
  }

  .newsletter-form,
  .email-capture-form {
    justify-content: center;
  }

  .newsletter-form .btn,
  .email-capture-form .btn {
    max-width: 280px;
  }

  .contact-form-wrap .btn {
    max-width: 280px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-pad: 5rem 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .studio-layout,
  .about-layout {
    gap: 3rem;
  }

  .about-portrait {
    position: static;
  }

  .about-layout {
    gap: 2.5rem;
  }

  .about-photos {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Showcase modal - single column */
  .showcase-modal-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .showcase-modal-img {
    max-height: 350px;
  }

  /* Detail modals - adjust padding */
  .detail-modal-header-text,
  .detail-modal-body,
  .detail-modal-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

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

  /* Studio life grid - 2 columns on mobile */
  .studio-life-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Card actions - stack buttons */
  .workshop-card-actions,
  .event-card-actions {
    flex-direction: column;
  }

  .workshop-card-actions .btn,
  .event-card-actions .btn {
    width: 100%;
  }

  /* Studio life grid - 3 columns on tablets */
  .studio-life-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  /* ── Showcase modal: controls-bar layout ──────────────────────
     On mobile the three buttons move inside the card. The modal
     overlay reverts to simple centred-column padding and we drop
     the backdrop-filter blur for performance.
  ────────────────────────────────────────────────────────────── */

  /* Bottom-sheet overlay: small dark strip at top, no side gaps */
  .showcase-modal {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    align-items: flex-start;
    padding: 2.5rem 0 0;
  }

  /* Card fills edge-to-edge — no overflow:hidden here so
     prev/next buttons (position:absolute) are not clipped */
  .showcase-modal-content {
    padding: 0;
    gap: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  /* Image-wrap clips the photo to the card's top rounded corners */
  .showcase-modal-image-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  /* Image fills the full card width, no own border-radius */
  .showcase-modal-img {
    border-radius: 0;
    max-height: 280px;
    display: block;
  }

  /* Info text section gets its own breathing room */
  .showcase-modal-info {
    padding: 1.5rem;
  }

  /* ── Showcase modal: absolute button positions on mobile ─────
     Buttons live inside .showcase-modal-content (position:relative)
     and are pulled out of flow with position:absolute.
     - Close   → top-right corner of the card
     - Prev    → left edge, centred on the image area
     - Next    → right edge, centred on the image area
  ────────────────────────────────────────────────────────────── */

  /* Shared reset: switch from fixed (desktop) to absolute (mobile) */
  .showcase-modal-close,
  .showcase-modal-prev,
  .showcase-modal-next {
    position: absolute;
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(46, 42, 38, 0.14);
    color: var(--charcoal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  .showcase-modal-close:hover,
  .showcase-modal-prev:hover,
  .showcase-modal-next:hover {
    background: rgba(255, 255, 255, 1);
  }

  /* Close — top-right of the card */
  .showcase-modal-close {
    top: 0.75rem;
    right: 0.75rem;
    left: auto;
    transform: none;
  }

  /* Prev — left edge of image, vertically centred */
  .showcase-modal-prev {
    top: 50%;
    left: 0.75rem;
    right: auto;
    transform: translateY(-50%);
  }

  /* Next — right edge of image, vertically centred */
  .showcase-modal-next {
    top: 50%;
    right: 0.75rem;
    left: auto;
    transform: translateY(-50%);
  }

  .nav-container {
    padding: 0 1rem;
  }
  
  /* Prevent horizontal overflow from carousels */
  #events,
  #workshops,
  #studio {
    overflow-x: hidden;
  }

  .nav-logo {
    z-index: 1001;
    position: relative;
  }

  .nav-logo img {
    height: 32px;
  }

  .nav-logo-text {
    font-size: 1rem;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--smoke);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out), visibility 0.35s;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: fit-content;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 0.75rem;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .gallery-item.tall {
    grid-row: span 2;
  }

  .studio-images {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 0.75rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }
  
  /* Mobile/Desktop visibility toggle for studio section */
  .studio-details-desktop {
    display: none !important;
  }
  
  .studio-details-btn-wrap {
    display: block !important;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
  }
  
  /* Hide the main Book the Studio button on mobile - it's in the modal */
  .studio-book-btn-wrap {
    display: none !important;
  }
  
  /* Show studio modal description on mobile only */
  .studio-modal-description {
    display: block !important;
  }
  
  /* Add subtle fade on right edge to indicate scrollability */
  .studio-images::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: calc(100% - 1rem);
    background: linear-gradient(to left, var(--cream), transparent);
    pointer-events: none;
    z-index: 1;
  }
  
  .studio-images::-webkit-scrollbar {
    height: 6px;
  }
  
  .studio-images::-webkit-scrollbar-track {
    background: var(--smoke);
    border-radius: 3px;
  }
  
  .studio-images::-webkit-scrollbar-thumb {
    background: var(--clay);
    border-radius: 3px;
  }
  
  .studio-img {
    flex: 0 0 85%;
    scroll-snap-align: start;
    height: 260px;
  }

  .studio-img.featured {
    grid-column: span 1;
  }
  
  /* Hide equipment and event types on mobile to reduce scrolling - but not in modals */
  .studio-text .studio-equipment,
  .studio-text .event-types-grid {
    display: none;
  }
  
  /* Ensure modal content is visible */
  .detail-modal .studio-stats {
    padding: 1rem;
    gap: 1rem;
    margin-bottom: 0;
  }
  
  .detail-modal .event-types-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-stats {
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem;
  }

  .studio-stat {
    min-width: 70px;
  }
  
  .studio-stat-value {
    font-size: 1.5rem;
  }
  
  .studio-stat-label {
    font-size: 0.65rem;
  }

  .studio-layout {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .studio-text {
    display: contents;
  }
  
  .studio-intro {
    order: 1;
  }
  
  .studio-images {
    order: 2;
  }
  
  .studio-details {
    order: 3;
  }

  .about-layout {
    display: flex;
    flex-direction: column;
  }

  .about-portrait {
    order: 2;
  }

  .about-content {
    order: 1;
  }

  .about-portrait-img {
    aspect-ratio: 4/3;
  }

  .about-photos {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .lightbox-prev {
    left: 0.5rem;
  }

  .lightbox-next {
    right: 0.5rem;
  }

  /* Mobile carousel for events and workshops */
  .events-grid,
  .workshops-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .events-grid::-webkit-scrollbar,
  .workshops-grid::-webkit-scrollbar {
    height: 6px;
  }
  
  .events-grid::-webkit-scrollbar-track,
  .workshops-grid::-webkit-scrollbar-track {
    background: var(--smoke);
    border-radius: 3px;
  }
  
  .events-grid::-webkit-scrollbar-thumb,
  .workshops-grid::-webkit-scrollbar-thumb {
    background: var(--clay);
    border-radius: 3px;
  }
  
  .event-card,
  .workshop-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
    min-width: 280px;
  }
  
  /* Disable hover transforms on mobile to prevent overflow issues */
  .event-card:hover,
  .workshop-card:hover {
    transform: none;
  }

  /* Newsletter section - stack vertically on mobile */
  .newsletter-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  /* Email capture workshops - stack vertically */
  .email-capture-workshops {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .email-capture-form {
    flex-direction: column;
    width: 100%;
  }

  .email-capture-form input[type="email"] {
    width: 100%;
  }

  .email-capture-form .btn {
    width: 100%;
  }

  /* Email capture inline */
  .email-capture-inline {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    text-align: center;
  }
  
  /* Compact contact section for mobile - reduce vertical space */
  .contact-details {
    gap: 1rem;
  }
  
  .contact-detail-icon {
    width: 36px;
    height: 36px;
  }
  
  .contact-form-wrap {
    padding: 1.75rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .contact-socials {
    flex-direction: column;
  }
  
  .contact-info > p {
    margin-bottom: 1.5rem;
  }
  
  .contact-info h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  /* Make buttons more compact on mobile */
  .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.8rem;
  }
  
  .event-card-actions .btn,
  .workshop-card-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 4rem 1rem;
  }

  .container {
    padding-inline: 1rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    gap: 0.75rem;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .gallery-item.tall {
    grid-row: span 2;
  }

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

  .about-photos {
    grid-template-columns: 1fr 1fr;
  }

  .studio-stats {
    flex-wrap: wrap;
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .studio-stat {
    min-width: 60px;
  }
  
  .studio-stat-value {
    font-size: 1.35rem;
  }
  
  .studio-stat-label {
    font-size: 0.6rem;
  }

  .event-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Keep modal event-types-grid as 2 columns on small screens */
  .detail-modal .event-types-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Extra compact buttons for very small screens */
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  
  /* Ensure form submit buttons fit properly */
  .contact-form-wrap .btn,
  .newsletter-form .btn,
  .email-capture-form .btn {
    padding: 0.65rem 1.2rem;
    font-size: 0.8rem;
  }
}

/* ================================================================
   PROMO / LANDING SPOTLIGHT MODAL
   ================================================================ */
.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(24, 20, 16, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

.promo-modal.active {
  opacity: 1;
  pointer-events: all;
}

.promo-modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 480px;
  width: 100%;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
}

.promo-modal.active .promo-modal-content {
  transform: translateY(0) scale(1);
}

.promo-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 1rem;
  color: var(--charcoal);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, transform 0.2s;
}

.promo-modal-close:hover {
  background: var(--white);
  transform: scale(1.1);
}

.promo-modal-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.promo-modal-footer {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: center;
  background: var(--white);
  border-top: 1px solid var(--smoke-dark);
}

.promo-modal-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

@media (max-width: 520px) {
  .promo-modal-content {
    max-width: 100%;
    border-radius: var(--radius-md);
  }
}