/* ═══════════════════════════════════════════════════════
   MARIA MURUAGA — style.css
   Shared across all pages
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Jost:wght@200;300;400&display=swap');


/* ───────────────────────────────────────────────────────
   1. CUSTOM PROPERTIES
─────────────────────────────────────────────────────── */
:root {
  /* Palette */
  --porcelain:  #FAF8F4;
  --bone:       #F2EDE4;
  --parchment:  #E8DFD0;
  --clay:       #C4A882;
  --fired:      #7A5C3E;
  --ash:        #8C8070;
  --smoke:      #6B6358;
  --charcoal:   #2E2B27;
  --cricket:    #4A5C3A;   /* seal only — never used for decoration */

  /* Typography */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  /* Layout */
  --max-width: 1100px;
  --gutter:    6vw;

  /* Transitions */
  --ease: 0.3s ease;
}


/* ───────────────────────────────────────────────────────
   2. RESET & BASE
─────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--porcelain);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.94rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}


/* ───────────────────────────────────────────────────────
   3. TYPOGRAPHY SCALE
─────────────────────────────────────────────────────── */

/* Display — Cormorant Garamond Light */
h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--charcoal);
}

h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.3;
  color: var(--charcoal);
}

/* Body — Jost Light */
p {
  color: var(--smoke);
  max-width: 58ch;
  line-height: 1.8;
}

/* Labels / captions — Jost Regular, wide tracking */
.section-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: var(--space-sm);
}

/* Inline text links */
.text-link {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  border-bottom: 1px solid var(--parchment);
  padding-bottom: 1px;
  transition: color var(--ease), border-color var(--ease);
}

.text-link:hover {
  color: var(--charcoal);
  border-color: var(--clay);
}


/* ───────────────────────────────────────────────────────
   4. LAYOUT UTILITIES
─────────────────────────────────────────────────────── */
.inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Section rhythm */
section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Divider between sections */
section + section {
  border-top: 1px solid var(--parchment);
}

/* Section header row — label left, link right */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.section-header .section-label {
  margin-bottom: 0;
}


/* ───────────────────────────────────────────────────────
   5. NAVIGATION
─────────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--parchment);
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color var(--ease);
}

.nav-logo:hover {
  color: var(--fired);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: color var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--charcoal);
}

/* Mobile toggle — hidden on desktop */
.nav-toggle {
  display: none;
  font-size: 1.2rem;
  color: var(--charcoal);
  line-height: 1;
}


/* ───────────────────────────────────────────────────────
   6. HERO
─────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  max-width: 100%;          /* hero goes full bleed */
  padding: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Gradient overlay — darkens bottom for text legibility */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(46, 43, 39, 0.55) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter) var(--space-xl);
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.7); /* bone at 70% */
  max-width: none;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

#hero h1 {
  color: var(--bone);
  text-shadow: 0 2px 40px rgba(46, 43, 39, 0.2);
}


/* ───────────────────────────────────────────────────────
   7. ABOUT
─────────────────────────────────────────────────────── */
/* Push content below fixed nav on first section after hero */
#about {
  padding-top: var(--space-xl);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
  align-items: start;
}

.about-lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--fired);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  max-width: 42ch;
}

.about-body p {
  margin-bottom: var(--space-sm);
}

.about-body .text-link {
  display: inline-block;
  margin-top: var(--space-xs);
}


/* ───────────────────────────────────────────────────────
   8. WORK GRID — Ceramics / Photography
─────────────────────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: var(--space-md);
}

.work-block a {
  display: block;
}

.work-image-wrap {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--parchment);
}

.work-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-block a:hover .work-image-wrap img {
  transform: scale(1.03);
}

.work-block-info {
  padding: 1.2rem 0 0;
}

.work-block-info h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: var(--space-xs);
}

.work-block-info p {
  font-size: 0.85rem;
  margin-bottom: var(--space-xs);
}


/* ───────────────────────────────────────────────────────
   9. SHOP PREVIEW
─────────────────────────────────────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.shop-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--parchment);
  transition: opacity var(--ease);
}

.shop-item a:hover img {
  opacity: 0.88;
}

.shop-item-info {
  padding: 1rem 0 0;
}

.shop-item-info h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.shop-item-detail {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ash);
  margin-bottom: 0.3rem;
  max-width: none;
  line-height: 1.4;
}

.shop-item-price {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--fired);
  margin-bottom: var(--space-xs);
  max-width: none;
  line-height: 1;
}


/* ───────────────────────────────────────────────────────
   10. EVENTS PREVIEW
─────────────────────────────────────────────────────── */
.event-featured {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-md) 0;
  border-top: 1px solid var(--parchment);
}

.event-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  min-width: 3rem;
}

.event-day {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
}

.event-month {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-top: 0.3rem;
}

.event-info h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.4rem;
}

.event-location {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: var(--space-sm);
  max-width: none;
}

.event-description {
  margin-bottom: var(--space-sm);
  max-width: 52ch;
}


/* ───────────────────────────────────────────────────────
   11. FOOTER
─────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--parchment);
  padding: var(--space-lg) var(--gutter);
  max-width: 100%;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: var(--space-md) var(--space-lg);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.footer-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: right;
}

.footer-nav a {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: color var(--ease);
}

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

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid var(--parchment);
}

.cricket-seal {
  opacity: 0.5;
  flex-shrink: 0;
}

.footer-copy {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}

.footer-privacy {
  color: var(--ash);
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.footer-privacy:hover {
  color: var(--charcoal);
  border-color: var(--clay);
}


/* ───────────────────────────────────────────────────────
   12. CONTACT
─────────────────────────────────────────────────────── */
#contact {
  padding-top: calc(var(--space-xl) + 4rem); /* compensa el nav fijo */
  padding-bottom: calc(var(--space-xl) + 2rem);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}

.contact-heading {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin: var(--space-sm) 0 var(--space-lg);
}

.contact-desc {
  font-size: 0.92rem;
  margin-bottom: var(--space-md);
  max-width: 38ch;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.form-field label {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
}

.form-field input,
.form-field textarea {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--bone);
  border: 1px solid var(--parchment);
  border-radius: 2px;
  padding: 1.2rem 1.3rem;
  width: 100%;
  transition: border-color var(--ease), background var(--ease);
  outline: none;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ash);
  opacity: 0.6;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--clay);
  background: var(--porcelain);
}

.form-field textarea {
  resize: vertical;
  min-height: 220px;
  line-height: 1.8;
}

.form-submit {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--porcelain);
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  padding: 1.2rem 2.6rem;
  border-radius: 2px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.form-submit:hover {
  background: var(--fired);
  border-color: var(--fired);
}


/* ───────────────────────────────────────────────────────
   13. EVENTS PAGE
─────────────────────────────────────────────────────── */
#events-header {
  padding-top: calc(var(--space-xl) + 4rem);
}

.events-heading {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin: var(--space-sm) 0 var(--space-md);
}

.events-desc {
  font-size: 0.92rem;
  max-width: 48ch;
}

/* ---- Calendar ---- */
#calendar-section {
  padding-top: 0;
}

.calendar-wrap {
  background: var(--bone);
  border: 1px solid var(--parchment);
  border-radius: 2px;
  padding: 1.4rem 1.5rem;
  max-width: 260px;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.cal-month-label {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.cal-arrow {
  font-size: 0.85rem;
  color: var(--ash);
  padding: 0.2rem 0.4rem;
  transition: color var(--ease);
}

.cal-arrow:hover {
  color: var(--charcoal);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  column-gap: 0.1rem;
  margin-bottom: 0.3rem;
}

.calendar-weekdays span {
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ash);
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(1.5rem, auto);
  column-gap: 0.1rem;
  row-gap: 0.2rem;
}

.cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--smoke);
  width: 100%;
  height: 100%;
  position: relative;
}

.cal-day-empty {
  visibility: hidden;
}

.cal-day-event {
  font-weight: 600;
  color: var(--charcoal);
}

.cal-day-event::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 2px;
  background: var(--cricket);
}

.cal-day-today {
  color: var(--fired);
  font-weight: 500;
}

/* ---- Events list ---- */
.events-column {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: var(--space-md);
}

.event-card {
  display: flex;
  gap: var(--space-md);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--parchment);
}

.events-column .event-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-date-block {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  min-width: 3.5rem;
}

.event-date-block .event-day {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--charcoal);
}

.event-date-block .event-month {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-top: 0.3rem;
}

.event-card-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: 0.4rem;
}

.event-card-meta {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  max-width: none;
  margin-bottom: 0.5rem;
}

.event-card-location {
  font-size: 0.82rem;
  color: var(--smoke);
  max-width: none;
  margin-bottom: 0.8rem;
}

.map-link {
  display: inline-block;
  margin-left: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.map-link:hover {
  color: var(--fired);
  border-color: var(--fired);
}

.event-card-desc {
  font-size: 0.88rem;
  max-width: 56ch;
}

/* ---- Festival card variant (date block + text) ---- */
.event-card-festival {
  align-items: flex-start;
}

.event-card-festival .event-card-body {
  flex: 1;
}

.workshop-list {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid var(--parchment);
  padding-top: 1.2rem;
}

.workshop-list li {
  font-size: 0.82rem;
  color: var(--smoke);
  line-height: 1.5;
}

.workshop-date {
  display: inline-block;
  min-width: 5.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--fired);
  font-family: var(--serif);
  font-style: italic;
}

.workshop-time {
  color: var(--ash);
  font-size: 0.78rem;
}

.events-empty {
  font-size: 0.88rem;
  color: var(--ash);
  font-style: italic;
}


/* ───────────────────────────────────────────────────────
   14. PHOTOGRAPHY PAGE
─────────────────────────────────────────────────────── */
#photography-header {
  padding-top: calc(var(--space-xl) + 4rem);
}

.photography-heading {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin: var(--space-sm) 0 var(--space-md);
}

.photography-desc {
  font-size: 0.92rem;
  max-width: 56ch;
}

/* ---- Category blocks ---- */
.photo-category-header {
  margin-bottom: var(--space-md);
  max-width: 60ch;
}

.photo-category-header h2 {
  margin-bottom: 0.6rem;
}

.photo-category-desc {
  font-size: 0.88rem;
}

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

.photo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  max-height: 320px;
  padding: 0;
  border: none;
  background: var(--bone);
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 2px;
}

.photo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease, opacity var(--ease);
}

.photo-item:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(46, 43, 39, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease);
}

.lightbox-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox-figure figcaption {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--bone);
  transition: color var(--ease);
}

.lightbox-close:hover {
  color: var(--clay);
}


/* ───────────────────────────────────────────────────────
   16. CERAMICS PAGE
─────────────────────────────────────────────────────── */
#ceramics-header {
  padding-top: calc(var(--space-xl) + 4rem);
}

.ceramics-heading {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin: var(--space-sm) 0 var(--space-md);
}

.ceramics-desc {
  font-size: 0.92rem;
  max-width: 56ch;
}

/* Optional tag on a piece that's also purchasable in the shop */
.photo-item {
  position: relative;
}

.shop-tag {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--porcelain);
  background: rgba(46, 43, 39, 0.82);
  padding: 0.35rem 0.6rem;
  border-radius: 2px;
  pointer-events: none;
}


/* ───────────────────────────────────────────────────────
   18. SHOP PAGE
─────────────────────────────────────────────────────── */
#shop-header {
  padding-top: calc(var(--space-xl) + 4rem);
}

.shop-heading {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin: var(--space-sm) 0 var(--space-md);
}

.shop-desc {
  font-size: 0.92rem;
  max-width: 56ch;
}

.shop-collection {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--parchment);
}

/* ---- Product grid ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: var(--space-md);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* ---- Gallery: main image + thumbnails ---- */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.product-main-image-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bone);
  border: none;
  padding: 0;
  overflow: hidden;
  border-radius: 2px;
  cursor: default;
}

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

.product-thumbs {
  display: flex;
  gap: 0.6rem;
}

.product-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity var(--ease), border-color var(--ease);
}

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

.product-thumb:hover {
  opacity: 0.9;
}

.product-thumb.is-active {
  opacity: 1;
  border-color: var(--clay);
}

/* ---- Product info ---- */
.product-name {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 0.2rem;
}

.product-collection-tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.7rem;
  max-width: none;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--smoke);
  max-width: none;
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.product-meta-label {
  display: inline-block;
  min-width: 6rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}

.product-desc {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.product-price {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--fired);
  margin-bottom: 1rem;
  max-width: none;
  line-height: 1;
}

/* ---- PayPal button ---- */
.paypal-form {
  margin: 0;
}

.buy-button {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--porcelain);
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  padding: 0.95rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease);
}

.buy-button:hover {
  background: var(--fired);
  border-color: var(--fired);
}

/* ---- Sold state ---- */
.is-sold .product-main-image {
  filter: grayscale(40%);
  opacity: 0.85;
}

.sold-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--porcelain);
  background: rgba(46, 43, 39, 0.85);
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
}

.product-price-sold {
  color: var(--ash);
  text-decoration: line-through;
}


/* ───────────────────────────────────────────────────────
   20. BOOK PAGE
─────────────────────────────────────────────────────── */
#book-header {
  padding-top: calc(var(--space-xl) + 4rem);
}

.book-heading {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin: var(--space-sm) 0 var(--space-md);
}

.book-desc {
  font-size: 0.92rem;
  max-width: 56ch;
  margin-bottom: var(--space-sm);
}

/* ---- Class grid ---- */
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-md);
}

.class-card {
  padding: 1.8rem;
  background: var(--bone);
  border-radius: 2px;
  border-top: 2px solid var(--parchment);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.class-category {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  max-width: none;
  line-height: 1;
}

.class-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.class-detail {
  font-size: 0.78rem;
  color: var(--smoke);
  max-width: none;
  line-height: 1.5;
}

.class-meta-label {
  display: inline-block;
  min-width: 5rem;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
}

.class-desc {
  font-size: 0.82rem;
  margin-top: 0.6rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--parchment);
}

/* ---- Booking widget area ---- */
#booking-widget {
  padding-top: 0;
}

.widget-placeholder {
  margin-top: var(--space-md);
  width: 100%;
}

.widget-pending {
  padding: 3rem;
  background: var(--bone);
  border-radius: 2px;
  border: 1px dashed var(--parchment);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 48ch;
}

.widget-pending p {
  font-size: 0.88rem;
}


/* ───────────────────────────────────────────────────────
   22. 404 PAGE
─────────────────────────────────────────────────────── */
#not-found {
  padding-top: calc(var(--space-xl) + 4rem);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.not-found-heading {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin: var(--space-sm) 0 var(--space-md);
}

.not-found-desc {
  font-size: 0.92rem;
  max-width: 48ch;
  margin-bottom: var(--space-lg);
}

.not-found-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
}


/* ───────────────────────────────────────────────────────
   23. PRIVACY PAGE
─────────────────────────────────────────────────────── */
#privacy {
  padding-top: calc(var(--space-xl) + 4rem);
}

.privacy-heading {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin: var(--space-sm) 0 var(--space-xs);
}

.privacy-updated {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ash);
  margin-bottom: var(--space-lg);
  max-width: none;
}

.privacy-body {
  max-width: 68ch;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.privacy-block h2 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.privacy-block p {
  max-width: none;
  margin-bottom: var(--space-sm);
}

.privacy-block p:last-child {
  margin-bottom: 0;
}

.privacy-block strong {
  font-weight: 400;
  color: var(--charcoal);
}

.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: var(--space-sm) 0;
  padding-left: 1rem;
}

.privacy-list li {
  font-size: 0.88rem;
  color: var(--smoke);
  position: relative;
}

.privacy-list li::before {
  content: '·';
  position: absolute;
  left: -1rem;
  color: var(--clay);
}


/* ───────────────────────────────────────────────────────
   24. RESPONSIVE
─────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  .nav-links {
    display: none; /* toggled open via JS later */
  }
  .nav-toggle {
    display: block;
  }

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Work */
  .work-grid {
    grid-template-columns: 1fr;
  }

  /* Shop */
  .shop-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Events */
  .event-featured {
    gap: var(--space-md);
  }

  /* Contact */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Events */
  .calendar-wrap {
    max-width: 100%;
    padding: 1.6rem;
  }
  .event-card {
    gap: var(--space-sm);
  }
  .event-date-block {
    min-width: 2.6rem;
  }
  .workshop-date {
    display: block;
    min-width: 0;
    margin-bottom: 0.1rem;
  }

  /* Photography */
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Shop */
  .product-grid {
    grid-template-columns: 1fr;
  }

  /* Book */
  .class-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-nav {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 5vw;
    --space-xl: 4.5rem;
  }

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

  .event-featured {
    flex-direction: column;
    gap: var(--space-sm);
  }
}


/* ───────────────────────────────────────────────────────
   13. REDUCED MOTION
─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
