/* ==========================================================================
   MAYA KO DOREE — PREMIUM WEBSITE DEMO STYLES
   Aesthetic: Contemporary Fibre-Art Studio & Quiet Luxury Craft
   ========================================================================== */

:root {
  /* Brand Colours (Authority: Sampled Maya Ko Doree Logo, calibrated for WCAG AA contrast) */
  --brand-green: #547B2E;
  --brand-green-dark: #416223;
  --brand-green-light: #7EAA53;
  --brand-green-subtle: #F1F6EC;
  --brand-green-tint: rgba(84, 123, 46, 0.09);

  /* Neutrals: Warm Ivory, Linen, Slate */
  --bg-ivory: #FAF8F5;
  --bg-cream: #F4EFEB;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-muted: #EFE9E1;

  /* Typography Colors */
  --ink-primary: #1C1B19;
  --ink-secondary: #524E49;
  --ink-muted: #7D7871;
  --ink-light: #A8A39C;

  /* Borders & Dividers */
  --border-delicate: rgba(28, 27, 25, 0.08);
  --border-medium: rgba(28, 27, 25, 0.14);
  --border-green: rgba(108, 149, 66, 0.28);

  /* Typography Scales */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6.5rem;
  --space-3xl: 9rem;

  /* Layout */
  --container-max: 1360px;
  --container-pad: clamp(1.25rem, 4vw, 3.5rem);

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --ease-natural: cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: 0.25s var(--ease-natural);
  --transition-smooth: 0.4s var(--ease-natural);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-ivory);
  color: var(--ink-secondary);
  line-height: 1.68;
  overflow-x: hidden;
  position: relative;
}

/* Texture overlay for subtle organic craft feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: radial-gradient(#1C1B19 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--ink-primary);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.22;
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.28;
}

h4 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

p {
  font-size: clamp(0.98rem, 1.05vw, 1.12rem);
  color: var(--ink-secondary);
}

p.lead {
  font-size: clamp(1.1rem, 1.35vw, 1.3rem);
  line-height: 1.7;
  color: var(--ink-primary);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section-spacing {
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.section-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-green-dark);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background-color: var(--brand-green);
}

.eyebrow.no-line::before {
  display: none;
}

/* Buttons & Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 1.85rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  text-align: center;
}

.btn-primary {
  background-color: var(--brand-green);
  color: #FFFFFF;
  border: 1px solid var(--brand-green);
  box-shadow: 0 4px 14px rgba(108, 149, 66, 0.22);
}

.btn-primary:hover {
  background-color: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 149, 66, 0.32);
}

.btn-secondary {
  background-color: transparent;
  color: var(--ink-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  border-color: var(--ink-primary);
  background-color: rgba(28, 27, 25, 0.04);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--ink-primary);
  border: 1px solid #FFFFFF;
}

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

.link-editorial {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-primary);
  padding-bottom: 0.3rem;
  border-bottom: 1.5px solid var(--ink-primary);
  transition: all var(--transition-fast);
}

.link-editorial:hover {
  color: var(--brand-green);
  border-bottom-color: var(--brand-green);
  gap: 0.8rem;
}

.link-editorial svg {
  transition: transform var(--transition-fast);
}

.link-editorial:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   NAVIGATION / HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-smooth), padding var(--transition-smooth), box-shadow var(--transition-smooth), backdrop-filter var(--transition-smooth);
  padding: 1.25rem 0;
  background-color: rgba(250, 248, 245, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 27, 25, 0.06);
}

.site-header.scrolled {
  padding: 0.85rem 0;
  background-color: rgba(250, 248, 245, 0.95);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1010;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.brand-name-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-primary);
  line-height: 1.1;
}

.brand-subline {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  font-weight: 600;
}

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

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-secondary);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--brand-green);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--ink-primary);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.header-btn {
  padding: 0.65rem 1.35rem;
  font-size: 0.8rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1010;
  color: var(--ink-primary);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--ink-primary);
  margin: 5px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-nav-overlay {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
  background-color: var(--bg-ivory);
}

.hero-media-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 54%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) brightness(0.96);
}

/* Hero gradient overlays */
.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg-ivory) 0%, rgba(250, 248, 245, 0.85) 18%, rgba(250, 248, 245, 0.15) 60%, rgba(250, 248, 245, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-ivory), transparent);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 650px;
}

.hero-eyebrow-wrap {
  margin-bottom: 1.25rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--brand-green-dark);
}

.hero-eyebrow::before {
  width: 24px;
  height: 1.5px;
}

.hero-headline {
  margin-bottom: 1.4rem;
  color: var(--ink-primary);
}

.hero-headline em {
  font-style: italic;
  color: var(--brand-green);
  font-weight: 400;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.25vw, 1.24rem);
  line-height: 1.7;
  color: var(--ink-secondary);
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.hero-studio-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-delicate);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.meta-item svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

/* ==========================================================================
   OUR STORY / BRAND SECTION
   ========================================================================== */
.story-section {
  background-color: var(--bg-ivory);
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.story-image-wrap {
  position: relative;
}

.story-main-img {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story-floating-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-delicate);
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  max-width: 240px;
}

.story-floating-badge .badge-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0.4rem;
  color: var(--brand-green);
}

.story-floating-badge .badge-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 0.2rem;
}

.story-floating-badge .badge-text {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

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

.story-quote {
  border-left: 2.5px solid var(--brand-green);
  padding-left: 1.4rem;
  margin: 1.8rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-style: italic;
  color: var(--ink-primary);
  line-height: 1.45;
}

.story-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-delicate);
}

.feature-point h3,
.feature-point h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-point h3 svg,
.feature-point h4 svg {
  color: var(--brand-green);
}

.feature-point p {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   OUR WORK / CREATIONS GALLERY
   ========================================================================== */
.creations-section {
  background-color: var(--bg-cream);
  position: relative;
}

.creations-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid var(--border-medium);
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--ink-primary);
  color: var(--ink-primary);
}

.filter-btn.active {
  background-color: var(--ink-primary);
  border-color: var(--ink-primary);
  color: #FFFFFF;
}

/* Editorial Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.8rem;
}

.gallery-item {
  position: relative;
  background-color: var(--bg-surface);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* Asymmetric sizing across 12 cols */
.col-span-4 {
  grid-column: span 4;
}

.col-span-6 {
  grid-column: span 6;
}

.col-span-8 {
  grid-column: span 8;
}

.gallery-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: var(--bg-muted);
}

.gallery-item.tall .gallery-media {
  aspect-ratio: 4 / 5;
}

.gallery-item.wide .gallery-media {
  aspect-ratio: 16 / 10;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease-natural);
}

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

.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-green-dark);
  z-index: 2;
}

.gallery-info {
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-delicate);
}

.gallery-category {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.gallery-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.gallery-item-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink-primary);
  font-weight: 600;
}

.gallery-price {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-green-dark);
}

.gallery-hint {
  font-size: 0.76rem;
  color: var(--ink-light);
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==========================================================================
   CATALOG SPOTLIGHT SECTION
   ========================================================================== */
.catalog-spotlight {
  background-color: var(--bg-ivory);
  position: relative;
  overflow: hidden;
}

.catalog-card {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-cream) 100%);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  box-shadow: var(--shadow-hover);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.catalog-info h2 {
  margin-bottom: 1.2rem;
}

.catalog-highlights-list {
  list-style: none;
  margin: 1.8rem 0 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.catalog-highlights-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

.catalog-highlights-list svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

.catalog-visual {
  position: relative;
}

.catalog-stack {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 4px solid #FFFFFF;
}

.catalog-cover-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.catalog-pill-floating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(28, 27, 25, 0.88);
  color: #FFFFFF;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}

/* ==========================================================================
   THE CRAFT & PROCESS
   ========================================================================== */
.craft-section {
  background-color: var(--bg-cream);
}

.craft-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.pillar-card {
  background-color: var(--bg-surface);
  border-radius: 4px;
  padding: 2.2rem;
  border: 1px solid var(--border-delicate);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-green);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--brand-green);
  font-style: italic;
  line-height: 1;
  margin-bottom: 1rem;
}

.pillar-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   LEARN WITH MAYA KO DOREE / YOUTUBE SECTION
   ========================================================================== */
.learn-section {
  background-color: var(--bg-ivory);
  position: relative;
}

.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.video-container-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-medium);
  background-color: #000000;
}

.video-container-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 0.75rem;
  text-align: right;
  font-style: italic;
}

/* ==========================================================================
   CROCHET & MACRAMÉ CLASSES
   ========================================================================== */
.classes-section {
  background-color: var(--bg-cream);
  position: relative;
}

.classes-showcase {
  background-color: var(--bg-surface);
  border-radius: 6px;
  border: 1px solid var(--border-medium);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
}

.classes-media-wrap {
  position: relative;
  background-color: #121622;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.classes-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  min-height: 520px;
}

.classes-badge-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: var(--brand-green);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 2;
}

.classes-content {
  padding: clamp(2rem, 4.5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.class-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.8rem 0 2.2rem;
  background-color: var(--bg-ivory);
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-delicate);
}

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

.spec-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 0.2rem;
}

.spec-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.spec-value.green {
  color: var(--brand-green-dark);
}

.classes-perks {
  list-style: none;
  margin-bottom: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.classes-perks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.classes-perks svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

/* ==========================================================================
   CUSTOM CREATIONS CALLOUT
   ========================================================================== */
.custom-section {
  background: linear-gradient(135deg, #1C1B19 0%, #2A2723 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.custom-section::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 149, 66, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.custom-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.custom-content h2 {
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.custom-content p {
  color: #C8C3BC;
  margin-bottom: 2rem;
}

.custom-steps {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(108, 149, 66, 0.25);
  color: var(--brand-green-light);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-text h3,
.step-text h4 {
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.step-text p {
  font-size: 0.86rem;
  color: #A8A39C;
  margin-bottom: 0;
}

.custom-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
}

.custom-gallery-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.duo-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 4 / 5;
}

.duo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

/* ==========================================================================
   FROM THE STUDIO (SOCIAL FEED PREVIEW)
   ========================================================================== */
.studio-section {
  background-color: var(--bg-ivory);
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.studio-post-card {
  background-color: var(--bg-surface);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-delicate);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

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

.studio-post-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.studio-post-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-type-icon {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background-color: rgba(28, 27, 25, 0.7);
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-post-caption {
  padding: 1.25rem 1.4rem;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT & VISIT
   ========================================================================== */
.contact-section {
  background-color: var(--bg-cream);
  border-top: 1px solid var(--border-medium);
}

.contact-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  background-color: var(--bg-surface);
  border-radius: 6px;
  padding: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-hover);
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background-color: var(--brand-green-subtle);
  color: var(--brand-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text h3,
.contact-info-text h4 {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.contact-info-text p, .contact-info-text a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-primary);
}

.contact-info-text a:hover {
  color: var(--brand-green);
}

.contact-right-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid var(--border-delicate);
}

.studio-hours-card {
  background-color: var(--bg-ivory);
  padding: 1.8rem;
  border-radius: 4px;
  border: 1px solid var(--border-delicate);
  margin-bottom: 2rem;
}

.studio-hours-card h3,
.studio-hours-card h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--ink-primary);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  padding: 0.35rem 0;
}

.hours-row:not(:last-child) {
  border-bottom: 1px dashed var(--border-delicate);
}

.studio-map-frame-card {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-medium);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-subtle);
  background-color: var(--bg-muted);
}

.studio-map-frame-card iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #161514;
  color: #B5B0A8;
  padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem;
}

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

.footer-brand .brand-subline {
  color: #9BC56A;
}

.footer-brand p {
  color: #9C978F;
  font-size: 0.92rem;
  margin-top: 1.1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #A8A39C;
}

.footer-links a:hover {
  color: var(--brand-green-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: #A8A39C;
}

/* ==========================================================================
   INTERACTIVE MODAL FOR CREATIONS
   ========================================================================== */
.creation-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(28, 27, 25, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.creation-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-card {
  background-color: var(--bg-surface);
  border-radius: 6px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.96) translateY(12px);
  transition: transform var(--transition-smooth);
}

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

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--ink-primary);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--ink-primary);
  color: #FFFFFF;
}

.modal-media {
  background-color: var(--bg-muted);
  overflow: hidden;
}

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

.modal-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modal-meta-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 0.65rem;
}

.modal-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-green-dark);
  margin-bottom: 1.25rem;
}

.modal-description {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.68;
  margin-bottom: 1.5rem;
}

.modal-attributes {
  list-style: none;
  border-top: 1px solid var(--border-delicate);
  padding-top: 1rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.86rem;
}

.modal-attributes li strong {
  color: var(--ink-primary);
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   Breakpoints: 1024px (Tablet Landscape), 768px (Tablet), 480px (Mobile)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-media-wrapper {
    width: 60%;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .story-image-wrap {
    max-width: 600px;
    margin: 0 auto;
  }

  .story-floating-badge {
    bottom: -1rem;
    right: 0;
  }

  .catalog-card {
    grid-template-columns: 1fr;
  }

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

  .classes-showcase {
    grid-template-columns: 1fr;
  }

  .classes-media-dual {
    grid-template-columns: 1fr 1fr;
  }

  .classes-img {
    min-height: 360px;
    max-height: 440px;
  }

  .custom-inner {
    grid-template-columns: 1fr;
  }

  .craft-pillars {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .desktop-nav, .header-actions {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .mobile-nav-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    background-color: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(16px);
    z-index: 1005;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
    padding: 2rem;
  }

  .mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
  }

  .mobile-nav-links a {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--ink-primary);
    font-weight: 500;
  }

  /* Hero Section for Mobile */
  .hero-section {
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-container {
    max-width: 100%;
    order: 1;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-media-wrapper {
    position: relative;
    width: 100%;
    height: 340px;
    margin-top: 2rem;
    border-radius: 6px;
    overflow: hidden;
    order: 2;
    box-shadow: var(--shadow-hover);
  }

  .hero-media-overlay {
    background: linear-gradient(180deg, rgba(250, 248, 245, 0) 60%, rgba(250, 248, 245, 0.6) 100%);
  }

  .hero-headline {
    font-size: 2.35rem;
    line-height: 1.15;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  /* Gallery Columns */
  .col-span-4, .col-span-6, .col-span-8 {
    grid-column: span 12;
  }

  .gallery-grid {
    gap: 1.4rem;
  }

  .classes-img {
    min-height: 420px;
    max-height: 540px;
  }

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

  .contact-card-wrap {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  .contact-right-panel {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-delicate);
    padding-top: 2rem;
  }

  .modal-content-card {
    grid-template-columns: 1fr;
  }

  .modal-info {
    padding: 1.8rem;
  }

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

@media (max-width: 480px) {
  .classes-content {
    padding: 1.5rem 1rem;
  }

  .class-specs-grid {
    grid-template-columns: 1fr;
    padding: 1.25rem 1rem;
    gap: 1rem;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
